nixpkgs/pkgs/applications/version-management/git-big-picture/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
824 B
Nix
Raw Normal View History

{ lib, python3Packages, fetchPypi, git, graphviz }:
2017-07-07 11:58:02 +00:00
python3Packages.buildPythonApplication rec {
pname = "git-big-picture";
version = "1.1.1";
format = "wheel";
2017-07-07 11:58:02 +00:00
src = fetchPypi {
inherit format version;
pname = "git_big_picture"; # underscores needed for working download URL
python = "py3"; # i.e. no Python 2.7
sha256 = "a20a480057ced1585c4c38497d27a5012f12dd29697313f0bb8fa6ddbb5c17d8";
};
postFixup = ''
wrapProgram $out/bin/git-big-picture \
--prefix PATH ":" ${ lib.makeBinPath [ git graphviz ] }
'';
2017-07-07 11:58:02 +00:00
meta = {
description = "Tool for visualization of Git repositories";
homepage = "https://github.com/git-big-picture/git-big-picture";
license = lib.licenses.gpl3Plus;
2021-01-15 13:21:58 +00:00
maintainers = [ lib.maintainers.nthorne ];
2023-11-27 01:17:53 +00:00
mainProgram = "git-big-picture";
2017-07-07 11:58:02 +00:00
};
}