Files
nixpkgs/pkgs/development/python-modules/nocaselist/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
773 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest7CheckHook,
pythonOlder,
six,
}:
buildPythonPackage rec {
pname = "nocaselist";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-MnCLcAoaUxM+a7XMUzMsl3Wwx8lZpflyV5MXH9L0yKU=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytest7CheckHook ];
pythonImportsCheck = [ "nocaselist" ];
meta = with lib; {
description = "Case-insensitive list for Python";
homepage = "https://github.com/pywbem/nocaselist";
changelog = "https://github.com/pywbem/nocaselist/blob/${version}/docs/changes.rst";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ freezeboy ];
};
}