2019-04-11 17:31:00 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jinja2
|
|
|
|
, setuptools
|
2019-10-07 19:34:46 +01:00
|
|
|
, rope
|
2019-04-11 17:31:00 +01:00
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nixpkgs-pytools";
|
2019-10-07 19:34:46 +01:00
|
|
|
version = "1.3.0";
|
2019-04-11 17:31:00 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-07 19:34:46 +01:00
|
|
|
sha256 = "11skcbi1lf9qcv9j5ikifb4pakhbbygqpcmv3390j7gxsa85cn19";
|
2019-04-11 17:31:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jinja2
|
|
|
|
setuptools
|
2019-10-07 19:34:46 +01:00
|
|
|
rope
|
2019-04-11 17:31:00 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# tests require network ..
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for removing the tedious nature of creating nixpkgs derivations";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/nix-community/nixpkgs-pytools";
|
2019-04-11 17:31:00 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|