depot/third_party/nixpkgs/pkgs/development/tools/quilt/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

36 lines
1 KiB
Nix

{ lib, stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }:
stdenv.mkDerivation rec {
pname = "quilt";
version = "0.66";
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
sha256 = "01vfvk4pqigahx82fhaaffg921ivd3k7rylz1yfvy4zbdyd32jri";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl bash diffutils patch findutils diffstat ];
postInstall = ''
wrapProgram $out/bin/quilt --prefix PATH : \
${perl}/bin:${bash}/bin:${diffstat}/bin:${diffutils}/bin:${findutils}/bin:${patch}/bin
'';
meta = {
homepage = "https://savannah.nongnu.org/projects/quilt";
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.
'';
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.all;
};
}