3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/quilt/default.nix

36 lines
1,000 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }:
2014-07-14 13:45:26 +01:00
stdenv.mkDerivation rec {
name = "quilt-0.66";
2014-07-14 13:45:26 +01:00
src = fetchurl {
url = "mirror://savannah/quilt/${name}.tar.gz";
sha256 = "01vfvk4pqigahx82fhaaffg921ivd3k7rylz1yfvy4zbdyd32jri";
2014-07-14 13:45:26 +01:00
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl bash diffutils patch findutils diffstat ];
2014-07-14 13:45:26 +01:00
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";
2014-07-14 13:45:26 +01: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 = lib.licenses.gpl2Plus;
platforms = lib.platforms.all;
2014-07-14 13:45:26 +01:00
};
2014-07-14 13:45:26 +01:00
}