From 226c8e4f59afb9280af3dee365bd671efb46aadb Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 25 Sep 2019 14:00:21 +0200 Subject: ma pkgs.nixpkgs-pytools: 1.0.1 -> 1.3.0 --- makefu/5pkgs/nixpkgs-pytools/default.nix | 34 +++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'makefu/5pkgs/nixpkgs-pytools') 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. ]; + }; } -- cgit v1.2.3