diff --git a/pkgs/development/python-modules/offtrac/default.nix b/pkgs/development/python-modules/offtrac/default.nix new file mode 100644 index 000000000000..e098ecc8c31d --- /dev/null +++ b/pkgs/development/python-modules/offtrac/default.nix @@ -0,0 +1,23 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "offtrac"; + version = "0.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "06vd010pa1z7lyfj1na30iqzffr4kzj2k2sba09spik7drlvvl56"; + }; + + doCheck = false; + + meta = with stdenv.lib; { + homepage = http://fedorahosted.org/offtrac; + description = "Trac xmlrpc library"; + license = licenses.gpl2; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8c2af30b11ca..92da550b7cdb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2990,16 +2990,7 @@ in { odo = callPackage ../development/python-modules/odo { }; - offtrac = buildPythonPackage rec { - name = "offtrac-0.1.0"; - meta.maintainers = with maintainers; [ ]; - - src = pkgs.fetchurl { - url = "mirror://pypi/o/offtrac/${name}.tar.gz"; - sha256 = "06vd010pa1z7lyfj1na30iqzffr4kzj2k2sba09spik7drlvvl56"; - }; - doCheck = false; - }; + offtrac = callPackage ../development/python-modules/offtrac { }; openpyxl = callPackage ../development/python-modules/openpyxl { };