nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildPythonPackage, lib, click, colorama, fetchPypi, setuptools-git }:
2
3buildPythonPackage rec {
4 pname = "snowmachine";
5 version = "1.0.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1v385hhxy2a8vx5p0fhn0di8l4qfpb0a86j6nwsg0aw6ngb09qf1";
10 };
11
12 buildInputs = [ setuptools-git ];
13 propagatedBuildInputs = [ click colorama ];
14
15 doCheck = false;
16 pythonImportsCheck = [ "snowmachine" ];
17
18 meta = with lib; {
19 description = "A python script that will make your terminal snow";
20 homepage = "https://github.com/sontek/snowmachine";
21 license = with licenses; [ bsd3 ];
22 maintainers = with maintainers; [ djanatyn ];
23 };
24}