pythonPackages.click-log: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 18:38:06 +02:00 committed by Frederik Rietdijk
parent 54c4b04085
commit 0ac0cf46ec
2 changed files with 21 additions and 18 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, click }:
buildPythonPackage rec {
pname = "click-log";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1r1x85023cslb2pwldd089jjk573mk3w78cnashs77wrx7yz8fj9";
};
propagatedBuildInputs = [ click ];
meta = with stdenv.lib; {
homepage = https://github.com/click-contrib/click-log/;
description = "Logging integration for Click";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}

View File

@ -1542,24 +1542,7 @@ in {
click_5 = callPackage ../development/python-modules/click/5_1.nix {};
click-log = buildPythonPackage rec {
version = "0.2.1";
name = "click-log-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/c/click-log/${name}.tar.gz";
sha256 = "1r1x85023cslb2pwldd089jjk573mk3w78cnashs77wrx7yz8fj9";
};
propagatedBuildInputs = with self; [ click ];
meta = {
homepage = https://github.com/click-contrib/click-log/;
description = "Logging integration for Click";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
};
click-log = callPackage ../development/python-modules/click-log {};
click-plugins = callPackage ../development/python-modules/click-plugins {};