git-hub: 0.11.1 -> 1.0.0
This commit is contained in:
parent
00a5d6d4d4
commit
000b68c226
@ -1,18 +1,21 @@
|
|||||||
{ stdenv, fetchFromGitHub, docutils, python2Packages }:
|
{ stdenv, fetchFromGitHub, docutils, gitMinimal, python2Packages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "git-hub-${version}";
|
name = "git-hub-${version}";
|
||||||
version = "0.11.1";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
sha256 = "15449bqk7nyvbpin5j2hg862cqa7hb4zxkmr8mkqm5hz2jxmxspa";
|
sha256 = "07756pidrm4cph3nm90z16imvnylvz3fw4369wrglbdr27filf3x";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
repo = "git-hub";
|
repo = "git-hub";
|
||||||
owner = "sociomantic-tsunami";
|
owner = "sociomantic-tsunami";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python2Packages.python ];
|
buildInputs = [ python2Packages.python ];
|
||||||
nativeBuildInputs = [ python2Packages.docutils ];
|
nativeBuildInputs = [
|
||||||
|
gitMinimal # Used during build to generate Bash completion.
|
||||||
|
python2Packages.docutils
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile --replace rst2man rst2man.py
|
substituteInPlace Makefile --replace rst2man rst2man.py
|
||||||
@ -21,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installFlags = [ "prefix=$(out)" ];
|
installFlags = [ "prefix=$(out)" "sysconfdir=$(out)/etc" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Remove inert ftdetect vim plugin and a README that's a man page subset:
|
# Remove inert ftdetect vim plugin and a README that's a man page subset:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user