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

35 lines
980 B
Nix
Raw Normal View History

{ stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }:
2014-07-14 12:45:26 +00:00
stdenv.mkDerivation rec {
2017-05-31 11:53:19 +00:00
name = "quilt-0.65";
2014-07-14 12:45:26 +00:00
src = fetchurl {
url = "mirror://savannah/quilt/${name}.tar.gz";
2017-05-31 11:53:19 +00:00
sha256 = "06b816m2gz9jfif7k9v2hrm7fz76zjg5pavf7hd3ifybwn4cgjzn";
2014-07-14 12:45:26 +00:00
};
buildInputs = [ makeWrapper 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 = {
2018-12-01 17:32:32 +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.
'';
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
2014-07-14 12:45:26 +00:00
};
2014-07-14 12:45:26 +00:00
}