Files
nixpkgs/pkgs/by-name/qu/quilt/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

75 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchurl,
makeWrapper,
bash,
coreutils,
diffstat,
diffutils,
findutils,
gawk,
gnugrep,
gnused,
patch,
perl,
unixtools,
}:
stdenv.mkDerivation rec {
pname = "quilt";
version = "0.69";
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-VV3f/eIto8htHK9anB+4oVKsK4RzBDe9OcwIhJyfSFI=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
bash
coreutils
diffstat
diffutils
findutils
gawk
gnugrep
gnused
patch
perl
unixtools.column
unixtools.getopt
];
strictDeps = true;
configureFlags = [
# configure only looks in $PATH by default,
# which does not include buildInputs if strictDeps is true
"--with-perl=${lib.getExe perl}"
];
postInstall = ''
wrapProgram $out/bin/quilt --prefix PATH : ${lib.makeBinPath buildInputs}
'';
meta = with lib; {
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 = licenses.gpl2Plus;
maintainers = with maintainers; [ smancill ];
platforms = platforms.all;
};
}