Skip to content

Commit

Permalink
Merge pull request #116323 from Pamplemousse/backport_git-big-picture
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Mar 20, 2021
2 parents 64b0697 + 08693a7 commit 4077d9e
Showing 1 changed file with 14 additions and 17 deletions.
@@ -1,30 +1,27 @@
{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:
{ python3Packages, lib, git, graphviz }:

python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "git-big-picture";
version = "0.10.1";
version = "1.1.1";
format = "wheel";

src = fetchFromGitHub {
owner = "esc";
repo = pname;
rev = "v${version}";
sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi";
src = python3Packages.fetchPypi {
inherit format version;
pname = "git_big_picture"; # underscores needed for working download URL
python = "py3"; # i.e. no Python 2.7
sha256 = "a20a480057ced1585c4c38497d27a5012f12dd29697313f0bb8fa6ddbb5c17d8";
};

buildInputs = [ git graphviz ];

checkInputs = [ git ];

postFixup = ''
wrapProgram $out/bin/git-big-picture \
--prefix PATH ":" ${ stdenv.lib.makeBinPath buildInputs }
--prefix PATH ":" ${ lib.makeBinPath [ git graphviz ] }
'';

meta = {
description = "Tool for visualization of Git repositories";
homepage = "https://github.com/esc/git-big-picture";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.nthorne ];
homepage = "https://github.com/git-big-picture/git-big-picture";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nthorne ];
};
}

0 comments on commit 4077d9e

Please sign in to comment.