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