mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
git-hub: 0.11.1 -> 1.0.0
This commit is contained in:
parent
00a5d6d4d4
commit
000b68c226
1 changed files 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
|
||||
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue