Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116323 from Pamplemousse/backport_git-big-picture
- Loading branch information
Showing
1 changed file
with
14 additions
and
17 deletions.
There are no files selected for viewing
31 changes: 14 additions & 17 deletions
31
pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |