colort: PR tweaks

+5 -7
+5 -7
pkgs/applications/misc/colort/default.nix
··· 1 1 { stdenv, fetchFromGitHub }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenv.mkDerivation { 4 4 name = "colort-unstable-2017-03-12"; 5 5 6 6 src = fetchFromGitHub { ··· 10 10 sha256 = "10n8rbr2h6hz86hcx73f86pjbbfiaw2rvxsk0yfajnma7bpxgdxw"; 11 11 }; 12 12 13 - installPhase = '' 14 - make install PREFIX=$out 15 - ''; 13 + makeFlags = ["PREFIX=$(out)"]; 16 14 17 - meta = { 15 + meta = with stdenv.lib; { 18 16 description = "A program for 'tinting' color values"; 19 17 homepage = https://github.com/neeasade/colort; 20 - license = stdenv.lib.licenses.mit; 21 - platforms = stdenv.lib.platforms.all; 18 + license = licenses.mit; 19 + platforms = platforms.all; 22 20 }; 23 21 }