1{ lib
2, buildPythonPackage
3, fetchPypi
4, jinja2
5, setuptools
6, isPy27
7}:
8
9buildPythonPackage rec {
10 pname = "nixpkgs-pytools";
11 version = "1.0.1";
12 disabled = isPy27;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "0796c6e95daeb3d7e61c9c53126d95ba6a48f84b995b12b60f45619caf28a574";
17 };
18
19 propagatedBuildInputs = [
20 jinja2
21 setuptools
22 ];
23
24 # tests require network ..
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Tools for removing the tedious nature of creating nixpkgs derivations";
29 homepage = https://github.com/nix-community/nixpkgs-pytools;
30 license = licenses.mit;
31 maintainers = [ maintainers.costrouc ];
32 };
33}