diff options
author | makefu <github@syntax-fehler.de> | 2019-09-25 14:00:21 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-09-25 14:00:21 +0200 |
commit | 226c8e4f59afb9280af3dee365bd671efb46aadb (patch) | |
tree | d62d776d38e958fda94d258393092bc19ab411b9 | |
parent | e0568df5aaca36be96fdf9e53f0e242752979abb (diff) |
ma pkgs.nixpkgs-pytools: 1.0.1 -> 1.3.0
-rw-r--r-- | makefu/5pkgs/nixpkgs-pytools/default.nix | 34 |
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. ]; + }; } |