about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBenjamin Staffin <benley@gmail.com>2017-03-19 03:39:40 -0400
committerBenjamin Staffin <benley@gmail.com>2017-03-19 03:39:40 -0400
commit14d676dfcf74c7057350d94dc1841125a8043d83 (patch)
tree7f94f67c94a44b1dc6807f899f073f70b5809b29
parent9eed726b4fecdd6ea9a19260b8237e441bf4850b (diff)
downloadnixlib-14d676dfcf74c7057350d94dc1841125a8043d83.tar
nixlib-14d676dfcf74c7057350d94dc1841125a8043d83.tar.gz
nixlib-14d676dfcf74c7057350d94dc1841125a8043d83.tar.bz2
nixlib-14d676dfcf74c7057350d94dc1841125a8043d83.tar.lz
nixlib-14d676dfcf74c7057350d94dc1841125a8043d83.tar.xz
nixlib-14d676dfcf74c7057350d94dc1841125a8043d83.tar.zst
nixlib-14d676dfcf74c7057350d94dc1841125a8043d83.zip
colort: PR tweaks
-rw-r--r--pkgs/applications/misc/colort/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/misc/colort/default.nix b/pkgs/applications/misc/colort/default.nix
index 1c2da306902e..a9e7e57fc8df 100644
--- a/pkgs/applications/misc/colort/default.nix
+++ b/pkgs/applications/misc/colort/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchFromGitHub }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
   name = "colort-unstable-2017-03-12";
 
   src = fetchFromGitHub {
@@ -10,14 +10,12 @@ stdenv.mkDerivation rec {
     sha256 = "10n8rbr2h6hz86hcx73f86pjbbfiaw2rvxsk0yfajnma7bpxgdxw";
   };
 
- installPhase = ''
-    make install PREFIX=$out
-  '';
+  makeFlags = ["PREFIX=$(out)"];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "A program for 'tinting' color values";
     homepage = https://github.com/neeasade/colort;
-    license = stdenv.lib.licenses.mit;
-    platforms = stdenv.lib.platforms.all;
+    license = licenses.mit;
+    platforms = platforms.all;
   };
 }