git-hub: 0.11.1 -> 1.0.0

This commit is contained in:
Robert Helgesson 2017-10-26 12:16:54 +02:00
parent 00a5d6d4d4
commit 000b68c226
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

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