blob: 64e700273d126429b22845483521237aa94b5dc7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ stdenv, fetchurl, python2, git }:
let
name = "stgit-${version}";
version = "0.18";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "https://github.com/ctmarinas/stgit/archive/v${version}.tar.gz";
sha256 = "19fk6vw3pgp2a98wpd4j3kyiyll5dy9bi4921wq1mrky0l53mj00";
};
buildInputs = [ python2 git ];
makeFlags = "prefix=$$out";
postInstall = ''
mkdir -p "$out/etc/bash_completion.d/"
ln -s ../../share/stgit/completion/stgit-completion.bash "$out/etc/bash_completion.d/"
'';
doCheck = false;
checkTarget = "test";
meta = {
homepage = http://procode.org/stgit/;
description = "A patch manager implemented on top of Git";
license = "GPL";
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
platforms = stdenv.lib.platforms.unix;
};
}
|