diff --git a/pkgs/development/python-modules/translationstring/default.nix b/pkgs/development/python-modules/translationstring/default.nix new file mode 100644 index 00000000000..56640a4c067 --- /dev/null +++ b/pkgs/development/python-modules/translationstring/default.nix @@ -0,0 +1,22 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "translationstring"; + version = "1.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "4ee44cfa58c52ade8910ea0ebc3d2d84bdcad9fa0422405b1801ec9b9a65b72d"; + }; + + meta = with stdenv.lib; { + homepage = http://pylonsproject.org/; + description = "Utility library for i18n relied on by various Repoze and Pyramid packages"; + license = licenses.bsd0; + maintainers = with maintainers; [ garbas domenkozar ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a4ae0feba5b..1bde981011f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4260,20 +4260,7 @@ in { tracing = callPackage ../development/python-modules/tracing { }; - translationstring = buildPythonPackage rec { - name = "translationstring-1.3"; - - src = pkgs.fetchurl { - url = "mirror://pypi/t/translationstring/${name}.tar.gz"; - sha256 = "4ee44cfa58c52ade8910ea0ebc3d2d84bdcad9fa0422405b1801ec9b9a65b72d"; - }; - - meta = { - maintainers = with maintainers; [ garbas domenkozar ]; - platforms = platforms.all; - }; - }; - + translationstring = callPackage ../development/python-modules/translationstring { }; ttystatus = buildPythonPackage rec { name = "ttystatus-${version}";