nixpkgs/pkgs/by-name/sn/snowmachine/package.nix
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

26 lines
712 B
Nix

{ python3Packages, lib, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "snowmachine";
version = "2.0.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256:119e6da12f430af1519f1a9f091b77b7676c7a9dbeaab6616cb196fe793d8e61";
};
propagatedBuildInputs = with python3Packages; [ click colorama hatchling ];
doCheck = false;
pythonImportsCheck = [ "snowmachine" ];
meta = with lib; {
description = "Python script that will make your terminal snow";
homepage = "https://github.com/sontek/snowmachine";
mainProgram = "snowmachine";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ djanatyn sontek ];
};
}