diff --git a/pkgs/tools/text/qshowdiff/default.nix b/pkgs/tools/text/qshowdiff/default.nix index 251427f03c5b..8396e39e6d1c 100644 --- a/pkgs/tools/text/qshowdiff/default.nix +++ b/pkgs/tools/text/qshowdiff/default.nix @@ -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 ];