summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/build-managers
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-23 19:26:19 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-23 20:30:03 +0700
commitc522fec2743ffb95f2bc296f249232d73ae57dd1 (patch)
treec29207eba8c137fd2e9ff59d7186c9a4dfd0cdc4 /pkgs/development/tools/build-managers
parentf6a583eeece936a1d917de67194fec4b6c74cf1f (diff)
pkgs/development/tools: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r--pkgs/development/tools/build-managers/apache-ant/1.9.nix8
-rw-r--r--pkgs/development/tools/build-managers/apache-ant/default.nix8
-rw-r--r--pkgs/development/tools/build-managers/apache-maven/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/arpa2cm/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/bam/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/bazel/buildtools/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/bear/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/bloop/default.nix2
-rw-r--r--pkgs/development/tools/build-managers/bmake/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/boot/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/buck/default.nix6
-rw-r--r--pkgs/development/tools/build-managers/cmake/2.8.nix14
-rw-r--r--pkgs/development/tools/build-managers/colormake/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/doit/default.nix8
-rw-r--r--pkgs/development/tools/build-managers/dub/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/fac/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/gnumake/4.2/default.nix12
-rw-r--r--pkgs/development/tools/build-managers/gnumake/default.nix12
-rw-r--r--pkgs/development/tools/build-managers/gradle/default.nix6
-rw-r--r--pkgs/development/tools/build-managers/gup/default.nix6
-rw-r--r--pkgs/development/tools/build-managers/icmake/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/jam/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/kati/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/leiningen/default.nix10
-rw-r--r--pkgs/development/tools/build-managers/mill/default.nix6
-rw-r--r--pkgs/development/tools/build-managers/mk/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/msbuild/default.nix6
-rw-r--r--pkgs/development/tools/build-managers/ninja/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/pants/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/qbs/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/rebar/default.nix6
-rw-r--r--pkgs/development/tools/build-managers/rebar3/default.nix8
-rw-r--r--pkgs/development/tools/build-managers/redo-apenwarr/default.nix2
-rw-r--r--pkgs/development/tools/build-managers/redo-c/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/redo-sh/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/redo/default.nix8
-rw-r--r--pkgs/development/tools/build-managers/remake/default.nix8
-rw-r--r--pkgs/development/tools/build-managers/rocm-cmake/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/samurai/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/sbt-extras/default.nix12
-rw-r--r--pkgs/development/tools/build-managers/sbt/default.nix10
-rw-r--r--pkgs/development/tools/build-managers/scons/common.nix2
-rw-r--r--pkgs/development/tools/build-managers/shards/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/tup/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/waf/default.nix6
46 files changed, 131 insertions, 131 deletions
diff --git a/pkgs/development/tools/build-managers/apache-ant/1.9.nix b/pkgs/development/tools/build-managers/apache-ant/1.9.nix
index 49f8435b3773..182b8633aa01 100644
--- a/pkgs/development/tools/build-managers/apache-ant/1.9.nix
+++ b/pkgs/development/tools/build-managers/apache-ant/1.9.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, coreutils, makeWrapper }:
+{ fetchurl, lib, stdenv, coreutils, makeWrapper }:
let version = "1.9.15"; in
@@ -105,8 +105,8 @@ stdenv.mkDerivation {
by an object that implements a particular Task interface.
'';
- license = stdenv.lib.licenses.asl20;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- platforms = stdenv.lib.platforms.all;
+ license = lib.licenses.asl20;
+ maintainers = [ lib.maintainers.eelco ];
+ platforms = lib.platforms.all;
};
}
diff --git a/pkgs/development/tools/build-managers/apache-ant/default.nix b/pkgs/development/tools/build-managers/apache-ant/default.nix
index caa9bc3b9eb7..d88068c1c3ee 100644
--- a/pkgs/development/tools/build-managers/apache-ant/default.nix
+++ b/pkgs/development/tools/build-managers/apache-ant/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, coreutils, makeWrapper }:
+{ fetchurl, lib, stdenv, coreutils, makeWrapper }:
let version = "1.10.9"; in
@@ -105,8 +105,8 @@ stdenv.mkDerivation {
by an object that implements a particular Task interface.
'';
- license = stdenv.lib.licenses.asl20;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- platforms = stdenv.lib.platforms.all;
+ license = lib.licenses.asl20;
+ maintainers = [ lib.maintainers.eelco ];
+ platforms = lib.platforms.all;
};
}
diff --git a/pkgs/development/tools/build-managers/apache-maven/default.nix b/pkgs/development/tools/build-managers/apache-maven/default.nix
index 83260cbc1860..4658703f8b10 100644
--- a/pkgs/development/tools/build-managers/apache-maven/default.nix
+++ b/pkgs/development/tools/build-managers/apache-maven/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, jdk, makeWrapper }:
+{ lib, stdenv, fetchurl, jdk, makeWrapper }:
assert jdk != null;
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
inherit jdk;
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Build automation tool (used primarily for Java projects)";
homepage = "http://maven.apache.org/";
license = licenses.asl20;
diff --git a/pkgs/development/tools/build-managers/arpa2cm/default.nix b/pkgs/development/tools/build-managers/arpa2cm/default.nix
index 9ed9da0d268b..0af9e77acf57 100644
--- a/pkgs/development/tools/build-managers/arpa2cm/default.nix
+++ b/pkgs/development/tools/build-managers/arpa2cm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake }:
+{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "arpa2cm";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "CMake Module library for the ARPA2 project";
license = licenses.bsd2;
maintainers = with maintainers; [ leenaars ];
diff --git a/pkgs/development/tools/build-managers/bam/default.nix b/pkgs/development/tools/build-managers/bam/default.nix
index 969cd9879746..8eb197151a32 100644
--- a/pkgs/development/tools/build-managers/bam/default.nix
+++ b/pkgs/development/tools/build-managers/bam/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, lua5_3, python }:
+{ lib, stdenv, fetchFromGitHub, lua5_3, python }:
stdenv.mkDerivation rec {
pname = "bam";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
cp bam "$out/bin"
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Yet another build manager";
maintainers = with maintainers;
[
diff --git a/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix b/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
index 0c9f4d7c50a0..ac03288f1485 100644
--- a/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
@@ -3,7 +3,7 @@
, fetchFromGitHub
, git
, go
-, stdenv
+, lib, stdenv
}:
buildBazelPackage rec {
@@ -80,7 +80,7 @@ buildBazelPackage rec {
'';
};
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://github.com/buchgr/bazel-remote";
description = "A remote HTTP/1.1 cache for Bazel";
license = licenses.asl20;
diff --git a/pkgs/development/tools/build-managers/bazel/buildtools/default.nix b/pkgs/development/tools/build-managers/bazel/buildtools/default.nix
index 66560e768d23..436b681e0054 100644
--- a/pkgs/development/tools/build-managers/bazel/buildtools/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/buildtools/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "bazel-buildtools";
@@ -19,7 +19,7 @@ buildGoPackage rec {
buildFlagsArray = [ "-ldflags=-s -w -X main.buildVersion=${version} -X main.buildScmRevision=${src.rev}" ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Tools for working with Google's bazel buildtool. Includes buildifier, buildozer, and unused_deps";
homepage = "https://github.com/bazelbuild/buildtools";
license = licenses.asl20;
diff --git a/pkgs/development/tools/build-managers/bear/default.nix b/pkgs/development/tools/build-managers/bear/default.nix
index 756e68b56781..74b1f7040205 100644
--- a/pkgs/development/tools/build-managers/bear/default.nix
+++ b/pkgs/development/tools/build-managers/bear/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib, stdenv
, fetchFromGitHub
, cmake
, pkg-config
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
./no-double-relative.patch
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Tool that generates a compilation database for clang tooling";
longDescription = ''
Note: the bear command is very useful to generate compilation commands
diff --git a/pkgs/development/tools/build-managers/bloop/default.nix b/pkgs/development/tools/build-managers/bloop/default.nix
index c1b3a7aa1560..12fd01e5e4ed 100644
--- a/pkgs/development/tools/build-managers/bloop/default.nix
+++ b/pkgs/development/tools/build-managers/bloop/default.nix
@@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
installShellCompletion --name bloop.fish --fish ${bloop-fish}
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://scalacenter.github.io/bloop/";
license = licenses.asl20;
description = "A Scala build server and command-line tool to make the compile and test developer workflows fast and productive in a build-tool-agnostic way";
diff --git a/pkgs/development/tools/build-managers/bmake/default.nix b/pkgs/development/tools/build-managers/bmake/default.nix
index 9bda4cde0449..e1e9b348503c 100644
--- a/pkgs/development/tools/build-managers/bmake/default.nix
+++ b/pkgs/development/tools/build-managers/bmake/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl
+{ lib, stdenv, fetchurl
, getopt
}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
./fix-unexport-env-test.patch
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Portable version of NetBSD 'make'";
homepage = "http://www.crufty.net/help/sjg/bmake.html";
license = licenses.bsd3;
diff --git a/pkgs/development/tools/build-managers/boot/default.nix b/pkgs/development/tools/build-managers/boot/default.nix
index 09c1eada54b5..68a4d5f44eaa 100644
--- a/pkgs/development/tools/build-managers/boot/default.nix
+++ b/pkgs/development/tools/build-managers/boot/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, jdk }:
+{ lib, stdenv, fetchurl, jdk }:
stdenv.mkDerivation rec {
version = "2.7.2";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ jdk ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Build tooling for Clojure";
homepage = "https://boot-clj.com/";
license = licenses.epl10;
diff --git a/pkgs/development/tools/build-managers/buck/default.nix b/pkgs/development/tools/build-managers/buck/default.nix
index 41fc0940b9d0..0fbcb95704b0 100644
--- a/pkgs/development/tools/build-managers/buck/default.nix
+++ b/pkgs/development/tools/build-managers/buck/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }:
+{ lib, stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }:
stdenv.mkDerivation rec {
pname = "buck";
@@ -30,10 +30,10 @@ stdenv.mkDerivation rec {
install -D -m755 buck-out/gen/programs/buck.pex $out/bin/buck
wrapProgram $out/bin/buck \
--prefix PYTHONPATH : $PYTHONPATH \
- --prefix PATH : "${stdenv.lib.makeBinPath [jdk watchman]}"
+ --prefix PATH : "${lib.makeBinPath [jdk watchman]}"
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://buck.build/";
description = "A high-performance build tool";
maintainers = [ maintainers.jgertm maintainers.marsam ];
diff --git a/pkgs/development/tools/build-managers/cmake/2.8.nix b/pkgs/development/tools/build-managers/cmake/2.8.nix
index 804bdd76f673..9dabd7b35560 100644
--- a/pkgs/development/tools/build-managers/cmake/2.8.nix
+++ b/pkgs/development/tools/build-managers/cmake/2.8.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2
+{ lib, stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2
, useNcurses ? false, ncurses, useQt4 ? false, qt4, ps
}:
-with stdenv.lib;
+with lib;
assert stdenv ? cc;
assert stdenv.cc ? libc;
let
- os = stdenv.lib.optionalString;
+ os = lib.optionalString;
majorVersion = "2.8";
minorVersion = "12.2";
version = "${majorVersion}.${minorVersion}";
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
"--mandir=/share/man"
"--system-libs"
"--no-system-libarchive"
- ] ++ stdenv.lib.optional useQt4 "--qt-gui";
+ ] ++ lib.optional useQt4 "--qt-gui";
setupHook = ./setup-hook.sh;
@@ -80,8 +80,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://cmake.org";
description = "Cross-Platform Makefile Generator";
- platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix;
- maintainers = with stdenv.lib.maintainers; [ xfix ];
- license = stdenv.lib.licenses.bsd3;
+ platforms = if useQt4 then qt4.meta.platforms else lib.platforms.unix;
+ maintainers = with lib.maintainers; [ xfix ];
+ license = lib.licenses.bsd3;
};
}
diff --git a/pkgs/development/tools/build-managers/colormake/default.nix b/pkgs/development/tools/build-managers/colormake/default.nix
index 7eed88069557..251268a449d4 100644
--- a/pkgs/development/tools/build-managers/colormake/default.nix
+++ b/pkgs/development/tools/build-managers/colormake/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, perl }:
+{ lib, stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation {
pname = "colormake";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Simple wrapper around make to colorize the output";
homepage = "https://bre.klaki.net/programs/colormake/";
license = licenses.gpl2;
diff --git a/pkgs/development/tools/build-managers/doit/default.nix b/pkgs/development/tools/build-managers/doit/default.nix
index b906d64f0af9..d48f0d4d56b6 100644
--- a/pkgs/development/tools/build-managers/doit/default.nix
+++ b/pkgs/development/tools/build-managers/doit/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, python3Packages }:
+{ lib, stdenv, fetchurl, python3Packages }:
let
@@ -16,15 +16,15 @@ in python3Packages.buildPythonApplication {
buildInputs = with python3Packages; [ mock pytest ];
propagatedBuildInputs = with python3Packages; [ cloudpickle ]
- ++ stdenv.lib.optional stdenv.isLinux pyinotify
- ++ stdenv.lib.optional stdenv.isDarwin macfsevents;
+ ++ lib.optional stdenv.isLinux pyinotify
+ ++ lib.optional stdenv.isDarwin macfsevents;
# Tests fail due to mysterious gdbm.open() resource temporarily
# unavailable errors.
doCheck = false;
checkPhase = "py.test";
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://pydoit.org/";
description = "A task management & automation tool";
license = licenses.mit;
diff --git a/pkgs/development/tools/build-managers/dub/default.nix b/pkgs/development/tools/build-managers/dub/default.nix
index 2668eca45691..2df829a02295 100644
--- a/pkgs/development/tools/build-managers/dub/default.nix
+++ b/pkgs/development/tools/build-managers/dub/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
+{ lib, stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
stdenv.mkDerivation rec {
pname = "dub";
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
cp bin/dub $out/bin
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Package and build manager for D applications and libraries";
homepage = "https://code.dlang.org/";
license = licenses.mit;
diff --git a/pkgs/development/tools/build-managers/fac/default.nix b/pkgs/development/tools/build-managers/fac/default.nix
index 8c41eb3ac51a..25450ceb6d9b 100644
--- a/pkgs/development/tools/build-managers/fac/default.nix
+++ b/pkgs/development/tools/build-managers/fac/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, git, fetchFromGitHub, rustPlatform }:
+{ lib, stdenv, git, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "fac-build";
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
'std::process::Command::new("${git}/bin/git")'
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = ''
A build system that uses ptrace to handle dependencies automatically
'';
diff --git a/pkgs/development/tools/build-managers/gnumake/4.2/default.nix b/pkgs/development/tools/build-managers/gnumake/4.2/default.nix
index c2ce00eee217..387650e85ab7 100644
--- a/pkgs/development/tools/build-managers/gnumake/4.2/default.nix
+++ b/pkgs/development/tools/build-managers/gnumake/4.2/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
+{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
assert guileSupport -> ( pkg-config != null && guile != null );
@@ -25,10 +25,10 @@ stdenv.mkDerivation {
./glibc-2.27-glob.patch
];
- nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ];
- buildInputs = stdenv.lib.optionals guileSupport [ guile ];
+ nativeBuildInputs = lib.optionals guileSupport [ pkg-config ];
+ buildInputs = lib.optionals guileSupport [ guile ];
- configureFlags = stdenv.lib.optional guileSupport "--with-guile"
+ configureFlags = lib.optional guileSupport "--with-guile"
# Make uses this test to decide whether it should keep track of
# subseconds. Apple made this possible with APFS and macOS 10.13.
@@ -37,11 +37,11 @@ stdenv.mkDerivation {
# a second. So, tell Make to ignore nanoseconds in mtime here by
# overriding the autoconf test for the struct.
# See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
- ++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
+ ++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
outputs = [ "out" "man" "info" ];
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://www.gnu.org/software/make/";
description = "A tool to control the generation of non-source files from sources";
license = licenses.gpl3Plus;
diff --git a/pkgs/development/tools/build-managers/gnumake/default.nix b/pkgs/development/tools/build-managers/gnumake/default.nix
index 213d43c735ca..fb9dab54049a 100644
--- a/pkgs/development/tools/build-managers/gnumake/default.nix
+++ b/pkgs/development/tools/build-managers/gnumake/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
+{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
assert guileSupport -> ( pkg-config != null && guile != null );
@@ -21,10 +21,10 @@ stdenv.mkDerivation {
./impure-dirs.patch
];
- nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ];
- buildInputs = stdenv.lib.optionals guileSupport [ guile ];
+ nativeBuildInputs = lib.optionals guileSupport [ pkg-config ];
+ buildInputs = lib.optionals guileSupport [ guile ];
- configureFlags = stdenv.lib.optional guileSupport "--with-guile"
+ configureFlags = lib.optional guileSupport "--with-guile"
# Make uses this test to decide whether it should keep track of
# subseconds. Apple made this possible with APFS and macOS 10.13.
@@ -33,11 +33,11 @@ stdenv.mkDerivation {
# a second. So, tell Make to ignore nanoseconds in mtime here by
# overriding the autoconf test for the struct.
# See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
- ++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
+ ++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
outputs = [ "out" "man" "info" ];
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://www.gnu.org/software/make/";
description = "A tool to control the generation of non-source files from sources";
license = licenses.gpl3Plus;
diff --git a/pkgs/development/tools/build-managers/gradle/default.nix b/pkgs/development/tools/build-managers/gradle/default.nix
index d06282739afe..638be6b02d83 100644
--- a/pkgs/development/tools/build-managers/gradle/default.nix
+++ b/pkgs/development/tools/build-managers/gradle/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }:
+{ lib, stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }:
rec {
gradleGen = {name, src, nativeVersion} : stdenv.mkDerivation {
@@ -46,8 +46,8 @@ rec {