pythonPackages.speaklater: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:25:46 -04:00
parent 7008718bcf
commit 1654bd1865
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 23 additions and 15 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "speaklater";
version = "1.3";
src = fetchPypi {
inherit pname version;
sha256 = "1ab5dbfzzgz6cnz4xlwx79gz83id4bhiw67k1cgqrlzfs0va7zjr";
};
meta = with stdenv.lib; {
description = "Implements a lazy string for python useful for use with gettext";
homepage = https://github.com/mitsuhiko/speaklater;
license = licenses.bsd0;
maintainers = with maintainers; [ matejc ];
};
}

View File

@ -4336,21 +4336,7 @@ in {
flaskbabel = callPackage ../development/python-modules/flaskbabel { };
speaklater = buildPythonPackage rec {
name = "speaklater-1.3";
src = pkgs.fetchurl {
url = "mirror://pypi/s/speaklater/${name}.tar.gz";
sha256 = "1ab5dbfzzgz6cnz4xlwx79gz83id4bhiw67k1cgqrlzfs0va7zjr";
};
meta = {
description = "Implements a lazy string for python useful for use with gettext";
homepage = https://github.com/mitsuhiko/speaklater;
license = "bsd";
maintainers = with maintainers; [ matejc ];
};
};
speaklater = callPackage ../development/python-modules/speaklater { };
speedtest-cli = callPackage ../development/python-modules/speedtest-cli { };