nixpkgs/pkgs/development/tools/quilt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1.2 KiB
Nix
Raw Normal View History

{ 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 {
pname = "quilt";
2024-03-29 00:47:45 +00:00
version = "0.68";
2014-07-14 12:45:26 +00:00
src = fetchurl {
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
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
bash
coreutils
diffstat
diffutils
findutils
gawk
gnugrep
gnused
patch
perl
unixtools.column
unixtools.getopt
];
2014-07-14 12:45:26 +00:00
postInstall = ''
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; {
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
};
2014-07-14 12:45:26 +00:00
}