mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
33 lines
727 B
Nix
33 lines
727 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, pytz
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "l18n";
|
|
version = "2021.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pytz six ];
|
|
|
|
# tests are not included in sdist and building from source is none trivial
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|