git-hub: 1.1.0 -> 2.1.0

Package is python3-only as of v2.0.0
This commit is contained in:
Ryan Burns 2021-02-14 14:09:43 -08:00
parent f9b3e78132
commit 910e396d82

View File

@ -1,20 +1,19 @@
{ lib, stdenv, fetchFromGitHub, gitMinimal, python2Packages }:
{ lib, stdenv, fetchFromGitHub, gitMinimal, docutils }:
stdenv.mkDerivation rec {
pname = "git-hub";
version = "1.1.0";
version = "2.1.0";
src = fetchFromGitHub {
owner = "sociomantic-tsunami";
repo = "git-hub";
rev = "v${version}";
sha256 = "0jkzg7vjvgb952qncndhki7n70714w61flbzf4mdcjc286lqjvwb";
sha256 = "1df9l8fpbxjgcgi72fwaqxiay5kpfihyc63f0gj67mns9n9ic1i7";
};
buildInputs = [ python2Packages.python ];
nativeBuildInputs = [
gitMinimal # Used during build to generate Bash completion.
python2Packages.docutils
docutils
];
postPatch = ''