3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #138866 from smancill/quilt-wrap-missing-inputs

quilt: wrap all required inputs
This commit is contained in:
Kevin Cox 2021-09-26 16:03:02 -04:00 committed by GitHub
commit 76a4a78d09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,19 @@
{ lib, stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }:
{ lib
, stdenv
, fetchurl
, makeWrapper
, bash
, coreutils
, diffstat
, diffutils
, findutils
, gawk
, gnugrep
, gnused
, patch
, perl
, unixtools
}:
stdenv.mkDerivation rec {
@ -11,14 +26,27 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl bash diffutils patch findutils diffstat ];
buildInputs = [
bash
coreutils
diffstat
diffutils
findutils
gawk
gnugrep
gnused
patch
perl
unixtools.column
unixtools.getopt
];
postInstall = ''
wrapProgram $out/bin/quilt --prefix PATH : \
${perl}/bin:${bash}/bin:${diffstat}/bin:${diffutils}/bin:${findutils}/bin:${patch}/bin
wrapProgram $out/bin/quilt --prefix PATH : ${lib.makeBinPath buildInputs}
'';
meta = {
meta = with lib; {
homepage = "https://savannah.nongnu.org/projects/quilt";
description = "Easily manage large numbers of patches";
@ -29,8 +57,9 @@ stdenv.mkDerivation rec {
and more.
'';
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.all;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ smancill ];
platforms = platforms.all;
};
}