qshowdiff: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 22:59:30 +02:00
parent ed5653470c
commit 4b951f0a6f

View File

@ -1,12 +1,14 @@
{lib, stdenv, fetchurl, qt4, perl, pkg-config }: { lib, stdenv, fetchFromGitHub, qt4, perl, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qshowdiff"; pname = "qshowdiff";
version = "1.2"; version = "1.2";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz"; owner = "danfis";
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a"; repo = "qshowdiff";
rev = "v${version}";
sha256 = "g3AWQ6/LSF59ztzdgNuLi+8d6fFTPiC9z0yXMdPdB5U=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];