mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
pkgdiff: init at 1.7.2
This commit is contained in:
parent
9d38807cbe
commit
db369f716f
32
pkgs/tools/misc/pkgdiff/default.nix
Normal file
32
pkgs/tools/misc/pkgdiff/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ 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 stdenv.lib; {
|
||||
description = "A tool for visualizing changes in Linux software packages";
|
||||
homepage = https://lvc.github.io/pkgdiff/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ sweber ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -13251,6 +13251,8 @@ in
|
||||
|
||||
pkcs11helper = callPackage ../development/libraries/pkcs11helper { };
|
||||
|
||||
pkgdiff = callPackage ../tools/misc/pkgdiff { };
|
||||
|
||||
plib = callPackage ../development/libraries/plib { };
|
||||
|
||||
pocketsphinx = callPackage ../development/libraries/pocketsphinx { };
|
||||
|
Loading…
Reference in New Issue
Block a user