pythonPackages.toposort: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:30:20 -04:00
parent f84db6dcee
commit ae3f7898c6
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 24 additions and 15 deletions

View 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;
};
}

View File

@ -4351,21 +4351,7 @@ in {
tlsh = callPackage ../development/python-modules/tlsh { };
toposort = buildPythonPackage rec {
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;
};
};
toposort = callPackage ../development/python-modules/toposort { };
snapperGUI = buildPythonPackage rec {
name = "Snapper-GUI";