mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python.pkgs.args: move to separate expression
This commit is contained in:
parent
e77f62df0f
commit
ff0e08c015
2 changed files with 18 additions and 13 deletions
17
pkgs/development/python-modules/args/default.nix
Normal file
17
pkgs/development/python-modules/args/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "args";
|
||||||
|
version = "0.1.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "a785b8d837625e9b61c39108532d95b85274acd679693b71ebb5156848fcf814";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Command Arguments for Humans";
|
||||||
|
homepage = "https://github.com/kennethreitz/args";
|
||||||
|
};
|
||||||
|
}
|
|
@ -613,19 +613,7 @@ in {
|
||||||
|
|
||||||
APScheduler = callPackage ../development/python-modules/APScheduler { };
|
APScheduler = callPackage ../development/python-modules/APScheduler { };
|
||||||
|
|
||||||
args = buildPythonPackage rec {
|
args = callPackage ../development/python-modules/args { };
|
||||||
name = "args-0.1.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/a/args/${name}.tar.gz";
|
|
||||||
sha256 = "a785b8d837625e9b61c39108532d95b85274acd679693b71ebb5156848fcf814";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Command Arguments for Humans";
|
|
||||||
homepage = "https://github.com/kennethreitz/args";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
argcomplete = callPackage ../development/python-modules/argcomplete { };
|
argcomplete = callPackage ../development/python-modules/argcomplete { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue