nixpkgs/pkgs/tools/misc/pkgdiff/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
816 B
Nix
Raw Normal View History

2019-10-30 16:59:33 +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 ]}
'';
meta = with lib; {
2019-10-30 16:59:33 +00:00
description = "A tool for visualizing changes in Linux software packages";
homepage = "https://lvc.github.io/pkgdiff/";
2024-04-26 11:35:31 +00:00
license = licenses.gpl2Only;
2019-10-30 16:59:33 +00:00
maintainers = with maintainers; [ sweber ];
platforms = platforms.unix;
2023-11-27 01:17:53 +00:00
mainProgram = "pkgdiff";
2019-10-30 16:59:33 +00:00
};
}