summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/nixpkgs-pytools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/5pkgs/nixpkgs-pytools/default.nix')
-rw-r--r--makefu/5pkgs/nixpkgs-pytools/default.nix34
1 files changed, 23 insertions, 11 deletions
diff --git a/makefu/5pkgs/nixpkgs-pytools/default.nix b/makefu/5pkgs/nixpkgs-pytools/default.nix
index 35146d155..cb8175546 100644
--- a/makefu/5pkgs/nixpkgs-pytools/default.nix
+++ b/makefu/5pkgs/nixpkgs-pytools/default.nix
@@ -1,17 +1,29 @@
-{pkgs, fetchFromGitHub}:
-with pkgs.python3.pkgs;
-
+{ lib
+, python3
+}:
+with python3.pkgs;
buildPythonPackage rec {
pname = "nixpkgs-pytools";
- version = "1.0.0-dev";
- src = fetchFromGitHub {
- owner = "nix-community";
- repo = pname;
- rev = "593443b5689333cad3b6fa5b42e96587df68b0f8";
- sha256 = "1cjpngr1rn5q59a1krgmpq2qm96wbiirc8yf1xmm21p3mskb2db4";
+ version = "1.3.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "11skcbi1lf9qcv9j5ikifb4pakhbbygqpcmv3390j7gxsa85cn19";
};
+
propagatedBuildInputs = [
- jinja2 setuptools
+ jinja2
+ setuptools
+ rope
];
- checkInputs = [ black ];
+ checkInputs = [
+ pytest
+ ];
+
+ 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. ];
+ };
}