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