Skip to content

Commit

Permalink
git-hub: 0.11.1 -> 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Oct 26, 2017
1 parent 00a5d6d commit 000b68c
Showing 1 changed file with 8 additions and 5 deletions.
@@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 000b68c

Please sign in to comment.