depot/third_party/nixpkgs/pkgs/by-name/sn/snowmachine/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

25 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 ];
};
}