mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
qshowdiff: switch to fetchFromGitHub
This commit is contained in:
parent
ed5653470c
commit
4b951f0a6f
@ -1,12 +1,14 @@
|
||||
{lib, stdenv, fetchurl, qt4, perl, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, qt4, perl, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qshowdiff";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz";
|
||||
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
|
||||
src = fetchFromGitHub {
|
||||
owner = "danfis";
|
||||
repo = "qshowdiff";
|
||||
rev = "v${version}";
|
||||
sha256 = "g3AWQ6/LSF59ztzdgNuLi+8d6fFTPiC9z0yXMdPdB5U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
Loading…
Reference in New Issue
Block a user