gitinspector: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-11-02 14:23:58 +01:00
parent 7dfb853434
commit e4726e19e7

View File

@ -1,14 +1,15 @@
{ lib, fetchzip, python2Packages}:
{ lib, fetchFromGitHub, python2Packages }:
python2Packages.buildPythonApplication rec {
pname = "gitinspector";
version = "0.4.4";
namePrefix = "";
src = fetchzip {
url = "https://github.com/ejwa/gitinspector/archive/v${version}.tar.gz";
sha256 = "1pfsw6xldm6jigs3nhysvqaxk8a0zf8zczgfkrp920as9sya3c7m";
name = "${pname}-${version}" + "-src";
src = fetchFromGitHub {
owner = "ejwa";
repo = "gitinspector";
rev = "v${version}";
sha256 = "sha256-9bChvE5aAZFunu599pH7QKHZFd7aQzv0i9LURrvh2t0=";
};
checkInputs = with python2Packages; [