summaryrefslogtreecommitdiffstats
path: root/pkgs/applications
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2021-01-31 03:03:38 +0100
committerGitHub <noreply@github.com>2021-01-31 03:03:38 +0100
commitba6292fb5c1c909894da5c84b77fc84a8e25fb00 (patch)
tree21f84b8b47cb20fd58c51b55f42ad47dd28038e9 /pkgs/applications
parent3682b2d9affc30f1fa02028ed8e8cfae88ef5cc2 (diff)
parent201b24adc5ca8d8bd6c4a078ea7d78a14263b3d2 (diff)
Merge pull request #110201 from hartwork/update-git-big-picture
git-big-picture: 1.0.0 -> 1.1.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix25
1 files changed, 9 insertions, 16 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix b/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
index 5f84d4235734..35aada8b870f 100644
--- a/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
@@ -1,27 +1,20 @@
-{ fetchFromGitHub, python3Packages, lib, git, graphviz }:
+{ python3Packages, lib, git, graphviz }:
python3Packages.buildPythonApplication rec {
pname = "git-big-picture";
- version = "1.0.0";
+ version = "1.1.1";
+ format = "wheel";
- src = fetchFromGitHub {
- owner = "git-big-picture";
- repo = pname;
- rev = "v${version}";
- sha256 = "14yf71iwgk78nw8w0bpijsnnl4vg3bvxsw3vvypxmbrc1nh0bdha";
+ 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 ];
-
- # 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 = ''
wrapProgram $out/bin/git-big-picture \
- --prefix PATH ":" ${ lib.makeBinPath buildInputs }
+ --prefix PATH ":" ${ lib.makeBinPath [ git graphviz ] }
'';
meta = {