3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/quilt/default.nix

66 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, makeWrapper
, bash
, coreutils
, diffstat
, diffutils
, findutils
, gawk
, gnugrep
, gnused
, patch
, perl
, unixtools
}:
2014-07-14 13:45:26 +01:00
stdenv.mkDerivation rec {
pname = "quilt";
version = "0.66";
2014-07-14 13:45:26 +01:00
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
sha256 = "01vfvk4pqigahx82fhaaffg921ivd3k7rylz1yfvy4zbdyd32jri";
2014-07-14 13:45:26 +01:00
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
bash
coreutils
diffstat
diffutils
findutils
gawk
gnugrep
gnused
patch
perl
unixtools.column
unixtools.getopt
];
2014-07-14 13:45:26 +01:00
postInstall = ''
wrapProgram $out/bin/quilt --prefix PATH : ${lib.makeBinPath buildInputs}
2014-07-14 13:45:26 +01:00
'';
2021-09-25 21:14:57 +01:00
meta = with lib; {
homepage = "https://savannah.nongnu.org/projects/quilt";
2014-07-14 13:45:26 +01:00
description = "Easily manage large numbers of patches";
longDescription = ''
Quilt allows you to easily manage large numbers of
patches by keeping track of the changes each patch
makes. Patches can be applied, un-applied, refreshed,
and more.
'';
2021-09-25 21:14:57 +01:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ smancill ];
platforms = platforms.all;
2014-07-14 13:45:26 +01:00
};
2014-07-14 13:45:26 +01:00
}