2021-09-22 02:01:26 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, makeWrapper
|
|
|
|
, bash
|
|
|
|
, coreutils
|
|
|
|
, diffstat
|
|
|
|
, diffutils
|
|
|
|
, findutils
|
|
|
|
, gawk
|
|
|
|
, gnugrep
|
|
|
|
, gnused
|
|
|
|
, patch
|
|
|
|
, perl
|
|
|
|
, unixtools
|
|
|
|
}:
|
2014-07-14 12:45:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-31 11:58:06 +00:00
|
|
|
|
2021-06-20 10:34:30 +00:00
|
|
|
pname = "quilt";
|
2024-03-29 00:47:45 +00:00
|
|
|
version = "0.68";
|
2014-07-14 12:45:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 10:34:30 +00:00
|
|
|
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
|
2024-03-29 00:47:45 +00:00
|
|
|
sha256 = "sha256-/owJ3gPBBuhbNzfI8DreFHyVa3ntevSFocijhY2zhCY=";
|
2014-07-14 12:45:26 +00:00
|
|
|
};
|
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2021-09-22 02:01:26 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
bash
|
|
|
|
coreutils
|
|
|
|
diffstat
|
|
|
|
diffutils
|
|
|
|
findutils
|
|
|
|
gawk
|
|
|
|
gnugrep
|
|
|
|
gnused
|
|
|
|
patch
|
|
|
|
perl
|
|
|
|
unixtools.column
|
|
|
|
unixtools.getopt
|
|
|
|
];
|
2014-07-14 12:45:26 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
2021-09-22 02:01:26 +00:00
|
|
|
wrapProgram $out/bin/quilt --prefix PATH : ${lib.makeBinPath buildInputs}
|
2014-07-14 12:45:26 +00:00
|
|
|
'';
|
|
|
|
|
2021-09-25 20:14:57 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://savannah.nongnu.org/projects/quilt";
|
2014-07-14 12:45:26 +00: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 20:14:57 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ smancill ];
|
|
|
|
platforms = platforms.all;
|
2014-07-14 12:45:26 +00:00
|
|
|
};
|
2017-05-31 11:58:06 +00:00
|
|
|
|
2014-07-14 12:45:26 +00:00
|
|
|
}
|