2016-11-09 11:38:21 +01:00
|
|
|
{ stdenv, fetchurl, python2, git }:
|
2008-07-09 18:21:03 +02:00
|
|
|
|
2011-09-15 13:04:00 +02:00
|
|
|
let
|
2014-04-09 12:17:23 +02:00
|
|
|
name = "stgit-0.17.1";
|
2011-09-15 13:04:00 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/stgit/${name}.tar.gz";
|
2014-04-09 12:17:23 +02:00
|
|
|
sha256 = "1pka0ns9x0kabn036zsf0mwmwiynckhnva51kgxsch9fqah6acyl";
|
2008-07-09 18:21:03 +02:00
|
|
|
};
|
|
|
|
|
2016-11-09 11:38:21 +01:00
|
|
|
buildInputs = [ python2 git ];
|
2011-09-15 13:04:00 +02:00
|
|
|
|
|
|
|
makeFlags = "prefix=$$out";
|
2008-07-09 18:21:03 +02:00
|
|
|
|
2011-09-15 13:04:00 +02:00
|
|
|
postInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$out/etc/bash_completion.d/"
|
2011-09-15 13:04:00 +02:00
|
|
|
ln -s ../../share/stgit/completion/stgit-completion.bash "$out/etc/bash_completion.d/"
|
2008-08-07 19:30:35 +02:00
|
|
|
'';
|
2008-07-09 18:21:03 +02:00
|
|
|
|
2011-09-15 14:47:49 +02:00
|
|
|
doCheck = false;
|
2011-09-15 13:04:00 +02:00
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://procode.org/stgit/;
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A patch manager implemented on top of Git";
|
2011-09-15 13:04:00 +02:00
|
|
|
license = "GPL";
|
|
|
|
|
2016-05-16 22:30:20 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
2011-09-15 13:04:00 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-07-09 18:21:03 +02:00
|
|
|
};
|
|
|
|
}
|