Merge pull request #89137 from bhipple/fix/colormake
colormake: use fetchFromGitHub
This commit is contained in:
commit
98ed9c35c9
@ -1,13 +1,14 @@
|
|||||||
{stdenv, fetchgit, perl}:
|
{ stdenv, fetchFromGitHub, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "colormake";
|
pname = "colormake";
|
||||||
version = "2.1.0";
|
version = "2.1.0";
|
||||||
|
|
||||||
buildInputs = [perl];
|
buildInputs = [ perl ];
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/pagekite/Colormake.git";
|
owner = "pagekite";
|
||||||
|
repo = "Colormake";
|
||||||
rev = "66544f40d";
|
rev = "66544f40d";
|
||||||
sha256 = "8e714c5540305d169989d9387dbac47b8b9fb2cfb424af7bcd412bfe684dc6d7";
|
sha256 = "8e714c5540305d169989d9387dbac47b8b9fb2cfb424af7bcd412bfe684dc6d7";
|
||||||
};
|
};
|
||||||
@ -17,9 +18,11 @@ stdenv.mkDerivation {
|
|||||||
cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin
|
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";
|
description = "Simple wrapper around make to colorize the output";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
homepage = "https://bre.klaki.net/programs/colormake/";
|
||||||
platforms = stdenv.lib.platforms.unix;
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ bhipple ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user