pythonPackages.click_5: Move to own file
This commit is contained in:
parent
88d0f7ef8f
commit
54c4b04085
22
pkgs/development/python-modules/click/5_1.nix
Normal file
22
pkgs/development/python-modules/click/5_1.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "click";
|
||||||
|
version = "5.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://click.pocoo.org/;
|
||||||
|
description = "Create beautiful command line interfaces in Python";
|
||||||
|
longDescription = ''
|
||||||
|
A Python package for creating beautiful command line interfaces in a
|
||||||
|
composable way, with as little code as necessary.
|
||||||
|
'';
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ mog ];
|
||||||
|
};
|
||||||
|
}
|
@ -1540,25 +1540,7 @@ in {
|
|||||||
|
|
||||||
click = callPackage ../development/python-modules/click {};
|
click = callPackage ../development/python-modules/click {};
|
||||||
|
|
||||||
click_5 = buildPythonPackage rec {
|
click_5 = callPackage ../development/python-modules/click/5_1.nix {};
|
||||||
name = "click-5.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/c/click/${name}.tar.gz";
|
|
||||||
sha256 = "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://click.pocoo.org/;
|
|
||||||
description = "Create beautiful command line interfaces in Python";
|
|
||||||
longDescription = ''
|
|
||||||
A Python package for creating beautiful command line interfaces in a
|
|
||||||
composable way, with as little code as necessary.
|
|
||||||
'';
|
|
||||||
license = licenses.bsd3;
|
|
||||||
maintainers = with maintainers; [ mog ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
click-log = buildPythonPackage rec {
|
click-log = buildPythonPackage rec {
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user