mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
git-big-picture: 1.1.1 -> 1.3.0
This commit is contained in:
parent
f2acf15f1d
commit
b0bd452327
1 changed files with 11 additions and 9 deletions
|
@ -1,26 +1,28 @@
|
|||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
graphviz,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "git-big-picture";
|
||||
version = "1.1.1";
|
||||
format = "wheel";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
|
||||
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";
|
||||
src = fetchFromGitHub {
|
||||
owner = "git-big-picture";
|
||||
repo = "git-big-picture";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-aBwSw7smeRkkXSPY02Cs+jFI1wvgj1JisUny+R8G59E=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/git-big-picture \
|
||||
--prefix PATH ":" ${
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
git
|
||||
graphviz
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue