Merge pull request #109569 from hartwork/update-git-big-picture

git-big-picture: 0.10.1 -> 1.0.0 (fixes CVE-2021-3028)
This commit is contained in:
Sandro 2021-01-18 00:28:32 +01:00 committed by GitHub
commit 4ae325df93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,23 @@
{ fetchFromGitHub, python2Packages, lib, stdenv, git, graphviz }: { fetchFromGitHub, python3Packages, lib, stdenv, git, graphviz }:
python2Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "git-big-picture"; pname = "git-big-picture";
version = "0.10.1"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "esc"; owner = "git-big-picture";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi"; sha256 = "14yf71iwgk78nw8w0bpijsnnl4vg3bvxsw3vvypxmbrc1nh0bdha";
}; };
buildInputs = [ git graphviz ]; buildInputs = [ git graphviz ];
checkInputs = [ git ]; # NOTE: Tests are disabled due to unpackaged test dependency "Scruf".
# When bumping to 1.1.0, please re-enable and use:
#checkInputs = [ cram git pytest ];
#checkPhase = "pytest test.py";
doCheck = false;
postFixup = '' postFixup = ''
wrapProgram $out/bin/git-big-picture \ wrapProgram $out/bin/git-big-picture \
@ -22,8 +26,8 @@ python2Packages.buildPythonApplication rec {
meta = { meta = {
description = "Tool for visualization of Git repositories"; description = "Tool for visualization of Git repositories";
homepage = "https://github.com/esc/git-big-picture"; homepage = "https://github.com/git-big-picture/git-big-picture";
license = lib.licenses.gpl3; license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nthorne ]; maintainers = [ lib.maintainers.nthorne ];
}; };