2019-04-11 17:31:00 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jinja2
|
|
|
|
, setuptools
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nixpkgs-pytools";
|
2019-04-16 18:15:37 +01:00
|
|
|
version = "1.0.1";
|
2019-04-11 17:31:00 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 18:15:37 +01:00
|
|
|
sha256 = "0796c6e95daeb3d7e61c9c53126d95ba6a48f84b995b12b60f45619caf28a574";
|
2019-04-11 17:31:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jinja2
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests require network ..
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for removing the tedious nature of creating nixpkgs derivations";
|
|
|
|
homepage = https://github.com/nix-community/nixpkgs-pytools;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|