forked from mirrors/nixpkgs
Merge pull request #138866 from smancill/quilt-wrap-missing-inputs
quilt: wrap all required inputs
This commit is contained in:
commit
76a4a78d09
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue