2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }:
|
2014-07-14 12:45:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-31 11:58:06 +00:00
|
|
|
|
2019-04-07 13:55:38 +00:00
|
|
|
name = "quilt-0.66";
|
2014-07-14 12:45:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://savannah/quilt/${name}.tar.gz";
|
2019-04-07 13:55:38 +00:00
|
|
|
sha256 = "01vfvk4pqigahx82fhaaffg921ivd3k7rylz1yfvy4zbdyd32jri";
|
2014-07-14 12:45:26 +00:00
|
|
|
};
|
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ perl bash diffutils patch findutils diffstat ];
|
2014-07-14 12:45:26 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/quilt --prefix PATH : \
|
|
|
|
${perl}/bin:${bash}/bin:${diffstat}/bin:${diffutils}/bin:${findutils}/bin:${patch}/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
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-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.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
|
|
|
}
|