2021-09-22 03:01:26 +01:00
|
|
|
{ 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 {
|
2017-05-31 12:58:06 +01:00
|
|
|
|
2021-06-20 11:34:30 +01:00
|
|
|
pname = "quilt";
|
|
|
|
version = "0.66";
|
2014-07-14 13:45:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 11:34:30 +01:00
|
|
|
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
|
2019-04-07 14:55:38 +01:00
|
|
|
sha256 = "01vfvk4pqigahx82fhaaffg921ivd3k7rylz1yfvy4zbdyd32jri";
|
2014-07-14 13:45:26 +01:00
|
|
|
};
|
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2021-09-22 03:01:26 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
bash
|
|
|
|
coreutils
|
|
|
|
diffstat
|
|
|
|
diffutils
|
|
|
|
findutils
|
|
|
|
gawk
|
|
|
|
gnugrep
|
|
|
|
gnused
|
|
|
|
patch
|
|
|
|
perl
|
|
|
|
unixtools.column
|
|
|
|
unixtools.getopt
|
|
|
|
];
|
2014-07-14 13:45:26 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
2021-09-22 03:01:26 +01:00
|
|
|
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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
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
|
|
|
};
|
2017-05-31 12:58:06 +01:00
|
|
|
|
2014-07-14 13:45:26 +01:00
|
|
|
}
|