nixpkgs/pkgs/development/python-modules/first/default.nix
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

32 lines
665 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "first";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/yhbCMVfjJfOTqcBJ0OvJJXJ8SkXhfFjcivTb2r2078=";
};
doCheck = false; # no tests
pythonImportsCheck = [ "first" ];
meta = with lib; {
description = "Function you always missed in Python";
homepage = "https://github.com/hynek/first/";
changelog = "https://github.com/hynek/first/blob/${version}/HISTORY.rst";
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
};
}