git.iko.soy/typeable/nixpkgs
on master help sign in
colorz: init at 1.0.3
commit923b41eab10507440747d6fdfc505086c2dbdde2 authorskykanin <3789764+skykanin@users.noreply.github.com> dateSat 15 Feb 2020, 18:22 (7 years ago) parenta9b0ccd
2 files changed+26
pkgs/tools/misc/colorz/default.nix+24 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/colorz/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ lib, python3Packages }:
2+
3+python3Packages.buildPythonApplication rec {
4+ pname = "colorz";
5+ version = "1.0.3";
6+
7+ src = python3Packages.fetchPypi {
8+ inherit pname version;
9+ sha256 = "0ghd90lgplf051fs5n5bb42zffd3fqpgzkbv6bhjw7r8jqwgcky0";
10+ };
11+
12+ propagatedBuildInputs = with python3Packages; [ pillow scipy ];
13+
14+ checkPhase = ''
15+ $out/bin/colorz --help > /dev/null
16+ '';
17+
18+ meta = with lib; {
19+ description = "Color scheme generator";
20+ homepage = "https://github.com/metakirby5/colorz";
21+ license = licenses.mit;
22+ maintainers = with maintainers; [ skykanin ];
23+ };
24+}
pkgs/top-level/all-packages.nix+2
@@ -165,6 +165,8 @@ in
165165
166166 corgi = callPackage ../development/tools/corgi { };
167167
168+ colorz = callPackage ../tools/misc/colorz { };
169+
168170 dhallToNix = callPackage ../build-support/dhall-to-nix.nix {
169171 inherit dhall-nix;
170172 };