pythonPAckages.translationstring: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 11:19:15 -04:00
parent 0fd1905e8c
commit 7ab3b62486
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 23 additions and 14 deletions

View File

@ -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 ];
};
}

View File

@ -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}";