mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
31 lines
632 B
Nix
31 lines
632 B
Nix
|
{ buildPythonPackage
|
||
|
, django
|
||
|
, fetchFromGitHub
|
||
|
, fetchPypi
|
||
|
, lib
|
||
|
, pytz
|
||
|
, six
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "l18n";
|
||
|
version = "2021.3";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ pytz six ];
|
||
|
|
||
|
pythonImportsCheck = [ "l18n" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Locale internationalization package";
|
||
|
homepage = "https://github.com/tkhyn/l18n";
|
||
|
changelog = "https://github.com/tkhyn/l18n/blob/${version}/CHANGES.rst";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ sephi ];
|
||
|
};
|
||
|
}
|