1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

python.pkgs.Babel: move expression

This commit is contained in:
Robert Schütz 2018-04-05 21:58:14 +02:00 committed by Frederik Rietdijk
parent 508bce0f9a
commit a77bed927a
2 changed files with 23 additions and 18 deletions

View file

@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, pytz, pytest }:
buildPythonPackage rec {
pname = "Babel";
version = "2.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "0x98qqqw35xllpcama013a9788ly84z8dm1w2wwfpxh2710c8df5";
};
propagatedBuildInputs = [ pytz ];
checkInputs = [ pytest ];
meta = with lib; {
homepage = http://babel.edgewall.org;
description = "A collection of tools for internationalizing Python applications";
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
}

View file

@ -10637,24 +10637,7 @@ in {
pygit2 = callPackage ../development/python-modules/pygit2 { };
Babel = buildPythonPackage (rec {
name = "Babel-2.3.4";
src = pkgs.fetchurl {
url = "mirror://pypi/B/Babel/${name}.tar.gz";
sha256 = "0x98qqqw35xllpcama013a9788ly84z8dm1w2wwfpxh2710c8df5";
};
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ pytz ];
meta = {
homepage = http://babel.edgewall.org;
description = "A collection of tools for internationalizing Python applications";
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
});
Babel = callPackage ../development/python-modules/Babel { };
pybfd = callPackage ../development/python-modules/pybfd { };