treewide: unzip buildInputs to nativeBuildInputs (#112302)

This commit is contained in:
Ben Siraphob 2021-02-20 21:01:53 +00:00 committed by GitHub
parent ce5052e931
commit 127733211e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
183 changed files with 282 additions and 261 deletions

View File

@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0n86gwh9pw0jqqpdz7mxggllfr8k0r7pc67ayy7w5z6z79kig6mz";
};
buildInputs = [ unzip portaudio ];
nativeBuildInputs = [ unzip ];
buildInputs = [ portaudio ];
patches = [
./gcc6.patch

View File

@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0x8s7vpb7rw5x37yjzy1f98m4f2csdg89libb74fm36gn8ly0hli";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ unzip portaudio wxGTK ];
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [ portaudio wxGTK ];
# TODO:
# Uhm, seems like espeakedit still wants espeak-data/ in $HOME, even thought

View File

@ -7,7 +7,8 @@ stdenv.mkDerivation {
sha256 = "0varr6y7k8zarr56b42r0ad9g3brhn5vv3xjg1c0v19jxwr4gh2w";
};
buildInputs = [ unzip mpg123 ];
nativeBuildInputs = [ unzip ];
buildInputs = [ mpg123 ];
sourceRoot = ".";

View File

@ -10,7 +10,8 @@ stdenv.mkDerivation {
sha256 = "0h1fj7lmvq9j6rmw33rb8k0byxb898bi2xhcwkqalb84avhywgvs";
};
buildInputs = [ unzip puredata ];
nativeBuildInputs = [ unzip ];
buildInputs = [ puredata ];
unpackPhase = ''
unzip $src

View File

@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "1h7qgqd8srrxw2y1rkdw5js4k6f5vc8x6nlm2mq9mq9vjck7n1j7";
};
buildInputs = [ unzip puredata ];
nativeBuildInputs = [ unzip ];
buildInputs = [ puredata ];
unpackPhase = ''
unzip $src

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "14k2xk5zrzrw1zprdbwx45hrlc7ck8vq4drpd3l455i5r8yk4y6b";
};
buildInputs = [ unzip puredata fftw ];
nativeBuildInputs = [ unzip ];
buildInputs = [ puredata fftw ];
unpackPhase = ''
mkdir source

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
sha256 = "0lqzr68n2c6aifw2vbyars91wn1chmgb9xfdk463g4vjqiava3ih";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
unpackPhase = "unzip $src";

View File

@ -65,9 +65,9 @@ let
sha256 = sha256Hash;
};
nativeBuildInputs = [ unzip ];
buildInputs = [
makeWrapper
unzip
];
installPhase = ''
cp -r . $out

View File

@ -10,8 +10,8 @@ stdenv.mkDerivation {
sha256 = "0wv8i3ii7cd9bqhjpahwp2g5fcmyk365nc7ncmvl79cxbz3f7y8v";
};
nativeBuildInputs = [ unzip ];
buildInputs = [
unzip
pkg-config
ncurses
libX11

View File

@ -3,7 +3,8 @@
stdenv.mkDerivation rec {
name = "fte-0.50.02";
buildInputs = [ unzip perl libX11 libXpm gpm ncurses slang ];
nativeBuildInputs = [ unzip ];
buildInputs = [ perl libX11 libXpm gpm ncurses slang ];
ftesrc = fetchurl {
url = "mirror://sourceforge/fte/fte-20110708-src.zip";

View File

@ -34,10 +34,10 @@ stdenv.mkDerivation rec {
patchFlags = [ "-p2" ];
patches = [ ./git-revert-12d610fb3f6dce121df538e36f21d8c2eeb0a6e3.patch ];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [
autoconf automake shared-mime-info intltool
mono gtk-sharp-2_0 gnome-sharp unzip
mono gtk-sharp-2_0 gnome-sharp
dotnetPackages.NUnit
dotnetPackages.NUnitRunners
dotnetPackages.Nuget

View File

@ -56,8 +56,8 @@ stdenv.mkDerivation {
ln -s ${desktopItem}/share/applications/* $out/share/applications
'';
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl python unzip libicns imagemagick ];
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = [ perl python libicns imagemagick ];
meta = {
description = "An integrated development environment for Java, C, C++ and PHP";

View File

@ -4,9 +4,9 @@ stdenv.mkDerivation rec {
version = "10.8";
pname = "textadept";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [
gtk2 ncurses glib unzip zip
gtk2 ncurses glib zip
];
src = fetchhg {

View File

@ -4,9 +4,9 @@ stdenv.mkDerivation rec {
version = "11.0_beta";
pname = "textadept11";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [
gtk2 ncurses glib unzip zip
gtk2 ncurses glib zip
];
src = fetchFromGitHub {

View File

@ -60,14 +60,12 @@ in
'';
};
buildInputs = (if stdenv.isDarwin
then [ unzip ]
else [ gtk2 at-spi2-atk wrapGAppsHook ] ++ atomEnv.packages)
++ [ libsecret libXScrnSaver ];
buildInputs = [ libsecret libXScrnSaver ]
++ lib.optionals (!stdenv.isDarwin) ([ gtk2 at-spi2-atk wrapGAppsHook ] ++ atomEnv.packages);
runtimeDependencies = lib.optional (stdenv.isLinux) [ (lib.getLib systemd) fontconfig.lib libdbusmenu ];
nativeBuildInputs = lib.optional (!stdenv.isDarwin) autoPatchelfHook;
nativeBuildInputs = [unzip] ++ lib.optional (!stdenv.isDarwin) autoPatchelfHook;
dontBuild = true;
dontConfigure = true;

View File

@ -58,8 +58,8 @@ stdenv.mkDerivation rec {
comment = "The bridge between designers and developers";
};
nativeBuildInputs = [makeWrapper wrapGAppsHook];
buildInputs = [ unzip gtk3 gnome3.adwaita-icon-theme ];
nativeBuildInputs = [makeWrapper wrapGAppsHook unzip];
buildInputs = [ gtk3 gnome3.adwaita-icon-theme ];
# src is producing multiple folder on unzip so we must
# override unpackCmd to extract it into newly created folder

View File

@ -15,8 +15,7 @@ let
url = "https://wsr.imagej.net/distros/cross-platform/ij150.zip";
sha256 = "97aba6fc5eb908f5160243aebcdc4965726693cb1353d9c0d71b8f5dd832cb7b";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
inherit jre;
# JAR files that are intended to be used by other packages

View File

@ -6,7 +6,8 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/zvtm/${pname}/${version}/${pname}-${version}.zip";
sha256 = "1yg2rck81sqqrgfi5kn6c1bz42dr7d0zqpcsdjhicssi1y159f23";
};
buildInputs = [jre unzip];
nativeBuildInputs = [ unzip ];
buildInputs = [jre];
buildPhase = "";
installPhase = ''
mkdir -p "$out"/{bin,share/java/zvtm/plugins,share/doc/zvtm}

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "18llpvjsfhypzijrvfbzmcg3g141f307mzsrg11wcdxh9syxqak6";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
phases = [ "buildPhase" ];

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
};
dontStrip = true;
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
phases = "unpackPhase installPhase";
unpackPhase = "mkdir ${pname}-${version} && cd ${pname}-${version} && unzip -qq ${src}";

View File

@ -12,8 +12,8 @@ with builtins; buildDotnetPackage rec {
sourceRoot = ".";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip icoutils ];
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = [ icoutils ];
patches = [
(substituteAll {

View File

@ -9,8 +9,7 @@ stdenv.mkDerivation {
sha256 = "0axz7r30p34z5hgvdglznc82g7yvm3g56dv5190jixskx6ba58rs";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
unpackCmd = "unzip -o $curSrc"; # tries to go interactive without -o

View File

@ -18,8 +18,7 @@ stdenv.mkDerivation {
cd $out; unzip $src
'';
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
installPhase = ''
dir=$(echo $out/OpenJUMP-*)

View File

@ -43,14 +43,14 @@ in stdenv.mkDerivation rec {
'';
nativeBuildInputs = [
desktop-file-utils file gnum4 perl pkg-config python2 wget which wrapGAppsHook
desktop-file-utils file gnum4 perl pkg-config python2 wget which wrapGAppsHook unzip
];
buildInputs = [
alsaLib bzip2 cairo dbus dbus-glib ffmpeg fontconfig freetype
gnome2.GConf gtk2 hunspell libevent libjpeg libnotify
libstartup_notification libGLU libGL
libpulseaudio unzip yasm zip zlib
libpulseaudio yasm zip zlib
]
++ (with xorg; [
libX11 libXext libXft libXi libXrender libXScrnSaver

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0l743f2yyaq1vvc3iicajgnfpjxjsfvjcqvanndbxs23skgjcv6r";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
unpackPhase = ''
unzip $src

View File

@ -41,12 +41,12 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [
gnum4 makeWrapper perl pkg-config python2
gnum4 makeWrapper perl pkg-config python2 unzip
];
buildInputs = [
alsaLib dbus dbus-glib ffmpeg fontconfig freetype yasm zip jack2 gtk2
unzip gnome2.GConf xorg.libXt
gnome2.GConf xorg.libXt
];
enableParallelBuilding = true;

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0rb4lvv40pz6ab5kxq40ycvh7kh1yxn7swzgv2ff2nbhi62xnzp0";
};
buildInputs = [ python unzip wxPython wrapPython ];
nativeBuildInputs = [ unzip ];
buildInputs = [ python wxPython wrapPython ];
pythonPath = [ wxPython ];
preConfigure = "cd torchat/src; rm portable.txt";

View File

@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "1dyx778756zhvz5sxgdvy49p2c0x44w4nmcfd90wqrmgfknncnf5";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [
unzip fpc lazarus stdenv.cc
fpc lazarus stdenv.cc
libX11 glib gtk2 gdk-pixbuf pango atk cairo openssl
];

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
phases = [ "unpackPhase" "installPhase" ];
buildInputs = [ unzip jdk ib-tws ];
nativeBuildInputs = [ unzip ];
buildInputs = [ jdk ib-tws ];
installPhase = ''
mkdir -p $out $out/bin $out/etc/ib/controller $out/share/IBController

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0i12mv93bfv8xjwc3rs2x73d6hkvi7kgbbbx3ry984l3ly4p6nnm";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip jre ];
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = [ jre ];
sourceRoot = "snpEff";

View File

@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "perseus-4-beta";
version = "4-beta";
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
hardeningDisable = [ "stackprotector" ];

View File

@ -9,8 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0zwmhspmqb0a7cm6k6i0s6q3w19ws1g9dx3cp2v3g3vsif6cdh31";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
# The -Xmx1000M comes suggested from their download page:
# http://www.cs.waikato.ac.nz/ml/weka/downloading.html

View File

@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
sha256 = "07r60n9422g5sm7x5b62p044cp961l51vx0s8ig2hy24s74hkam1";
};
nativeBuildInputs = [ wrapGAppsHook ];
nativeBuildInputs = [ wrapGAppsHook unzip ];
buildInputs = [ unzip gsettings-desktop-schemas gtk3 ];
buildInputs = [ gsettings-desktop-schemas gtk3 ];
installPhase = ''
mkdir -p $out/bin \

View File

@ -21,8 +21,8 @@ in python2Packages.buildPythonApplication {
inherit python; # pass it so that the same version can be used in hg2git
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ docutils unzip ]
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = [ docutils ]
++ lib.optionals stdenv.isDarwin [ ApplicationServices ];
propagatedBuildInputs = [ hg-git dulwich ];

View File

@ -19,8 +19,8 @@ in python3Packages.buildPythonApplication rec {
passthru = { inherit python; }; # pass it so that the same version can be used in hg2git
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ docutils unzip ]
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = [ docutils ]
++ lib.optionals stdenv.isDarwin [ ApplicationServices ];
makeFlags = [ "PREFIX=$(out)" ];

View File

@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
EOF
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ unzip libixp_hg txt2tags dash python which
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [ libixp_hg txt2tags dash python which
libX11 libXrender libXext libXinerama libXrandr libXft ];
# For some reason including mercurial in buildInputs did not help

View File

@ -19,7 +19,7 @@ else
sourceRoot = ".";
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
dontBuild = true;

View File

@ -108,7 +108,8 @@ stdenv.mkDerivation (
{
name = name + (if src ? version then "-" + src.version else "");
buildInputs = [ant jre zip unzip] ++ lib.optional (args ? buildInputs) args.buildInputs ;
nativeBuildInputs = [ unzip ];
buildInputs = [ant jre zip] ++ lib.optional (args ? buildInputs) args.buildInputs ;
postHook = ''
mkdir -p $out/nix-support

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0z11y18bgdc0y41hrrzzgi4lagm2cg06x12jgdnary1ycng7xja0";
};
buildInputs = [ glib gnome3.gnome-shell unzip ];
nativeBuildInputs = [ unzip ];
buildInputs = [ glib gnome3.gnome-shell ];
uuid = "nightthemeswitcher@romainvigier.fr";

View File

@ -19,10 +19,10 @@ stdenv.mkDerivation rec {
./fuel-dir.patch
];
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = with xorg; [ git rlwrap curl pkg-config perl
libX11 pango cairo gtk2 gdk-pixbuf gtkglext
mesa libXmu libXt libICE libSM openssl unzip ];
mesa libXmu libXt libICE libSM openssl ];
buildPhase = ''
sed -ie '4i GIT_LABEL = heads/master-${rev}' GNUmakefile

View File

@ -89,7 +89,7 @@ let
makeMxCache = list:
stdenv.mkDerivation {
name = "mx-cache";
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
buildCommand = with lib; ''
mkdir $out
${lib.concatMapStrings

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "1gvyg00vx7fdqgfl2w7nhql78clg3abs6fxxy7m03pprdm5qmm17";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir -p $out

View File

@ -12,8 +12,7 @@ in stdenv.mkDerivation {
};
propagatedBuildInputs = [ jre ] ;
buildInputs = [ unzip ] ;
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper unzip ];
installPhase = ''
mkdir -p $out

View File

@ -15,7 +15,8 @@ let
curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/zulu-mac/";
};
buildInputs = [ unzip freetype ];
nativeBuildInputs = [ unzip ];
buildInputs = [ freetype ];
installPhase = ''
mkdir -p $out

View File

@ -18,7 +18,8 @@ let
curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/zulu-linux/";
};
buildInputs = [ unzip freetype ];
nativeBuildInputs = [ unzip ];
buildInputs = [ freetype ];
installPhase = ''
mkdir -p $out

View File

@ -15,7 +15,8 @@ let
curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/";
};
buildInputs = [ unzip freetype ];
nativeBuildInputs = [ unzip ];
buildInputs = [ freetype ];
installPhase = ''
mkdir -p $out

View File

@ -8,13 +8,11 @@ let
url="http://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip";
sha256 = "1pp853lbnz383ilp9wbgc3wv1dn7lpx3idz8dmzda94rckl7sd43";
};
buildInputs = [
unzip
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
nativeBuildInputs = [ unzip ];
src = fetchurl {
inherit (s) url sha256;
};

View File

@ -8,13 +8,11 @@ let
url="http://www.angelcode.com/angelscript/sdk/files/angelscript_${version}.zip";
sha256 = "sha256-AQ3UXiPnNNRvWJHXDiaGB6EsuasSUD3aQvhC2dt+iFc=";
};
buildInputs = [
unzip
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
nativeBuildInputs = [ unzip ];
src = fetchurl {
inherit (s) url sha256;
};

View File

@ -149,11 +149,11 @@ stdenv.mkDerivation {
sha256 = "12agi6bacqic2wq6q3l28283badzamspajmajzqm7fbdl2aq1a4p";
};
nativeBuildInputs = [ unzip ];
buildInputs = [
nodejs
clojure
jre
unzip
python
openssl
gnutar

View File

@ -11,8 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1xdpjqx7qaq0syw448b32q36g12pgh1hn6knyqi3k5isp0f09qmr";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
installPhase = ''
mkdir -p $out

View File

@ -22,8 +22,9 @@ stdenv.mkDerivation {
sha256 = "b112d7843f65217e3b5a9d40461698ef8dab7cbbe830af21216dfb924dc88a2f";
};
nativeBuildInputs = [ unzip ];
buildInputs = [
flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper unzip cln yices
flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper cln yices
];
hardeningDisable = [ "stackprotector" ] ++

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation {
owner = "vrthra";
};
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper unzip ];
preConfigure = ''
cd build;
@ -25,7 +25,6 @@ stdenv.mkDerivation {
'';
buildInputs = [
unzip
pkg-config
ncurses
];

View File

@ -7,7 +7,8 @@ stdenv.mkDerivation {
url = "http://unicon.org/dist/uni-2-4-2010.zip";
sha256 = "1g9l2dfp99dqih2ir2limqfjgagh3v9aqly6x0l3qavx3qkkwf61";
};
buildInputs = [ libnsl libX11 libXt unzip ];
nativeBuildInputs = [ unzip ];
buildInputs = [ libnsl libX11 libXt ];
hardeningDisable = [ "fortify" ];

View File

@ -3,7 +3,8 @@
stdenv.mkDerivation {
name = "AntTweakBar-1.16";
buildInputs = [ unzip xorg.libX11 libGLU libGL ];
nativeBuildInputs = [ unzip ];
buildInputs = [ xorg.libX11 libGLU libGL ];
src = fetchurl {
url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_116.zip";

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation {
sha256 = "1qgiw02n2a6r32pimnd97v2jkvnw449xrqmaxiivjy2jcr5h141q";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
configureFlags = [ "--cache-file=config.cache" "--with-downloader=true" ];

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "1p6m9nd08mv525w14py9qzs9zwsa5i3vxf5bgcmcvc408jqmkbsw";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
configureFlags = [ "--cache-file=config.cache" "--with-downloader=true" ];

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "1v9y9pffb2b7p642kp9ic4z6kg42ziizmyvbgrqd1ci0i4gn0831";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
unpackPhase = ''
mkdir $name

View File

@ -6,7 +6,8 @@ stdenv.mkDerivation {
url = "mirror://sourceforge/freetts/freetts-1.2.2-src.zip";
sha256 = "0mnikqhpf4f4jdr0irmibr8yy0dnffx1i257y22iamxi7a6by2r7";
};
buildInputs = [ apacheAnt unzip sharutils jdk ];
nativeBuildInputs = [ unzip ];
buildInputs = [ apacheAnt sharutils jdk ];
unpackPhase = ''
unzip $src -x META-INF/*
'';

View File

@ -16,7 +16,8 @@ stdenv.mkDerivation rec {
sha256 = "1n6w0m2603q9cldlz0wyscp75ci561dipc36jqbf3mjmylybv0x3";
};
buildInputs = [ unzip libjpeg libtiff libgeotiff libpng proj openssl sqlite
nativeBuildInputs = [ unzip ];
buildInputs = [ libjpeg libtiff libgeotiff libpng proj openssl sqlite
libspatialite poppler hdf4 qhull giflib expat libxml2 proj ]
++ (with pythonPackages; [ python numpy wrapPython ])
++ lib.optional stdenv.isDarwin libiconv

View File

@ -19,10 +19,9 @@ stdenv.mkDerivation rec {
sourceRoot = "source/gdal";
nativeBuildInputs = [ autoreconfHook pkg-config ];
nativeBuildInputs = [ autoreconfHook pkg-config unzip ];
buildInputs = [
unzip
libjpeg
libtiff
libpng

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0hphxzvy23v3vqxx1y22hhhg4cypihrb8555y12nb4mrhzlw7zfl";
};
buildInputs = [ unzip libjpeg libtiff libgeotiff libpng python pythonPackages.numpy proj openssl ];
nativeBuildInputs = [ unzip ];
buildInputs = [ libjpeg libtiff libgeotiff libpng python pythonPackages.numpy proj openssl ];
patches = [
# This ensures that the python package is installed into gdal's prefix,

View File

@ -9,9 +9,9 @@ let
url="https://foicica.com/gtdialog/download/gtdialog_1.4.zip";
sha256="1lhsaz56s8m838fi6vnfcd2r6djymvy3n2pbqhii88hraapq3rfk";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [
cdk unzip gtk2 glib ncurses
cdk gtk2 glib ncurses
];
in
stdenv.mkDerivation {

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "11shn2fbxj3w0j77w0234pqyj1368x686kkgv09q5yqhi1cdp028";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
makefile = "makefile.linux";

View File

@ -4,8 +4,8 @@ mkDerivation rec {
version = "unstable-20-06-26";
pname = "herqq";
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase unzip qtmultimedia ];
nativeBuildInputs = [ qmake unzip ];
buildInputs = [ qtbase qtmultimedia ];
outputs = [ "out" "dev" ];

View File

@ -45,7 +45,8 @@ let
platforms = platforms.all;
};
phases = "unpackPhase patchPhase buildPhase installPhase";
buildInputs = [ bash coreutils unzip which zip ];
nativeBuildInputs = [ unzip ];
buildInputs = [ bash coreutils which zip ];
patchPhase = ''
substituteInPlace ortograf/herramientas/make_dict.sh \
--replace /bin/bash bash \
@ -86,7 +87,7 @@ let
license = licenses.lgpl3;
platforms = platforms.all;
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
phases = "unpackPhase installPhase";
sourceRoot = ".";
unpackCmd = ''
@ -126,7 +127,7 @@ let
maintainers = with maintainers; [ renzo ];
platforms = platforms.all;
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
phases = "unpackPhase installPhase";
sourceRoot = ".";
unpackCmd = ''
@ -155,7 +156,7 @@ let
maintainers = with maintainers; [ renzo ];
platforms = platforms.all;
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
phases = "unpackPhase installPhase";
sourceRoot = ".";
unpackCmd = ''
@ -182,7 +183,7 @@ let
maintainers = with maintainers; [ renzo ];
platforms = platforms.all;
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
phases = "unpackPhase patchPhase installPhase";
sourceRoot = ".";
prePatch = ''

View File

@ -27,7 +27,8 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
'';
buildInputs = [ unzip libGLU libGL libXrandr libX11 libXxf86vm ];
nativeBuildInputs = [ unzip ];
buildInputs = [ libGLU libGL libXrandr libX11 libXxf86vm ];
meta = {
homepage = "http://irrlicht.sourceforge.net/";

View File

@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
"-DIRRLICHT_BUILD_TOOLS=OFF"
];
nativeBuildInputs = [ cmake ];
buildInputs = [ unzip OpenGL Cocoa IOKit ];
nativeBuildInputs = [ cmake unzip ];
buildInputs = [ OpenGL Cocoa IOKit ];
meta = {
homepage = "http://irrlicht.sourceforge.net/";

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "031ns526fvi2nv7jzzv02i7i5sjcyr0gj884i3an67qhsx8vyckl";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
propagatedBuildInputs = [ tnt ];
unpackPhase = ''

View File

@ -6,7 +6,8 @@ stdenv.mkDerivation {
url = "https://geolite.maxmind.com/download/geoip/api/java/GeoIPJava-1.2.5.zip";
sha256 = "1gb2d0qvvq7xankz7l7ymbr3qprwk9bifpy4hlgw0sq4i6a55ypd";
};
buildInputs = [ jdk unzip ];
nativeBuildInputs = [ unzip ];
buildInputs = [ jdk ];
buildPhase =
''
cd source

View File

@ -31,7 +31,8 @@ stdenv.mkDerivation {
ln -sv "${xbeans}" "build/tmp-xbean/xbean.zip"
'';
buildInputs = [ unzip ant javac jvm ];
nativeBuildInputs = [ unzip ];
buildInputs = [ ant javac jvm ];
buildPhase = "ant jar";
doCheck = false;

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1qr9arfdkjf7q11xhvxwzmhxqz3nhcjkyb8zzfjpz9jm54q0rc7m";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
meta = {
description = "Library for managing 3D-Studio Release 3 and 4 \".3DS\" files";

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1lxzi6v10qsl2r6633dx0zwqyvy0j19nmwclfd0d7qybqmhqsg9l";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir -p $out $out/lib $out/bin $out/include

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
cp f2c.h $out/include
'';
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
hardeningDisable = [ "format" ];

View File

@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
'';
buildInputs = [ unzip txt2tags ];
nativeBuildInputs = [ unzip ];
buildInputs = [ txt2tags ];
meta = {
homepage = "http://repo.cat-v.org/libixp/"; # see also https://libs.suckless.org/deprecated/libixp

View File

@ -9,7 +9,7 @@ in stdenv.mkDerivation {
sha256 = "0xkk5qc7kjcdwz9l04kmiz1nhmi7iszl3k165phf53h3a4wpl9h7";
};
patches = [ ./install-fix.patch ];
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
makeFlags = [ "prefix=$(out)" ];
preInstall = "mkdir -p $out/lib";

View File

@ -35,9 +35,8 @@ stdenv.mkDerivation rec {
"--with-locale-alias=${stdenv.cc.libc}/share/locale/locale.alias"
];
buildInputs = [ gettext glib libxml2 gobject-introspection gnome-common
unzip ];
nativeBuildInputs = [ autoreconfHook gtk-doc gettext pkg-config ];
buildInputs = [ gettext glib libxml2 gobject-introspection gnome-common ];
nativeBuildInputs = [ autoreconfHook gtk-doc gettext pkg-config unzip ];
meta = {
inherit version;

View File

@ -47,7 +47,7 @@ else stdenv.mkDerivation {
# darwin-specific
buildInputs = lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") unzip;
nativeBuildInputs = lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") unzip;
# linux-specific
installFlags = lib.optional isLinux

View File

@ -10,9 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "00l92k231yb49wijzkspa2l58mapn6vh2dlxnlg0pawjjfv33s6z";
};
buildInputs = [
unzip
] ++ lib.optionals stdenv.isDarwin [setfile];
nativeBuildInputs = [ unzip ];
buildInputs = lib.optionals stdenv.isDarwin [setfile];
meta = {
homepage = "http://muparser.sourceforge.net";

View File

@ -14,8 +14,8 @@ in stdenv.mkDerivation rec {
sha256 = "0a4zi8w18pjj813n7kmxldl1d9r1jp0iyhkw7pbqgl8f7qaq994w";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libX11 unzip ois freetype libuuid boost ]
nativeBuildInputs = [ cmake pkg-config unzip ];
buildInputs = [ libX11 ois freetype libuuid boost ]
++ (if withOgre then [ ogre ] else [ libGL libGLU ]);
# Tools are disabled due to compilation failures.

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "08h1vnqsv22js9v3pyim5yb80z87baxb7s2g5gsvvjax07j7w8h5";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
# We only need the header files. The library files are
# in the nvidia_x11 driver.

View File

@ -25,7 +25,8 @@ stdenv.mkDerivation {
-I${openfx.dev}/include/OpenFX
'';
buildInputs = [ unzip re2 openfx zlib ilmbase libGLU libGL openexr ];
nativeBuildInputs = [ unzip ];
buildInputs = [ re2 openfx zlib ilmbase libGLU libGL openexr ];
enableParallelBuilding = true;

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "0k9ggzr6bisn77mipjfvawg3mv4bz50b63v8f7w1jhldi1sfy548";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
outputs = [ "dev" "out" ];

View File

@ -14,7 +14,8 @@ stdenv.mkDerivation rec
outputs = [ "out" ];
buildInputs = [ unzip openexr boost tbb jemalloc c-blosc ilmbase ];
nativeBuildInputs = [ unzip ];
buildInputs = [ openexr boost tbb jemalloc c-blosc ilmbase ];
setSourceRoot = ''
sourceRoot=$(echo */openvdb)

View File

@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "all" ];
nativeBuildInputs = [ qmake qtwebengine qtxmlpatterns qttools ];
nativeBuildInputs = [ qmake qtwebengine qtxmlpatterns qttools unzip ];
buildInputs = [ python unzip ];
buildInputs = [ python ];
qmakeFlags = [ "PythonQt.pro"
"INCLUDEPATH+=${python}/include/python3.6"

View File

@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
patches = [ ./catalog-in-library-vicinity.patch ];
buildInputs = [ unzip scheme texinfo ];
nativeBuildInputs = [ unzip ];
buildInputs = [ scheme texinfo ];
postInstall = ''
ln -s mklibcat{.scm,}

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "1bzkfdb598584qlc058n8wqq9vbz714gr5r57401rsa9qaxhk5j7";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/include

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
builder = ./builder.sh;
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
libraries = [ xorg.libXpm xorg.libXt xorg.libX11 xorg.libICE xorg.libSM stdenv.cc.cc ];

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "02k0fd0cd3y1yqip36wr3bkxbywp8913w4y7jdg6qwqxjnii58ln";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
phases = "unpackPhase installPhase";

View File

@ -64,8 +64,7 @@ stdenv.mkDerivation {
}
else throw "Platform: ${stdenv.system} not supported!";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
buildCommand = ''
mkdir -p $out

View File

@ -64,8 +64,7 @@ stdenv.mkDerivation {
}
else throw "Platform: ${stdenv.system} not supported!";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
buildCommand = ''
mkdir -p $out

View File

@ -64,8 +64,7 @@ stdenv.mkDerivation {
}
else throw "Platform: ${stdenv.system} not supported!";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip ];
nativeBuildInputs = [ makeWrapper unzip ];
buildCommand = ''
mkdir -p $out

View File

@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
patches = [ ./META.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ocaml automake gnum4 autoconf unzip
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [ ocaml automake gnum4 autoconf
findlib freetype lablgtk cairo gdk-pixbuf gtk2 pango ];
createFindlibDestdir = true;

View File

@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
# because upstream tarball has no top-level directory.
sourceRoot = ".";
buildInputs = [ bash pharo unzip ];
nativeBuildInputs = [ unzip ];
buildInputs = [ bash pharo ];
installPhase = ''
mkdir -p $prefix/share/pharo-launcher

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
sha256 = "0xbdi679ryb2zg412xy6zkh22l20pmbl92m3qhfgzjvgybna8z2a";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir -p $prefix/lib

View File

@ -10,7 +10,8 @@ buildPythonPackage rec {
extension = "zip";
};
buildInputs = [ pytest unzip ];
nativeBuildInputs = [ unzip ];
buildInputs = [ pytest ];
checkPhase = "make test";
# Requires pytest < 3.1

View File

@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "0zy6prrj85jjc4xmxgfg8h94j81k6zhfxfffcbvq9b10jis1rgav";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
meta = with lib; {
description = "Easy peasy wrapper for HipChat's v1 API";

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "0xxy39s2lvgs56vicjzpcz936l1vjaplliwa0dm7v3iyvw6jn7vj";
};
buildInputs = [unzip];
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/lib/jars

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0v3vla3k6csfb8w0j9njrhcjj4n7yh172n9wv6z397f1sa0fs202";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/lib $out/doc

View File

@ -33,8 +33,8 @@ rec {
echo ${stdenv.cc.cc} > $out/nix-support/manual-runtime-dependencies
'';
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ unzip java ];
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = [ java ];
meta = {
description = "Enterprise-grade build system";

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ grahamc swarren83 ];
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
buildCommand = "
unzip $src -d $out

Some files were not shown because too many files have changed in this diff Show More