25 lines
588 B
Nix
25 lines
588 B
Nix
![]() |
{ lib, python3Packages }:
|
||
|
|
||
|
python3Packages.buildPythonApplication rec {
|
||
|
pname = "colorz";
|
||
|
version = "1.0.3";
|
||
|
|
||
|
src = python3Packages.fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "0ghd90lgplf051fs5n5bb42zffd3fqpgzkbv6bhjw7r8jqwgcky0";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = with python3Packages; [ pillow scipy ];
|
||
|
|
||
|
checkPhase = ''
|
||
|
$out/bin/colorz --help > /dev/null
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Color scheme generator";
|
||
|
homepage = "https://github.com/metakirby5/colorz";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ skykanin ];
|
||
|
};
|
||
|
}
|