pythonPackages.speaklater: refactor move to python-modules
This commit is contained in:
parent
7008718bcf
commit
1654bd1865
22
pkgs/development/python-modules/speaklater/default.nix
Normal file
22
pkgs/development/python-modules/speaklater/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4336,21 +4336,7 @@ in {
|
|||||||
|
|
||||||
flaskbabel = callPackage ../development/python-modules/flaskbabel { };
|
flaskbabel = callPackage ../development/python-modules/flaskbabel { };
|
||||||
|
|
||||||
speaklater = buildPythonPackage rec {
|
speaklater = callPackage ../development/python-modules/speaklater { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
speedtest-cli = callPackage ../development/python-modules/speedtest-cli { };
|
speedtest-cli = callPackage ../development/python-modules/speedtest-cli { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user