pythonPackages.toposort: refactor move to python-modules
This commit is contained in:
parent
f84db6dcee
commit
ae3f7898c6
23
pkgs/development/python-modules/toposort/default.nix
Normal file
23
pkgs/development/python-modules/toposort/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "toposort";
|
||||||
|
version = "1.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1izmirbwmd9xrk7rq83p486cvnsslfa5ljvl7rijj1r64zkcnf3a";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A topological sort algorithm";
|
||||||
|
homepage = https://pypi.python.org/pypi/toposort/1.1;
|
||||||
|
maintainers = with maintainers; [ tstrobel ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4351,21 +4351,7 @@ in {
|
|||||||
|
|
||||||
tlsh = callPackage ../development/python-modules/tlsh { };
|
tlsh = callPackage ../development/python-modules/tlsh { };
|
||||||
|
|
||||||
toposort = buildPythonPackage rec {
|
toposort = callPackage ../development/python-modules/toposort { };
|
||||||
name = "toposort-${version}";
|
|
||||||
version = "1.1";
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/t/toposort/toposort-1.1.tar.gz";
|
|
||||||
sha256 = "1izmirbwmd9xrk7rq83p486cvnsslfa5ljvl7rijj1r64zkcnf3a";
|
|
||||||
};
|
|
||||||
meta = {
|
|
||||||
description = "A topological sort algorithm";
|
|
||||||
homepage = https://pypi.python.org/pypi/toposort/1.1;
|
|
||||||
maintainers = with maintainers; [ tstrobel ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
#license = licenses.apache;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
snapperGUI = buildPythonPackage rec {
|
snapperGUI = buildPythonPackage rec {
|
||||||
name = "Snapper-GUI";
|
name = "Snapper-GUI";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user