2020-04-24 23:36:52 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, makeWrapper, perl, wdiff }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.7.2";
|
|
|
|
pname = "pkgdiff";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lvc";
|
|
|
|
repo = "pkgdiff";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1ahknyx0s54frbd3gqh070lkv3j1b344jrs6m6p1s1lgwbd70vnb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/pkgdiff --prefix PATH : ${lib.makeBinPath [ wdiff ]}
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool for visualizing changes in Linux software packages";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://lvc.github.io/pkgdiff/";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ sweber ];
|
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "pkgdiff";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|