git-big-picture: 1.1.1 -> 1.3.0

emaryn b0bd4523 f2acf15f

Changed files
+11 -9
pkgs
by-name
gi
git-big-picture
+11 -9
pkgs/by-name/gi/git-big-picture/package.nix
···
{
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