diff --git a/pkgs/tools/misc/colorz/default.nix b/pkgs/tools/misc/colorz/default.nix new file mode 100644 index 000000000000..aadd050dae2b --- /dev/null +++ b/pkgs/tools/misc/colorz/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 94aae7151053..ad0159345cdd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -165,6 +165,8 @@ in corgi = callPackage ../development/tools/corgi { }; + colorz = callPackage ../tools/misc/colorz { }; + dhallToNix = callPackage ../build-support/dhall-to-nix.nix { inherit dhall-nix; };