Files
nixpkgs/pkgs/development/python-modules/flufl/i18n.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

48 lines
946 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
atpublic,
pdm-pep517,
pytestCheckHook,
pytest-cov-stub,
sybil,
}:
buildPythonPackage rec {
pname = "flufl-i18n";
version = "4.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "flufl.i18n";
inherit version;
hash = "sha256-wKz6aggkJ9YBJ+o75XjC4Ddnn+Zi9hlYDnliwTc7DNs=";
};
nativeBuildInputs = [ pdm-pep517 ];
propagatedBuildInputs = [ atpublic ];
pythonImportsCheck = [ "flufl.i18n" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
sybil
];
pythonNamespaces = [ "flufl" ];
meta = {
description = "High level API for internationalizing Python libraries and applications";
homepage = "https://gitlab.com/warsaw/flufl.i18n";
changelog = "https://gitlab.com/warsaw/flufl.i18n/-/raw/${version}/docs/NEWS.rst";
license = lib.licenses.asl20;
maintainers = [ ];
};
}