Skip to content

Commit

Permalink
colormake: use fetchFromGitHub
Browse files Browse the repository at this point in the history
Verified the sha256 does not change.

(cherry picked from commit a25bdf1)
  • Loading branch information
bhipple committed Jun 2, 2020
1 parent 45bfb96 commit 6567ff5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pkgs/development/tools/build-managers/colormake/default.nix
@@ -1,13 +1,14 @@
{stdenv, fetchgit, perl}:
{ stdenv, fetchFromGitHub, perl }:

stdenv.mkDerivation {
pname = "colormake";
version = "2.1.0";

buildInputs = [perl];
buildInputs = [ perl ];

src = fetchgit {
url = https://github.com/pagekite/Colormake.git;
src = fetchFromGitHub {
owner = "pagekite";
repo = "Colormake";
rev = "66544f40d";
sha256 = "8e714c5540305d169989d9387dbac47b8b9fb2cfb424af7bcd412bfe684dc6d7";
};
Expand All @@ -17,9 +18,11 @@ stdenv.mkDerivation {
cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin
'';

meta = {
meta = with stdenv.lib; {
description = "Simple wrapper around make to colorize the output";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
homepage = "https://bre.klaki.net/programs/colormake/";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ bhipple ];
};
}

0 comments on commit 6567ff5

Please sign in to comment.