ipgrep: ipgrep: 1.0 -> 1.0.1 (#97903)

This commit is contained in:
leenaars 2020-09-14 00:45:13 +02:00 committed by GitHub
parent ceac92ce05
commit d88f262fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,25 @@
{ stdenv, fetchFromGitHub, pythonPackages }: { stdenv, fetchFromGitHub, python3Packages }:
pythonPackages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
version = "1.0"; version = "1.0.1";
pname = "ipgrep"; pname = "ipgrep";
disabled = python3Packages.isPy27;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jedisct1"; owner = "jedisct1";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1qaxvbqdalvz05aplhhrg7s4h7yx4clbfd50k46bgavhgcqqv8n3"; hash = "sha256-NrhcUFQM+L66KaDRRpAoC+z5s54a+1fqEepTRXVZ5Qs=";
}; };
patchPhase = '' patchPhase = ''
mkdir -p ${pname} mkdir -p ${pname}
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "'scripts': []" "'scripts': { '${pname}.py' }" --replace "'scripts': []" "'scripts': { '${pname}.py' }"
''; '';
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with python3Packages; [
pycares pycares
urllib3 urllib3
requests requests