python.pkgs.Babel: move expression
This commit is contained in:
parent
508bce0f9a
commit
a77bed927a
22
pkgs/development/python-modules/Babel/default.nix
Normal file
22
pkgs/development/python-modules/Babel/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user