gitAndTools.stgit: fix fetcher and meta
This commit is contained in:
parent
22e39f642b
commit
153f98062c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, python2, git }:
|
{ stdenv, fetchFromGitHub, python2, git }:
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "stgit-${version}";
|
name = "stgit-${version}";
|
||||||
@ -7,9 +7,11 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/ctmarinas/stgit/archive/v${version}.tar.gz";
|
owner = "ctmarinas";
|
||||||
sha256 = "19fk6vw3pgp2a98wpd4j3kyiyll5dy9bi4921wq1mrky0l53mj00";
|
repo = "stgit";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0ydgg744m671nkhg7h4q2z3b9vpbc9914rbc0wcgimqfqsxkxx2y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python2 git ];
|
buildInputs = [ python2 git ];
|
||||||
@ -24,12 +26,11 @@ stdenv.mkDerivation {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://procode.org/stgit/;
|
|
||||||
description = "A patch manager implemented on top of Git";
|
description = "A patch manager implemented on top of Git";
|
||||||
license = "GPL";
|
homepage = http://procode.org/stgit/;
|
||||||
|
license = licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
maintainers = with maintainers; [ the-kenny ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user