Merge pull request #110585 from siraben/development-tools-stdenv-lib
pkgs/development/tools: stdenv.lib -> lib
commit75666aad62b1b66909b9656a9619e08cb6919543
authorJörg Thalheim <Mic92@users.noreply.github.com>
dateSat 23 Jan 2021, 15:57 (6 years ago)
parent9d6fd2b09f47ac
534 files changed+1314−1314
pkgs/development/tools/alloy/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre, makeWrapper, makeDesktopItem }:
1+{ lib, stdenv, fetchurl, jre, makeWrapper, makeDesktopItem }:
22
33let generic = { major, version, src }:
44
@@ -30,7 +30,7 @@ let generic = { major, version, src }:
3030 cp -r ${desktopItem}/share/applications $out/share
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Language & tool for relational models";
3535 longDescription = ''
3636 Alloy is a language for describing structures and a tool for exploring
pkgs/development/tools/ammonite/default.nix+3−3
@@ -1,7 +1,7 @@
1−{ stdenv, fetchurl, jre, nixosTests, writeScript, common-updater-scripts, git
1+{ lib, stdenv, fetchurl, jre, nixosTests, writeScript, common-updater-scripts, git
22, nixfmt, nix, coreutils, gnused, disableRemoteLogging ? true }:
33
4−with stdenv.lib;
4+with lib;
55
66let
77 repo = "git@github.com:lihaoyi/Ammonite.git";
@@ -34,7 +34,7 @@ let
3434 #!${stdenv.shell}
3535 set -o errexit
3636 PATH=${
37− stdenv.lib.makeBinPath [
37+ lib.makeBinPath [
3838 common-updater-scripts
3939 coreutils
4040 git
pkgs/development/tools/analysis/autoflake/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, python3Packages }:
1+{ lib, stdenv, python3Packages }:
22
33with python3Packages;
44buildPythonApplication rec {
@@ -14,7 +14,7 @@ buildPythonApplication rec {
1414
1515 doCheck = true;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://github.com/myint/autoflake";
1919 description = "A simple program which removes unused imports and unused variables as reported by pyflakes";
2020 license = licenses.mit;
pkgs/development/tools/analysis/bingrep/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, rustPlatform, fetchFromGitHub }:
1+{ lib, stdenv, rustPlatform, fetchFromGitHub }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "bingrep";
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "sha256-3eGYU5O7HSpawIL/8OVmROCzXfdnoMAnIujjrIp00xg=";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Greps through binaries from various OSs and architectures, and colors them";
1818 homepage = "https://github.com/m4b/bingrep";
1919 license = licenses.mit;
pkgs/development/tools/analysis/cccc/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33let
44 name = "cccc";
@@ -30,8 +30,8 @@ stdenv.mkDerivation {
3030 complexity and metrics proposed by Chidamber&Kemerer and Henry&Kafura.
3131 '';
3232 homepage = "http://cccc.sourceforge.net/";
33− license = stdenv.lib.licenses.gpl2;
34− platforms = stdenv.lib.platforms.unix;
35− maintainers = [ stdenv.lib.maintainers.linquize ];
33+ license = lib.licenses.gpl2;
34+ platforms = lib.platforms.unix;
35+ maintainers = [ lib.maintainers.linquize ];
3636 };
3737}
pkgs/development/tools/analysis/checkstyle/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, jre }:
1+{ lib, stdenv, fetchurl, makeWrapper, jre }:
22
33stdenv.mkDerivation rec {
44 version = "8.39";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 runHook postInstall
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Checks Java source against a coding standard";
2727 longDescription = ''
2828 checkstyle is a development tool to help programmers write Java code that
pkgs/development/tools/analysis/clang-analyzer/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }:
1+{ lib, stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }:
22
33stdenv.mkDerivation rec {
44 pname = "clang-analyzer";
@@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
2727 meta = {
2828 description = "Clang Static Analyzer";
2929 homepage = "http://clang-analyzer.llvm.org";
30− license = stdenv.lib.licenses.bsd3;
31− platforms = stdenv.lib.platforms.unix;
32− maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
30+ license = lib.licenses.bsd3;
31+ platforms = lib.platforms.unix;
32+ maintainers = [ lib.maintainers.thoughtpolice ];
3333 };
3434}
pkgs/development/tools/analysis/coan/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl }:
1+{ lib, stdenv, fetchurl, perl }:
22
33stdenv.mkDerivation rec {
44 version = "6.0.1";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 mv -v $out/share/man/man1/coan.1.{1,gz}
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "The C preprocessor chainsaw";
2222 longDescription = ''
2323 A software engineering tool for analysing preprocessor-based
pkgs/development/tools/analysis/codeql/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchzip
33, zlib
44, xorg
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
5252 ln -s $out/codeql/codeql $out/bin/
5353 '';
5454
55− meta = with stdenv.lib; {
55+ meta = with lib; {
5656 description = "Semantic code analysis engine";
5757 homepage = "https://semmle.com/codeql";
5858 maintainers = [ maintainers.dump_stack ];
pkgs/development/tools/analysis/cov-build/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, requireFile }:
1+{ lib, stdenv, requireFile }:
22
33let
44 message = ''
@@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
4141 meta = {
4242 description = "Coverity Scan build tools";
4343 homepage = "https://scan.coverity.com";
44− license = stdenv.lib.licenses.unfreeRedistributable;
45− platforms = stdenv.lib.platforms.linux;
46− maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
44+ license = lib.licenses.unfreeRedistributable;
45+ platforms = lib.platforms.linux;
46+ maintainers = [ lib.maintainers.thoughtpolice ];
4747 };
4848}
pkgs/development/tools/analysis/coz/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, libelfin
44, ncurses
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
5050 meta = {
5151 homepage = "https://github.com/plasma-umass/coz";
5252 description = "Profiler based on casual profiling";
53− license = stdenv.lib.licenses.bsd2;
54− maintainers = with stdenv.lib.maintainers; [ zimbatm ];
53+ license = lib.licenses.bsd2;
54+ maintainers = with lib.maintainers; [ zimbatm ];
5555 };
5656}
pkgs/development/tools/analysis/cppcheck/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }:
1+{ lib, stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }:
22
33stdenv.mkDerivation rec {
44 pname = "cppcheck";
@@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
99 sha256 = "0mlw0z20qf0g9qrmdmbykzf87wlcgmah8bacmp4mk6dwfzr9g9n3";
1010 };
1111
12− buildInputs = [ pcre ] ++ stdenv.lib.optionals withZ3 [ z3 ];
12+ buildInputs = [ pcre ] ++ lib.optionals withZ3 [ z3 ];
1313 nativeBuildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];
1414
1515 makeFlags = [ "PREFIX=$(out)" "FILESDIR=$(out)/cfg" "HAVE_RULES=yes" ]
16− ++ stdenv.lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ];
16+ ++ lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ];
1717
1818 outputs = [ "out" "man" ];
1919
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 cp cppcheck.1 $man/share/man/man1/cppcheck.1
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "A static analysis tool for C/C++ code";
3030 longDescription = ''
3131 Check C/C++ code for memory leaks, mismatching allocation-deallocation,
pkgs/development/tools/analysis/egypt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perlPackages }:
1+{ lib, stdenv, fetchurl, perlPackages }:
22
33perlPackages.buildPerlPackage rec {
44 pname = "egypt";
@@ -15,7 +15,7 @@ perlPackages.buildPerlPackage rec {
1515
1616 doCheck = true;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Tool for making call graphs of C programmes";
2020 longDescription = ''
2121 Egypt is a simple tool for creating call graphs of C programs. It neither
pkgs/development/tools/analysis/emma/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip}:
1+{lib, stdenv, fetchurl, unzip}:
22
33stdenv.mkDerivation {
44 name = "emma-2.0.5312";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
1818 meta = {
1919 homepage = "http://emma.sourceforge.net/";
2020 description = "A code coverage tool for Java";
21− platforms = stdenv.lib.platforms.unix;
22− license = stdenv.lib.licenses.cpl10;
21+ platforms = lib.platforms.unix;
22+ license = lib.licenses.cpl10;
2323 };
2424}
pkgs/development/tools/analysis/evmdis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage {
44 pname = "evmdis-unstable";
@@ -12,7 +12,7 @@ buildGoPackage {
1212 sha256 = "09y4j7ipgv8yd99g3xk3f079w8fqfj7kl1y7ry81ainysn0qlqrg";
1313 };
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://github.com/Arachnid/evmdis";
1717 description = "Ethereum EVM disassembler";
1818 license = [ licenses.asl20 ];
pkgs/development/tools/analysis/findbugs/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "findbugs-3.0.1";
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 EOF
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "A static analysis tool to find bugs in Java programs automatically";
3939 homepage = "http://findbugs.sourceforge.net/";
4040 maintainers = with maintainers; [ pSub ];
pkgs/development/tools/analysis/flow/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
1+{ lib, stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
22
33stdenv.mkDerivation rec {
44 pname = "flow";
@@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
1717 '';
1818
1919 buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild dtoa core_kernel sedlex_2 ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec ppx_tools_versioned visitors wtf8 ocaml-migrate-parsetree ])
20− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
20+ ++ lib.optionals stdenv.isDarwin [ CoreServices ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A static type checker for JavaScript";
2424 homepage = "https://flow.org/";
2525 changelog = "https://github.com/facebook/flow/releases/tag/v${version}";
pkgs/development/tools/analysis/frama-c/default.nix+3−3
@@ -73,8 +73,8 @@ stdenv.mkDerivation rec {
7373 meta = {
7474 description = "An extensible and collaborative platform dedicated to source-code analysis of C software";
7575 homepage = "http://frama-c.com/";
76− license = stdenv.lib.licenses.lgpl21;
77− maintainers = with stdenv.lib.maintainers; [ thoughtpolice amiddelk ];
78− platforms = stdenv.lib.platforms.unix;
76+ license = lib.licenses.lgpl21;
77+ maintainers = with lib.maintainers; [ thoughtpolice amiddelk ];
78+ platforms = lib.platforms.unix;
7979 };
8080}
pkgs/development/tools/analysis/garcosim/tracefilegen/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 cp -ar $src/Documentation/html $out/share/doc/${name}/.
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Automatically generate all types of basic memory management operations and write into trace files";
2626 homepage = "https://github.com/GarCoSim";
2727 maintainers = [ maintainers.cmcdragonkai ];
pkgs/development/tools/analysis/garcosim/tracefilesim/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit }:
1+{ lib, stdenv, fetchgit }:
22
33stdenv.mkDerivation {
44
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 cp ./traceFileSim "$out/bin"
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Ease the analysis of existing memory management techniques, as well as the prototyping of new memory management techniques";
2222 homepage = "https://github.com/GarCoSim";
2323 maintainers = [ maintainers.cmcdragonkai ];
pkgs/development/tools/analysis/hopper/default.nix+1−1
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
6767 --replace "Exec=/opt/hopper-${rev}/bin/Hopper" "Exec=$out/bin/hopper"
6868 '';
6969
70− meta = with stdenv.lib; {
70+ meta = with lib; {
7171 homepage = "https://www.hopperapp.com/index.html";
7272 description = "A macOS and Linux Disassembler";
7373 license = licenses.unfree;
pkgs/development/tools/analysis/hotspot/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv,
1+{ lib, stdenv,
22 mkDerivation,
33 cmake,
44 elfutils,
@@ -58,8 +58,8 @@ mkDerivation rec {
5858 then displays the result in a graphical way.
5959 '';
6060 homepage = "https://github.com/KDAB/hotspot";
61− license = with stdenv.lib.licenses; [ gpl2 gpl3 ];
62− platforms = stdenv.lib.platforms.linux;
63− maintainers = with stdenv.lib.maintainers; [ nh2 ];
61+ license = with lib.licenses; [ gpl2 gpl3 ];
62+ platforms = lib.platforms.linux;
63+ maintainers = with lib.maintainers; [ nh2 ];
6464 };
6565}
pkgs/development/tools/analysis/include-what-you-use/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, llvmPackages, python2 }:
1+{ lib, stdenv, fetchurl, cmake, llvmPackages, python2 }:
22
33stdenv.mkDerivation rec {
44 pname = "include-what-you-use";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 --replace "'include-what-you-use'" "'$out/bin/include-what-you-use'"
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Analyze #includes in C/C++ source files with clang";
2525 longDescription = ''
2626 For every symbol (type, function variable, or macro) that you use in
pkgs/development/tools/analysis/jdepend/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ant, jdk, runtimeShell }:
1+{ lib, stdenv, fetchFromGitHub, ant, jdk, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 pname = "jdepend";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 chmod a+x $out/bin/jdepend
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Traverses Java class file directories and generates design quality metrics for each Java package";
3030 homepage = "http://www.clarkware.com/software/JDepend.html";
3131 license = licenses.bsd3;
pkgs/development/tools/analysis/kcov/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}:
1+{lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}:
22
33stdenv.mkDerivation rec {
44 pname = "kcov";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 buildInputs = [ zlib curl elfutils python libiberty libopcodes ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
2121
2222 longDescription = ''
pkgs/development/tools/analysis/lcov/default.nix+3−3
@@ -1,4 +1,4 @@
1− {stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }:
1+ {lib, stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "lcov";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 wrapProgram $out/bin/genpng --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.GD ]}
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Code coverage tool that enhances GNU gcov";
2828
2929 longDescription =
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 '';
3737
3838 homepage = "http://ltp.sourceforge.net/coverage/lcov.php";
39− license = stdenv.lib.licenses.gpl2Plus;
39+ license = lib.licenses.gpl2Plus;
4040
4141 maintainers = with maintainers; [ dezgeg ];
4242 platforms = platforms.all;
pkgs/development/tools/analysis/makefile2graph/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }:
1+{ lib, stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }:
22
33stdenv.mkDerivation {
44 name = "makefile2graph-2018-01-03";
@@ -19,10 +19,10 @@ stdenv.mkDerivation {
1919 --replace '/bin/sh' ${bash}/bin/bash \
2020 --replace 'make2graph' "$out/bin/make2graph"
2121 wrapProgram $out/bin/makefile2graph \
22− --set PATH ${stdenv.lib.makeBinPath [ gnumake ]}
22+ --set PATH ${lib.makeBinPath [ gnumake ]}
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "https://github.com/lindenb/makefile2graph";
2727 description = "Creates a graph of dependencies from GNU-Make; Output is a graphiz-dot file or a Gexf-XML file";
2828 maintainers = with maintainers; [ cmcdragonkai ];
pkgs/development/tools/analysis/oclgrind/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }:
1+{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }:
22
33stdenv.mkDerivation rec {
44 pname = "oclgrind";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 "-DCLANG_ROOT=${llvmPackages.clang-unwrapped}"
1919 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "An OpenCL device simulator and debugger";
2323 homepage = "https://github.com/jrprice/oclgrind";
2424 license = licenses.bsd3;
pkgs/development/tools/analysis/panopticon/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake
1+{ lib, stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake
22, pkg-config, makeWrapper }:
33
44rustPlatform.buildRustPackage rec {
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
3434 makeWrapper $out/share/${pname}/${pname} $out/bin/${pname}
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "A libre cross-platform disassembler";
3939 longDescription = ''
4040 Panopticon is a cross platform disassembler for reverse
pkgs/development/tools/analysis/pev/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, openssl, fetchFromGitHub }:
1+{ lib, stdenv, openssl, fetchFromGitHub }:
22
33stdenv.mkDerivation {
44 pname = "pev";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020
2121 installFlags = [ "prefix=$(out)" ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A full-featured, open source, multiplatform command line toolkit to work with PE (Portable Executables) binaries";
2525 homepage = "https://pev.sourceforge.net/";
2626 license = licenses.gpl2;
pkgs/development/tools/analysis/pmd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, makeWrapper, openjdk }:
1+{ lib, stdenv, fetchurl, unzip, makeWrapper, openjdk }:
22
33stdenv.mkDerivation rec {
44 pname = "pmd";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 runHook postInstall
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "An extensible cross-language static code analyzer";
2424 homepage = "https://pmd.github.io/";
2525 changelog = "https://pmd.github.io/pmd-${version}/pmd_release_notes.html";
pkgs/development/tools/analysis/qcachegrind/default.nix+3−3
@@ -1,7 +1,7 @@
1−{ stdenv, qmake, qtbase, perl, python, php, kcachegrind }:
1+{ lib, stdenv, qmake, qtbase, perl, python, php, kcachegrind }:
22
33let
4− name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
4+ name = lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
55
66in stdenv.mkDerivation {
77 inherit name;
@@ -31,7 +31,7 @@ in stdenv.mkDerivation {
3131 install -Dm644 kcachegrind/48-apps-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png"
3232 '');
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "A Qt GUI to visualize profiling data";
3636 license = licenses.gpl2;
3737 platforms = platforms.unix;
pkgs/development/tools/analysis/radare2/default.nix+5−5
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub
1+{lib, stdenv, fetchFromGitHub
22, buildPackages
33, pkg-config
44, libusb-compat-0_1, readline, libewf, perl, zlib, openssl
@@ -19,7 +19,7 @@ assert pythonBindings -> python3 != null;
1919
2020
2121let
22− inherit (stdenv.lib) optional;
22+ inherit (lib) optional;
2323
2424 generic = {
2525 version_commit, # unused
@@ -95,9 +95,9 @@ let
9595 meta = {
9696 description = "unix-like reverse engineering framework and commandline tools";
9797 homepage = "http://radare.org/";
98− license = stdenv.lib.licenses.gpl2Plus;
99− maintainers = with stdenv.lib.maintainers; [ raskin makefu mic92 ];
100− platforms = with stdenv.lib.platforms; linux;
98+ license = lib.licenses.gpl2Plus;
99+ maintainers = with lib.maintainers; [ raskin makefu mic92 ];
100+ platforms = with lib.platforms; linux;
101101 inherit version;
102102 };
103103 };
pkgs/development/tools/analysis/randoop/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 version = "4.2.5";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 cp README.txt $out/doc
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Automatic test generation for Java";
2323 homepage = "https://randoop.github.io/randoop/";
2424 license = licenses.mit;
pkgs/development/tools/analysis/rr/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
1+{ lib, stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
22
33stdenv.mkDerivation rec {
44 version = "5.4.0";
@@ -52,8 +52,8 @@ stdenv.mkDerivation rec {
5252 time the same execution is replayed.
5353 '';
5454
55− license = with stdenv.lib.licenses; [ mit bsd2 ];
56− maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ];
57− platforms = stdenv.lib.platforms.x86;
55+ license = with lib.licenses; [ mit bsd2 ];
56+ maintainers = with lib.maintainers; [ pierron thoughtpolice ];
57+ platforms = lib.platforms.x86;
5858 };
5959}
pkgs/development/tools/analysis/smatch/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, sqlite, pkg-config, perl
1+{ lib, stdenv, fetchgit, sqlite, pkg-config, perl
22, buildllvmsparse ? true
33, buildc2xml ? true
44, llvm ? null, libxml2 ? null
@@ -18,8 +18,8 @@ stdenv.mkDerivation {
1818
1919 nativeBuildInputs = [ pkg-config ];
2020 buildInputs = [sqlite perl]
21− ++ stdenv.lib.optional buildllvmsparse llvm
22− ++ stdenv.lib.optional buildc2xml libxml2;
21+ ++ lib.optional buildllvmsparse llvm
22+ ++ lib.optional buildc2xml libxml2;
2323
2424 preBuild =
2525 '' sed -i Makefile \
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
2929 meta = {
3030 description = "A semantic analysis tool for C";
3131 homepage = "http://smatch.sourceforge.net/";
32− license = stdenv.lib.licenses.free; /* OSL, see http://www.opensource.org */
33− platforms = stdenv.lib.platforms.linux;
32+ license = lib.licenses.free; /* OSL, see http://www.opensource.org */
33+ platforms = lib.platforms.linux;
3434 };
3535}
pkgs/development/tools/analysis/snowman/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
1+{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
22
33mkDerivation rec {
44 pname = "snowman";
@@ -19,7 +19,7 @@ mkDerivation rec {
1919 export sourceRoot=$sourceRoot/src
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Native code to C/C++ decompiler";
2424 homepage = "http://derevenets.com/";
2525
pkgs/development/tools/analysis/sparse/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, libxml2, llvm }:
1+{ fetchurl, lib, stdenv, pkg-config, libxml2, llvm }:
22
33stdenv.mkDerivation rec {
44 name = "sparse-0.5.0";
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
1919 meta = {
2020 description = "Semantic parser for C";
2121 homepage = "https://git.kernel.org/cgit/devel/sparse/sparse.git/";
22− license = stdenv.lib.licenses.mit;
23− platforms = stdenv.lib.platforms.linux;
24− maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
22+ license = lib.licenses.mit;
23+ platforms = lib.platforms.linux;
24+ maintainers = [ lib.maintainers.thoughtpolice ];
2525 };
2626}
pkgs/development/tools/analysis/spin/default.nix+4−4
@@ -2,13 +2,13 @@
22, withISpin ? true, tk, swarm, graphviz }:
33
44let
5− binPath = stdenv.lib.makeBinPath [ gcc ];
6− ibinPath = stdenv.lib.makeBinPath [ gcc tk swarm graphviz tk ];
5+ binPath = lib.makeBinPath [ gcc ];
6+ ibinPath = lib.makeBinPath [ gcc tk swarm graphviz tk ];
77
88in stdenv.mkDerivation rec {
99 pname = "spin";
1010 version = "6.4.9";
11− url-version = stdenv.lib.replaceChars ["."] [""] version;
11+ url-version = lib.replaceChars ["."] [""] version;
1212
1313 src = fetchurl {
1414 # The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL.
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
3636 --prefix PATH ':' "$out/bin:${ibinPath}"
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "Formal verification tool for distributed software systems";
4141 homepage = "http://spinroot.com/";
4242 license = licenses.free;
pkgs/development/tools/analysis/splint/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, flex }:
1+{ fetchurl, lib, stdenv, flex }:
22
33stdenv.mkDerivation rec {
44 name = "splint-3.1.2";
@@ -8,13 +8,13 @@ stdenv.mkDerivation rec {
88 sha256 = "02pv8kscsrkrzip9r08pfs9xs98q74c52mlxzbii6cv6vx1vd3f7";
99 };
1010
11− patches = [ ./tmpdir.patch ] ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch;
11+ patches = [ ./tmpdir.patch ] ++ lib.optional stdenv.isDarwin ./darwin.patch;
1212
1313 buildInputs = [ flex ];
1414
1515 doCheck = true;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "http://www.splint.org/";
1919 description = "Annotation-assisted lightweight static analyzer for C";
2020
pkgs/development/tools/analysis/swarm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation {
44 name = "swarm-2019-03-11";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 install -Dm644 Doc/swarm.1 $out/share/man/man1/swarm.1
1616 '';
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Verification script generator for Spin";
2020 homepage = "http://spinroot.com/";
2121 license = licenses.free;
pkgs/development/tools/analysis/uefi-firmware-parser/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, python3, fetchFromGitHub }:
1+{ lib, stdenv, python3, fetchFromGitHub }:
22
33with python3.pkgs;
44
@@ -14,7 +14,7 @@ buildPythonApplication rec {
1414 sha256 = "1yn9vi91j1yxkn0icdnjhgl0qrqqkzyhccj39af4f19q1gdw995l";
1515 };
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://github.com/theopolis/uefi-firmware-parser/";
1919 description = "Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc";
2020 # MIT + license headers in some files
pkgs/development/tools/analysis/valgrind/default.nix+8−8
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }:
1+{ lib, stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }:
22
33stdenv.mkDerivation rec {
44 name = "valgrind-3.16.1";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 # GDB is needed to provide a sane default for `--db-command'.
1616 # Perl is needed for `callgrind_{annotate,control}'.
17− buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
17+ buildInputs = [ gdb perl ] ++ lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
1818
1919 # Perl is also a native build input.
2020 nativeBuildInputs = [ perl ];
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 enableParallelBuilding = true;
2323 separateDebugInfo = stdenv.isLinux;
2424
25− preConfigure = stdenv.lib.optionalString stdenv.isDarwin (
25+ preConfigure = lib.optionalString stdenv.isDarwin (
2626 let OSRELEASE = ''
2727 $(awk -F '"' '/#define OSRELEASE/{ print $2 }' \
2828 <${xnu}/Library/Frameworks/Kernel.framework/Headers/libkern/version.h)'';
@@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
5050 postPatch = "";
5151
5252 configureFlags =
53− stdenv.lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit"
54− ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include";
53+ lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit"
54+ ++ lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include";
5555
5656 doCheck = false; # fails
5757
@@ -76,10 +76,10 @@ stdenv.mkDerivation rec {
7676 Valgrind to build new tools.
7777 '';
7878
79− license = stdenv.lib.licenses.gpl2Plus;
79+ license = lib.licenses.gpl2Plus;
8080
81− maintainers = [ stdenv.lib.maintainers.eelco ];
82− platforms = stdenv.lib.platforms.unix;
81+ maintainers = [ lib.maintainers.eelco ];
82+ platforms = lib.platforms.unix;
8383 badPlatforms = [
8484 "armv5tel-linux" "armv6l-linux" "armv6m-linux"
8585 "sparc-linux" "sparc64-linux"
pkgs/development/tools/analysis/valkyrie/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qt4, qmake4Hook }:
1+{ lib, stdenv, fetchurl, qt4, qmake4Hook }:
22
33stdenv.mkDerivation rec {
44 name = "valkyrie-2.0.0";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 nativeBuildInputs = [ qmake4Hook ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "http://www.valgrind.org/";
2525 description = "Qt4-based GUI for the Valgrind 3.6.x series";
2626 license = licenses.gpl2;
pkgs/development/tools/apktool/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, jre, build-tools }:
1+{ lib, stdenv, fetchurl, makeWrapper, jre, build-tools }:
22
33stdenv.mkDerivation rec {
44 pname = "apktool";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 --prefix PATH : "${builtins.head build-tools}/libexec/android-sdk/build-tools/28.0.3"
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "A tool for reverse engineering Android apk files";
3131 homepage = "https://ibotpeaches.github.io/Apktool/";
3232 license = licenses.asl20;
pkgs/development/tools/asn2quickder/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake
1+{ lib, stdenv, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake
22, pytestrunner, pytest, six, pyparsing, asn1ate }:
33
44buildPythonApplication rec {
@@ -23,7 +23,7 @@ buildPythonApplication rec {
2323
2424 propagatedBuildInputs = [ pyparsing asn1ate six ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "An ASN.1 compiler with a backend for Quick DER";
2828 homepage = "https://github.com/vanrein/asn2quickder";
2929 license = licenses.bsd3;
pkgs/development/tools/avro-tools/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 --add-flags "-jar $out/libexec/avro-tools/${pname}.jar"
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://avro.apache.org/";
3030 description = "Avro command-line tools and utilities";
3131 license = lib.licenses.asl20;
pkgs/development/tools/azcopy/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, buildGoModule }:
1+{ lib, stdenv, fetchFromGitHub, buildGoModule }:
22
33buildGoModule rec {
44 pname = "azure-storage-azcopy";
@@ -21,7 +21,7 @@ buildGoModule rec {
2121 ln -rs "$out/bin/azure-storage-azcopy" "$out/bin/azcopy"
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 maintainers = with maintainers; [ colemickens ];
2626 license = licenses.mit;
2727 description = "The new Azure Storage data transfer utility - AzCopy v10";
pkgs/development/tools/bazel-watcher/default.nix+2−2
@@ -3,7 +3,7 @@
33, git
44, go
55, python
6−, stdenv
6+, lib, stdenv
77}:
88
99let
@@ -73,7 +73,7 @@ buildBazelPackage rec {
7373 '';
7474 };
7575
76− meta = with stdenv.lib; {
76+ meta = with lib; {
7777 homepage = "https://github.com/bazelbuild/bazel-watcher";
7878 description = "Tools for building Bazel targets when source files change";
7979 license = licenses.asl20;
pkgs/development/tools/bazelisk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "bazelisk";
@@ -17,7 +17,7 @@ buildGoModule rec {
1717
1818 buildFlagsArray = [ "-ldflags=-s -w -X main.BazeliskVersion=${version}" ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "A user-friendly launcher for Bazel";
2222 longDescription = ''
2323 BEWARE: This package does not work on NixOS.
pkgs/development/tools/bloaty/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, cmake, zlib, fetchFromGitHub }:
1+{ lib, stdenv, cmake, zlib, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 version = "1.1";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 install -Dm755 {.,$out/bin}/bloaty
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "a size profiler for binaries";
2727 homepage = "https://github.com/google/bloaty";
2828 license = licenses.asl20;
pkgs/development/tools/boost-build/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "boost-build";
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
2727 ./b2 install --prefix=$out
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 homepage = "http://www.boost.org/boost-build2/";
32− license = stdenv.lib.licenses.boost;
32+ license = lib.licenses.boost;
3333 platforms = platforms.unix;
3434 maintainers = with maintainers; [ ivan-tkatchev ];
3535 };
pkgs/development/tools/build-managers/apache-ant/1.9.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, coreutils, makeWrapper }:
1+{ fetchurl, lib, stdenv, coreutils, makeWrapper }:
22
33let version = "1.9.15"; in
44
@@ -105,8 +105,8 @@ stdenv.mkDerivation {
105105 by an object that implements a particular Task interface.
106106 '';
107107
108− license = stdenv.lib.licenses.asl20;
109− maintainers = [ stdenv.lib.maintainers.eelco ];
110− platforms = stdenv.lib.platforms.all;
108+ license = lib.licenses.asl20;
109+ maintainers = [ lib.maintainers.eelco ];
110+ platforms = lib.platforms.all;
111111 };
112112}
pkgs/development/tools/build-managers/apache-ant/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, coreutils, makeWrapper }:
1+{ fetchurl, lib, stdenv, coreutils, makeWrapper }:
22
33let version = "1.10.9"; in
44
@@ -105,8 +105,8 @@ stdenv.mkDerivation {
105105 by an object that implements a particular Task interface.
106106 '';
107107
108− license = stdenv.lib.licenses.asl20;
109− maintainers = [ stdenv.lib.maintainers.eelco ];
110− platforms = stdenv.lib.platforms.all;
108+ license = lib.licenses.asl20;
109+ maintainers = [ lib.maintainers.eelco ];
110+ platforms = lib.platforms.all;
111111 };
112112}
pkgs/development/tools/build-managers/apache-maven/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jdk, makeWrapper }:
1+{ lib, stdenv, fetchurl, jdk, makeWrapper }:
22
33assert jdk != null;
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 inherit jdk;
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Build automation tool (used primarily for Java projects)";
2323 homepage = "http://maven.apache.org/";
2424 license = licenses.asl20;
pkgs/development/tools/build-managers/arpa2cm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "arpa2cm";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "CMake Module library for the ARPA2 project";
1818 license = licenses.bsd2;
1919 maintainers = with maintainers; [ leenaars ];
pkgs/development/tools/build-managers/bam/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, lua5_3, python }:
1+{ lib, stdenv, fetchFromGitHub, lua5_3, python }:
22
33stdenv.mkDerivation rec {
44 pname = "bam";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 cp bam "$out/bin"
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "Yet another build manager";
2929 maintainers = with maintainers;
3030 [
pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix+2−2
@@ -3,7 +3,7 @@
33, fetchFromGitHub
44, git
55, go
6−, stdenv
6+, lib, stdenv
77}:
88
99buildBazelPackage rec {
@@ -80,7 +80,7 @@ buildBazelPackage rec {
8080 '';
8181 };
8282
83− meta = with stdenv.lib; {
83+ meta = with lib; {
8484 homepage = "https://github.com/buchgr/bazel-remote";
8585 description = "A remote HTTP/1.1 cache for Bazel";
8686 license = licenses.asl20;
pkgs/development/tools/build-managers/bazel/buildtools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "bazel-buildtools";
@@ -19,7 +19,7 @@ buildGoPackage rec {
1919
2020 buildFlagsArray = [ "-ldflags=-s -w -X main.buildVersion=${version} -X main.buildScmRevision=${src.rev}" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Tools for working with Google's bazel buildtool. Includes buildifier, buildozer, and unused_deps";
2424 homepage = "https://github.com/bazelbuild/buildtools";
2525 license = licenses.asl20;
pkgs/development/tools/build-managers/bear/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545 ./no-double-relative.patch
4646 ];
4747
48− meta = with stdenv.lib; {
48+ meta = with lib; {
4949 description = "Tool that generates a compilation database for clang tooling";
5050 longDescription = ''
5151 Note: the bear command is very useful to generate compilation commands
pkgs/development/tools/build-managers/bloop/default.nix+1−1
@@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
8282 installShellCompletion --name bloop.fish --fish ${bloop-fish}
8383 '';
8484
85− meta = with stdenv.lib; {
85+ meta = with lib; {
8686 homepage = "https://scalacenter.github.io/bloop/";
8787 license = licenses.asl20;
8888 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";
pkgs/development/tools/build-managers/bmake/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, getopt
33}:
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 ./fix-unexport-env-test.patch
1919 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Portable version of NetBSD 'make'";
2323 homepage = "http://www.crufty.net/help/sjg/bmake.html";
2424 license = licenses.bsd3;
pkgs/development/tools/build-managers/boot/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jdk }:
1+{ lib, stdenv, fetchurl, jdk }:
22
33stdenv.mkDerivation rec {
44 version = "2.7.2";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 propagatedBuildInputs = [ jdk ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Build tooling for Clojure";
2020 homepage = "https://boot-clj.com/";
2121 license = licenses.epl10;
pkgs/development/tools/build-managers/buck/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }:
1+{ lib, stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "buck";
@@ -30,10 +30,10 @@ stdenv.mkDerivation rec {
3030 install -D -m755 buck-out/gen/programs/buck.pex $out/bin/buck
3131 wrapProgram $out/bin/buck \
3232 --prefix PYTHONPATH : $PYTHONPATH \
33− --prefix PATH : "${stdenv.lib.makeBinPath [jdk watchman]}"
33+ --prefix PATH : "${lib.makeBinPath [jdk watchman]}"
3434 '';
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 homepage = "https://buck.build/";
3838 description = "A high-performance build tool";
3939 maintainers = [ maintainers.jgertm maintainers.marsam ];
pkgs/development/tools/build-managers/cmake/2.8.nix+7−7
@@ -1,14 +1,14 @@
1−{ stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2
1+{ lib, stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2
22, useNcurses ? false, ncurses, useQt4 ? false, qt4, ps
33}:
44
5−with stdenv.lib;
5+with lib;
66
77assert stdenv ? cc;
88assert stdenv.cc ? libc;
99
1010let
11− os = stdenv.lib.optionalString;
11+ os = lib.optionalString;
1212 majorVersion = "2.8";
1313 minorVersion = "12.2";
1414 version = "${majorVersion}.${minorVersion}";
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
6060 "--mandir=/share/man"
6161 "--system-libs"
6262 "--no-system-libarchive"
63− ] ++ stdenv.lib.optional useQt4 "--qt-gui";
63+ ] ++ lib.optional useQt4 "--qt-gui";
6464
6565 setupHook = ./setup-hook.sh;
6666
@@ -80,8 +80,8 @@ stdenv.mkDerivation rec {
8080 meta = {
8181 homepage = "https://cmake.org";
8282 description = "Cross-Platform Makefile Generator";
83− platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix;
84− maintainers = with stdenv.lib.maintainers; [ xfix ];
85− license = stdenv.lib.licenses.bsd3;
83+ platforms = if useQt4 then qt4.meta.platforms else lib.platforms.unix;
84+ maintainers = with lib.maintainers; [ xfix ];
85+ license = lib.licenses.bsd3;
8686 };
8787}
pkgs/development/tools/build-managers/colormake/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, perl }:
1+{ lib, stdenv, fetchFromGitHub, perl }:
22
33stdenv.mkDerivation {
44 pname = "colormake";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
1818 cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Simple wrapper around make to colorize the output";
2323 homepage = "https://bre.klaki.net/programs/colormake/";
2424 license = licenses.gpl2;
pkgs/development/tools/build-managers/doit/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python3Packages }:
1+{ lib, stdenv, fetchurl, python3Packages }:
22
33let
44
@@ -16,15 +16,15 @@ in python3Packages.buildPythonApplication {
1616 buildInputs = with python3Packages; [ mock pytest ];
1717
1818 propagatedBuildInputs = with python3Packages; [ cloudpickle ]
19− ++ stdenv.lib.optional stdenv.isLinux pyinotify
20− ++ stdenv.lib.optional stdenv.isDarwin macfsevents;
19+ ++ lib.optional stdenv.isLinux pyinotify
20+ ++ lib.optional stdenv.isDarwin macfsevents;
2121
2222 # Tests fail due to mysterious gdbm.open() resource temporarily
2323 # unavailable errors.
2424 doCheck = false;
2525 checkPhase = "py.test";
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 homepage = "https://pydoit.org/";
2929 description = "A task management & automation tool";
3030 license = licenses.mit;
pkgs/development/tools/build-managers/dub/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
1+{ lib, stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
22
33stdenv.mkDerivation rec {
44 pname = "dub";
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
7272 cp bin/dub $out/bin
7373 '';
7474
75− meta = with stdenv.lib; {
75+ meta = with lib; {
7676 description = "Package and build manager for D applications and libraries";
7777 homepage = "https://code.dlang.org/";
7878 license = licenses.mit;
pkgs/development/tools/build-managers/fac/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, git, fetchFromGitHub, rustPlatform }:
1+{ lib, stdenv, git, fetchFromGitHub, rustPlatform }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "fac-build";
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
2929 'std::process::Command::new("${git}/bin/git")'
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = ''
3434 A build system that uses ptrace to handle dependencies automatically
3535 '';
pkgs/development/tools/build-managers/gnumake/4.2/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
1+{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
22
33assert guileSupport -> ( pkg-config != null && guile != null );
44
@@ -25,10 +25,10 @@ stdenv.mkDerivation {
2525 ./glibc-2.27-glob.patch
2626 ];
2727
28− nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ];
29− buildInputs = stdenv.lib.optionals guileSupport [ guile ];
28+ nativeBuildInputs = lib.optionals guileSupport [ pkg-config ];
29+ buildInputs = lib.optionals guileSupport [ guile ];
3030
31− configureFlags = stdenv.lib.optional guileSupport "--with-guile"
31+ configureFlags = lib.optional guileSupport "--with-guile"
3232
3333 # Make uses this test to decide whether it should keep track of
3434 # subseconds. Apple made this possible with APFS and macOS 10.13.
@@ -37,11 +37,11 @@ stdenv.mkDerivation {
3737 # a second. So, tell Make to ignore nanoseconds in mtime here by
3838 # overriding the autoconf test for the struct.
3939 # See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
40− ++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
40+ ++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
4141
4242 outputs = [ "out" "man" "info" ];
4343
44− meta = with stdenv.lib; {
44+ meta = with lib; {
4545 homepage = "https://www.gnu.org/software/make/";
4646 description = "A tool to control the generation of non-source files from sources";
4747 license = licenses.gpl3Plus;
pkgs/development/tools/build-managers/gnumake/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
1+{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
22
33assert guileSupport -> ( pkg-config != null && guile != null );
44
@@ -21,10 +21,10 @@ stdenv.mkDerivation {
2121 ./impure-dirs.patch
2222 ];
2323
24− nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ];
25− buildInputs = stdenv.lib.optionals guileSupport [ guile ];
24+ nativeBuildInputs = lib.optionals guileSupport [ pkg-config ];
25+ buildInputs = lib.optionals guileSupport [ guile ];
2626
27− configureFlags = stdenv.lib.optional guileSupport "--with-guile"
27+ configureFlags = lib.optional guileSupport "--with-guile"
2828
2929 # Make uses this test to decide whether it should keep track of
3030 # subseconds. Apple made this possible with APFS and macOS 10.13.
@@ -33,11 +33,11 @@ stdenv.mkDerivation {
3333 # a second. So, tell Make to ignore nanoseconds in mtime here by
3434 # overriding the autoconf test for the struct.
3535 # See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
36− ++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
36+ ++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
3737
3838 outputs = [ "out" "man" "info" ];
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 homepage = "https://www.gnu.org/software/make/";
4242 description = "A tool to control the generation of non-source files from sources";
4343 license = licenses.gpl3Plus;
pkgs/development/tools/build-managers/gradle/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }:
1+{ lib, stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }:
22
33rec {
44 gradleGen = {name, src, nativeVersion} : stdenv.mkDerivation {
@@ -46,8 +46,8 @@ rec {
4646 build-by-convention behavior.
4747 '';
4848 homepage = "http://www.gradle.org/";
49− license = stdenv.lib.licenses.asl20;
50− platforms = stdenv.lib.platforms.unix;
49+ license = lib.licenses.asl20;
50+ platforms = lib.platforms.unix;
5151 };
5252 };
5353
pkgs/development/tools/build-managers/gup/default.nix+3−3
@@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
3333 meta = {
3434 inherit (src.meta) homepage;
3535 description = "A better make, inspired by djb's redo";
36− license = stdenv.lib.licenses.lgpl2Plus;
37− maintainers = [ stdenv.lib.maintainers.timbertson ];
38− platforms = stdenv.lib.platforms.all;
36+ license = lib.licenses.lgpl2Plus;
37+ maintainers = [ lib.maintainers.timbertson ];
38+ platforms = lib.platforms.all;
3939 };
4040}
pkgs/development/tools/build-managers/icmake/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, makeWrapper, gcc, ncurses }:
1+{ lib, stdenv, fetchFromGitLab, makeWrapper, gcc, ncurses }:
22
33stdenv.mkDerivation rec {
44 pname = "icmake";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 --prefix PATH : ${ncurses}/bin
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "A program maintenance (make) utility using a C-like grammar";
4141 homepage = "https://fbb-git.gitlab.io/icmake/";
4242 license = licenses.gpl3;
pkgs/development/tools/build-managers/jam/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, yacc }:
1+{ lib, stdenv, fetchurl, yacc }:
22
33stdenv.mkDerivation rec {
44 name = "jam-2.6.1";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 enableParallelBuilding = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 homepage = "https://www.perforce.com/resources/documentation/jam";
3131 license = licenses.free;
3232 description = "Just Another Make";
pkgs/development/tools/build-managers/kati/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation {
44 pname = "kati-unstable";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 install -D ckati $out/bin/ckati
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "An experimental GNU make clone";
2222 homepage = "https://github.com/google/kati";
2323 platforms = platforms.all;
pkgs/development/tools/build-managers/leiningen/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper
1+{ lib, stdenv, fetchurl, makeWrapper
22, coreutils, jdk, rlwrap, gnupg }:
33
44stdenv.mkDerivation rec {
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 substituteInPlace $out/bin/lein \
3939 --replace 'LEIN_JAR=/usr/share/java/leiningen-$LEIN_VERSION-standalone.jar' "LEIN_JAR=$out/share/$JARNAME"
4040 wrapProgram $out/bin/lein \
41− --prefix PATH ":" "${stdenv.lib.makeBinPath [ rlwrap coreutils ]}" \
41+ --prefix PATH ":" "${lib.makeBinPath [ rlwrap coreutils ]}" \
4242 --set LEIN_GPG ${gnupg}/bin/gpg \
4343 --set JAVA_CMD ${jdk}/bin/java
4444 '';
@@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
4646 meta = {
4747 homepage = "https://leiningen.org/";
4848 description = "Project automation for Clojure";
49− license = stdenv.lib.licenses.epl10;
50− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
51− maintainers = with stdenv.lib.maintainers; [ thiagokokada ];
49+ license = lib.licenses.epl10;
50+ platforms = lib.platforms.linux ++ lib.platforms.darwin;
51+ maintainers = with lib.maintainers; [ thiagokokada ];
5252 };
5353}
pkgs/development/tools/build-managers/mill/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre, makeWrapper }:
1+{ lib, stdenv, fetchurl, jre, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "mill";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 runHook postInstall
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://www.lihaoyi.com/mill";
3030 license = licenses.mit;
3131 description = "A build tool for Scala, Java and more";
@@ -37,6 +37,6 @@ stdenv.mkDerivation rec {
3737 modules (written in Java or Scala) or through an external subprocesses.
3838 '';
3939 maintainers = with maintainers; [ scalavision ];
40− platforms = stdenv.lib.platforms.all;
40+ platforms = lib.platforms.all;
4141 };
4242}
pkgs/development/tools/build-managers/mk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "mk-2006-01-31";
@@ -9,6 +9,6 @@ stdenv.mkDerivation {
99 builder = ./builder.sh;
1010
1111 meta = {
12− platforms = stdenv.lib.platforms.unix;
12+ platforms = lib.platforms.unix;
1313 };
1414}
pkgs/development/tools/build-managers/msbuild/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, glibcLocales, mono, dotnetPackages, unzip, dotnet-sdk }:
1+{ lib, stdenv, fetchurl, makeWrapper, glibcLocales, mono, dotnetPackages, unzip, dotnet-sdk }:
22
33let
44
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737
3838 # https://github.com/NixOS/nixpkgs/issues/38991
3939 # bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
40− LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
40+ LOCALE_ARCHIVE = lib.optionalString stdenv.isLinux
4141 "${glibcLocales}/lib/locale/locale-archive";
4242
4343 buildPhase = ''
@@ -122,7 +122,7 @@ EOF
122122 ${mono}/bin/mono Helloworld.exe | grep "Hello, world!"
123123 '';
124124
125− meta = with stdenv.lib; {
125+ meta = with lib; {
126126 description = "Mono version of Microsoft Build Engine, the build platform for .NET, and Visual Studio";
127127 homepage = "https://github.com/mono/msbuild";
128128 license = licenses.mit;
pkgs/development/tools/build-managers/ninja/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, python3, buildDocs ? true, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, re2c }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, python3, buildDocs ? true, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, re2c }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "ninja";
pkgs/development/tools/build-managers/pants/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, pythonPackages }:
1+{ lib, stdenv, pythonPackages }:
22
3−with stdenv.lib;
3+with lib;
44with pythonPackages;
55
66buildPythonApplication rec {
pkgs/development/tools/build-managers/qbs/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
1+{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
22
33stdenv.mkDerivation rec {
44 pname = "qbs";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 enableParallelBuilding = true;
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A tool that helps simplify the build process for developing projects across multiple platforms";
2525 homepage = "https://wiki.qt.io/Qbs";
2626 license = licenses.lgpl3;
pkgs/development/tools/build-managers/rebar/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, erlang }:
1+{ lib, stdenv, fetchurl, erlang }:
22
33
44let
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
3535 variety of locations (git, hg, etc).
3636 '';
3737
38− platforms = stdenv.lib.platforms.unix;
39− license = stdenv.lib.licenses.asl20;
38+ platforms = lib.platforms.unix;
39+ license = lib.licenses.asl20;
4040 };
4141}
pkgs/development/tools/build-managers/rebar3/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub,
1+{ lib, stdenv, fetchFromGitHub,
22 fetchHex, erlang,
33 tree }:
44
@@ -135,8 +135,8 @@ stdenv.mkDerivation rec {
135135 variety of locations (hex.pm, git, hg, and so on).
136136 '';
137137
138− platforms = stdenv.lib.platforms.unix;
139− maintainers = with stdenv.lib.maintainers; [ gleber tazjin ];
140− license = stdenv.lib.licenses.asl20;
138+ platforms = lib.platforms.unix;
139+ maintainers = with lib.maintainers; [ gleber tazjin ];
140+ license = lib.licenses.asl20;
141141 };
142142}
pkgs/development/tools/build-managers/redo-apenwarr/default.nix+1−1
@@ -30,7 +30,7 @@
3030 --replace "/bin/ls" "ls"
3131
3232 substituteInPlace t/110-compile/hello.o.do \
33− --replace "/usr/include" "${stdenv.lib.getDev stdenv.cc.libc}/include"
33+ --replace "/usr/include" "${lib.getDev stdenv.cc.libc}/include"
3434
3535 substituteInPlace t/200-shell/nonshelltest.do \
3636 --replace "/usr/bin/env perl" "${perl}/bin/perl"
pkgs/development/tools/build-managers/redo-c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22stdenv.mkDerivation rec {
33 pname = "redo-c";
44 version = "0.2";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 cp '${./Makefile}' Makefile
1515 '';
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "An implementation of the redo build system in portable C with zero dependencies";
1919 homepage = "https://github.com/leahneukirchen/redo-c";
2020 license = licenses.cc0;
pkgs/development/tools/build-managers/redo-sh/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, coreutils }:
1+{ lib, stdenv, fetchurl, makeWrapper, coreutils }:
22
33stdenv.mkDerivation {
44 version = "4.0.4";
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
2121 done
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Redo implementation in Bourne Shell";
2626 homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
2727 license = licenses.agpl3;
pkgs/development/tools/build-managers/redo/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, perl }:
1+{lib, stdenv, fetchurl, perl }:
22
33stdenv.mkDerivation rec {
44 name = "redo-1.4";
@@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 homepage = "https://jdebp.eu./Softwares/redo/";
2323 description = "A system for building target files from source files";
24− license = stdenv.lib.licenses.bsd2;
25− maintainers = [ stdenv.lib.maintainers.vrthra ];
26− platforms = stdenv.lib.platforms.unix;
24+ license = lib.licenses.bsd2;
25+ maintainers = [ lib.maintainers.vrthra ];
26+ platforms = lib.platforms.unix;
2727 };
2828}
pkgs/development/tools/build-managers/remake/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, readline }:
1+{ lib, stdenv, fetchurl, readline }:
22
33stdenv.mkDerivation rec {
44 pname = "remake";
@@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
1919
2020 meta = {
2121 homepage = "http://bashdb.sourceforge.net/remake/";
22− license = stdenv.lib.licenses.gpl3;
22+ license = lib.licenses.gpl3;
2323 description = "GNU Make with comprehensible tracing and a debugger";
24− platforms = with stdenv.lib.platforms; linux ++ darwin;
25− maintainers = with stdenv.lib.maintainers; [ bjornfor ];
24+ platforms = with lib.platforms; linux ++ darwin;
25+ maintainers = with lib.maintainers; [ bjornfor ];
2626 };
2727}
pkgs/development/tools/build-managers/rocm-cmake/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "rocm-cmake";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "CMake modules for common build tasks for the ROCm stack";
1818 homepage = "https://github.com/RadeonOpenCompute/rocm-cmake";
1919 license = licenses.mit;
pkgs/development/tools/build-managers/samurai/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "samurai";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 makeFlags = [ "DESTDIR=" "PREFIX=${placeholder "out"}" ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "ninja-compatible build tool written in C";
1818 homepage = "https://github.com/michaelforney/samurai";
1919 license = with licenses; [ mit asl20 ]; # see LICENSE
pkgs/development/tools/build-managers/sbt-extras/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript
1+{ lib, stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript
22, common-updater-scripts, cacert, git, nixfmt, nix, jq, coreutils, gnused
33, nixosTests }:
44
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 install bin/sbt $out/bin
2727
2828 wrapProgram $out/bin/sbt --prefix PATH : ${
29− stdenv.lib.makeBinPath [ which curl ]
29+ lib.makeBinPath [ which curl ]
3030 }
3131 '';
3232
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 #!${stdenv.shell}
3838 set -xo errexit
3939 PATH=${
40− stdenv.lib.makeBinPath [
40+ lib.makeBinPath [
4141 common-updater-scripts
4242 curl
4343 cacert
@@ -70,8 +70,8 @@ stdenv.mkDerivation rec {
7070 description =
7171 "A more featureful runner for sbt, the simple/scala/standard build tool";
7272 homepage = "https://github.com/paulp/sbt-extras";
73− license = stdenv.lib.licenses.bsd3;
74− maintainers = with stdenv.lib.maintainers; [ nequissimus puffnfresh ];
75− platforms = stdenv.lib.platforms.unix;
73+ license = lib.licenses.bsd3;
74+ maintainers = with lib.maintainers; [ nequissimus puffnfresh ];
75+ platforms = lib.platforms.unix;
7676 };
7777}
pkgs/development/tools/build-managers/sbt/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre, autoPatchelfHook, zlib, writeScript
1+{ lib, stdenv, fetchurl, jre, autoPatchelfHook, zlib, writeScript
22, common-updater-scripts, git, nixfmt, nix, coreutils, gnused, nixosTests }:
33
44stdenv.mkDerivation rec {
@@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
1515 echo -java-home ${jre.home} >>conf/sbtopts
1616 '';
1717
18− nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ autoPatchelfHook ];
18+ nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
1919
20− buildInputs = stdenv.lib.optionals stdenv.isLinux [ zlib ];
20+ buildInputs = lib.optionals stdenv.isLinux [ zlib ];
2121
2222 installPhase = ''
2323 mkdir -p $out/share/sbt $out/bin
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 } $out/bin/sbtn
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 homepage = "https://www.scala-sbt.org/";
3333 license = licenses.bsd3;
3434 description = "A build tool for Scala, Java and more";
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 #!${stdenv.shell}
4444 set -o errexit
4545 PATH=${
46− stdenv.lib.makeBinPath [
46+ lib.makeBinPath [
4747 common-updater-scripts
4848 git
4949 nixfmt
pkgs/development/tools/build-managers/scons/common.nix+1−1
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
2121 # The release tarballs don't contain any tests (runtest.py and test/*):
2222 doCheck = lib.versionOlder version "4.0.0";
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "An improved, cross-platform substitute for Make";
2626 longDescription = ''
2727 SCons is an Open Source software construction tool. Think of
pkgs/development/tools/build-managers/shards/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, crystal_0_34
44, crystal_0_35
@@ -26,7 +26,7 @@ let
2626 # tries to execute git which fails spectacularly
2727 doCheck = false;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Dependency manager for the Crystal language";
3131 license = licenses.asl20;
3232 maintainers = with maintainers; [ peterhoeg ];
pkgs/development/tools/build-managers/tup/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fuse3, pkg-config, pcre }:
1+{ lib, stdenv, fetchFromGitHub, fuse3, pkg-config, pcre }:
22
33stdenv.mkDerivation rec {
44 pname = "tup";
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737
3838 setupHook = ./setup-hook.sh;
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "A fast, file-based build system";
4242 longDescription = ''
4343 Tup is a file-based build system for Linux, OSX, and Windows. It inputs a list
pkgs/development/tools/build-managers/waf/default.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchFromGitLab, python, ensureNewerSourcesForZipFilesHook
1+{ lib, stdenv, fetchFromGitLab, python, ensureNewerSourcesForZipFilesHook
22# optional list of extra waf tools, e.g. `[ "doxygen" "pytest" ]`
33, withTools ? null
44}:
55let
6− wafToolsArg = with stdenv.lib.strings;
6+ wafToolsArg = with lib.strings;
77 optionalString (!isNull withTools) " --tools=\"${concatStringsSep "," withTools}\"";
88in
99stdenv.mkDerivation rec {
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 install -D waf $out/bin/waf
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "Meta build system";
3434 homepage = "https://waf.io";
3535 license = licenses.bsd3;
pkgs/development/tools/buildkit/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchFromGitHub, buildGoPackage }:
1+{ lib, stdenv, fetchFromGitHub, buildGoPackage }:
22
33buildGoPackage rec {
44 pname = "buildkit";
55 version = "0.8.1";
66
77 goPackagePath = "github.com/moby/buildkit";
8− subPackages = [ "cmd/buildctl" ] ++ stdenv.lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
8+ subPackages = [ "cmd/buildctl" ] ++ lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
99
1010 src = fetchFromGitHub {
1111 owner = "moby";
@@ -16,7 +16,7 @@ buildGoPackage rec {
1616
1717 buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version} -X ${goPackagePath}/version.Revision=${src.rev}" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit";
2121 homepage = "https://github.com/moby/buildkit";
2222 license = licenses.asl20;
pkgs/development/tools/cargo-web/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform
1+{ lib, stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform
22, CoreServices, Security
33}:
44
@@ -16,9 +16,9 @@ rustPlatform.buildRustPackage rec {
1616 cargoSha256 = "0i9xp7vd1rp6xgkbbrspm3qq4hxwfwa00di3k73z1x64d3d8r5fm";
1717
1818 nativeBuildInputs = [ openssl perl pkg-config ];
19− buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
19+ buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A Cargo subcommand for the client-side Web";
2323 homepage = "https://github.com/koute/cargo-web";
2424 license = with licenses; [ asl20 /* or */ mit ];
pkgs/development/tools/cask/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python, emacs }:
1+{ lib, stdenv, fetchurl, python, emacs }:
22
33stdenv.mkDerivation rec {
44 pname = "cask";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 ln -s $out/share/emacs/site-lisp/cask/bin/cask $out/bin/cask
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Project management for Emacs";
3535 longDescription = ''
3636 Cask is a project management tool for Emacs that helps automate the
pkgs/development/tools/castxml/default.nix+2−2
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 sha256 = "0ypj67xrgj228myp7l1gsjw1ja97q68nmj98dsd33srmiayqraj4";
1818 };
1919
20− nativeBuildInputs = [ cmake ] ++ stdenv.lib.optionals withMan [ python3Packages.sphinx ];
20+ nativeBuildInputs = [ cmake ] ++ lib.optionals withMan [ python3Packages.sphinx ];
2121
2222 clangVersion = lib.getVersion llvmPackages.clang;
2323
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 ctest -E 'cmd.cc-(gnu|msvc)-((c-src-c)|(src-cxx))-cmd'
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 homepage = "https://github.com/CastXML/CastXML";
4848 license = licenses.asl20;
4949 description = "Abstract syntax tree XML output tool";
pkgs/development/tools/cdecl/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, yacc, flex, readline, ncurses, gnused}:
1+{lib, stdenv, fetchurl, yacc, flex, readline, ncurses, gnused}:
22
33stdenv.mkDerivation {
44 name = "cdecl-2.5";
@@ -18,8 +18,8 @@ stdenv.mkDerivation {
1818
1919 meta = {
2020 description = "Translator English -- C/C++ declarations";
21− license = stdenv.lib.licenses.publicDomain;
22− maintainers = with stdenv.lib.maintainers; [joelteon];
23− platforms = stdenv.lib.platforms.unix;
21+ license = lib.licenses.publicDomain;
22+ maintainers = with lib.maintainers; [joelteon];
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/tools/chit/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl
1+{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl
22, darwin
33}:
44
@@ -17,13 +17,13 @@ buildRustPackage rec {
1717
1818 cargoSha256 = "1w25k3bqmmcrhpkw510vbwph0rfmrzi2wby0z2rz1q4k1f9k486m";
1919
20− nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ pkg-config ];
20+ nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
2121 buildInputs = []
22− ++ stdenv.lib.optionals stdenv.isLinux [ openssl ]
23− ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security ])
22+ ++ lib.optionals stdenv.isLinux [ openssl ]
23+ ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security ])
2424 ;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Crate help in terminal: A tool for looking up details about rust crates without going to crates.io";
2828 longDescription = ''
2929 Chit helps answer these questions:
pkgs/development/tools/clang-tools/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, llvmPackages }:
1+{ lib, stdenv, llvmPackages }:
22
33let
44 clang = llvmPackages.clang-unwrapped;
55
66in stdenv.mkDerivation {
77 pname = "clang-tools";
8− version = stdenv.lib.getVersion clang;
8+ version = lib.getVersion clang;
99
1010 dontUnpack = true;
1111
@@ -13,7 +13,7 @@ in stdenv.mkDerivation {
1313 runHook preInstall
1414
1515 mkdir -p $out/bin
16− export libc_includes="${stdenv.lib.getDev stdenv.cc.libc}/include"
16+ export libc_includes="${lib.getDev stdenv.cc.libc}/include"
1717 export libcpp_includes="${llvmPackages.libcxx}/include/c++/v1"
1818
1919 export clang=${clang}
@@ -34,6 +34,6 @@ in stdenv.mkDerivation {
3434
3535 meta = clang.meta // {
3636 description = "Standalone command line tools for C++ development";
37− maintainers = with stdenv.lib.maintainers; [ aherrmann ];
37+ maintainers = with lib.maintainers; [ aherrmann ];
3838 };
3939}
pkgs/development/tools/clog-cli/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, rustPlatform, stdenv }:
1+{ fetchFromGitHub, rustPlatform, lib, stdenv }:
22
33with rustPlatform;
44
@@ -18,8 +18,8 @@ buildRustPackage rec {
1818 meta = {
1919 description = "Generate changelogs from local git metadata";
2020 homepage = "https://github.com/clog-tool/clog-cli";
21− license = stdenv.lib.licenses.mit;
22− platforms = stdenv.lib.platforms.unix;
23− maintainers = [stdenv.lib.maintainers.nthorne];
21+ license = lib.licenses.mit;
22+ platforms = lib.platforms.unix;
23+ maintainers = [lib.maintainers.nthorne];
2424 };
2525}
pkgs/development/tools/cloudfoundry-cli/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, installShellFiles }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub, fetchurl, installShellFiles }:
22
33buildGoPackage rec {
44 pname = "cloudfoundry-cli";
@@ -45,7 +45,7 @@ buildGoPackage rec {
4545 installShellCompletion --bash $bashCompletionScript
4646 '';
4747
48− meta = with stdenv.lib; {
48+ meta = with lib; {
4949 description = "The official command line client for Cloud Foundry";
5050 homepage = "https://github.com/cloudfoundry/cli";
5151 maintainers = with maintainers; [ ris ];
pkgs/development/tools/clpm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchgit
33, wrapLisp
44, sbcl
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 # fixupPhase results in fatal error in SBCL, `Can't find sbcl.core`
3535 dontFixup = true;
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "Common Lisp Package Manager";
3939 homepage = "https://www.clpm.dev/";
4040 license = licenses.bsd2;
pkgs/development/tools/cmake-language-server/default.nix+1−1
@@ -17,7 +17,7 @@ buildPythonApplication rec {
1717 };
1818
1919 # can be removed after v0.1.2
20− patches = stdenv.lib.optional stdenv.isDarwin (fetchpatch {
20+ patches = lib.optional stdenv.isDarwin (fetchpatch {
2121 url = "https://github.com/regen100/cmake-language-server/commit/0ec120f39127f25898ab110b43819e3e9becb8a3.patch";
2222 sha256 = "1xbmarvsvzd61fnlap4qscnijli2rw2iqr7cyyvar2jd87z6sfp0";
2323 });
pkgs/development/tools/compile-daemon/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "compile-daemon-unstable";
@@ -16,7 +16,7 @@ buildGoPackage rec {
1616
1717 goDeps = ./deps.nix;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Very simple compile daemon for Go";
2121 license = licenses.bsd2;
2222 maintainers = with maintainers; [ ];
pkgs/development/tools/continuous-integration/buildkite-agent/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, stdenv, buildGoModule,
1+{ fetchFromGitHub, lib, stdenv, buildGoModule,
22 makeWrapper, coreutils, git, openssh, bash, gnused, gnugrep }:
33buildGoModule rec {
44 name = "buildkite-agent-${version}";
@@ -27,10 +27,10 @@ buildGoModule rec {
2727
2828 # These are runtime dependencies
2929 wrapProgram $out/bin/buildkite-agent \
30− --prefix PATH : '${stdenv.lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
30+ --prefix PATH : '${lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Build runner for buildkite.com";
3535 longDescription = ''
3636 The buildkite-agent is a small, reliable, and cross-platform build runner
pkgs/development/tools/continuous-integration/buildkite-agent/generic.nix+4−4
@@ -13,7 +13,7 @@ buildGoPackage {
1313 nativeBuildInputs = [ makeWrapper ];
1414
1515 postInstall = ''
16− ${stdenv.lib.optionalString hasBootstrapScript ''
16+ ${lib.optionalString hasBootstrapScript ''
1717 # Install bootstrap.sh
1818 mkdir -p $out/libexec/buildkite-agent
1919 cp $NIX_BUILD_TOP/go/src/${goPackagePath}/templates/bootstrap.sh $out/libexec/buildkite-agent
@@ -25,11 +25,11 @@ buildGoPackage {
2525
2626 # These are runtime dependencies
2727 wrapProgram $out/bin/buildkite-agent \
28− ${stdenv.lib.optionalString hasBootstrapScript "--set BUILDKITE_BOOTSTRAP_SCRIPT_PATH $out/libexec/buildkite-agent/bootstrap.sh"} \
29− --prefix PATH : '${stdenv.lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
28+ ${lib.optionalString hasBootstrapScript "--set BUILDKITE_BOOTSTRAP_SCRIPT_PATH $out/libexec/buildkite-agent/bootstrap.sh"} \
29+ --prefix PATH : '${lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}'
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "Build runner for buildkite.com";
3434 longDescription = ''
3535 The buildkite-agent is a small, reliable, and cross-platform build runner
pkgs/development/tools/continuous-integration/drone-cli/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, buildGoModule }:
1+{ lib, stdenv, fetchFromGitHub, buildGoModule }:
22
33let version = "1.2.4";
44in buildGoModule rec {
@@ -21,7 +21,7 @@ in buildGoModule rec {
2121 sha256 = "14sm5k2ifvr4g9369zqgb92vrr4rc0bxf5m52l3g8bd2s8fq8nx8";
2222 };
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 maintainers = with maintainers; [ bricewge ];
2626 license = licenses.asl20;
2727 description = "Command line client for the Drone continuous integration server";
pkgs/development/tools/continuous-integration/drone/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, buildGoModule }:
1+{ lib, stdenv, fetchFromGitHub, buildGoModule }:
22
33buildGoModule rec {
44 name = "drone.io-${version}";
@@ -15,7 +15,7 @@ buildGoModule rec {
1515 sha256 = "sha256-12Jac+mXWdUX8gWvmpdO9ROv7Bi0YzvyqnNDVNJOr34=";
1616 };
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 maintainers = with maintainers; [ elohmeier vdemeester ];
2020 license = licenses.asl20;
2121 description = "Continuous Integration platform built on container technology";
pkgs/development/tools/continuous-integration/gocd-agent/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 name = "gocd-agent-${version}-${rev}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip";
1010 sha256 = "1nirdv82i8x4s1dyb0rmxldh8avappd4g3mbbl6xp7r7s0drcprp";
1111 };
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "A continuous delivery server specializing in advanced workflow modeling and visualization";
1414 homepage = "http://www.go.cd";
1515 license = licenses.asl20;
pkgs/development/tools/continuous-integration/gocd-server/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 name = "gocd-server-${version}-${rev}";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 sha256 = "0c30qzd6awlw0zx91rk6na0mmgykqkgrw9ychx18ivjwma0hr0sc";
1111 };
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 description = "A continuous delivery server specializing in advanced workflow modeling and visualization";
1515 homepage = "http://www.go.cd";
1616 license = licenses.asl20;
pkgs/development/tools/continuous-integration/jenkins/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, common-updater-scripts, coreutils, git, gnused, nix, nixfmt
1+{ lib, stdenv, fetchurl, common-updater-scripts, coreutils, git, gnused, nix, nixfmt
22, writeScript, nixosTests, jq, cacert, curl }:
33
44stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 #!${stdenv.shell}
2323 set -o errexit
2424 PATH=${
25− stdenv.lib.makeBinPath [
25+ lib.makeBinPath [
2626 cacert
2727 common-updater-scripts
2828 coreutils
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
5454 '';
5555 };
5656
57− meta = with stdenv.lib; {
57+ meta = with lib; {
5858 description = "An extendable open source continuous integration server";
5959 homepage = "https://jenkins-ci.org";
6060 license = licenses.mit;
pkgs/development/tools/continuous-integration/laminar/default.nix+1−1
@@ -70,7 +70,7 @@ in stdenv.mkDerivation rec {
7070 rm -r $out/lib # it contains only systemd unit file
7171 '');
7272
73− meta = with stdenv.lib; {
73+ meta = with lib; {
7474 description = "Lightweight and modular continuous integration service";
7575 homepage = "https://laminar.ohwg.net";
7676 license = licenses.gpl3;
pkgs/development/tools/corgi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 name = "corgi-${rev}";
@@ -16,7 +16,7 @@ buildGoPackage rec {
1616
1717 goDeps = ./deps.nix;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "CLI workflow manager";
2121 longDescription = ''
2222 Corgi is a command-line tool that helps with your repetitive command usages by organizing them into reusable snippet.
pkgs/development/tools/coursier/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, jre, writeScript, common-updater-scripts
1+{ lib, stdenv, fetchurl, makeWrapper, jre, writeScript, common-updater-scripts
22, coreutils, git, gnused, nix, nixfmt }:
33
44let
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
3737 #!${stdenv.shell}
3838 set -o errexit
3939 PATH=${
40− stdenv.lib.makeBinPath [
40+ lib.makeBinPath [
4141 common-updater-scripts
4242 coreutils
4343 git
@@ -62,7 +62,7 @@ in stdenv.mkDerivation rec {
6262 fi
6363 '';
6464
65− meta = with stdenv.lib; {
65+ meta = with lib; {
6666 homepage = "https://get-coursier.io/";
6767 description =
6868 "A Scala library to fetch dependencies from Maven / Ivy repositories";
pkgs/development/tools/cppclean/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python3Packages }:
1+{ lib, stdenv, fetchFromGitHub, python3Packages }:
22
33with python3Packages;
44
@@ -21,7 +21,7 @@ buildPythonApplication rec {
2121 ./test.bash
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Finds problems in C++ source that slow development of large code bases";
2626 homepage = "https://github.com/myint/cppclean";
2727 license = licenses.asl20;
pkgs/development/tools/cue/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ buildGoModule, fetchgit, stdenv }:
1+{ buildGoModule, fetchgit, lib, stdenv }:
22
33buildGoModule rec {
44 pname = "cue";
@@ -23,7 +23,7 @@ buildGoModule rec {
2323 meta = {
2424 description = "A data constraint language which aims to simplify tasks involving defining and using data";
2525 homepage = "https://cuelang.org/";
26− maintainers = with stdenv.lib.maintainers; [ solson ];
27− license = stdenv.lib.licenses.asl20;
26+ maintainers = with lib.maintainers; [ solson ];
27+ license = lib.licenses.asl20;
2828 };
2929}
pkgs/development/tools/database/dbmate/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "dbmate";
@@ -15,7 +15,7 @@ buildGoModule rec {
1515
1616 doCheck = false;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Database migration tool";
2020 homepage = "https://github.com/amacneil/dbmate";
2121 license = licenses.mit;
pkgs/development/tools/database/ephemeralpg/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, postgresql, getopt, makeWrapper }:
1+{ lib, stdenv, fetchurl, postgresql, getopt, makeWrapper }:
22stdenv.mkDerivation rec {
33 pname = "ephemeralpg";
44 version = "3.1";
@@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
1010 installPhase = ''
1111 mkdir -p $out
1212 PREFIX=$out make install
13− wrapProgram $out/bin/pg_tmp --prefix PATH : ${stdenv.lib.makeBinPath [ postgresql getopt ]}
13+ wrapProgram $out/bin/pg_tmp --prefix PATH : ${lib.makeBinPath [ postgresql getopt ]}
1414 '';
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Run tests on an isolated, temporary PostgreSQL database";
1717 license = licenses.isc;
1818 homepage = "http://ephemeralpg.org/";
pkgs/development/tools/database/pg_checksums/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libxslt, docbook_xsl, postgresql }:
1+{ lib, stdenv, fetchFromGitHub, libxslt, docbook_xsl, postgresql }:
22
33stdenv.mkDerivation rec {
44 pname = "pg_checksums";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 install -Dm644 -t $out/share/man/man1 doc/man1/pg_checksums.1
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Activate/deactivate/verify checksums in offline PostgreSQL clusters";
3232 homepage = "https://github.com/credativ/pg_checksums";
3333 maintainers = [ maintainers.marsam ];
pkgs/development/tools/database/pgcli/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, buildPythonApplication
33, fetchPypi
44, isPy3k
@@ -46,9 +46,9 @@ buildPythonApplication rec {
4646
4747 checkInputs = [ pytestCheckHook mock ];
4848
49− disabledTests = stdenv.lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ];
49+ disabledTests = lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ];
5050
51− meta = with stdenv.lib; {
51+ meta = with lib; {
5252 description = "Command-line interface for PostgreSQL";
5353 longDescription = ''
5454 Rich command-line interface for PostgreSQL with auto-completion and
pkgs/development/tools/database/pyrseas/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, pythonPackages, fetchFromGitHub }:
1+{ lib, stdenv, pythonPackages, fetchFromGitHub }:
22
33let
44 pgdbconn = pythonPackages.buildPythonPackage {
@@ -39,7 +39,7 @@ pythonPackages.buildPythonApplication {
3939 meta = {
4040 description = "A declarative language to describe PostgreSQL databases";
4141 homepage = "https://perseas.github.io/";
42− license = stdenv.lib.licenses.bsd3;
43− maintainers = with stdenv.lib.maintainers; [ pmeunier ];
42+ license = lib.licenses.bsd3;
43+ maintainers = with lib.maintainers; [ pmeunier ];
4444 };
4545}
pkgs/development/tools/database/shmig/default.nix+1−1
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 mkdir -p $out/bin
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "Minimalistic database migration tool with MySQL, PostgreSQL and SQLite support";
3939 homepage = "https://github.com/mbucc/shmig";
4040 license = licenses.bsd3;
pkgs/development/tools/database/sqlcheck/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "sqlcheck";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 doCheck = true;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 inherit (src.meta) homepage;
2121 description = "Automatically identify anti-patterns in SQL queries";
2222 license = licenses.asl20;
pkgs/development/tools/database/sqldeveloper/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, makeDesktopItem, makeWrapper, requireFile, unzip, jdk }:
1+{ lib, stdenv, makeDesktopItem, makeWrapper, requireFile, unzip, jdk }:
22
33let
44 version = "20.2.0.175.1842";
@@ -65,7 +65,7 @@ in
6565 --run "cd $out/libexec/sqldeveloper/bin"
6666 '';
6767
68− meta = with stdenv.lib; {
68+ meta = with lib; {
6969 description = "Oracle's Oracle DB GUI client";
7070 longDescription = ''
7171 Oracle SQL Developer is a free integrated development environment that
pkgs/development/tools/database/squirrel-sql/default.nix+2−2
@@ -1,6 +1,6 @@
11# To enable specific database drivers, override this derivation and pass the
22# driver packages in the drivers argument (e.g. mysql_jdbc, postgresql_jdbc).
3−{ stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip
3+{ lib, stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip
44, jre
55, drivers ? []
66}:
@@ -69,7 +69,7 @@ in stdenv.mkDerivation rec {
6969 icon = "squirrel-sql";
7070 };
7171
72− meta = with stdenv.lib; {
72+ meta = with lib; {
7373 description = "Universal SQL Client";
7474 homepage = "http://squirrel-sql.sourceforge.net/";
7575 license = licenses.lgpl21;
pkgs/development/tools/database/timescaledb-parallel-copy/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "timescaledb-parallel-copy";
@@ -13,7 +13,7 @@ buildGoModule rec {
1313
1414 vendorSha256 = "03siay3hv1sgmmp7w4f9b0xb8c6bnbx0v4wy5grjl5k04zhnj76b";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Bulk, parallel insert of CSV records into PostgreSQL";
1818 homepage = "https://github.com/timescale/timescaledb-parallel-copy";
1919 license = licenses.asl20;
pkgs/development/tools/database/timescaledb-tune/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "timescaledb-tune";
@@ -13,7 +13,7 @@ buildGoModule rec {
1313
1414 vendorSha256 = "0hbpprbxs19fcar7xcy42kn9yfzhal2zsv5pml9ghiv2s61yns4z";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "A tool for tuning your TimescaleDB for better performance";
1818 homepage = "https://github.com/timescale/timescaledb-tune";
1919 license = licenses.asl20;
pkgs/development/tools/database/webdis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }:
1+{ lib, stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "webdis";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 "CONFDIR=${placeholder "out"}/share/webdis"
1919 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A Redis HTTP interface with JSON output";
2323 homepage = "https://webd.is/";
2424 license = licenses.bsd2;
pkgs/development/tools/dcadec/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "dcadec";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first."
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "DTS Coherent Acoustics decoder with support for HD extensions";
2020 maintainers = with maintainers; [ edwtjo ];
2121 homepage = "https://github.com/foo86/dcadec";
pkgs/development/tools/deis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "deis";
@@ -25,7 +25,7 @@ buildGoPackage rec {
2525 export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://deis.io";
3030 description = "A command line utility used to interact with the Deis open source PaaS";
3131 license = licenses.asl20;
pkgs/development/tools/deisctl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "deis";
@@ -19,7 +19,7 @@ buildGoPackage rec {
1919 export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://deis.io";
2424 description = "A command-line utility used to provision and operate a Deis cluster";
2525 license = licenses.asl20;
pkgs/development/tools/delve/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "delve";
@@ -14,7 +14,7 @@ buildGoPackage rec {
1414 sha256 = "10zvla2jqxqibxdk3zbnsxg63i0zcwcn9npvw3bbicwd2z4vvskk";
1515 };
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "debugger for the Go programming language";
1919 homepage = "https://github.com/derekparker/delve";
2020 maintainers = with maintainers; [ vdemeester ];
pkgs/development/tools/dep/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "dep";
@@ -17,7 +17,7 @@ buildGoPackage rec {
1717
1818 buildFlagsArray = ("-ldflags=-s -w -X main.commitHash=${rev} -X main.version=${version}");
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "https://github.com/golang/dep";
2222 description = "Go dependency management tool";
2323 license = licenses.bsd3;
pkgs/development/tools/devd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ buildGoPackage, fetchFromGitHub, stdenv }:
1+{ buildGoPackage, fetchFromGitHub, lib, stdenv }:
22
33buildGoPackage rec {
44 pname = "devd";
@@ -11,7 +11,7 @@ buildGoPackage rec {
1111 };
1212 goPackagePath = "github.com/cortesi/devd";
1313 subPackages = [ "cmd/devd" ];
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "A local webserver for developers";
1616 homepage = "https://github.com/cortesi/devd";
1717 license = licenses.mit;
pkgs/development/tools/devpi-client/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, buildPythonApplication
33, fetchPypi
44# buildInputs
@@ -49,7 +49,7 @@ buildPythonApplication rec {
4949
5050 LC_ALL = "en_US.UTF-8";
5151
52− meta = with stdenv.lib; {
52+ meta = with lib; {
5353 homepage = "http://doc.devpi.net";
5454 description = "Client for devpi, a pypi index server and packaging meta tool";
5555 license = licenses.mit;
pkgs/development/tools/devpi-server/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python3Packages, nginx }:
1+{ lib, stdenv, fetchFromGitHub, python3Packages, nginx }:
22
33python3Packages.buildPythonApplication rec {
44 pname = "devpi-server";
@@ -33,7 +33,7 @@ python3Packages.buildPythonApplication rec {
3333 pytestCheckHook
3434 pytest-flake8
3535 webtest
36− ] ++ stdenv.lib.optionals isPy27 [ mock ];
36+ ] ++ lib.optionals isPy27 [ mock ];
3737
3838 # root_passwd_hash tries to write to store
3939 # TestMirrorIndexThings tries to write to /var through ngnix
@@ -55,7 +55,7 @@ python3Packages.buildPythonApplication rec {
5555 "TestMirrorIndexThings"
5656 ];
5757
58− meta = with stdenv.lib;{
58+ meta = with lib;{
5959 homepage = "http://doc.devpi.net";
6060 description = "Github-style pypi index server and packaging meta tool";
6161 license = licenses.mit;
pkgs/development/tools/devtodo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, readline, ncurses }:
1+{ lib, stdenv, fetchurl, readline, ncurses }:
22
33stdenv.mkDerivation rec {
44 pname = "devtodo";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 enableParallelBuilding = true;
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://swapoff.org/devtodo1.html";
1818 description = "A hierarchical command-line task manager";
1919 license = licenses.gpl2;
pkgs/development/tools/diesel-cli/default.nix+1−1
@@ -8,7 +8,7 @@ assert lib.assertMsg (sqliteSupport == true || postgresqlSupport == true || mysq
88 "support for at least one database must be enabled";
99
1010let
11− inherit (stdenv.lib) optional optionals optionalString;
11+ inherit (lib) optional optionals optionalString;
1212 features = ''
1313 ${optionalString sqliteSupport "sqlite"} \
1414 ${optionalString postgresqlSupport "postgres"} \
pkgs/development/tools/dive/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub, pkg-config, btrfs-progs, gpgme, lvm2 }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub, pkg-config, btrfs-progs, gpgme, lvm2 }:
22
33buildGoModule rec {
44 pname = "dive";
@@ -17,11 +17,11 @@ buildGoModule rec {
1717
1818 nativeBuildInputs = [ pkg-config ];
1919
20− buildInputs = stdenv.lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ];
20+ buildInputs = lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ];
2121
2222 buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "A tool for exploring each layer in a docker image";
2626 homepage = "https://github.com/wagoodman/dive";
2727 license = licenses.mit;
pkgs/development/tools/documentation/antora/default.nix+5−5
@@ -1,15 +1,15 @@
1−{ stdenv, nodePackages }:
1+{ lib, stdenv, nodePackages }:
22
33let
44 linkNodeDeps = ({ pkg, deps, name ? "" }:
55 let
6− targetModule = if name != "" then name else stdenv.lib.getName pkg;
6+ targetModule = if name != "" then name else lib.getName pkg;
77 in nodePackages.${pkg}.override (oldAttrs: {
88 postInstall = ''
99 mkdir -p $out/lib/node_modules/${targetModule}/node_modules
10− ${stdenv.lib.concatStringsSep "\n" (map (dep: ''
11− ln -s ${nodePackages.${dep}}/lib/node_modules/${stdenv.lib.getName dep} \
12− $out/lib/node_modules/${targetModule}/node_modules/${stdenv.lib.getName dep}
10+ ${lib.concatStringsSep "\n" (map (dep: ''
11+ ln -s ${nodePackages.${dep}}/lib/node_modules/${lib.getName dep} \
12+ $out/lib/node_modules/${targetModule}/node_modules/${lib.getName dep}
1313 '') deps
1414 )}
1515 '';
pkgs/development/tools/documentation/doxygen/default.nix+9−9
@@ -1,4 +1,4 @@
1−{ stdenv, cmake, fetchFromGitHub, python3, flex, bison, qt5, CoreServices, libiconv }:
1+{ lib, stdenv, cmake, fetchFromGitHub, python3, flex, bison, qt5, CoreServices, libiconv }:
22
33stdenv.mkDerivation rec {
44 pname = "doxygen";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 src = fetchFromGitHub {
88 owner = "doxygen";
99 repo = "doxygen";
10− rev = "Release_${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
10+ rev = "Release_${lib.replaceStrings [ "." ] [ "_" ] version}";
1111 sha256 = "17chvi3i80rj4750smpizf562xjzd2xcv5rfyh997pyvc1zbq5rh";
1212 };
1313
@@ -19,21 +19,21 @@ stdenv.mkDerivation rec {
1919 ];
2020
2121 buildInputs =
22− stdenv.lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ])
23− ++ stdenv.lib.optional stdenv.isSunOS libiconv
24− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
22+ lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ])
23+ ++ lib.optional stdenv.isSunOS libiconv
24+ ++ lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
2525
2626 cmakeFlags =
2727 [ "-DICONV_INCLUDE_DIR=${libiconv}/include" ] ++
28− stdenv.lib.optional (qt5 != null) "-Dbuild_wizard=YES";
28+ lib.optional (qt5 != null) "-Dbuild_wizard=YES";
2929
3030 NIX_CFLAGS_COMPILE =
31− stdenv.lib.optionalString stdenv.isDarwin "-mmacosx-version-min=10.9";
31+ lib.optionalString stdenv.isDarwin "-mmacosx-version-min=10.9";
3232
3333 enableParallelBuilding = false;
3434
3535 meta = {
36− license = stdenv.lib.licenses.gpl2Plus;
36+ license = lib.licenses.gpl2Plus;
3737 homepage = "http://doxygen.nl/";
3838 description = "Source code documentation generator tool";
3939
@@ -45,6 +45,6 @@ stdenv.mkDerivation rec {
4545 manual (in LaTeX) from a set of documented source files.
4646 '';
4747
48− platforms = if qt5 != null then stdenv.lib.platforms.linux else stdenv.lib.platforms.unix;
48+ platforms = if qt5 != null then lib.platforms.linux else lib.platforms.unix;
4949 };
5050}
pkgs/development/tools/documentation/gnome-doc-utils/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libxml2Python, libxslt, intltool, gnome3
1+{ lib, stdenv, fetchurl, pkg-config, libxml2Python, libxslt, intltool, gnome3
22, python2Packages }:
33
44python2Packages.buildPythonApplication rec {
@@ -8,7 +8,7 @@ python2Packages.buildPythonApplication rec {
88 format = "other";
99
1010 src = fetchurl {
11− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
11+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1212 sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb";
1313 };
1414
@@ -34,7 +34,7 @@ python2Packages.buildPythonApplication rec {
3434 rm $out/nix-support/propagated-build-inputs
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "Collection of documentation utilities for the GNOME project";
3939 homepage = "https://gitlab.gnome.org/GNOME/gnome-doc-utils";
4040 license = with licenses; [ gpl2Plus lgpl2Plus ];
pkgs/development/tools/documentation/gtk-doc/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, meson
44, ninja
@@ -44,7 +44,7 @@ python3.pkgs.buildPythonApplication rec {
4444 docbook_xml_dtd_43
4545 docbook_xsl
4646 libxslt
47− ] ++ stdenv.lib.optionals withDblatex [
47+ ] ++ lib.optionals withDblatex [
4848 dblatex
4949 ];
5050
@@ -77,7 +77,7 @@ python3.pkgs.buildPythonApplication rec {
7777 };
7878 };
7979
80− meta = with stdenv.lib; {
80+ meta = with lib; {
8181 description = "Tools to extract documentation embedded in GTK and GNOME source code";
8282 homepage = "https://www.gtk.org/gtk-doc";
8383 license = licenses.gpl2;
pkgs/development/tools/documentation/mdsh/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform }:
1+{ lib, stdenv, fetchFromGitHub, rustPlatform }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "mdsh";
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "118ykkqlf0x6gcgywx4pg3qawfhfr5q5f51gvrw9s302c1lmgk3g";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Markdown shell pre-processor";
1818 homepage = "https://github.com/zimbatm/mdsh";
1919 license = with licenses; [ mit ];
pkgs/development/tools/documentation/mkdocs/default.nix+1−1
@@ -35,7 +35,7 @@ buildPythonApplication rec {
3535 backports_tempfile
3636 ];
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "Project documentation with Markdown / static website generator";
4040 longDescription = ''
4141 MkDocs is a fast, simple and downright gorgeous static site generator that's
pkgs/development/tools/dot-http/default.nix+1−1
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
1515
1616 nativeBuildInputs = [ pkg-config ];
1717
18− buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [
18+ buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
1919 libiconv Security
2020 ];
2121
pkgs/development/tools/drip/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, jdk8, which, makeWrapper }:
1+{ lib, stdenv, fetchFromGitHub, jdk8, which, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "drip";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 runHook postInstall
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "A launcher for the Java Virtual Machine intended to be a drop-in replacement for the java command, only faster";
3434 license = licenses.epl10;
3535 homepage = "https://github.com/ninjudd/drip";
pkgs/development/tools/drm_info/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, libdrm, json_c, pciutils
33, meson, ninja, pkg-config
44}:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 nativeBuildInputs = [ meson ninja pkg-config ];
1818 buildInputs = [ libdrm json_c pciutils ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Small utility to dump info about DRM devices";
2222 homepage = "https://github.com/ascent12/drm_info";
2323 license = licenses.mit;
pkgs/development/tools/dtools/default.nix+2−2
@@ -51,11 +51,11 @@ stdenv.mkDerivation rec {
5151 $makeCmd INSTALL_DIR=$out install
5252 '';
5353
54− meta = with stdenv.lib; {
54+ meta = with lib; {
5555 description = "Ancillary tools for the D programming language compiler";
5656 homepage = "https://github.com/dlang/tools";
5757 license = lib.licenses.boost;
5858 maintainers = with maintainers; [ ThomasMader ];
59− platforms = stdenv.lib.platforms.unix;
59+ platforms = lib.platforms.unix;
6060 };
6161}
pkgs/development/tools/easyjson/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage {
44 pname = "easyjson";
@@ -12,7 +12,7 @@ buildGoPackage {
1212 sha256 = "0q85h383mhbkcjm2vqm72bi8n2252fv3c56q3lclzb8n2crnjcdk";
1313 };
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://github.com/mailru/easyjson";
1717 description = "Fast JSON serializer for golang";
1818 license = licenses.mit;
pkgs/development/tools/eclipse-mat/default.nix+2−2
@@ -62,13 +62,13 @@ stdenv.mkDerivation rec {
6262 libCairo=$out/eclipse/libcairo-swt.so
6363 patchelf --set-interpreter $interpreter $out/mat/MemoryAnalyzer
6464 [ -f $libCairo ] && patchelf --set-rpath ${
65− stdenv.lib.makeLibraryPath [ freetype fontconfig libX11 libXrender zlib ]
65+ lib.makeLibraryPath [ freetype fontconfig libX11 libXrender zlib ]
6666 } $libCairo
6767
6868 # Create wrapper script. Pass -configuration to store settings in ~/.eclipse-mat/<version>
6969 makeWrapper $out/mat/MemoryAnalyzer $out/bin/eclipse-mat \
7070 --prefix PATH : ${jdk}/bin \
71− --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk3 libXtst webkitgtk ])} \
71+ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk3 libXtst webkitgtk ])} \
7272 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
7373 --add-flags "-configuration \$HOME/.eclipse-mat/''${version}/configuration"
7474
pkgs/development/tools/electron/default.nix+1−1
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, libXScrnSaver
33, makeWrapper
44, fetchurl
pkgs/development/tools/electron/generic.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, libXScrnSaver
33, makeWrapper
44, fetchurl
@@ -20,7 +20,7 @@ version: hashes:
2020let
2121 name = "electron-${version}";
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Cross platform desktop application shell";
2525 homepage = "https://github.com/electron/electron";
2626 license = licenses.mit;
@@ -56,7 +56,7 @@ let
5656 passthru.headers = headersFetcher version hashes.headers;
5757 };
5858
59− electronLibPath = with stdenv.lib; makeLibraryPath (
59+ electronLibPath = with lib; makeLibraryPath (
6060 [ libuuid at-spi2-atk at-spi2-core libappindicator-gtk3 ]
6161 ++ optionals (! versionOlder version "9.0.0") [ libdrm mesa ]
6262 ++ optionals (! versionOlder version "11.0.0") [ libxkbcommon ]
@@ -89,7 +89,7 @@ let
8989 $out/lib/electron/electron
9090
9191 wrapProgram $out/lib/electron/electron \
92− --prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 \
92+ --prefix LD_PRELOAD : ${lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 \
9393 "''${gappsWrapperArgs[@]}"
9494 '';
9595 };
pkgs/development/tools/erlang/cuter/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, autoreconfHook, which, writeText, makeWrapper, fetchFromGitHub, erlang
1+{ lib, stdenv, autoreconfHook, which, writeText, makeWrapper, fetchFromGitHub, erlang
22, z3, python }:
33
44stdenv.mkDerivation rec {
@@ -38,9 +38,9 @@ stdenv.mkDerivation rec {
3838
3939 meta = {
4040 description = "A concolic testing tool for the Erlang functional programming language";
41− license = stdenv.lib.licenses.gpl3;
41+ license = lib.licenses.gpl3;
4242 homepage = "https://github.com/aggelgian/cuter";
43− maintainers = with stdenv.lib.maintainers; [ ericbmerritt ];
44− platforms = with stdenv.lib.platforms; unix;
43+ maintainers = with lib.maintainers; [ ericbmerritt ];
44+ platforms = with lib.platforms; unix;
4545 };
4646}
pkgs/development/tools/fac/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, git }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, git }:
22
33buildGoPackage rec {
44 pname = "fac";
@@ -25,7 +25,7 @@ buildGoPackage rec {
2525 install -D go/src/${goPackagePath}/assets/doc/fac.1 $out/share/man/man1/fac.1
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "CUI for fixing git conflicts";
3030 inherit (src.meta) homepage;
3131 license = licenses.mit;
pkgs/development/tools/fedpkg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonApplication, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber, pyopenssl, python_fedora }:
1+{ lib, stdenv, buildPythonApplication, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber, pyopenssl, python_fedora }:
22
33let
44 fedora_cert = buildPythonPackage rec {
@@ -26,7 +26,7 @@ in buildPythonApplication rec {
2626 patches = [ ./fix-paths.patch ];
2727 propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ];
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Subclass of the rpkg project for dealing with rpm packaging";
3131 homepage = "https://pagure.io/fedpkg";
3232 license = licenses.gpl2;
pkgs/development/tools/flamegraph/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, perl }:
1+{ lib, stdenv, fetchFromGitHub, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "FlameGraph";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 runHook postInstall
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 license = with licenses; [ asl20 cddl gpl2Plus ];
2929 homepage = "http://www.brendangregg.com/flamegraphs.html";
3030 description = "Visualization for profiled code";
pkgs/development/tools/flatpak-builder/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, substituteAll
44, nixosTests
@@ -145,7 +145,7 @@ in stdenv.mkDerivation rec {
145145 };
146146 };
147147
148− meta = with stdenv.lib; {
148+ meta = with lib; {
149149 description = "Tool to build flatpaks from source";
150150 homepage = "https://github.com/flatpak/flatpak-builder";
151151 license = licenses.lgpl21Plus;
pkgs/development/tools/flootty/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, python3Packages }:
1+{ lib, stdenv, python3Packages }:
22
33python3Packages.buildPythonApplication rec {
44 pname = "Flootty";
@@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec {
99 sha256 = "0gfl143ly81pmmrcml91yr0ypvwrs5q4s1sfdc0l2qkqpy233ih7";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "A collaborative terminal. In practice, it's similar to a shared screen or tmux session";
1414 homepage = "https://floobits.com/help/flootty";
1515 license = licenses.asl20;
pkgs/development/tools/flyway/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre_headless, makeWrapper }:
1+{ lib, stdenv, fetchurl, jre_headless, makeWrapper }:
22 let
33 version = "7.3.1";
44 in
@@ -22,7 +22,7 @@
2222 --add-flags "org.flywaydb.commandline.Main" \
2323 --add-flags "-jarDirs='$out/share/flyway/jars'"
2424 '';
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Evolve your Database Schema easily and reliably across all your instances";
2727 longDescription = ''
2828 The Flyway command-line tool is a standalone Flyway distribution.
pkgs/development/tools/fmbt/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python, autoreconfHook, pkg-config, makeWrapper
1+{ lib, stdenv, fetchFromGitHub, python, autoreconfHook, pkg-config, makeWrapper
22, flex
33, gettext, libedit, glib, imagemagick, libxml2, boost, gnuplot, graphviz
44, tesseract, gts, libXtst
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 preBuild = ''
2929 export PYTHONPATH="$PYTHONPATH:$out/lib/python${python.pythonVersion}/site-packages"
3030 export PATH="$PATH:$out/bin"
31− export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [libXtst]}"
31+ export LD_LIBRARY_PATH="${lib.makeLibraryPath [libXtst]}"
3232 '';
3333
3434 postInstall = ''
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 done
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "Free Model-Based Testing tool";
4747 homepage = "https://github.com/intel/fMBT";
4848 license = licenses.lgpl21;
pkgs/development/tools/fusee-launcher/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, python3Packages
33, python3
44, fetchFromGitHub
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
3232 buildInputs = [ python3 python3Packages.pyusb ];
3333 pythonPath = with python3Packages; [ pyusb ];
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 homepage = "https://github.com/Cease-and-DeSwitch/fusee-launcher";
3737 description = "Work-in-progress launcher for one of the Tegra X1 bootROM exploits";
3838 license = licenses.gpl2;
pkgs/development/tools/galen/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre8, unzip }:
1+{ lib, stdenv, fetchurl, jre8, unzip }:
22
33stdenv.mkDerivation rec {
44 pname = "galen";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 cp galen.jar $out/bin
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "http://galenframework.com";
2828 description = "Automated layout testing for websites";
2929 license = licenses.asl20;
pkgs/development/tools/gamecube-tools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook
22, freeimage, libGL }:
33
44stdenv.mkDerivation rec {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 sha256 = "0zvpkzqvl8iv4ndzhkjkmrzpampyzgb91spv0h2x2arl8zy4z7ca";
1616 };
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Tools for gamecube/wii projects";
2020 homepage = "https://github.com/devkitPro/gamecube-tools/";
2121 license = licenses.gpl2;
pkgs/development/tools/gauge/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "gauge";
@@ -14,7 +14,7 @@ buildGoPackage rec {
1414 sha256 = "02yrk4d5mm4j2grlhqkf4grxawx91kd2vhdn7k5wd2dl6wsnlgcl";
1515 };
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Light weight cross-platform test automation";
1919 homepage = "https://gauge.org";
2020 license = licenses.gpl3;
pkgs/development/tools/gdm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "gdm";
@@ -15,7 +15,7 @@ buildGoPackage rec {
1515
1616 goDeps = ./deps.nix;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Minimalist dependency manager for Go written in Go";
2020 homepage = "https://github.com/sparrc/gdm";
2121 license = licenses.unlicense;
pkgs/development/tools/git-ftp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pandoc, man }:
1+{ lib, stdenv, fetchFromGitHub, pandoc, man }:
22stdenv.mkDerivation rec {
33 pname = "git-ftp";
44 version = "1.6.0";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [pandoc man];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Git powered FTP client written as shell script";
2222 homepage = "https://git-ftp.github.io/";
2323 license = licenses.gpl3;
pkgs/development/tools/git-quick-stats/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, makeWrapper
44, coreutils
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 postInstall =
3030 let
31− path = stdenv.lib.makeBinPath [
31+ path = lib.makeBinPath [
3232 coreutils
3333 gawk
3434 git
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
4141 wrapProgram $out/bin/git-quick-stats --suffix PATH : ${path}
4242 '';
4343
44− meta = with stdenv.lib; {
44+ meta = with lib; {
4545 homepage = "https://github.com/arzzen/git-quick-stats";
4646 description = "A simple and efficient way to access various statistics in git repository";
4747 platforms = platforms.all;
pkgs/development/tools/git-series/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform
22, openssl, cmake, perl, pkg-config, zlib, curl, libgit2, libssh2
33}:
44
@@ -43,7 +43,7 @@ buildRustPackage rec {
4343 install -D "$src/git-series.1" "$out/man/man1/git-series.1"
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "A tool to help with formatting git patches for review on mailing lists";
4848 longDescription = ''
4949 git series tracks changes to a patch series over time. git
pkgs/development/tools/github/cligh/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }:
1+{ lib, stdenv, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }:
22
33buildPythonApplication rec {
44 pname = "cligh";
@@ -15,7 +15,7 @@ buildPythonApplication rec {
1515
1616 propagatedBuildInputs = [ pyxdg PyGithub ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "http://the-brannons.com/software/cligh.html";
2020 description = "A simple command-line interface to the facilities of Github";
2121 longDescription = ''
pkgs/development/tools/github/github-release/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, system, fetchurl }:
1+{ lib, stdenv, system, fetchurl }:
22
33let
44 linuxPredicate = system == "x86_64-linux";
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
3636 cp "${metadata.archiveBinaryPath}/github-release" "$out/bin/"
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "Commandline app to create and edit releases on Github (and upload artifacts)";
4141 longDescription = ''
4242 A small commandline app written in Go that allows you to easily create and
pkgs/development/tools/glade/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 version = "3.38.2";
2727
2828 src = fetchurl {
29− url = "mirror://gnome/sources/glade/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
29+ url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3030 sha256 = "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q";
3131 };
3232
pkgs/development/tools/glide/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "glide";
@@ -18,7 +18,7 @@ buildGoPackage rec {
1818 sha256 = "1wskg1cxqy9sp0738qiiagdw09dbs3swxsk4z6w5hsfiq2h44a54";
1919 };
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://glide.sh";
2323 description = "Package management for Go";
2424 license = licenses.mit;
pkgs/development/tools/gllvm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "gllvm";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 sha256 = "15cgngvd9mg057iz32fk5kcprcvvavahbvfvl5ds8x7shbm60g7s";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/SRI-CSL/gllvm";
1818 description = "Whole Program LLVM: wllvm ported to go";
1919 license = licenses.bsd3;
pkgs/development/tools/glock/default.nix+3−3
@@ -1,8 +1,8 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "glock";
5− version = "20160816-${stdenv.lib.strings.substring 0 7 rev}";
5+ version = "20160816-${lib.strings.substring 0 7 rev}";
66 rev = "b8c84ff5ade15a6238ca61c20d3afc70d2e41276";
77
88 goPackagePath = "github.com/robfig/glock";
@@ -16,7 +16,7 @@ buildGoPackage rec {
1616
1717 goDeps = ./deps.nix;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://github.com/robfig/glock";
2121 description = "A command-line tool to lock Go dependencies to specific revisions";
2222 license = licenses.mit;
pkgs/development/tools/glslviewer/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, glfw, pkg-config, libXrandr, libXdamage
1+{ lib, stdenv, fetchFromGitHub, glfw, pkg-config, libXrandr, libXdamage
22, libXext, libXrender, libXinerama, libXcursor, libXxf86vm, libXi
33, libX11, libGLU, python3Packages, ensureNewerSourcesForZipFilesHook
44, Cocoa
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 libXext libXrender libXinerama libXcursor libXxf86vm
2222 libXi libX11
2323 ] ++ (with python3Packages; [ python setuptools wrapPython ])
24− ++ stdenv.lib.optional stdenv.isDarwin Cocoa;
24+ ++ lib.optional stdenv.isDarwin Cocoa;
2525 pythonPath = with python3Packages; [ pyyaml requests ];
2626
2727 # Makefile has /usr/local/bin hard-coded for 'make install'
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 wrapPythonPrograms
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "Live GLSL coding renderer";
4848 homepage = "http://patriciogonzalezvivo.com/2015/glslViewer/";
4949 license = licenses.bsd3;
pkgs/development/tools/gnome-desktop-testing/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, glib
33, autoreconfHook
44, pkg-config
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030
3131 enableParallelBuilding = true;
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "GNOME test runner for installed tests";
3535 homepage = "https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests";
3636 license = licenses.lgpl2Plus;
pkgs/development/tools/gnulib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit }:
1+{ lib, stdenv, fetchgit }:
22
33stdenv.mkDerivation {
44 pname = "gnulib";
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
2222 meta = {
2323 homepage = "https://www.gnu.org/software/gnulib/";
2424 description = "Central location for code to be shared among GNU packages";
25− license = stdenv.lib.licenses.gpl3Plus;
26− platforms = stdenv.lib.platforms.unix;
25+ license = lib.licenses.gpl3Plus;
26+ platforms = lib.platforms.unix;
2727 };
2828}
pkgs/development/tools/go-bindata-assetfs/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "go-bindata-assetfs";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 sha256 = "0b6q8h9fwpgpkvml1j87wq9174g7px1dmskhm884drpvswda2djk";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Serve embedded files from jteeuwen/go-bindata";
1818 license = licenses.bsd2;
1919 maintainers = with maintainers; [ avnik ];
pkgs/development/tools/go-bindata/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage {
44 pname = "go-bindata";
@@ -15,7 +15,7 @@ buildGoPackage {
1515
1616 excludedPackages = "testdata";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://github.com/jteeuwen/go-bindata";
2020 description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
2121 maintainers = with maintainers; [ cstrahan ];
pkgs/development/tools/go-langserver/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "go-langserver";
@@ -14,7 +14,7 @@ buildGoPackage rec {
1414 sha256 = "1wv7xf81s3qi8xydxjkkp8vacdzrq8sbj04346fz73nsn85z0sgp";
1515 };
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A Go language server protocol server";
1919 homepage = "https://github.com/sourcegraph/go-langserver";
2020 license = licenses.mit;
pkgs/development/tools/go-outline/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "go-outline";
@@ -18,7 +18,7 @@ buildGoPackage rec {
1818 meta = {
1919 description = "Utility to extract JSON representation of declarations from a Go source file";
2020 homepage = "https://github.com/ramya-rao-a/go-outline";
21− maintainers = with stdenv.lib.maintainers; [ vdemeester ];
22− license = stdenv.lib.licenses.mit;
21+ maintainers = with lib.maintainers; [ vdemeester ];
22+ license = lib.licenses.mit;
2323 };
2424}
pkgs/development/tools/go-protobuf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "go-protobuf";
@@ -15,7 +15,7 @@ buildGoModule rec {
1515
1616 doCheck = false;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://github.com/golang/protobuf";
2020 description = " Go bindings for protocol buffer";
2121 maintainers = with maintainers; [ lewo ];
pkgs/development/tools/go-repo-root/default.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, buildGoPackage, fetchgit }:
1+{ lib, stdenv, buildGoPackage, fetchgit }:
22
33buildGoPackage rec {
44 pname = "go-repo-root";
5− version = "20140911-${stdenv.lib.strings.substring 0 7 rev}";
5+ version = "20140911-${lib.strings.substring 0 7 rev}";
66 rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
77
88 goPackagePath = "github.com/cstrahan/go-repo-root";
pkgs/development/tools/go-symbols/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "go-symbols";
@@ -17,7 +17,7 @@ buildGoPackage rec {
1717 meta = {
1818 description = "A utility for extracting a JSON representation of the package symbols from a go source tree";
1919 homepage = "https://github.com/acroca/go-symbols";
20− maintainers = with stdenv.lib.maintainers; [ vdemeester ];
21− license = stdenv.lib.licenses.mit;
20+ maintainers = with lib.maintainers; [ vdemeester ];
21+ license = lib.licenses.mit;
2222 };
2323}
pkgs/development/tools/go2nix/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, go-bindata, gotools, nix-prefetch-git, git, makeWrapper,
1+{ lib, stdenv, buildGoPackage, go-bindata, gotools, nix-prefetch-git, git, makeWrapper,
22 fetchFromGitHub }:
33
44buildGoPackage rec {
@@ -36,7 +36,7 @@ buildGoPackage rec {
3636
3737 doCheck = false; # tries to access the net
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "Go apps packaging for Nix";
4141 homepage = "https://github.com/kamilchm/go2nix";
4242 license = licenses.mit;
pkgs/development/tools/goa/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "goa";
@@ -16,7 +16,7 @@ buildGoPackage rec {
1616
1717 goDeps = ./deps.nix;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://goa.design";
2121 description = "A framework for building microservices in Go using a unique design-first approach";
2222 license = licenses.mit;
pkgs/development/tools/gocode-gomod/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "gocode-gomod";
@@ -24,7 +24,7 @@ buildGoModule rec {
2424 mv $out/bin/gocode $out/bin/gocode-gomod
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "An autocompletion daemon for the Go programming language";
2929 longDescription = ''
3030 Gocode is a helper tool which is intended to be integrated with your
pkgs/development/tools/gocode/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "gocode-unstable";
@@ -23,7 +23,7 @@ buildGoPackage rec {
2323
2424 goDeps = ./deps.nix;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "An autocompletion daemon for the Go programming language";
2828 longDescription = ''
2929 Gocode is a helper tool which is intended to be integrated with your
pkgs/development/tools/goconvey/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "goconvey";
@@ -19,7 +19,7 @@ buildGoPackage rec {
1919 meta = {
2020 description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go";
2121 homepage = "https://github.com/smartystreets/goconvey";
22− maintainers = with stdenv.lib.maintainers; [ vdemeester ];
23− license = stdenv.lib.licenses.mit;
22+ maintainers = with lib.maintainers; [ vdemeester ];
23+ license = lib.licenses.mit;
2424 };
2525}
pkgs/development/tools/godef/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "godef";
@@ -21,7 +21,7 @@ buildGoModule rec {
2121 meta = {
2222 description = "Print where symbols are defined in Go source code";
2323 homepage = "https://github.com/rogpeppe/godef/";
24− maintainers = with stdenv.lib.maintainers; [ vdemeester rvolosatovs ];
25− license = stdenv.lib.licenses.bsd3;
24+ maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
25+ license = lib.licenses.bsd3;
2626 };
2727}
pkgs/development/tools/godot/default.nix+2−2
@@ -61,8 +61,8 @@ in stdenv.mkDerivation rec {
6161 meta = {
6262 homepage = "https://godotengine.org";
6363 description = "Free and Open Source 2D and 3D game engine";
64− license = stdenv.lib.licenses.mit;
64+ license = lib.licenses.mit;
6565 platforms = [ "i686-linux" "x86_64-linux" ];
66− maintainers = [ stdenv.lib.maintainers.twey ];
66+ maintainers = [ lib.maintainers.twey ];
6767 };
6868}
pkgs/development/tools/godot/headless.nix+2−2
@@ -1,4 +1,4 @@
1−{ godot, stdenv }:
1+{ godot, lib, stdenv }:
22godot.overrideAttrs (oldAttrs: rec {
33 pname = "godot-headless";
44 sconsFlags = "target=release_debug platform=server tools=yes";
@@ -14,5 +14,5 @@ godot.overrideAttrs (oldAttrs: rec {
1414 '';
1515 meta.description =
1616 "Free and Open Source 2D and 3D game engine (headless build)";
17− meta.maintainers = with stdenv.lib.maintainers; [ twey yusdacra ];
17+ meta.maintainers = with lib.maintainers; [ twey yusdacra ];
1818})
pkgs/development/tools/godot/server.nix+2−2
@@ -1,4 +1,4 @@
1−{ godot, stdenv }:
1+{ godot, lib, stdenv }:
22godot.overrideAttrs (oldAttrs: rec {
33 pname = "godot-server";
44 sconsFlags = "target=release platform=server tools=no";
@@ -14,5 +14,5 @@ godot.overrideAttrs (oldAttrs: rec {
1414 '';
1515 meta.description =
1616 "Free and Open Source 2D and 3D game engine (server build)";
17− meta.maintainers = with stdenv.lib.maintainers; [ twey yusdacra ];
17+ meta.maintainers = with lib.maintainers; [ twey yusdacra ];
1818})
pkgs/development/tools/golint/default.nix+3−3
@@ -1,8 +1,8 @@
1−{ stdenv, buildGoPackage, fetchgit }:
1+{ lib, stdenv, buildGoPackage, fetchgit }:
22
33buildGoPackage rec {
44 pname = "lint";
5− version = "20181026-${stdenv.lib.strings.substring 0 7 rev}";
5+ version = "20181026-${lib.strings.substring 0 7 rev}";
66 rev = "c67002cb31c3a748b7688c27f20d8358b4193582";
77
88 goPackagePath = "golang.org/x/lint";
@@ -20,7 +20,7 @@ buildGoPackage rec {
2020
2121 goDeps = ./deps.nix;
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://golang.org";
2525 description = "Linter for Go source code";
2626 license = licenses.bsd3;
pkgs/development/tools/gomodifytags/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "gomodifytags";
@@ -18,7 +18,7 @@ buildGoModule rec {
1818 meta = {
1919 description = "Go tool to modify struct field tags";
2020 homepage = "https://github.com/fatih/gomodifytags";
21− maintainers = with stdenv.lib.maintainers; [ vdemeester ];
22− license = stdenv.lib.licenses.bsd3;
21+ maintainers = with lib.maintainers; [ vdemeester ];
22+ license = lib.licenses.bsd3;
2323 };
2424}
pkgs/development/tools/google-app-engine-go-sdk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, python3Packages, makeWrapper }:
1+{ lib, stdenv, fetchzip, python3Packages, makeWrapper }:
22
33with python3Packages;
44
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 done
3232 '';
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "Google App Engine SDK for Go";
3636 version = version;
3737 homepage = "https://cloud.google.com/appengine/docs/go/";
pkgs/development/tools/gopkgs/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "gopkgs";
@@ -20,7 +20,7 @@ buildGoModule rec {
2020 meta = {
2121 description = "Tool to get list available Go packages";
2222 homepage = "https://github.com/uudashr/gopkgs";
23− maintainers = with stdenv.lib.maintainers; [ vdemeester ];
24− license = stdenv.lib.licenses.mit;
23+ maintainers = with lib.maintainers; [ vdemeester ];
24+ license = lib.licenses.mit;
2525 };
2626}
pkgs/development/tools/gosec/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "gosec";
@@ -19,7 +19,7 @@ buildGoModule rec {
1919
2020 buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version} -X main.GitTag=${src.rev} -X main.BuildDate=unknown" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://github.com/securego/gosec";
2424 description = "Golang security checker";
2525 license = licenses.asl20;
pkgs/development/tools/gotags/default.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, buildGoPackage, fetchgit }:
1+{ lib, stdenv, buildGoPackage, fetchgit }:
22
33buildGoPackage rec {
44 pname = "gotags";
5− version = "20150803-${stdenv.lib.strings.substring 0 7 rev}";
5+ version = "20150803-${lib.strings.substring 0 7 rev}";
66 rev = "be986a34e20634775ac73e11a5b55916085c48e7";
77
88 goPackagePath = "github.com/jstemmer/gotags";
pkgs/development/tools/gotests/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "gotests";
@@ -19,7 +19,7 @@ buildGoPackage rec {
1919 meta = {
2020 description = "Generate Go tests from your source code";
2121 homepage = "https://github.com/cweill/gotests";
22− maintainers = with stdenv.lib.maintainers; [ vdemeester ];
23− license = stdenv.lib.licenses.asl20;
22+ maintainers = with lib.maintainers; [ vdemeester ];
23+ license = lib.licenses.asl20;
2424 };
2525}
pkgs/development/tools/gotools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchgit }:
1+{ lib, stdenv, buildGoModule, fetchgit }:
22
33buildGoModule rec {
44 pname = "gotools-unstable";
@@ -40,7 +40,7 @@ buildGoModule rec {
4040 '';
4141
4242 excludedPackages = "\\("
43− + stdenv.lib.concatStringsSep "\\|" ([ "testdata" "vet" "cover" ])
43+ + lib.concatStringsSep "\\|" ([ "testdata" "vet" "cover" ])
4444 + "\\)";
4545
4646 # Set GOTOOLDIR for derivations adding this to buildInputs
pkgs/development/tools/govendor/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "govendor";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 sha256 = "0g02cd25chyijg0rzab4xr627pkvk5k33mscd6r0gf1v5xvadcfq";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/kardianos/govendor";
1818 description = "Go vendor tool that works with the standard vendor file";
1919 license = licenses.bsd3;
pkgs/development/tools/govers/default.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, buildGoPackage, fetchgit }:
1+{ lib, stdenv, buildGoPackage, fetchgit }:
22
33buildGoPackage rec {
44 pname = "govers";
5− version = "20160623-${stdenv.lib.strings.substring 0 7 rev}";
5+ version = "20160623-${lib.strings.substring 0 7 rev}";
66 rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
77
88 goPackagePath = "github.com/rogpeppe/govers";
pkgs/development/tools/gox/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "gox";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 sha256 = "0mkh81hd7kn45dz7b6yhzqsg2mvg1g6pwx89jjigxrnqhyg9vrl7";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/mitchellh/gox";
1818 description = "A dead simple, no frills Go cross compile tool";
1919 license = licenses.mpl20;
pkgs/development/tools/gpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation {
44 pname = "gpp";
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616 installCheckPhase = "$out/bin/gpp --help";
1717 doInstallCheck = true;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "General-purpose preprocessor with customizable syntax";
2121 homepage = "https://logological.org/gpp";
2222 license = licenses.lgpl3;
pkgs/development/tools/gron/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "gron";
@@ -16,7 +16,7 @@ buildGoPackage rec {
1616
1717 goDeps = ./deps.nix;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Make JSON greppable!";
2121 longDescription = ''
2222 gron transforms JSON into discrete assignments to make it easier to grep
pkgs/development/tools/guile/g-wrap/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, guile, guile-lib, libffi, pkg-config, glib }:
1+{ fetchurl, lib, stdenv, guile, guile-lib, libffi, pkg-config, glib }:
22
33stdenv.mkDerivation rec {
44 pname = "g-wrap";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 doCheck = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A wrapper generator for Guile";
2424 longDescription = ''
2525 G-Wrap is a tool (and Guile library) for generating function wrappers for
pkgs/development/tools/guile/guile-lint/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, guile }:
1+{ lib, stdenv, fetchurl, guile }:
22
33stdenv.mkDerivation rec {
44 pname = "guile-lint";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 doCheck = !stdenv.isDarwin;
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Checks syntax and semantics in a Guile program or module";
2525 homepage = "https://user42.tuxfamily.org/guile-lint/index.html";
2626 license = licenses.gpl3Plus;
pkgs/development/tools/haskell/dconf2nix/dconf2nix.nix+2−2
@@ -1,5 +1,5 @@
11{ mkDerivation, base, containers, fetchgit, hedgehog
2−, optparse-applicative, parsec, stdenv, template-haskell, text
2+, optparse-applicative, parsec, lib, stdenv, template-haskell, text
33}:
44mkDerivation {
55 pname = "dconf2nix";
@@ -20,5 +20,5 @@ mkDerivation {
2020 base containers hedgehog parsec template-haskell text
2121 ];
2222 description = "Convert dconf files to Nix, as expected by Home Manager";
23− license = stdenv.lib.licenses.asl20;
23+ license = lib.licenses.asl20;
2424}
pkgs/development/tools/haskell/haskell-language-server/default.nix+2−2
@@ -7,7 +7,7 @@
77, hls-tactics-plugin, hslogger, hspec, hspec-core
88, hspec-expectations, lens, lsp-test, mtl, optparse-applicative
99, optparse-simple, ormolu, process, regex-tdfa, safe-exceptions
10−, shake, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml
10+, shake, lib, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml
1111, tasty-expected-failure, tasty-golden, tasty-hunit, tasty-rerun
1212, temporary, text, transformers, unordered-containers, with-utf8
1313, yaml
@@ -49,5 +49,5 @@ mkDerivation {
4949 testToolDepends = [ ghcide ];
5050 homepage = "https://github.com/haskell/haskell-language-server#readme";
5151 description = "LSP server for GHC";
52− license = stdenv.lib.licenses.asl20;
52+ license = lib.licenses.asl20;
5353}
pkgs/development/tools/haskell/haskell-language-server/hls-class-plugin.nix+2−2
@@ -1,6 +1,6 @@
11{ mkDerivation, aeson, base, containers, fetchgit, ghc
22, ghc-exactprint, ghcide, haskell-lsp, hls-plugin-api, lens, shake
3−, stdenv, text, transformers, unordered-containers
3+, lib, stdenv, text, transformers, unordered-containers
44}:
55mkDerivation {
66 pname = "hls-class-plugin";
@@ -17,5 +17,5 @@ mkDerivation {
1717 hls-plugin-api lens shake text transformers unordered-containers
1818 ];
1919 description = "Explicit imports plugin for Haskell Language Server";
20− license = stdenv.lib.licenses.asl20;
20+ license = lib.licenses.asl20;
2121}
pkgs/development/tools/haskell/haskell-language-server/hls-eval-plugin.nix+2−2
@@ -2,7 +2,7 @@
22, extra, fetchgit, filepath, ghc, ghc-boot-th, ghc-paths, ghcide
33, hashable, haskell-lsp, haskell-lsp-types, hls-plugin-api
44, parser-combinators, pretty-simple, QuickCheck, safe-exceptions
5−, shake, stdenv, temporary, text, time, transformers
5+, shake, lib, stdenv, temporary, text, time, transformers
66, unordered-containers
77}:
88mkDerivation {
@@ -23,5 +23,5 @@ mkDerivation {
2323 unordered-containers
2424 ];
2525 description = "Eval plugin for Haskell Language Server";
26− license = stdenv.lib.licenses.asl20;
26+ license = lib.licenses.asl20;
2727}
pkgs/development/tools/haskell/haskell-language-server/hls-explicit-imports-plugin.nix+2−2
@@ -1,5 +1,5 @@
11{ mkDerivation, aeson, base, containers, deepseq, fetchgit, ghc
2−, ghcide, haskell-lsp-types, hls-plugin-api, shake, stdenv, text
2+, ghcide, haskell-lsp-types, hls-plugin-api, shake, lib, stdenv, text
33, unordered-containers
44}:
55mkDerivation {
@@ -17,5 +17,5 @@ mkDerivation {
1717 hls-plugin-api shake text unordered-containers
1818 ];
1919 description = "Explicit imports plugin for Haskell Language Server";
20− license = stdenv.lib.licenses.asl20;
20+ license = lib.licenses.asl20;
2121}
pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix+2−2
@@ -2,7 +2,7 @@
22, containers, data-default, deepseq, Diff, directory, extra
33, fetchgit, filepath, ghc, ghc-lib, ghc-lib-parser-ex, ghcide
44, hashable, haskell-lsp, hlint, hls-plugin-api, hslogger, lens
5−, regex-tdfa, shake, stdenv, temporary, text, transformers
5+, regex-tdfa, shake, lib, stdenv, temporary, text, transformers
66, unordered-containers
77}:
88mkDerivation {
@@ -22,5 +22,5 @@ mkDerivation {
2222 regex-tdfa shake temporary text transformers unordered-containers
2323 ];
2424 description = "Hlint integration plugin with Haskell Language Server";
25− license = stdenv.lib.licenses.asl20;
25+ license = lib.licenses.asl20;
2626}
pkgs/development/tools/haskell/haskell-language-server/hls-retrie-plugin.nix+2−2
@@ -1,6 +1,6 @@
11{ mkDerivation, aeson, base, containers, deepseq, directory, extra
22, fetchgit, ghc, ghcide, hashable, haskell-lsp, haskell-lsp-types
3−, hls-plugin-api, retrie, safe-exceptions, shake, stdenv, text
3+, hls-plugin-api, retrie, safe-exceptions, shake, lib, stdenv, text
44, transformers, unordered-containers
55}:
66mkDerivation {
@@ -19,5 +19,5 @@ mkDerivation {
1919 shake text transformers unordered-containers
2020 ];
2121 description = "Retrie integration plugin for Haskell Language Server";
22− license = stdenv.lib.licenses.asl20;
22+ license = lib.licenses.asl20;
2323}
pkgs/development/tools/haskell/haskell-language-server/hls-tactics-plugin.nix+2−2
@@ -2,7 +2,7 @@
22, directory, extra, fetchgit, filepath, fingertree, generic-lens
33, ghc, ghc-boot-th, ghc-exactprint, ghc-source-gen, ghcide
44, haskell-lsp, hie-bios, hls-plugin-api, hspec, hspec-discover
5−, lens, mtl, QuickCheck, refinery, retrie, shake, stdenv, syb, text
5+, lens, mtl, QuickCheck, refinery, retrie, shake, lib, stdenv, syb, text
66, transformers
77}:
88mkDerivation {
@@ -28,5 +28,5 @@ mkDerivation {
2828 testToolDepends = [ hspec-discover ];
2929 description = "Tactics plugin for Haskell Language Server";
3030 license = "unknown";
31− hydraPlatforms = stdenv.lib.platforms.none;
31+ hydraPlatforms = lib.platforms.none;
3232}
pkgs/development/tools/haskell/hyper-haskell/default.nix+3−3
@@ -1,8 +1,8 @@
1−{ stdenv, fetchFromGitHub, jshon, electron_3
1+{ lib, stdenv, fetchFromGitHub, jshon, electron_3
22, runtimeShell, hyper-haskell-server, extra-packages ? [] }:
33
44let
5− binPath = stdenv.lib.makeBinPath ([ hyper-haskell-server ] ++ extra-packages);
5+ binPath = lib.makeBinPath ([ hyper-haskell-server ] ++ extra-packages);
66 electron = electron_3;
77in stdenv.mkDerivation rec {
88 pname = "hyper-haskell";
@@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
4242 chmod 755 $out/bin/hyper-haskell
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "The strongly hyped graphical interpreter for the Haskell programming language";
4747 homepage = "https://github.com/HeinrichApfelmus/hyper-haskell";
4848 license = licenses.bsd3;
pkgs/development/tools/haskell/ihaskell/wrapper.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, jupyter, packages }:
1+{ lib, stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, jupyter, packages }:
22let
33 ihaskellEnv = ghcWithPackages (self: [
44 self.ihaskell
@@ -9,7 +9,7 @@ let
99 ihaskellSh = writeScriptBin "ihaskell-notebook" ''
1010 #! ${stdenv.shell}
1111 export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH"
12− export PATH="${stdenv.lib.makeBinPath ([ ihaskellEnv jupyter ])}''${PATH:+:}$PATH"
12+ export PATH="${lib.makeBinPath ([ ihaskellEnv jupyter ])}''${PATH:+:}$PATH"
1313 ${ihaskellEnv}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${jupyter}/bin/jupyter notebook
1414 '';
1515in
pkgs/development/tools/haskell/vaultenv/default.nix+3−3
@@ -1,7 +1,7 @@
11{ mkDerivation, async, base, bytestring, connection, containers
22, directory, hpack, hspec, hspec-discover, hspec-expectations
33, http-client, http-conduit, lens, lens-aeson, megaparsec, mtl
4−, optparse-applicative, parser-combinators, retry, stdenv, text
4+, optparse-applicative, parser-combinators, retry, lib, stdenv, text
55, unix, unordered-containers, utf8-string, fetchzip, dotenv
66}:
77mkDerivation rec {
@@ -37,6 +37,6 @@ mkDerivation rec {
3737 preConfigure = "hpack";
3838 homepage = "https://github.com/channable/vaultenv#readme";
3939 description = "Runs processes with secrets from HashiCorp Vault";
40− license = stdenv.lib.licenses.bsd3;
41− maintainers = with stdenv.lib.maintainers; [ lnl7 manveru ];
40+ license = lib.licenses.bsd3;
41+ maintainers = with lib.maintainers; [ lnl7 manveru ];
4242}
pkgs/development/tools/hcloud/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
22
33buildGoModule rec {
44 pname = "hcloud";
@@ -29,7 +29,7 @@ buildGoModule rec {
2929 meta = {
3030 description = "A command-line interface for Hetzner Cloud, a provider for cloud virtual private servers";
3131 homepage = "https://github.com/hetznercloud/cli";
32− license = stdenv.lib.licenses.mit;
33− maintainers = [ stdenv.lib.maintainers.zauberpony ];
32+ license = lib.licenses.mit;
33+ maintainers = [ lib.maintainers.zauberpony ];
3434 };
3535}
pkgs/development/tools/hexio/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python, pcsclite, pth }:
1+{ lib, stdenv, fetchFromGitHub, python, pcsclite, pth }:
22
33stdenv.mkDerivation rec {
44 pname = "hexio";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 patchPhase = ''
1818 substituteInPlace Makefile \
19− --replace '-I/usr/local/include/PCSC/' '-I${stdenv.lib.getDev pcsclite}/include/PCSC/' \
19+ --replace '-I/usr/local/include/PCSC/' '-I${lib.getDev pcsclite}/include/PCSC/' \
2020 --replace '-L/usr/local/lib/pth' '-I${pth}/lib/'
2121 '';
2222
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 make DESTDIR=$out PREFIX=/ install
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Low-level I/O helpers for hexadecimal, tty/serial devices and so on";
3131 homepage = "https://github.com/vanrein/hexio";
3232 license = licenses.bsd2;
pkgs/development/tools/iaca/2.1.nix+2−2
@@ -1,5 +1,5 @@
1−{ stdenv, makeWrapper, requireFile, gcc, unzip }:
2−with stdenv.lib;
1+{ lib, stdenv, makeWrapper, requireFile, gcc, unzip }:
2+with lib;
33
44# v2.1: last version with NHM/WSM arch support
55stdenv.mkDerivation {
pkgs/development/tools/iaca/3.0.nix+2−2
@@ -1,5 +1,5 @@
1−{ stdenv, requireFile, unzip }:
2−with stdenv.lib;
1+{ lib, stdenv, requireFile, unzip }:
2+with lib;
33
44stdenv.mkDerivation {
55 name = "iaca-3.0";
pkgs/development/tools/icestorm/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, pkg-config, libftdi1
33, python3, pypy3
44
@@ -63,8 +63,8 @@ stdenv.mkDerivation rec {
6363 creating bitstream files.
6464 '';
6565 homepage = "http://www.clifford.at/icestorm/";
66− license = stdenv.lib.licenses.isc;
67− maintainers = with stdenv.lib.maintainers; [ shell thoughtpolice emily ];
68− platforms = stdenv.lib.platforms.all;
66+ license = lib.licenses.isc;
67+ maintainers = with lib.maintainers; [ shell thoughtpolice emily ];
68+ platforms = lib.platforms.all;
6969 };
7070}
pkgs/development/tools/icr/default.nix+1−1
@@ -26,7 +26,7 @@ crystal.buildCrystalPackage rec {
2626 --prefix PATH : ${lib.makeBinPath [ crystal shards makeWrapper which ]}
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Interactive console for the Crystal programming language";
3131 homepage = "https://github.com/crystal-community/icr";
3232 license = licenses.mit;
pkgs/development/tools/imatix_gsl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pcre } :
1+{ lib, stdenv, fetchFromGitHub, pcre } :
22
33stdenv.mkDerivation {
44 pname = "imatix_gsl";
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 preBuild = "cd src";
2020 installFlags = [ "DESTDIR=$(out)" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 license = licenses.gpl3Plus;
2424 homepage = "https://github.com/imatix/gsl/";
2525 description = "A universal code generator";
pkgs/development/tools/irony-server/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, cmake, llvmPackages, irony }:
1+{ lib, stdenv, cmake, llvmPackages, irony }:
22
33stdenv.mkDerivation {
44 pname = "irony-server";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 "-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
1616 ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "The server part of irony";
2020 homepage = "https://melpa.org/#/irony";
2121 maintainers = [ maintainers.deepfire ];
pkgs/development/tools/java/cfr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, makeWrapper, fetchurl, jre }:
1+{ lib, stdenv, makeWrapper, fetchurl, jre }:
22
33stdenv.mkDerivation rec {
44 pname = "cfr";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 makeWrapper ${jre}/bin/java $out/bin/cfr --add-flags "-jar $jar"
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Another java decompiler";
2222 longDescription = ''
2323 CFR will decompile modern Java features - Java 8 lambdas (pre and post
pkgs/development/tools/java/dex2jar/default.nix+1−1
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 done
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 homepage = https://sourceforge.net/projects/dex2jar/;
3939 description = "Tools to work with android .dex and java .class files";
4040 maintainers = with maintainers; [ makefu ];
pkgs/development/tools/java/fastjar/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, zlib }:
1+{ fetchurl, lib, stdenv, zlib }:
22
33let version = "0.98"; in
44 stdenv.mkDerivation {
@@ -25,8 +25,8 @@ let version = "0.98"; in
2525
2626 homepage = "https://savannah.nongnu.org/projects/fastjar/";
2727
28− license = stdenv.lib.licenses.gpl2Plus;
29− platforms = stdenv.lib.platforms.linux;
28+ license = lib.licenses.gpl2Plus;
29+ platforms = lib.platforms.linux;
3030 maintainers = [ ];
3131 };
3232 }
pkgs/development/tools/java/jhiccup/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip }:
1+{ lib, stdenv, fetchzip }:
22
33stdenv.mkDerivation rec {
44 pname = "jhiccup";
@@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
2929 meta = {
3030 description = "Measure JVM application stalls and GC pauses";
3131 homepage = "https://www.azul.com/jhiccup/";
32− license = stdenv.lib.licenses.cc0;
33− platforms = stdenv.lib.platforms.linux;
34− maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
32+ license = lib.licenses.cc0;
33+ platforms = lib.platforms.linux;
34+ maintainers = with lib.maintainers; [ thoughtpolice ];
3535 };
3636}
pkgs/development/tools/java/visualvm/default.nix+1−1
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 cp -r . $out
3434 '';
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 description = "A visual interface for viewing information about Java applications";
3838 longDescription = ''
3939 VisualVM is a visual tool integrating several commandline JDK
pkgs/development/tools/jbake/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, makeWrapper, jre }:
1+{ lib, stdenv, fetchzip, makeWrapper, jre }:
22
33stdenv.mkDerivation rec {
44 version = "2.6.5";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 '';
2626 doCheck = true;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Java based, open source, static site/blog generator for developers & designers";
3030 homepage = "https://jbake.org/";
3131 license = licenses.mit;
pkgs/development/tools/jbang/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 $out/bin/jbang --version 2>&1 | grep -q "${version}"
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Run java as scripts anywhere";
3131 longDescription = ''
3232 jbang uses the java language to build scripts similar to groovy scripts. Dependencies are automatically
pkgs/development/tools/jd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchgit }:
1+{ lib, stdenv, buildGoPackage, fetchgit }:
22
33buildGoPackage rec {
44 pname = "jd";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 sha256 = "0dj4k38pf80dl77jns29vx2dj265s4ksg2q2s9n240b7b8z8mn5h";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Interactive JSON Editor";
1818 license = licenses.mit;
1919 maintainers = [ maintainers.np ];
pkgs/development/tools/jid/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "jid";
@@ -18,7 +18,7 @@ buildGoPackage rec {
1818 meta = {
1919 description = "A command-line tool to incrementally drill down JSON";
2020 homepage = "https://github.com/simeji/jid";
21− license = stdenv.lib.licenses.mit;
22− maintainers = with stdenv.lib.maintainers; [ stesie ];
21+ license = lib.licenses.mit;
22+ maintainers = with lib.maintainers; [ stesie ];
2323 };
2424}
pkgs/development/tools/jira_cli/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, libffi, openssl, python3Packages }:
1+{ lib, stdenv, libffi, openssl, python3Packages }:
22let
33 inherit (python3Packages) fetchPypi buildPythonApplication vcrpy mock hiro;
44in
@@ -23,7 +23,7 @@ in
2323 jira keyrings-alt
2424 ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "A command line interface to Jira";
2828 homepage = "https://github.com/alisaifee/jira-cli";
2929 maintainers = with maintainers; [ nyarly ];
pkgs/development/tools/jl/default.nix+3−3
@@ -1,6 +1,6 @@
11{ mkDerivation, fetchFromGitHub, fetchpatch
22, aeson, aeson-pretty, attoparsec, base, bytestring, conduit, conduit-extra
3−, containers, exceptions, mtl, optparse-simple, parsec, scientific, stdenv
3+, containers, exceptions, mtl, optparse-simple, parsec, scientific, lib, stdenv
44, text, unordered-containers, vector
55}:
66mkDerivation rec {
@@ -30,8 +30,8 @@ mkDerivation rec {
3030 aeson aeson-pretty base bytestring conduit conduit-extra containers
3131 mtl optparse-simple text vector
3232 ];
33− license = stdenv.lib.licenses.bsd3;
33+ license = lib.licenses.bsd3;
3434 description = "Functional sed for JSON";
35− maintainers = with stdenv.lib.maintainers; [ fgaz ];
35+ maintainers = with lib.maintainers; [ fgaz ];
3636 homepage = "https://github.com/chrisdone/jl";
3737}
pkgs/development/tools/jmespath/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "jmespath";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 repo = "go-jmespath";
1414 sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb";
1515 };
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "A JMESPath implementation in Go";
1818 homepage = "https://github.com/jmespath/go-jmespath";
1919 maintainers = with maintainers; [ cransom ];
pkgs/development/tools/jo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkg-config}:
1+{lib, stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkg-config}:
22
33stdenv.mkDerivation rec {
44 pname = "jo";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ autoreconfHook pandoc pkg-config ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A small utility to create JSON objects";
2020 homepage = "https://github.com/jpmens/jo";
2121 license = licenses.gpl2Plus;
pkgs/development/tools/jp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "jp";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 repo = "jp";
1414 sha256 = "0fdbnihbd0kq56am3bmh2zrfk4fqjslcbm48malbgmpqw3a5nvpi";
1515 };
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "A command line interface to the JMESPath expression language for JSON";
1818 homepage = "https://github.com/jmespath/jp";
1919 maintainers = with maintainers; [ cransom ];
pkgs/development/tools/jq/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, nixosTests, fetchurl, oniguruma }:
1+{ lib, stdenv, nixosTests, fetchurl, oniguruma }:
22
33stdenv.mkDerivation rec {
44 pname = "jq";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 "--mandir=\${man}/share/man"
2222 ]
2323 # jq is linked to libjq:
24− ++ stdenv.lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
24+ ++ lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
2525
2626 doInstallCheck = true;
2727 installCheckTarget = "check";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 passthru.tests = { inherit (nixosTests) jq; };
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "A lightweight and flexible command-line JSON processor";
3737 license = licenses.mit;
3838 maintainers = with maintainers; [ raskin globin ];
pkgs/development/tools/just/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, coreutils, bash, installShellFiles }:
1+{ lib, stdenv, fetchFromGitHub, rustPlatform, coreutils, bash, installShellFiles }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "just";
@@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec {
4242 # Skip "choose" when running "cargo test", since this test case needs "fzf".
4343 checkFlags = [ "--skip=choose" "--skip=edit" ];
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "A handy way to save and run project-specific commands";
4747 homepage = "https://github.com/casey/just";
4848 license = licenses.cc0;
pkgs/development/tools/k6/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "k6";
@@ -15,7 +15,7 @@ buildGoPackage rec {
1515
1616 subPackages = [ "./" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A modern load testing tool, using Go and JavaScript";
2020 homepage = "https://k6.io/";
2121 changelog = "https://github.com/loadimpact/k6/releases/tag/v${version}";
pkgs/development/tools/kafkacat/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl }:
22
33stdenv.mkDerivation rec {
44 pname = "kafkacat";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 patchShebangs ./configure
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A generic non-JVM producer and consumer for Apache Kafka";
2525 homepage = "https://github.com/edenhill/kafkacat";
2626 license = licenses.bsd2;
pkgs/development/tools/kind/default.nix+3−3
@@ -1,6 +1,6 @@
1−{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
22
3−with stdenv.lib;
3+with lib;
44
55buildGoModule rec {
66 pname = "kind";
@@ -31,7 +31,7 @@ buildGoModule rec {
3131 description = "Kubernetes IN Docker - local clusters for testing Kubernetes";
3232 homepage = "https://github.com/kubernetes-sigs/kind";
3333 maintainers = with maintainers; [ offline rawkode ];
34− license = stdenv.lib.licenses.asl20;
34+ license = lib.licenses.asl20;
3535 platforms = platforms.unix;
3636 };
3737}
pkgs/development/tools/krew/default.nix+1−1
@@ -19,7 +19,7 @@ buildGoModule rec {
1919 description = "Package manager for kubectl plugins";
2020 homepage = "https://github.com/kubernetes-sigs/krew";
2121 maintainers = with maintainers; [ vdemeester ];
22− license = stdenv.lib.licenses.asl20;
22+ license = lib.licenses.asl20;
2323 platforms = platforms.unix;
2424 };
2525}
pkgs/development/tools/ktlint/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, jre_headless }:
1+{ lib, stdenv, fetchurl, makeWrapper, jre_headless }:
22
33stdenv.mkDerivation rec {
44 pname = "ktlint";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 wrapProgram $out/bin/ktlint --prefix PATH : "${jre_headless}/bin"
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "An anti-bikeshedding Kotlin linter with built-in formatter";
2626 homepage = "https://ktlint.github.io/";
2727 license = licenses.mit;
pkgs/development/tools/kubectx/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
22
33buildGoModule rec {
44 pname = "kubectx";
@@ -21,7 +21,7 @@ buildGoModule rec {
2121 installShellCompletion completion/*
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Fast way to switch between clusters and namespaces in kubectl!";
2626 license = licenses.asl20;
2727 homepage = "https://github.com/ahmetb/kubectx";
pkgs/development/tools/kubicorn/default.nix+5−5
@@ -1,10 +1,10 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
3−with stdenv.lib;
3+with lib;
44
55buildGoPackage rec {
66 pname = "kubicorn";
7− version = "2018-10-13-${stdenv.lib.strings.substring 0 7 rev}";
7+ version = "2018-10-13-${lib.strings.substring 0 7 rev}";
88 rev = "4c7f3623e9188fba43778271afe161a4facfb657";
99
1010 src = fetchFromGitHub {
@@ -20,7 +20,7 @@ buildGoPackage rec {
2020 meta = {
2121 description = "Simple, cloud native infrastructure for Kubernetes";
2222 homepage = "http://kubicorn.io/";
23− maintainers = with stdenv.lib.maintainers; [ offline ];
24− license = stdenv.lib.licenses.asl20;
23+ maintainers = with lib.maintainers; [ offline ];
24+ license = lib.licenses.asl20;
2525 };
2626}
pkgs/development/tools/kubie/default.nix+1−1
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
1515
1616 nativeBuildInputs = [ installShellFiles ];
1717
18− buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
18+ buildInputs = lib.optionals stdenv.isDarwin [ Security ];
1919
2020 postInstall = ''
2121 installShellCompletion completion/kubie.bash
pkgs/development/tools/kythe/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, binutils , fetchurl, ncurses5 }:
1+{ lib, stdenv, binutils , fetchurl, ncurses5 }:
22
33stdenv.mkDerivation rec {
44 version = "0.0.30";
@@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
2323 write_entries write_tables entrystream; do
2424 echo "Patching:" $exe
2525 patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $exe
26− patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ncurses5 ]}" $exe
26+ patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc ncurses5 ]}" $exe
2727 done
2828 cd ../
2929 cp -R ./ $out
3030 ln -s $out/tools $out/bin
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "A pluggable, (mostly) language-agnostic ecosystem for building tools that work with code";
3535 longDescription = ''
3636 The Kythe project was founded to provide and support tools and standards
pkgs/development/tools/lattice-diamond/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, rpmextract, patchelf, makeWrapper, file, requireFile, glib, zlib,
1+{ lib, stdenv, rpmextract, patchelf, makeWrapper, file, requireFile, glib, zlib,
22 freetype, fontconfig, xorg, libusb-compat-0_1 }:
33
44stdenv.mkDerivation {
@@ -95,7 +95,7 @@ stdenv.mkDerivation {
9595 done
9696 '';
9797
98− libPath = stdenv.lib.makeLibraryPath [
98+ libPath = lib.makeLibraryPath [
9999 glib zlib freetype fontconfig
100100 xorg.libSM xorg.libICE xorg.libXrender xorg.libXext xorg.libX11 xorg.libXt
101101 libusb-compat-0_1
@@ -109,8 +109,8 @@ stdenv.mkDerivation {
109109 next-generation replacement for ispLEVER.
110110 '';
111111 homepage = "http://www.latticesemi.com/latticediamond";
112− license = stdenv.lib.licenses.unfree;
113− maintainers = with stdenv.lib.maintainers; [ q3k ];
112+ license = lib.licenses.unfree;
113+ maintainers = with lib.maintainers; [ q3k ];
114114 platforms = [ "x86_64-linux" ];
115115 };
116116}
pkgs/development/tools/lazygit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "lazygit";
@@ -16,7 +16,7 @@ buildGoModule rec {
1616
1717 buildFlagsArray = [ "-ldflags=-X main.version=${version} -X main.buildSource=nix" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Simple terminal UI for git commands";
2121 homepage = "https://github.com/jesseduffield/lazygit";
2222 changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}";
pkgs/development/tools/leaps/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "leaps";
@@ -19,7 +19,7 @@ buildGoPackage rec {
1919 description = "A pair programming tool and library written in Golang";
2020 homepage = "https://github.com/jeffail/leaps/";
2121 license = "MIT";
22− maintainers = with stdenv.lib.maintainers; [ qknight ];
23− platforms = stdenv.lib.platforms.unix;
22+ maintainers = with lib.maintainers; [ qknight ];
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/tools/libsigrok/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libzip, glib, libusb1, libftdi1, check
1+{ lib, stdenv, fetchurl, pkg-config, libzip, glib, libusb1, libftdi1, check
22, libserialport, librevisa, doxygen, glibmm, python
33, version ? "0.5.1", sha256 ? "171b553dir5gn6w4f7n37waqk62nq2kf1jykx4ifjacdz5xdw3z4"
44}:
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 tar --strip-components=1 -xvf "${firmware}" -C "$out/share/sigrok-firmware/"
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Core library of the sigrok signal analysis software suite";
3232 homepage = "https://sigrok.org/";
3333 license = licenses.gpl3Plus;
pkgs/development/tools/libsigrokdecode/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, python3, libsigrok, check }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, python3, libsigrok, check }:
22
33stdenv.mkDerivation rec {
44 name = "libsigrokdecode-0.5.3";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkg-config ];
1212 buildInputs = [ glib python3 libsigrok check ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Protocol decoding library for the sigrok signal analysis software suite";
1616 homepage = "https://sigrok.org/";
1717 license = licenses.gpl3Plus;
pkgs/development/tools/literate-programming/Literate/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, dmd, dub }:
1+{ lib, stdenv, fetchgit, dmd, dub }:
22
33stdenv.mkDerivation {
44 pname = "Literate";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414
1515 installPhase = "install -D bin/lit $out/bin/lit";
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A literate programming tool for any language";
1919 homepage = "http://literate.zbyedidia.webfactional.com/";
2020 license = licenses.mit;
pkgs/development/tools/literate-programming/eweb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python3, asciidoc }:
1+{ lib, stdenv, fetchurl, python3, asciidoc }:
22
33stdenv.mkDerivation rec {
44 pname = "eweb";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 cp etangle.w etangle.html $out/share/doc/${pname}-${version}
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "http://eweb.sourceforge.net/";
2222 description = "An Asciidoc-based literate programming tool, written in Python";
2323 platforms = platforms.linux;
pkgs/development/tools/literate-programming/funnelweb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 install fw $out/bin/fw
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 version = "3.20";
2323 description = "A simple, reliable literate-programming macro preprocessor";
2424 homepage = "http://www.ross.net/funnelweb/";
pkgs/development/tools/literate-programming/noweb/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, gawk, groff, icon-lang ? null }:
1+{ lib, stdenv, fetchFromGitHub, gawk, groff, icon-lang ? null }:
22
33let noweb = stdenv.mkDerivation rec {
44 pname = "noweb";
@@ -13,17 +13,17 @@ let noweb = stdenv.mkDerivation rec {
1313
1414 patches = [ ./no-FAQ.patch ];
1515
16− nativeBuildInputs = [ groff ] ++ stdenv.lib.optionals (!isNull icon-lang) [ icon-lang ];
16+ nativeBuildInputs = [ groff ] ++ lib.optionals (!isNull icon-lang) [ icon-lang ];
1717
1818 preBuild = ''
1919 mkdir -p "$out/lib/noweb"
2020 cd src
2121 '';
2222
23− makeFlags = stdenv.lib.optionals (!isNull icon-lang) [
23+ makeFlags = lib.optionals (!isNull icon-lang) [
2424 "LIBSRC=icon"
2525 "ICONC=icont"
26− ] ++ stdenv.lib.optionals stdenv.isDarwin [
26+ ] ++ lib.optionals stdenv.isDarwin [
2727 "CC=clang"
2828 ];
2929
@@ -70,7 +70,7 @@ let noweb = stdenv.mkDerivation rec {
7070 tlType = "run";
7171 passthru.pkgs = [ noweb.tex ];
7272
73− meta = with stdenv.lib; {
73+ meta = with lib; {
7474 description = "A simple, extensible literate-programming tool";
7575 homepage = "https://www.cs.tufts.edu/~nr/noweb";
7676 license = licenses.bsd2;
pkgs/development/tools/literate-programming/nuweb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, tex}:
1+{lib, stdenv, fetchurl, tex}:
22
33stdenv.mkDerivation rec {
44
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 cp htdocs/index.html nuweb.w nuweb.pdf nuwebdoc.pdf README $out/share/doc/${pname}-${version}
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "A simple literate programming tool";
3232 homepage = "http://nuweb.sourceforge.net";
3333 license = licenses.free;
pkgs/development/tools/makerpm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, zlib, libarchive, openssl }:
1+{ lib, stdenv, fetchFromGitHub, zlib, libarchive, openssl }:
22
33stdenv.mkDerivation rec {
44 version = "1.0";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 sha256 = "089dkbh5705ppyi920rd0ksjc0143xmvnhm8qrx93rsgwc1ggi1y";
1919 };
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://github.com/ivan-tkatchev/makerpm/";
2323 description = "A clean, simple RPM packager reimplemented completely from scratch";
2424 license = licenses.free;
pkgs/development/tools/manul/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage {
44 name = "manul-unstable-2016-09-30";
@@ -16,7 +16,7 @@ buildGoPackage {
1616 deleteVendor = true;
1717 goDeps = ./deps.nix;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "The madness vendoring utility for Golang programs";
2121 homepage = "https://github.com/kovetskiy/manul";
2222 license = licenses.mit;
pkgs/development/tools/mdk/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, intltool, pkg-config, glib }:
1+{ lib, stdenv, fetchurl, intltool, pkg-config, glib }:
22
33stdenv.mkDerivation {
44 name = "gnu-mdk-1.3.0";
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616 meta = {
1717 description = "GNU MIX Development Kit (MDK)";
1818 homepage = "https://www.gnu.org/software/mdk/";
19− license = stdenv.lib.licenses.gpl3;
20− platforms = stdenv.lib.platforms.all;
19+ license = lib.licenses.gpl3;
20+ platforms = lib.platforms.all;
2121 };
2222}
pkgs/development/tools/minizinc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, cmake, flex, bison }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, flex, bison }:
22let
33 version = "2.4.3";
44in
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
3434 })
3535 ];
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 homepage = "https://www.minizinc.org/";
3939 description = "A medium-level constraint modelling language";
4040
pkgs/development/tools/minizinc/ide.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, qtbase, qtwebengine, qtwebkit, qmake, makeWrapper, minizinc }:
1+{ lib, stdenv, fetchFromGitHub, qtbase, qtwebengine, qtwebkit, qmake, makeWrapper, minizinc }:
22let
33 version = "2.4.3";
44in
@@ -21,10 +21,10 @@ stdenv.mkDerivation {
2121 enableParallelBuilding = true;
2222
2323 postInstall = ''
24− wrapProgram $out/bin/MiniZincIDE --prefix PATH ":" ${stdenv.lib.makeBinPath [ minizinc ]}
24+ wrapProgram $out/bin/MiniZincIDE --prefix PATH ":" ${lib.makeBinPath [ minizinc ]}
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 homepage = "https://www.minizinc.org/";
2929 description = "IDE for MiniZinc, a medium-level constraint modelling language";
3030
pkgs/development/tools/misc/abi-compliance-checker/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }:
1+{ lib, stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }:
22
33stdenv.mkDerivation rec {
44 pname = "abi-compliance-checker";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 makeFlags = [ "prefix=$(out)" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://lvc.github.io/abi-compliance-checker";
2121 description = "A tool for checking backward API/ABI compatibility of a C/C++ library";
2222 license = licenses.lgpl21;
pkgs/development/tools/misc/abi-dumper/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }:
1+{ lib, stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }:
22
33stdenv.mkDerivation rec {
44 pname = "abi-dumper";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 preBuild = "mkdir -p $out";
2424 makeFlags = [ "prefix=$(out)" ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "https://github.com/lvc/abi-dumper";
2828 description = "Dump ABI of an ELF object containing DWARF debug info";
2929 license = licenses.lgpl21;
pkgs/development/tools/misc/arcanist/default.nix+5−5
@@ -2,7 +2,7 @@
22, fetchFromGitHub
33, flex
44, php
5−, stdenv
5+, lib, stdenv
66}:
77
88# Make a custom wrapper. If `wrapProgram` is used, arcanist thinks .arc-wrapped is being
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
3131 };
3232 buildInputs = [ bison flex php ];
3333
34− postPatch = stdenv.lib.optionalString stdenv.isAarch64 ''
34+ postPatch = lib.optionalString stdenv.isAarch64 ''
3535 substituteInPlace support/xhpast/Makefile \
3636 --replace "-minline-all-stringops" ""
3737 '';
@@ -60,8 +60,8 @@ stdenv.mkDerivation {
6060 meta = {
6161 description = "Command line interface to Phabricator";
6262 homepage = "http://phabricator.org";
63− license = stdenv.lib.licenses.asl20;
64− platforms = stdenv.lib.platforms.unix;
65− maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
63+ license = lib.licenses.asl20;
64+ platforms = lib.platforms.unix;
65+ maintainers = [ lib.maintainers.thoughtpolice ];
6666 };
6767}
pkgs/development/tools/misc/argbash/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, runtimeShell, python3Packages, makeWrapper }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, runtimeShell, python3Packages, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "argbash";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 --prefix PATH : '${autoconf}/bin'
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Bash argument parsing code generator";
3535 homepage = "https://argbash.io/";
3636 license = licenses.free; # custom license. See LICENSE in source repo.
pkgs/development/tools/misc/asls/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, erlangR22
44}:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 buildInputs = [ erlangR22 ];
1616 installPhase = "install -Dm755 -t $out/bin asls";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "AssemblyScript Language Server";
2020 homepage = "https://github.com/saulecabrera/asls";
2121 license = licenses.mit;
pkgs/development/tools/misc/autobuild/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, makeWrapper, perl, openssh, rsync }:
1+{ fetchurl, lib, stdenv, makeWrapper, perl, openssh, rsync }:
22
33stdenv.mkDerivation rec {
44 name = "autobuild-5.3";
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
2929 '';
3030
3131 homepage = "https://josefsson.org/autobuild/";
32− license = stdenv.lib.licenses.gpl2Plus;
32+ license = lib.licenses.gpl2Plus;
3333 };
3434}
pkgs/development/tools/misc/autoconf-archive/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, xz }:
1+{ lib, stdenv, fetchurl, xz }:
22
33stdenv.mkDerivation rec {
44 pname = "autoconf-archive";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ xz ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Archive of autoconf m4 macros";
1616 homepage = "https://www.gnu.org/software/autoconf-archive/";
1717 license = licenses.gpl3;
pkgs/development/tools/misc/autoconf/2.13.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, m4, perl, lzma}:
1+{lib, stdenv, fetchurl, m4, perl, lzma}:
22
33stdenv.mkDerivation rec {
44 name = "autoconf-2.13";
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 can use, in the form of M4 macro calls.
3535 '';
3636
37− license = stdenv.lib.licenses.gpl2Plus;
38− platforms = stdenv.lib.platforms.unix;
37+ license = lib.licenses.gpl2Plus;
38+ platforms = lib.platforms.unix;
3939 };
4040}
pkgs/development/tools/misc/autoconf/2.64.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, perl }:
1+{ lib, stdenv, fetchurl, m4, perl }:
22
33stdenv.mkDerivation rec {
44 name = "autoconf-2.64";
@@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
4444 can use, in the form of M4 macro calls.
4545 '';
4646
47− license = stdenv.lib.licenses.gpl2Plus;
47+ license = lib.licenses.gpl2Plus;
4848
49− platforms = stdenv.lib.platforms.all;
49+ platforms = lib.platforms.all;
5050 };
5151}
pkgs/development/tools/misc/autoconf/2.69.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, perl }:
1+{ lib, stdenv, fetchurl, m4, perl }:
22
33stdenv.mkDerivation rec {
44 name = "autoconf-2.69";
@@ -45,8 +45,8 @@ stdenv.mkDerivation rec {
4545 can use, in the form of M4 macro calls.
4646 '';
4747
48− license = stdenv.lib.licenses.gpl2Plus;
48+ license = lib.licenses.gpl2Plus;
4949
50− platforms = stdenv.lib.platforms.all;
50+ platforms = lib.platforms.all;
5151 };
5252}
pkgs/development/tools/misc/autoconf/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, perl }:
1+{ lib, stdenv, fetchurl, m4, perl }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -47,8 +47,8 @@ stdenv.mkDerivation rec {
4747 can use, in the form of M4 macro calls.
4848 '';
4949
50− license = stdenv.lib.licenses.gpl3Plus;
50+ license = lib.licenses.gpl3Plus;
5151
52− platforms = stdenv.lib.platforms.all;
52+ platforms = lib.platforms.all;
5353 };
5454}
pkgs/development/tools/misc/autogen/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }:
1+{ lib, stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }:
22
33stdenv.mkDerivation rec {
44 pname = "autogen";
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434
3535 nativeBuildInputs = [
3636 which pkg-config perl autoreconfHook/*patches applied*/
37− ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
37+ ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
3838 # autogen needs a build autogen when cross-compiling
3939 buildPackages.buildPackages.autogen buildPackages.texinfo
4040 ];
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
5656 # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21
5757 "--enable-timeout=78"
5858 ]
59− ++ (stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
59+ ++ (lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
6060 "--with-libxml2=${libxml2.dev}"
6161 "--with-libxml2-cflags=-I${libxml2.dev}/include/libxml2"
6262 # the configure check for regcomp wants to run a host program
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
7676 sed -e "s|$lib/lib|/no-such-autogen-lib-path|" -i $f
7777 done
7878
79− '' + stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
79+ '' + lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
8080 # remove /build/** from RPATHs
8181 for f in "$bin"/bin/*; do
8282 local nrp="$(patchelf --print-rpath "$f" | sed -E 's@(:|^)/build/[^:]*:@\1@g')"
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
8484 done
8585 '';
8686
87− meta = with stdenv.lib; {
87+ meta = with lib; {
8888 description = "Automated text and program generation tool";
8989 license = with licenses; [ gpl3Plus lgpl3Plus ];
9090 homepage = "https://www.gnu.org/software/autogen/";
pkgs/development/tools/misc/automake/automake-1.11.x.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, autoconf }:
1+{ lib, stdenv, fetchurl, perl, autoconf }:
22
33stdenv.mkDerivation rec {
44 name = "automake-1.11.6";
@@ -42,8 +42,8 @@ stdenv.mkDerivation rec {
4242 Standards. Automake requires the use of Autoconf.
4343 '';
4444
45− license = stdenv.lib.licenses.gpl2Plus;
45+ license = lib.licenses.gpl2Plus;
4646
47− platforms = stdenv.lib.platforms.all;
47+ platforms = lib.platforms.all;
4848 };
4949}
pkgs/development/tools/misc/automake/automake-1.15.x.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, autoconf }:
1+{ lib, stdenv, fetchurl, perl, autoconf }:
22
33stdenv.mkDerivation rec {
44 name = "automake-1.15.1";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 branch = "1.15";
3333 homepage = "https://www.gnu.org/software/automake/";
3434 description = "GNU standard-compliant makefile generator";
35− license = stdenv.lib.licenses.gpl2Plus;
35+ license = lib.licenses.gpl2Plus;
3636
3737 longDescription = ''
3838 GNU Automake is a tool for automatically generating
@@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
4040 Standards. Automake requires the use of Autoconf.
4141 '';
4242
43− platforms = stdenv.lib.platforms.all;
43+ platforms = lib.platforms.all;
4444 };
4545}
pkgs/development/tools/misc/automake/automake-1.16.x.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, autoconf }:
1+{ lib, stdenv, fetchurl, perl, autoconf }:
22
33stdenv.mkDerivation rec {
44 name = "automake-1.16.3";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 branch = "1.16";
3131 homepage = "https://www.gnu.org/software/automake/";
3232 description = "GNU standard-compliant makefile generator";
33− license = stdenv.lib.licenses.gpl2Plus;
33+ license = lib.licenses.gpl2Plus;
3434
3535 longDescription = ''
3636 GNU Automake is a tool for automatically generating
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
3838 Standards. Automake requires the use of Autoconf.
3939 '';
4040
41− platforms = stdenv.lib.platforms.all;
41+ platforms = lib.platforms.all;
4242 };
4343}
pkgs/development/tools/misc/automoc4/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, qt4 }:
1+{ lib, stdenv, fetchurl, cmake, qt4 }:
22
33stdenv.mkDerivation rec {
44 pname = "automoc4";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ cmake ];
1313 buildInputs = [ qt4 ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://techbase.kde.org/Development/Tools/Automoc4";
1717 description = "KDE Meta Object Compiler";
1818 license = licenses.bsd2;
pkgs/development/tools/misc/avrdude/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, yacc, flex, libusb-compat-0_1, libelf, libftdi1, readline
1+{ lib, stdenv, fetchurl, yacc, flex, libusb-compat-0_1, libelf, libftdi1, readline
22# docSupport is a big dependency, disabled by default
33, docSupport ? false, texLive ? null, texinfo ? null, texi2html ? null
44}:
@@ -13,12 +13,12 @@ stdenv.mkDerivation rec {
1313 sha256 = "15m1w1qad3dj7r8n5ng1qqcaiyx1gyd6hnc3p2apgjllccdp77qg";
1414 };
1515
16− configureFlags = stdenv.lib.optionals docSupport "--enable-doc";
16+ configureFlags = lib.optionals docSupport "--enable-doc";
1717
1818 buildInputs = [ yacc flex libusb-compat-0_1 libelf libftdi1 readline ]
19− ++ stdenv.lib.optionals docSupport [ texLive texinfo texi2html ];
19+ ++ lib.optionals docSupport [ texLive texinfo texi2html ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Command-line tool for programming Atmel AVR microcontrollers";
2323 longDescription = ''
2424 AVRDUDE (AVR Downloader/UploaDEr) is an utility to
pkgs/development/tools/misc/awf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config
22, wrapGAppsHook }:
33
44stdenv.mkDerivation rec {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 ./autogen.sh
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "A Widget Factory";
2626 longDescription = ''
2727 A widget factory is a theme preview application for gtk2 and
pkgs/development/tools/misc/babeltrace/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, libuuid, popt, elfutils }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, libuuid, popt, elfutils }:
22
33stdenv.mkDerivation rec {
44 name = "babeltrace-1.5.8";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkg-config ];
1212 buildInputs = [ glib libuuid popt elfutils ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Command-line tool and library to read and convert LTTng tracefiles";
1616 homepage = "https://www.efficios.com/babeltrace";
1717 license = licenses.mit;
pkgs/development/tools/misc/bashdb/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, python3Packages }:
1+{ lib, stdenv, fetchurl, makeWrapper, python3Packages }:
22
33stdenv.mkDerivation rec {
44 pname = "bashdb";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 meta = {
2121 description = "Bash script debugger";
2222 homepage = "http://bashdb.sourceforge.net/";
23− license = stdenv.lib.licenses.gpl2;
24− platforms = stdenv.lib.platforms.linux;
23+ license = lib.licenses.gpl2;
24+ platforms = lib.platforms.linux;
2525 };
2626}
pkgs/development/tools/misc/bin_replace_string/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libelf, txt2man }:
1+{ lib, stdenv, fetchurl, libelf, txt2man }:
22
33stdenv.mkDerivation {
44 pname = "bin_replace_string";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414
1515 enableParallelBuilding = true;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Edit precompiled binaries";
1919 longDescription = ''
2020 bin_replace_string edits C-style strings in precompiled binaries. This is
pkgs/development/tools/misc/bossa/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, wxGTK, libX11, readline }:
1+{ lib, stdenv, fetchgit, wxGTK, libX11, readline }:
22
33let
44 # BOSSA needs a "bin2c" program to embed images.
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
3636 cp bin/bossa{c,sh,} $out/bin/
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "A flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers";
4141 longDescription = ''
4242 BOSSA is a flash programming utility for Atmel's SAM family of
pkgs/development/tools/misc/bsdbuild/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }:
1+{ lib, stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }:
22
33stdenv.mkDerivation rec {
44 pname = "bsdbuild";
@@ -62,7 +62,7 @@ EOF
6262 directory, BSDBuild will produce the required Makefiles in place).
6363 '';
6464
65− license = stdenv.lib.licenses.bsd3;
66− platforms = stdenv.lib.platforms.linux;
65+ license = lib.licenses.bsd3;
66+ platforms = lib.platforms.linux;
6767 };
6868}
pkgs/development/tools/misc/cbrowser/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, tk, makeWrapper }:
1+{ fetchurl, lib, stdenv, tk, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "cbrowser-0.8";
@@ -23,12 +23,12 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 description = "Tcl/Tk GUI front-end to cscope";
2525
26− license = stdenv.lib.licenses.gpl2Plus;
26+ license = lib.licenses.gpl2Plus;
2727
2828 homepage = "https://sourceforge.net/projects/cbrowser/";
2929
30− maintainers = with stdenv.lib.maintainers; [viric];
30+ maintainers = with lib.maintainers; [viric];
3131
32− platforms = with stdenv.lib.platforms; linux;
32+ platforms = with lib.platforms; linux;
3333 };
3434}
pkgs/development/tools/misc/cc-tool/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, boost
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 install -D udev/90-cc-debugger.rules $out/lib/udev/rules.d/90-cc-debugger.rules
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "Command line tool for the Texas Instruments CC Debugger";
3434 longDescription = ''
3535 cc-tool provides support for Texas Instruments CC Debugger
pkgs/development/tools/misc/ccache/default.nix+2−2
@@ -60,7 +60,7 @@ let ccache = stdenv.mkDerivation rec {
6060 local cname="$1"
6161 if [ -x "${unwrappedCC}/bin/$cname" ]; then
6262 makeWrapper ${ccache}/bin/ccache $out/bin/$cname \
63− --run ${stdenv.lib.escapeShellArg extraConfig} \
63+ --run ${lib.escapeShellArg extraConfig} \
6464 --add-flags ${unwrappedCC}/bin/$cname
6565 fi
6666 }
@@ -84,7 +84,7 @@ let ccache = stdenv.mkDerivation rec {
8484 };
8585 };
8686
87− meta = with stdenv.lib; {
87+ meta = with lib; {
8888 description = "Compiler cache for fast recompilation of C/C++ code";
8989 homepage = "https://ccache.dev";
9090 downloadPage = "https://ccache.dev/download.html";
pkgs/development/tools/misc/ccls/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, cmake, llvmPackages, rapidjson, runtimeShell }:
33
44stdenv.mkDerivation rec {
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 postFixup = ''
2626 # We need to tell ccls where to find the standard library headers.
2727
28− standard_library_includes="\\\"-isystem\\\", \\\"${stdenv.lib.getDev stdenv.cc.libc}/include\\\""
28+ standard_library_includes="\\\"-isystem\\\", \\\"${lib.getDev stdenv.cc.libc}/include\\\""
2929 standard_library_includes+=", \\\"-isystem\\\", \\\"${llvmPackages.libcxx}/include/c++/v1\\\""
3030 export standard_library_includes
3131
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 chmod --reference=$out/bin/$wrapped $out/bin/ccls
3838 '';
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "A c/c++ language server powered by clang";
4242 homepage = "https://github.com/MaskRay/ccls";
4343 license = licenses.asl20;
pkgs/development/tools/misc/cflow/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gettext, emacs }:
1+{ lib, stdenv, fetchurl, gettext, emacs }:
22
33stdenv.mkDerivation rec {
44 name = "cflow-1.6";
@@ -16,14 +16,14 @@ stdenv.mkDerivation rec {
1616
1717 buildInputs = [ gettext ] ++
1818 # We don't have Emacs/GTK/etc. on {Dar,Cyg}win.
19− stdenv.lib.optional
20− (! (stdenv.lib.lists.any (x: stdenv.hostPlatform.system == x)
19+ lib.optional
20+ (! (lib.lists.any (x: stdenv.hostPlatform.system == x)
2121 [ "i686-cygwin" ]))
2222 emacs;
2323
2424 doCheck = true;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Tool to analyze the control flow of C programs";
2828
2929 longDescription = ''
pkgs/development/tools/misc/cgdb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ncurses, readline, flex, texinfo }:
1+{ lib, stdenv, fetchurl, ncurses, readline, flex, texinfo }:
22
33stdenv.mkDerivation rec {
44 pname = "cgdb";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ ncurses readline flex texinfo ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "A curses interface to gdb";
1616
1717 homepage = "https://cgdb.github.io/";
pkgs/development/tools/misc/checkbashisms/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl }:
1+{ lib, stdenv, fetchurl, perl }:
22stdenv.mkDerivation rec {
33 version = "2.0.0.2";
44 pname = "checkbashisms";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 meta = {
2121 homepage = "https://sourceforge.net/projects/checkbaskisms/";
2222 description = "Check shell scripts for non-portable syntax";
23− license = stdenv.lib.licenses.gpl2;
24− platforms = stdenv.lib.platforms.unix;
23+ license = lib.licenses.gpl2;
24+ platforms = lib.platforms.unix;
2525 };
2626}
pkgs/development/tools/misc/chrpath/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "chrpath-0.16";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 sha256 = "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries";
1313 longDescription = ''
1414 chrpath changes, lists or removes the rpath or runpath setting in a
pkgs/development/tools/misc/circleci-cli/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, buildGoModule }:
1+{ lib, stdenv, fetchFromGitHub, buildGoModule }:
22
33buildGoModule rec {
44 pname = "circleci-cli";
@@ -26,7 +26,7 @@ buildGoModule rec {
2626 install -Dm644 -t $out/share/circleci-cli _data/data.yml
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 # Box blurb edited from the AUR package circleci-cli
3131 description = ''
3232 Command to enable you to reproduce the CircleCI environment locally and
pkgs/development/tools/misc/cl-launch/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22let
33 s = # Generated upstream information
44 rec {
@@ -31,8 +31,8 @@ stdenv.mkDerivation {
3131 meta = {
3232 inherit (s) version;
3333 description = ''Common Lisp launcher script'';
34− license = stdenv.lib.licenses.llgpl21 ;
35− maintainers = [stdenv.lib.maintainers.raskin];
36− platforms = stdenv.lib.platforms.unix;
34+ license = lib.licenses.llgpl21 ;
35+ maintainers = [lib.maintainers.raskin];
36+ platforms = lib.platforms.unix;
3737 };
3838}
pkgs/development/tools/misc/cli11/default.nix+2−2
@@ -1,5 +1,5 @@
11{
2− stdenv,
2+ lib, stdenv,
33 fetchFromGitHub,
44 cmake,
55 gtest,
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 sed -i '/TrueFalseTest/d' tests/CMakeLists.txt
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Command line parser for C++11";
3535 homepage = "https://github.com/CLIUtils/CLI11";
3636 platforms = platforms.unix;
pkgs/development/tools/misc/clojure-lsp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre, makeWrapper }:
1+{ lib, stdenv, fetchurl, jre, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "clojure-lsp";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 --add-flags "-jar $out/share/java/${pname}.jar"
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Language Server Protocol (LSP) for Clojure";
2626 homepage = "https://github.com/snoe/clojure-lsp";
2727 license = licenses.mit;
pkgs/development/tools/misc/coccinelle/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, python, ncurses, ocamlPackages, pkg-config }:
1+{ fetchurl, lib, stdenv, python, ncurses, ocamlPackages, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "coccinelle";
@@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
5050 '';
5151
5252 homepage = "http://coccinelle.lip6.fr/";
53− license = stdenv.lib.licenses.gpl2;
54− platforms = stdenv.lib.platforms.unix;
55− maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
53+ license = lib.licenses.gpl2;
54+ platforms = lib.platforms.unix;
55+ maintainers = [ lib.maintainers.thoughtpolice ];
5656 };
5757}
pkgs/development/tools/misc/complexity/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, autogen }:
1+{ fetchurl, lib, stdenv, autogen }:
22
33stdenv.mkDerivation rec {
44 pname = "complexity";
@@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
2222 addresses several issues not considered in that scoring scheme.
2323 '';
2424
25− license = stdenv.lib.licenses.gpl3Plus;
25+ license = lib.licenses.gpl3Plus;
2626
2727 homepage = "https://www.gnu.org/software/complexity/";
2828
29− platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
29+ platforms = lib.platforms.gnu ++ lib.platforms.linux;
3030 maintainers = [ ];
3131 };
3232}
pkgs/development/tools/misc/cppi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv }:
1+{ fetchurl, lib, stdenv }:
22
33stdenv.mkDerivation rec {
44 name = "cppi-1.18";
@@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
2323 to the level of nesting of that directive.
2424 '';
2525
26− license = stdenv.lib.licenses.gpl3Plus;
26+ license = lib.licenses.gpl3Plus;
2727
2828 maintainers = [ ];
29− platforms = stdenv.lib.platforms.all;
29+ platforms = lib.platforms.all;
3030 };
3131}
pkgs/development/tools/misc/cproto/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, flex, bison }:
1+{ lib, stdenv, fetchurl, flex, bison }:
22
33stdenv.mkDerivation rec {
44 pname = "cproto";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 [ "$("$out/bin/cproto" -V 2>&1)" = '${version}' ]
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Tool to generate C function prototypes from C source code";
3030 homepage = "https://invisible-island.net/cproto/";
3131 license = licenses.publicDomain;
pkgs/development/tools/misc/creduce/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, makeWrapper
1+{ lib, stdenv, fetchurl, cmake, makeWrapper
22, llvm, clang-unwrapped
33, flex
44, zlib
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 # On Linux, c-reduce's preferred way to reason about
2828 # the cpu architecture/topology is to use 'lscpu',
2929 # so let's make sure it knows where to find it:
30− postPatch = stdenv.lib.optionalString stdenv.isLinux ''
30+ postPatch = lib.optionalString stdenv.isLinux ''
3131 substituteInPlace creduce/creduce_utils.pm --replace \
3232 lscpu ${util-linux}/bin/lscpu
3333 '';
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 wrapProgram $out/bin/creduce --prefix PERL5LIB : "$PERL5LIB"
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "A C program reducer";
4141 homepage = "https://embed.cs.utah.edu/creduce";
4242 # Officially, the license is: https://github.com/csmith-project/creduce/blob/master/COPYING
pkgs/development/tools/misc/cscope/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, ncurses
1+{ fetchurl, lib, stdenv, ncurses
22, emacsSupport ? true, emacs
33}:
44
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
1313 configureFlags = [ "--with-ncurses=${ncurses.dev}" ];
1414
1515 buildInputs = [ ncurses ];
16− nativeBuildInputs = stdenv.lib.optional emacsSupport emacs;
16+ nativeBuildInputs = lib.optional emacsSupport emacs;
1717
18− postInstall = stdenv.lib.optionalString emacsSupport ''
18+ postInstall = lib.optionalString emacsSupport ''
1919 cd "contrib/xcscope"
2020
2121 sed -i "cscope-indexer" \
@@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
4646
4747 homepage = "http://cscope.sourceforge.net/";
4848
49− maintainers = with stdenv.lib.maintainers; [viric];
49+ maintainers = with lib.maintainers; [viric];
5050
51− platforms = stdenv.lib.platforms.unix;
51+ platforms = lib.platforms.unix;
5252 };
5353}
pkgs/development/tools/misc/csmith/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }:
1+{ lib, stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }:
22
33stdenv.mkDerivation rec {
44 pname = "csmith";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131
3232 enableParallelBuilding = true;
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "A random generator of C programs";
3636 homepage = "https://embed.cs.utah.edu/csmith";
3737 # Officially, the license is this: https://github.com/csmith-project/csmith/blob/master/COPYING
pkgs/development/tools/misc/ctags/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchsvn, autoreconfHook }:
1+{ lib, stdenv, fetchsvn, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 name = "ctags-${revision}";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 # don't use $T(E)MP which is set to the build directory
1616 configureFlags= [ "--enable-tmpdir=/tmp" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A tool for fast source code browsing (exuberant ctags)";
2020 longDescription = ''
2121 Ctags generates an index (or tag) file of language objects found
pkgs/development/tools/misc/cwebbin/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchurl, tie }:
1+{ lib, stdenv, fetchFromGitHub, fetchurl, tie }:
22
33stdenv.mkDerivation rec {
44 pname = "cwebbin";
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
4141 make -f Makefile.unix install $makeFlags
4242 '';
4343
44− meta = with stdenv.lib; {
44+ meta = with lib; {
4545 inherit (src.meta) homepage;
4646 description = "Literate Programming in C/C++";
4747 platforms = with platforms; unix;
pkgs/development/tools/misc/d-feet/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, pkg-config
33, fetchurl
44, meson
@@ -21,7 +21,7 @@ python3.pkgs.buildPythonApplication rec {
2121 format = "other";
2222
2323 src = fetchurl {
24− url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
24+ url = "mirror://gnome/sources/d-feet/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2525 sha256 = "1cgxgpj546jgpyns6z9nkm5k48lid8s36mvzj8ydkjqws2d19zqz";
2626 };
2727
@@ -68,7 +68,7 @@ python3.pkgs.buildPythonApplication rec {
6868 };
6969 };
7070
71− meta = with stdenv.lib; {
71+ meta = with lib; {
7272 description = "D-Feet is an easy to use D-Bus debugger";
7373 longDescription = ''
7474 D-Feet can be used to inspect D-Bus interfaces of running programs
pkgs/development/tools/misc/dbench/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }:
1+{ lib, stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }:
22
33stdenv.mkDerivation {
44 name = "dbench-2013-01-01";
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
3535 ln -s dbench/doc/dbench/loadfiles $out/share/loadfiles
3636 '';
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "Filesystem benchmark tool based on load patterns";
4040 homepage = "https://dbench.samba.org/";
4141 license = licenses.gpl3;
pkgs/development/tools/misc/ddd/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, motif, ncurses, libX11, libXt}:
1+{lib, stdenv, fetchurl, motif, ncurses, libX11, libXt}:
22
33stdenv.mkDerivation rec {
44 name = "ddd-3.3.12";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 meta = {
1717 homepage = "https://www.gnu.org/software/ddd";
1818 description = "Graphical front-end for command-line debuggers";
19− license = stdenv.lib.licenses.gpl2;
20− platforms = stdenv.lib.platforms.linux;
19+ license = lib.licenses.gpl2;
20+ platforms = lib.platforms.linux;
2121 };
2222}
pkgs/development/tools/misc/dejagnu/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, expect, makeWrapper }:
1+{ fetchurl, lib, stdenv, expect, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "dejagnu-1.6.2";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 --prefix PATH ":" "${expect}/bin"
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Framework for testing other programs";
3535
3636 longDescription = ''
pkgs/development/tools/misc/dfu-programmer/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libusb-compat-0_1 }:
1+{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
22let
33 version = "0.7.2";
44in
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 configureFlags = [ "--disable-libusb_1_0" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 license = licenses.gpl2;
2020 description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader";
2121 homepage = "http://dfu-programmer.sourceforge.net/";
pkgs/development/tools/misc/dfu-util/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libusb1 }:
1+{ lib, stdenv, fetchurl, pkg-config, libusb1 }:
22
33stdenv.mkDerivation rec {
44 pname = "dfu-util";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 sha256 = "0hlvc47ccf5hry13saqhc1j5cdq5jyjv4i05kj0mdh3rzj6wagd0";
1313 };
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Device firmware update (DFU) USB programmer";
1717 longDescription = ''
1818 dfu-util is a program that implements the host (PC) side of the USB
pkgs/development/tools/misc/dialog/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, ncurses
33, withLibrary ? false, libtool
44, unicodeSupport ? true
@@ -24,14 +24,14 @@ stdenv.mkDerivation rec {
2424
2525 configureFlags = [
2626 "--disable-rpath-hacks"
27− (stdenv.lib.withFeature withLibrary "libtool")
28− "--with-ncurses${stdenv.lib.optionalString unicodeSupport "w"}"
29− "--with-libtool-opts=${stdenv.lib.optionalString enableShared "-shared"}"
27+ (lib.withFeature withLibrary "libtool")
28+ "--with-ncurses${lib.optionalString unicodeSupport "w"}"
29+ "--with-libtool-opts=${lib.optionalString enableShared "-shared"}"
3030 ];
3131
32− installTargets = [ "install${stdenv.lib.optionalString withLibrary "-full"}" ];
32+ installTargets = [ "install${lib.optionalString withLibrary "-full"}" ];
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 homepage = "https://invisible-island.net/dialog/dialog.html";
3636 description = "Display dialog boxes from shell";
3737 license = licenses.lgpl21Plus;
pkgs/development/tools/misc/direvent/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33}:
44
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "0m9vi01b1km0cpknflyzsjnknbava0s1n6393b2bpjwyvb6j5613";
1212 };
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Directory event monitoring daemon";
1616 homepage = "https://www.gnu.org.ua/software/direvent/";
1717 license = licenses.gpl3Plus;
pkgs/development/tools/misc/distcc/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, popt, avahi, pkg-config, python, gtk2, runCommand
1+{ lib, stdenv, fetchFromGitHub, popt, avahi, pkg-config, python, gtk2, runCommand
22, gcc, autoconf, automake, which, procps, libiberty_static
33, runtimeShell
44, sysconfDir ? "" # set this parameter to override the default value $out/etc
@@ -76,8 +76,8 @@ let
7676 homepage = "http://distcc.org";
7777 license = "GPL";
7878
79− platforms = stdenv.lib.platforms.linux;
80− maintainers = with stdenv.lib.maintainers; [ anderspapitto ];
79+ platforms = lib.platforms.linux;
80+ maintainers = with lib.maintainers; [ anderspapitto ];
8181 };
8282 };
8383in
pkgs/development/tools/misc/distcc/masq.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, gccRaw, binutils }:
1+{ lib, stdenv, gccRaw, binutils }:
22
33stdenv.mkDerivation {
44 name = "distcc-masq-${gccRaw.name}";
@@ -39,6 +39,6 @@ stdenv.mkDerivation {
3939 '';
4040
4141 meta = {
42− platforms = stdenv.lib.platforms.linux;
42+ platforms = lib.platforms.linux;
4343 };
4444}
pkgs/development/tools/misc/doclifter/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, python}:
1+{lib, stdenv, fetchurl, python}:
22
33stdenv.mkDerivation {
44 name = "doclifter-2.19";
@@ -21,6 +21,6 @@ stdenv.mkDerivation {
2121 description = "Lift documents in nroff markups to XML-DocBook";
2222 homepage = "http://www.catb.org/esr/doclifter";
2323 license = "BSD";
24− platforms = stdenv.lib.platforms.unix;
24+ platforms = lib.platforms.unix;
2525 };
2626}
pkgs/development/tools/misc/docopts/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "docopts";
@@ -21,7 +21,7 @@ buildGoPackage rec {
2121 install -D -m 755 ./go/src/$goPackagePath/docopts.sh $out/bin/docopts.sh
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://github.com/docopt/${pname}";
2626 description = "docopt CLI tool for shell scripting";
2727 license = licenses.mit;
pkgs/development/tools/misc/drush/default.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, php73, which, makeWrapper, bash, coreutils, ncurses }:
1+{ lib, stdenv, fetchurl, php73, which, makeWrapper, bash, coreutils, ncurses }:
22
33stdenv.mkDerivation rec {
44 name = "drush-6.1.0";
55
6− meta = with stdenv.lib; {
6+ meta = with lib; {
77 description = "Command-line shell and Unix scripting interface for Drupal";
88 homepage = "https://github.com/drush-ops/drush";
99 license = licenses.gpl2;
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 mkdir -p "$out"
3333 cp -r . "$out/src"
3434 mkdir "$out/bin"
35− wrapProgram "$out/src/drush" --prefix PATH : "${stdenv.lib.makeBinPath [ which php73 bash coreutils ncurses ]}"
35+ wrapProgram "$out/src/drush" --prefix PATH : "${lib.makeBinPath [ which php73 bash coreutils ncurses ]}"
3636 ln -s "$out/src/drush" "$out/bin/drush"
3737 '';
3838}
pkgs/development/tools/misc/editorconfig-core-c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, cmake, pcre, doxygen }:
1+{ lib, stdenv, fetchgit, cmake, pcre, doxygen }:
22
33stdenv.mkDerivation rec {
44 name = "editorconfig-core-c-${meta.version}";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 # parallel: https://bugzilla.gnome.org/show_bug.cgi?id=791153
1919 enableParallelBuilding = false;
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://editorconfig.org/";
2323 description = "EditorConfig core library written in C";
2424 longDescription = ''
pkgs/development/tools/misc/eggdbus/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, dbus, dbus-glib }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, dbus, dbus-glib }:
22
33stdenv.mkDerivation rec {
44 name = "eggdbus-0.6";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkg-config ];
1212 buildInputs = [ glib dbus dbus-glib ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://hal.freedesktop.org/releases/";
1616 description = "D-Bus bindings for GObject";
1717 platforms = platforms.linux;
pkgs/development/tools/misc/elfinfo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "elfinfo";
@@ -12,7 +12,7 @@ buildGoPackage rec {
1212 sha256 = "1n8bg0rcq9fqa6rdnk6x9ngvm59hcayblkpjv9j5myn2vmm6fv8m";
1313 };
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Small utility for showing information about ELF files";
1717 homepage = "https://elfinfo.roboticoverlords.org/";
1818 license = licenses.mit;
pkgs/development/tools/misc/elfkickers/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "elfkickers";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 enableParallelBuilding = true;
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "http://www.muppetlabs.com/~breadbox/software/elfkickers.html";
1818 description = "A collection of programs that access and manipulate ELF files";
1919 platforms = platforms.linux;
pkgs/development/tools/misc/epm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, rpm}:
1+{lib, stdenv, fetchFromGitHub, rpm}:
22
33stdenv.mkDerivation rec {
44 pname = "epm";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 sed -i 's/README/README.md/' Makefile
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "The ESP Package Manager generates distribution archives for a variety of platforms";
2222 homepage = "https://www.msweet.org/projects.php?Z2";
2323 license = licenses.gpl2;
pkgs/development/tools/misc/findnewest/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "findnewest";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ autoreconfHook ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/0-wiz-0/findnewest";
1818 description = "Recursively find newest file in a hierarchy and print its timestamp";
1919 license = licenses.bsd2;
pkgs/development/tools/misc/fsatrace/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "fsatrace";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 ln -s $out/$installDir/fsatrace $out/bin/fsatrace
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 homepage = "https://github.com/jacereda/fsatrace";
2929 description = "filesystem access tracer";
3030 license = licenses.isc;
pkgs/development/tools/misc/fswatch/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44 # for xargs
@@ -20,12 +20,12 @@ stdenv.mkDerivation rec {
2020 sha256 = "11479ac436g8bwk0lfnmdms0cirv9k11pdvfrrg9jwkki1j1abkk";
2121 };
2222
23− nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
23+ nativeBuildInputs = [ autoreconfHook ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
2424 buildInputs = [ gettext libtool makeWrapper texinfo ];
2525
2626 enableParallelBuilding = true;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "A cross-platform file change monitor with multiple backends";
3030 homepage = "https://github.com/emcrisostomo/fswatch";
3131 license = licenses.gpl3Plus;
pkgs/development/tools/misc/fujprog/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -26,9 +26,9 @@ stdenv.mkDerivation rec {
2626 buildInputs = [
2727 libftdi1
2828 libusb-compat-0_1
29− ] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
29+ ] ++ lib.optionals stdenv.isDarwin [ IOKit ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "JTAG programmer for the ULX3S and ULX2S open hardware FPGA development boards";
3333 homepage = "https://github.com/kost/fujprog";
3434 license = licenses.bsd2;
pkgs/development/tools/misc/gdb/default.nix+11−11
@@ -1,4 +1,4 @@
1−{ stdenv, targetPackages
1+{ lib, stdenv, targetPackages
22
33# Build time
44, fetchurl, pkg-config, perl, texinfo, setupDebugInfoDirs, buildPackages
@@ -18,7 +18,7 @@
1818
1919let
2020 basename = "gdb";
21− targetPrefix = stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
21+ targetPrefix = lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
2222 "${stdenv.targetPlatform.config}-";
2323in
2424
@@ -40,15 +40,15 @@ stdenv.mkDerivation rec {
4040
4141 patches = [
4242 ./debug-info-from-env.patch
43− ] ++ stdenv.lib.optionals stdenv.isDarwin [
43+ ] ++ lib.optionals stdenv.isDarwin [
4444 ./darwin-target-match.patch
4545 ];
4646
4747 nativeBuildInputs = [ pkg-config texinfo perl setupDebugInfoDirs ];
4848
4949 buildInputs = [ ncurses readline gmp mpfr expat libipt zlib guile ]
50− ++ stdenv.lib.optional pythonSupport python3
51− ++ stdenv.lib.optional doCheck dejagnu;
50+ ++ lib.optional pythonSupport python3
51+ ++ lib.optional doCheck dejagnu;
5252
5353 propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
5454
@@ -57,12 +57,12 @@ stdenv.mkDerivation rec {
5757 enableParallelBuilding = true;
5858
5959 # darwin build fails with format hardening since v7.12
60− hardeningDisable = stdenv.lib.optionals stdenv.isDarwin [ "format" ];
60+ hardeningDisable = lib.optionals stdenv.isDarwin [ "format" ];
6161
6262 NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
6363
6464 # TODO(@Ericson2314): Always pass "--target" and always prefix.
65− configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target";
65+ configurePlatforms = [ "build" "host" ] ++ lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target";
6666
6767 # GDB have to be built out of tree.
6868 preConfigure = ''
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
7171 '';
7272 configureScript = "../configure";
7373
74− configureFlags = with stdenv.lib; [
74+ configureFlags = with lib; [
7575 "--enable-targets=all" "--enable-64-bit-bfd"
7676 "--disable-install-libbfd"
7777 "--disable-shared" "--enable-static"
@@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
8282 "--with-mpfr=${mpfr.dev}"
8383 "--with-expat" "--with-libexpat-prefix=${expat.dev}"
8484 "--with-auto-load-safe-path=${builtins.concatStringsSep ":" safePaths}"
85− ] ++ stdenv.lib.optional (!pythonSupport) "--without-python";
85+ ] ++ lib.optional (!pythonSupport) "--without-python";
8686
8787 postInstall =
8888 '' # Remove Info files already provided by Binutils and other packages.
@@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
9292 # TODO: Investigate & fix the test failures.
9393 doCheck = false;
9494
95− meta = with stdenv.lib; {
95+ meta = with lib; {
9696 description = "The GNU Project debugger";
9797
9898 longDescription = ''
@@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
103103
104104 homepage = "https://www.gnu.org/software/gdb/";
105105
106− license = stdenv.lib.licenses.gpl3Plus;
106+ license = lib.licenses.gpl3Plus;
107107
108108 platforms = with platforms; linux ++ cygwin ++ darwin;
109109 maintainers = with maintainers; [ pierron globin lsix ];
pkgs/development/tools/misc/gdbgui/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, buildPythonApplication
33, fetchPypi
44, gdb
@@ -41,13 +41,13 @@ buildPythonApplication rec {
4141
4242 postInstall = ''
4343 wrapProgram $out/bin/gdbgui \
44− --prefix PATH : ${stdenv.lib.makeBinPath [ gdb ]}
44+ --prefix PATH : ${lib.makeBinPath [ gdb ]}
4545 '';
4646
4747 # tests do not work without stdout/stdin
4848 doCheck = false;
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 description = "A browser-based frontend for GDB";
5252 homepage = "https://www.gdbgui.com/";
5353 license = licenses.gpl3;
pkgs/development/tools/misc/gengetopt/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, texinfo, help2man }:
1+{ fetchurl, lib, stdenv, texinfo, help2man }:
22
33stdenv.mkDerivation rec {
44 pname = "gengetopt";
@@ -37,9 +37,9 @@ stdenv.mkDerivation rec {
3737
3838 homepage = "https://www.gnu.org/software/gengetopt/";
3939
40− license = stdenv.lib.licenses.gpl3Plus;
40+ license = lib.licenses.gpl3Plus;
4141
4242 maintainers = [ ];
43− platforms = stdenv.lib.platforms.all;
43+ platforms = lib.platforms.all;
4444 };
4545}
pkgs/development/tools/misc/global/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, libtool, makeWrapper
1+{ fetchurl, lib, stdenv, libtool, makeWrapper
22, coreutils, ctags, ncurses, pythonPackages, sqlite, universal-ctags
33}:
44
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 --prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
4040 '';
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Source code tag system";
4444 longDescription = ''
4545 GNU GLOBAL is a source code tagging system that works the same way
pkgs/development/tools/misc/gnum4/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
2626 sha256 = "12lmdnbml9lfvy0khpjc42riicddaz7li8wmbnsam7zsw6al11qk";
2727 })
2828 ]
29− ++ stdenv.lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
29+ ++ lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
3030
3131 meta = {
3232 homepage = "https://www.gnu.org/software/m4/";
@@ -49,8 +49,8 @@ stdenv.mkDerivation {
4949 compiler or as a macro processor in its own right.
5050 '';
5151
52− license = stdenv.lib.licenses.gpl3Plus;
53− platforms = stdenv.lib.platforms.unix ++ stdenv.lib.platforms.windows;
52+ license = lib.licenses.gpl3Plus;
53+ platforms = lib.platforms.unix ++ lib.platforms.windows;
5454 };
5555
5656}
pkgs/development/tools/misc/gob2/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "gob2";
55 version = "2.0.20";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428";
1010 };
1111
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 description = "Preprocessor for making GObjects with inline C code";
2525 homepage = "https://www.jirka.org/gob.html";
26− license = stdenv.lib.licenses.gpl2Plus;
27− platforms = stdenv.lib.platforms.unix;
26+ license = lib.licenses.gpl2Plus;
27+ platforms = lib.platforms.unix;
2828 };
2929}
pkgs/development/tools/misc/gperf/3.0.x.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, autoreconfHook }:
1+{lib, stdenv, fetchurl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 name = "gperf-3.0.4";
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
2727 employed by gperf.
2828 '';
2929
30− license = stdenv.lib.licenses.gpl3Plus;
30+ license = lib.licenses.gpl3Plus;
3131
3232 homepage = "https://www.gnu.org/software/gperf/";
33− platforms = stdenv.lib.platforms.unix;
33+ platforms = lib.platforms.unix;
3434 };
3535}
pkgs/development/tools/misc/gperf/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "gperf-3.1";
@@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
2525 employed by gperf.
2626 '';
2727
28− license = stdenv.lib.licenses.gpl3Plus;
28+ license = lib.licenses.gpl3Plus;
2929
3030 homepage = "https://www.gnu.org/software/gperf/";
31− platforms = stdenv.lib.platforms.unix;
31+ platforms = lib.platforms.unix;
3232 };
3333}
pkgs/development/tools/misc/gpshell/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin
1+{ lib, stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin
22, makeWrapper
33}:
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 wrapProgram "$out/bin/gpshell" --prefix LD_LIBRARY_PATH : "${gppcscconnectionplugin}/lib"
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://sourceforge.net/p/globalplatform/wiki/Home/";
2323 description = "Smartcard management application";
2424 license = licenses.gpl3;
pkgs/development/tools/misc/gputils/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "gputils";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "055v83fdgqljprapf7rmh8x66mr13fj0qypj49xba5spx0ca123g";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 homepage = "https://gputils.sourceforge.io";
1414 description = "A collection of tools for the Microchip (TM) PIC microcontrollers. It includes gpasm, gplink, and gplib";
1515 license = licenses.gpl2;
pkgs/development/tools/misc/gtkdialog/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, gtk2, pkg-config }:
1+{lib, stdenv, fetchurl, gtk2, pkg-config }:
22
33stdenv.mkDerivation {
44 name = "gtkdialog-0.8.3";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 homepage = "https://code.google.com/archive/p/gtkdialog/";
1616 # community links: http://murga-linux.com/puppy/viewtopic.php?t=111923 -> https://github.com/01micko/gtkdialog
1717 description = "Small utility for fast and easy GUI building from many scripted and compiled languages";
18− license = stdenv.lib.licenses.gpl2Plus;
19− platforms = stdenv.lib.platforms.linux;
18+ license = lib.licenses.gpl2Plus;
19+ platforms = lib.platforms.linux;
2020 };
2121}
pkgs/development/tools/misc/gtkperf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gtk2, pkg-config, libintl }:
1+{ lib, stdenv, fetchurl, gtk2, pkg-config, libintl }:
22
33stdenv.mkDerivation {
44 name = "gtkperf-0.40.0";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 # https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db
1616 patches = [ ./bench.patch ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Application designed to test GTK performance";
2020 homepage = "http://gtkperf.sourceforge.net/";
2121 license = with licenses; [ gpl2 ];
pkgs/development/tools/misc/help2man/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perlPackages, gettext }:
1+{ lib, stdenv, fetchurl, perlPackages, gettext }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -27,14 +27,14 @@ stdenv.mkDerivation rec {
2727 cat > $out/bin/help2man <<EOF
2828 #! $SHELL -e
2929 export PERL5LIB=\''${PERL5LIB:+:}${perlPackages.LocaleGettext}/${perlPackages.perl.libPrefix}
30− ${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
30+ ${lib.optionalString stdenv.hostPlatform.isCygwin
3131 ''export PATH=\''${PATH:+:}${gettext}/bin''}
3232 exec -a \$0 $out/bin/.help2man-wrapped "\$@"
3333 EOF
3434 chmod +x $out/bin/help2man
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "Generate man pages from `--help' output";
3939
4040 longDescription =
pkgs/development/tools/misc/hound/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, buildGoPackage
33, fetchFromGitHub
44, makeWrapper
@@ -32,8 +32,8 @@ buildGoPackage rec {
3232 inherit (src.meta) homepage;
3333
3434 description = "Lightning fast code searching made easy";
35− license = stdenv.lib.licenses.mit;
36− maintainers = with stdenv.lib.maintainers; [ grahamc ];
37− platforms = stdenv.lib.platforms.unix;
35+ license = lib.licenses.mit;
36+ maintainers = with lib.maintainers; [ grahamc ];
37+ platforms = lib.platforms.unix;
3838 };
3939}
pkgs/development/tools/misc/hydra-cli/default.nix+1−1
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
1919 pkg-config
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A client for the Hydra CI";
2424 homepage = "https://github.com/nlewo/hydra-cli";
2525 license = with licenses; [ mit ];
pkgs/development/tools/misc/hydra/common.nix+1−1
@@ -128,7 +128,7 @@ in stdenv.mkDerivation rec {
128128
129129 passthru = { inherit perlDeps migration tests; };
130130
131− meta = with stdenv.lib; {
131+ meta = with lib; {
132132 description = "Nix-based continuous build system";
133133 license = licenses.gpl3;
134134 platforms = platforms.linux;
pkgs/development/tools/misc/icon-naming-utils/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, perlPackages, librsvg}:
1+{lib, stdenv, fetchurl, perlPackages, librsvg}:
22
33stdenv.mkDerivation rec {
44 name = "icon-naming-utils-0.8.90";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 --replace '/bin/perl' '/bin/perl -I${perlPackages.XMLSimple}/${perlPackages.perl.libPrefix}'
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "http://tango.freedesktop.org/Standard_Icon_Naming_Specification";
2222 platforms = with platforms; linux ++ darwin;
2323 license = licenses.gpl2;
pkgs/development/tools/misc/igprof/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, libunwind, cmake, pcre, gdb}:
1+{lib, stdenv, fetchFromGitHub, libunwind, cmake, pcre, gdb}:
22
33stdenv.mkDerivation rec {
44 version = "5.9.16";
@@ -34,10 +34,10 @@ stdenv.mkDerivation rec {
3434 details and see the big picture from combined workloads.
3535 '';
3636
37− license = stdenv.lib.licenses.gpl2;
37+ license = lib.licenses.gpl2;
3838
3939 homepage = "https://igprof.org/";
40− platforms = stdenv.lib.platforms.linux;
41− maintainers = with stdenv.lib.maintainers; [ ktf ];
40+ platforms = lib.platforms.linux;
41+ maintainers = with lib.maintainers; [ ktf ];
4242 };
4343}
pkgs/development/tools/misc/indent/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, texinfo }:
1+{ lib, stdenv, fetchurl, texinfo }:
22
33stdenv.mkDerivation rec {
44 name = "indent-2.2.12";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 buildInputs = [ texinfo ];
1414
15− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang
15+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
1616 "-Wno-implicit-function-declaration";
1717
1818 hardeningDisable = [ "format" ];
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
2020 meta = {
2121 homepage = "https://www.gnu.org/software/indent/";
2222 description = "A source code reformatter";
23− license = stdenv.lib.licenses.gpl3Plus;
24− maintainers = [ stdenv.lib.maintainers.mmahut ];
25− platforms = stdenv.lib.platforms.unix;
23+ license = lib.licenses.gpl3Plus;
24+ maintainers = [ lib.maintainers.mmahut ];
25+ platforms = lib.platforms.unix;
2626 };
2727}
pkgs/development/tools/misc/inotify-tools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, autoreconfHook, fetchFromGitHub, fetchpatch }:
1+{ lib, stdenv, autoreconfHook, fetchFromGitHub, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "inotify-tools";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 nativeBuildInputs = [ autoreconfHook ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://github.com/rvoicilas/inotify-tools/wiki";
2525 license = licenses.gpl2;
2626 maintainers = with maintainers; [ marcweber pSub ];
pkgs/development/tools/misc/intel-gpu-tools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libdrm, libpciaccess, cairo, xorgproto, udev
1+{ lib, stdenv, fetchurl, pkg-config, libdrm, libpciaccess, cairo, xorgproto, udev
22, libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3, kmod
33, procps, utilmacros, gtk-doc, openssl, peg, elfutils
44}:
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
3434 enableParallelBuilding = true;
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 homepage = "https://01.org/linuxgraphics/";
3838 description = "Tools for development and testing of the Intel DRM driver";
3939 license = licenses.mit;
pkgs/development/tools/misc/intltool/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, gettext, perlPackages, buildPackages }:
1+{ lib, stdenv, fetchurl, fetchpatch, gettext, perlPackages, buildPackages }:
22
33stdenv.mkDerivation rec {
44 pname = "intltool";
@@ -22,12 +22,12 @@ stdenv.mkDerivation rec {
2222 nativeBuildInputs = with perlPackages; [ perl XMLParser ];
2323 propagatedBuildInputs = [ gettext ] ++ (with perlPackages; [ perl XMLParser ]);
2424
25− postInstall = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
25+ postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
2626 for f in $out/bin/*; do
2727 substituteInPlace $f --replace "${buildPackages.perl}" "${perlPackages.perl}"
2828 done
2929 '';
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Translation helper tool";
3232 homepage = "https://launchpad.net/intltool/";
3333 license = licenses.gpl2Plus;
pkgs/development/tools/misc/iozone/default.nix+2−2
@@ -55,8 +55,8 @@ stdenv.mkDerivation rec {
5555 meta = {
5656 description = "IOzone Filesystem Benchmark";
5757 homepage = "http://www.iozone.org/";
58− license = stdenv.lib.licenses.unfreeRedistributable;
58+ license = lib.licenses.unfreeRedistributable;
5959 platforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
60− maintainers = with stdenv.lib.maintainers; [ Baughn makefu ];
60+ maintainers = with lib.maintainers; [ Baughn makefu ];
6161 };
6262}
pkgs/development/tools/misc/itm-tools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "itm-tools";
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
1919
2020 doCheck = false;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Tools for analyzing ITM traces";
2424 homepage = "https://github.com/japaric/itm-tools";
2525 license = with licenses; [ asl20 mit ];
pkgs/development/tools/misc/itstool/default.nix+2−2
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
1919 meta = {
2020 homepage = "http://itstool.org/";
2121 description = "XML to PO and back again";
22− license = stdenv.lib.licenses.gpl3Plus;
23− platforms = stdenv.lib.platforms.all;
22+ license = lib.licenses.gpl3Plus;
23+ platforms = lib.platforms.all;
2424 maintainers = [ ];
2525 };
2626}
pkgs/development/tools/misc/jscoverage/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ autoconf, fetchurl, makedepend, perl, python, stdenv, unzip, zip }:
1+{ autoconf, fetchurl, makedepend, perl, python, lib, stdenv, unzip, zip }:
22
33stdenv.mkDerivation rec {
44 name = "jscoverage-0.5.1";
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
4646 '';
4747
4848 homepage = "http://siliconforks.com/jscoverage/";
49− license = stdenv.lib.licenses.gpl2;
50− platforms = stdenv.lib.platforms.linux;
49+ license = lib.licenses.gpl2;
50+ platforms = lib.platforms.linux;
5151 };
5252}
pkgs/development/tools/misc/kconfig-frontends/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }:
1+{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }:
22
33stdenv.mkDerivation rec {
44 basename = "kconfig-frontends";
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
2121 wrapPythonPrograms
2222 '';
2323
24− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
24+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Out of Linux tree packaging of the kconfig infrastructure";
2828 longDescription = ''
2929 Configuration language and system for the Linux kernel and other
pkgs/development/tools/misc/kdbg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
1+{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
22 ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
33 qtbase, makeWrapper,
44}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://www.kdbg.org/";
2323 description = ''
2424 A graphical user interface to gdb, the GNU debugger. It provides an
pkgs/development/tools/misc/kibana/6.x.nix+3−3
@@ -1,6 +1,6 @@
11{ elk6Version
22, enableUnfree ? true
3−, stdenv
3+, lib, stdenv
44, makeWrapper
55, fetchurl
66, nodejs-10_x
@@ -8,7 +8,7 @@
88, which
99}:
1010
11−with stdenv.lib;
11+with lib;
1212let
1313 nodejs = nodejs-10_x;
1414 inherit (builtins) elemAt;
@@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
4949 mv * $out/libexec/kibana/
5050 rm -r $out/libexec/kibana/node
5151 makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
52− --prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
52+ --prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}"
5353 sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
5454 '';
5555
pkgs/development/tools/misc/kibana/7.x.nix+3−3
@@ -1,6 +1,6 @@
11{ elk7Version
22, enableUnfree ? true
3−, stdenv
3+, lib, stdenv
44, makeWrapper
55, fetchurl
66, nodejs-10_x
@@ -8,7 +8,7 @@
88, which
99}:
1010
11−with stdenv.lib;
11+with lib;
1212let
1313 nodejs = nodejs-10_x;
1414 inherit (builtins) elemAt;
@@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
4949 mv * $out/libexec/kibana/
5050 rm -r $out/libexec/kibana/node
5151 makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
52− --prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
52+ --prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}"
5353 sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
5454 '';
5555
pkgs/development/tools/misc/libtool/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, m4, perl}:
1+{lib, stdenv, fetchurl, m4, perl}:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535
3636 homepage = "https://www.gnu.org/software/libtool/";
3737
38− license = stdenv.lib.licenses.gpl2Plus;
39− platforms = stdenv.lib.platforms.unix;
38+ license = lib.licenses.gpl2Plus;
39+ platforms = lib.platforms.unix;
4040 };
4141}
pkgs/development/tools/misc/libtool/libtool2.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, perl, help2man
1+{ lib, stdenv, fetchurl, m4, perl, help2man
22}:
33
44stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 enableParallelBuilding = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "GNU Libtool, a generic library support script";
3131 longDescription = ''
3232 GNU libtool is a generic library support script. Libtool hides
pkgs/development/tools/misc/libwhich/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "libwhich";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 install -Dm755 -t $out/bin libwhich
1616 '';
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Like `which`, for dynamic libraries";
2020 homepage = "https://github.com/vtjnash/libwhich";
2121 license = licenses.mit;
pkgs/development/tools/misc/loccount/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitLab }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitLab }:
22buildGoPackage rec {
33 pname = "loccount";
44 version = "1.2";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 sha256 = "18z7ai7wy2k9yd3w65d37apfqs3h9bc2c15y7v1bydppi44zfsdk";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Re-implementation of sloccount in Go";
1818 longDescription = ''
1919 loccount is a re-implementation of David A. Wheeler's sloccount tool
pkgs/development/tools/misc/lsof/default.nix+6−6
@@ -1,6 +1,6 @@
1−{ stdenv, fetchFromGitHub, buildPackages, ncurses }:
1+{ lib, stdenv, fetchFromGitHub, buildPackages, ncurses }:
22
3−let dialect = with stdenv.lib; last (splitString "-" stdenv.hostPlatform.system); in
3+let dialect = with lib; last (splitString "-" stdenv.hostPlatform.system); in
44
55stdenv.mkDerivation rec {
66 pname = "lsof";
@@ -18,14 +18,14 @@ stdenv.mkDerivation rec {
1818
1919 patches = [ ./no-build-info.patch ];
2020
21− postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
21+ postPatch = lib.optionalString stdenv.hostPlatform.isMusl ''
2222 substituteInPlace dialects/linux/dlsof.h --replace "defined(__UCLIBC__)" 1
23− '' + stdenv.lib.optionalString stdenv.isDarwin ''
23+ '' + lib.optionalString stdenv.isDarwin ''
2424 sed -i 's|lcurses|lncurses|g' Configure
2525 '';
2626
2727 # Stop build scripts from searching global include paths
28− LSOF_INCLUDE = "${stdenv.lib.getDev stdenv.cc.libc}/include";
28+ LSOF_INCLUDE = "${lib.getDev stdenv.cc.libc}/include";
2929 configurePhase = "LINUX_CONF_CC=$CC_FOR_BUILD LSOF_CC=$CC LSOF_AR=\"$AR cr\" LSOF_RANLIB=$RANLIB ./Configure -n ${dialect}";
3030 preBuild = ''
3131 for filepath in $(find dialects/${dialect} -type f); do
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 cp lsof $out/bin
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 homepage = "https://github.com/lsof-org/lsof";
4848 description = "A tool to list open files";
4949 longDescription = ''
pkgs/development/tools/misc/ltrace/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, elfutils, libunwind }:
1+{ lib, stdenv, fetchurl, elfutils, libunwind }:
22
33stdenv.mkDerivation {
44 name = "ltrace-0.7.3";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 patches="$patches $(cat debian/patches/series | sed 's|^|debian/patches/|')"
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Library call tracer";
2525 homepage = "https://www.ltrace.org/";
2626 platforms = [ "i686-linux" "x86_64-linux" ];
pkgs/development/tools/misc/lttng-tools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
1+{ lib, stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
22
33stdenv.mkDerivation rec {
44 pname = "lttng-tools";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Tracing tools (kernel + user space) for Linux";
1717 homepage = "https://lttng.org/";
1818 license = licenses.lgpl21;
pkgs/development/tools/misc/lttng-ust/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, liburcu, python3 }:
1+{ lib, stdenv, fetchurl, liburcu, python3 }:
22
33# NOTE:
44# ./configure ...
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 propagatedBuildInputs = [ liburcu ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "LTTng Userspace Tracer libraries";
3333 homepage = "https://lttng.org/";
3434 license = licenses.lgpl21Plus;
pkgs/development/tools/misc/lttv/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, gtk2, popt, babeltrace }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, gtk2, popt, babeltrace }:
22
33stdenv.mkDerivation rec {
44 name = "lttv-1.5";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkg-config ];
1212 buildInputs = [ glib gtk2 popt babeltrace ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Graphical trace viewer for LTTng trace files";
1616 homepage = "https://lttng.org/";
1717 # liblttvtraceread (ltt/ directory) is distributed under the GNU LGPL v2.1.
pkgs/development/tools/misc/luarocks/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub
1+{lib, stdenv, fetchFromGitHub
22, curl, makeWrapper, which, unzip
33, lua
44# for 'luarocks pack'
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
6262 export LUA_PATH="src/?.lua;''${LUA_PATH:-}"
6363 '';
6464
65− meta = with stdenv.lib; {
65+ meta = with lib; {
6666 inherit version;
6767 description = ''A package manager for Lua'';
6868 license = licenses.mit ;
pkgs/development/tools/misc/macdylibbundler/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, makeWrapper, fetchFromGitHub, cctools }:
1+{ lib, stdenv, makeWrapper, fetchFromGitHub, cctools }:
22
33stdenv.mkDerivation {
44 pname = "macdylibbundler";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 --prefix PATH ":" "${cctools}/bin"
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Utility to ease bundling libraries into executables for OSX";
2525 longDescription = ''
2626 dylibbundler is a small command-line programs that aims to make bundling
pkgs/development/tools/misc/micronucleus/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 };
2020
2121 buildInputs = [ libusb-compat-0_1 ];
22− makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
22+ makeFlags = lib.optionals stdenv.isDarwin [ "CC=cc" ];
2323
2424 installPhase = ''
2525 mkdir -p $out/bin
pkgs/development/tools/misc/msitools/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, intltool, glib, pkg-config, libgsf, libuuid, gcab, bzip2, gnome3 }:
1+{ lib, stdenv, fetchurl, intltool, glib, pkg-config, libgsf, libuuid, gcab, bzip2, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "msitools";
55 version = "0.98";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "19wb3n3nwkpc6bjr0q3f1znaxsfaqgjbdxxnbx8ic8bb5b49hwac";
1010 };
1111
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 };
1919 };
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Set of programs to inspect and build Windows Installer (.MSI) files";
2323 homepage = "https://wiki.gnome.org/msitools";
2424 license = [ licenses.gpl2 licenses.lgpl21 ];
pkgs/development/tools/misc/nimlsp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, srcOnly, nim }:
1+{ lib, stdenv, fetchFromGitHub, srcOnly, nim }:
22let
33 astpatternmatching = fetchFromGitHub {
44 owner = "krux02";
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 install -Dt $out/bin src/nimlsp
3939 '';
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 description = "Language Server Protocol implementation for Nim";
4343 homepage = "https://github.com/PMunch/nimlsp";
4444 license = licenses.mit;
pkgs/development/tools/misc/ninka/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, perl, perlPackages }:
1+{ lib, stdenv, fetchFromGitHub, perl, perlPackages }:
22
33assert stdenv ? glibc;
44
@@ -26,7 +26,7 @@ perlPackages.buildPerlPackage {
2626 perl Makefile.PL
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "A sentence based license detector";
3131 homepage = "http://ninka.turingmachine.org/";
3232 license = licenses.gpl2;
pkgs/development/tools/misc/nrfutil/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, python37Packages, fetchFromGitHub }:
1+{ lib, stdenv, python37Packages, fetchFromGitHub }:
22
33with python37Packages; buildPythonApplication rec {
44 pname = "nrfutil";
@@ -20,7 +20,7 @@ with python37Packages; buildPythonApplication rec {
2020 mkdir test-reports
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Device Firmware Update tool for nRF chips";
2525 homepage = "https://github.com/NordicSemiconductor/pc-nrfutil";
2626 license = licenses.unfreeRedistributable;
pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 preConfigure = "echo ${version} > .tarball-version";
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Freescale/NXP I.MX chip image deploy tools";
3030 longDescription = ''
3131 UUU (Universal Update Utility) is a command line tool, evolved out of
pkgs/development/tools/misc/objconv/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 pname = "objconv";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 mv objconv-instructions.pdf $out/doc/objconv
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "Object and executable file converter, modifier and disassembler";
3434 homepage = "https://www.agner.org/optimize/";
3535 license = licenses.gpl2;
pkgs/development/tools/misc/opengrok/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre, ctags, makeWrapper, coreutils, git, runtimeShell }:
1+{ lib, stdenv, fetchurl, jre, ctags, makeWrapper, coreutils, git, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 pname = "opengrok";
@@ -18,12 +18,12 @@ stdenv.mkDerivation rec {
1818 substituteInPlace $out/bin/OpenGrok --replace "/bin/uname" "${coreutils}/bin/uname"
1919 substituteInPlace $out/bin/Messages --replace "#!/bin/ksh" "#!${runtimeShell}"
2020 wrapProgram $out/bin/OpenGrok \
21− --prefix PATH : "${stdenv.lib.makeBinPath [ ctags git ]}" \
21+ --prefix PATH : "${lib.makeBinPath [ ctags git ]}" \
2222 --set JAVA_HOME "${jre}" \
2323 --set OPENGROK_TOMCAT_BASE "/var/tomcat"
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Source code search and cross reference engine";
2828 homepage = "https://opengrok.github.io/OpenGrok/";
2929 license = licenses.cddl;
pkgs/development/tools/misc/pahole/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, cmake, elfutils, zlib }:
1+{ lib, stdenv, fetchgit, cmake, elfutils, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "pahole";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 # Put libraries in "lib" subdirectory, not top level of $out
1616 cmakeFlags = [ "-D__LIB=lib" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://git.kernel.org/cgit/devel/pahole/pahole.git/";
2020 description = "Pahole and other DWARF utils";
2121 license = licenses.gpl2;
pkgs/development/tools/misc/patchelf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 # fails 8 out of 24 tests, problems when loading libc.so.6
2020 doCheck = stdenv.name == "stdenv-linux";
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://github.com/NixOS/patchelf/blob/master/README";
2424 license = licenses.gpl3;
2525 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
pkgs/development/tools/misc/patchelf/unstable.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
1+{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 name = "patchelf-${version}";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 # Drop test that fails on musl (?)
15− postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
15+ postPatch = lib.optionalString stdenv.hostPlatform.isMusl ''
1616 substituteInPlace tests/Makefile.am \
1717 --replace "set-rpath-library.sh" ""
1818 '';
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424
2525 doCheck = !stdenv.isDarwin;
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 homepage = "https://github.com/NixOS/patchelf/blob/master/README";
2929 license = licenses.gpl3;
3030 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
pkgs/development/tools/misc/perfect-hash/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, python3, fetchFromGitHub }:
1+{ lib, stdenv, python3, fetchFromGitHub }:
22python3.pkgs.buildPythonApplication rec {
33 pname = "perfect-hash";
44 version = "0.4.1";
@@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
1818 cp -r examples $out/share/doc/perfect-hash
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Minimal perfect hash function generator";
2323 longDescription = ''
2424 Generate a minimal perfect hash function for a given set of keys.
pkgs/development/tools/misc/pkg-config/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, libiconv, vanilla ? false }:
1+{ lib, stdenv, fetchurl, libiconv, vanilla ? false }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "pkg-config";
pkgs/development/tools/misc/pkgconf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, removeReferencesTo }:
1+{ lib, stdenv, fetchurl, removeReferencesTo }:
22
33stdenv.mkDerivation rec {
44 pname = "pkgconf";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 mv ${placeholder "dev"}/share ${placeholder "out"}
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "Package compiler and linker metadata toolkit";
4141 homepage = "https://git.dereferenced.org/pkgconf/pkgconf";
4242 platforms = platforms.all;
pkgs/development/tools/misc/pmccabe/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "pmccabe";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 doCheck = true;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "McCabe-style function complexity and line counting for C and C++";
3030 homepage = "https://people.debian.org/~bame/pmccabe/";
3131 license = licenses.gpl2Plus;
pkgs/development/tools/misc/prelink/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libelf }:
1+{ lib, stdenv, fetchurl, libelf }:
22
33let
44 version = "20130503";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 inherit version;
99
1010 buildInputs = [
11− libelf stdenv.cc.libc (stdenv.lib.getOutput "static" stdenv.cc.libc)
11+ libelf stdenv.cc.libc (lib.getOutput "static" stdenv.cc.libc)
1212 ];
1313
1414 src = fetchurl {
@@ -20,6 +20,6 @@ stdenv.mkDerivation {
2020 homepage = "https://people.redhat.com/jakub/prelink/";
2121 license = "GPL";
2222 description = "ELF prelinking utility to speed up dynamic linking";
23− platforms = stdenv.lib.platforms.linux;
23+ platforms = lib.platforms.linux;
2424 };
2525}
pkgs/development/tools/misc/premake/3.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip}:
1+{lib, stdenv, fetchurl, unzip}:
22
33let baseName = "premake";
44 version = "3.7";
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
2424 meta = {
2525 homepage = "http://industriousone.com/premake";
2626 description = "A simple build configuration and project generation tool using lua";
27− license = stdenv.lib.licenses.bsd3;
28− platforms = stdenv.lib.platforms.unix;
27+ license = lib.licenses.bsd3;
28+ platforms = lib.platforms.unix;
2929 };
3030}
pkgs/development/tools/misc/premake/5.nix+3−3
@@ -1,6 +1,6 @@
1−{ stdenv, fetchFromGitHub, Foundation, readline }:
1+{ lib, stdenv, fetchFromGitHub, Foundation, readline }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "premake5";
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 meta = {
3838 homepage = "https://premake.github.io";
3939 description = "A simple build configuration and project generation tool using lua";
40− license = stdenv.lib.licenses.bsd3;
40+ license = lib.licenses.bsd3;
4141 platforms = platforms.darwin ++ platforms.linux;
4242 };
4343}
pkgs/development/tools/misc/premake/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33let baseName = "premake";
44 version = "4.3";
@@ -25,10 +25,10 @@ stdenv.mkDerivation {
2525 premake_cmd = "premake4";
2626 setupHook = ./setup-hook.sh;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "http://industriousone.com/premake";
3030 description = "A simple build configuration and project generation tool using lua";
31− license = stdenv.lib.licenses.bsd3;
31+ license = lib.licenses.bsd3;
3232 platforms = platforms.unix;
3333 maintainers = [ maintainers.bjornfor ];
3434 };
pkgs/development/tools/misc/ptags/default.nix+1−1
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
2323 $releaseDir/ptags --help > /dev/null
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "A parallel universal-ctags wrapper for git repository";
2828 homepage = "https://github.com/dalance/ptags";
2929 maintainers = with maintainers; [ pamplemousse ];
pkgs/development/tools/misc/pwndbg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, python3
33, fetchFromGitHub
44, makeWrapper
@@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
4242 --set NIX_PYTHONPATH ${pythonPath}
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "Exploit Development and Reverse Engineering with GDB Made Easy";
4747 homepage = "https://github.com/pwndbg/pwndbg";
4848 license = licenses.mit;
pkgs/development/tools/misc/remarkable/remarkable-toolchain/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libarchive, python, file, which }:
1+{ lib, stdenv, fetchurl, libarchive, python, file, which }:
22
33stdenv.mkDerivation rec {
44 pname = "remarkable-toolchain";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 ENVCLEANED=1 $src -y -d $out
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "A toolchain for cross-compiling to reMarkable tablets";
3030 homepage = "https://remarkable.engineering/";
3131 license = licenses.gpl2;
pkgs/development/tools/misc/remarkable/remarkable2-toolchain/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libarchive, python3, file }:
1+{ lib, stdenv, fetchurl, libarchive, python3, file }:
22
33stdenv.mkDerivation rec {
44 pname = "remarkable2-toolchain";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 ./install-toolchain.sh -D -y -d $out
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "A toolchain for cross-compiling to reMarkable 2 tablets";
3434 homepage = "https://remarkable.engineering/";
3535 license = licenses.gpl2Plus;
pkgs/development/tools/misc/rman/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "rman-3.2";
@@ -27,6 +27,6 @@ stdenv.mkDerivation {
2727 meta = {
2828 description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats";
2929 license = "artistic";
30− platforms = stdenv.lib.platforms.linux;
30+ platforms = lib.platforms.linux;
3131 };
3232}
pkgs/development/tools/misc/rolespec/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, makeWrapper }:
1+{ lib, stdenv, fetchFromGitHub, makeWrapper }:
22
33stdenv.mkDerivation rec {
44
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 dontPatchELF = true;
3333 dontStrip = true;
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 homepage = "https://github.com/nickjj/rolespec";
3737 description = "A test library for testing Ansible roles";
3838 longDescription = ''
pkgs/development/tools/misc/saleae-logic/default.nix+3−3
@@ -6,7 +6,7 @@
66#
77# In NixOS, simply add this package to services.udev.packages.
88
9−{ stdenv, fetchurl, unzip, glib, libSM, libICE, gtk2, libXext, libXft
9+{ lib, stdenv, fetchurl, unzip, glib, libSM, libICE, gtk2, libXext, libXft
1010, fontconfig, libXrender, libXfixes, libX11, libXi, libXrandr, libXcursor
1111, freetype, libXinerama, libxcb, zlib, pciutils
1212, makeDesktopItem, xkeyboardconfig, dbus, runtimeShell, libGL
@@ -14,7 +14,7 @@
1414
1515let
1616
17− libPath = stdenv.lib.makeLibraryPath [
17+ libPath = lib.makeLibraryPath [
1818 glib libSM libICE gtk2 libXext libXft fontconfig libXrender libXfixes libX11
1919 libXi libXrandr libXcursor freetype libXinerama libxcb zlib stdenv.cc.cc.lib
2020 dbus libGL
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
8787 cp Drivers/99-SaleaeLogic.rules "$out/etc/udev/rules.d/"
8888 '';
8989
90− meta = with stdenv.lib; {
90+ meta = with lib; {
9191 description = "Software for Saleae logic analyzers";
9292 homepage = "https://www.saleae.com/";
9393 license = licenses.unfree;
pkgs/development/tools/misc/scc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoModule, fetchFromGitHub }:
1+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
44 pname = "scc";
@@ -16,7 +16,7 @@ buildGoModule rec {
1616 # scc has a scripts/ sub-package that's for testing.
1717 excludedPackages = [ "scripts" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://github.com/boyter/scc";
2121 description = "A very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go";
2222 maintainers = with maintainers; [ sigma Br1ght0ne ];
pkgs/development/tools/misc/sipp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ncurses, libpcap }:
1+{lib, stdenv, fetchurl, ncurses, libpcap }:
22
33stdenv.mkDerivation rec {
44 version = "3.6.0";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 buildInputs = [ncurses libpcap];
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "http://sipp.sf.net";
3030 description = "The SIPp testing tool";
3131 license = licenses.gpl3;
pkgs/development/tools/misc/sloccount/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, perl, makeWrapper }:
1+{ fetchurl, lib, stdenv, perl, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "sloccount-2.26";
@@ -62,11 +62,11 @@ stdenv.mkDerivation rec {
6262 the Perl CPAN library using this tool suite.
6363 '';
6464
65− license = stdenv.lib.licenses.gpl2Plus;
65+ license = lib.licenses.gpl2Plus;
6666
6767 homepage = "https://www.dwheeler.com/sloccount/";
6868
6969 maintainers = [ ];
70− platforms = stdenv.lib.platforms.all;
70+ platforms = lib.platforms.all;
7171 };
7272}
pkgs/development/tools/misc/srecord/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, libtool, groff, ghostscript, libgcrypt ? null }:
1+{ lib, stdenv, fetchurl, boost, libtool, groff, ghostscript, libgcrypt ? null }:
22
33stdenv.mkDerivation rec {
44 name = "srecord-1.64";
@@ -10,13 +10,13 @@ stdenv.mkDerivation rec {
1010
1111 buildInputs = [ boost libtool groff ghostscript libgcrypt ];
1212
13− configureFlags = stdenv.lib.optional (libgcrypt == null) "--without-gcrypt";
13+ configureFlags = lib.optional (libgcrypt == null) "--without-gcrypt";
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Collection of powerful tools for manipulating EPROM load files";
1717 homepage = "http://srecord.sourceforge.net/";
1818 license = licenses.gpl3Plus;
1919 maintainers = [ maintainers.bjornfor ];
20− platforms = stdenv.lib.platforms.unix;
20+ platforms = lib.platforms.unix;
2121 };
2222}
pkgs/development/tools/misc/stlink/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libusb1 }:
1+{ lib, stdenv, fetchFromGitHub, cmake, libusb1 }:
22
33let
44 # The Darwin build of stlink explicitly refers to static libusb.
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
2929 mkdir -p $out/etc/modprobe.d
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "In-circuit debug and programming for ST-Link devices";
3434 license = licenses.bsd3;
3535 platforms = platforms.unix;
pkgs/development/tools/misc/stm32cubemx/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, requireFile, makeDesktopItem, libicns, imagemagick, jre, fetchzip }:
1+{ lib, stdenv, requireFile, makeDesktopItem, libicns, imagemagick, jre, fetchzip }:
22
33let
44 version = "6.0.1";
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
4949 ln -s ${desktopItem}/share/applications/* $out/share/applications
5050 '';
5151
52− meta = with stdenv.lib; {
52+ meta = with lib; {
5353 description = "A graphical tool for configuring STM32 microcontrollers and microprocessors";
5454 longDescription = ''
5555 A graphical tool that allows a very easy configuration of STM32
pkgs/development/tools/misc/stm32flash/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "stm32flash-0.5";
@@ -16,10 +16,10 @@ stdenv.mkDerivation rec {
1616 cp stm32flash $out/bin/
1717 '';
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Open source flash program for the STM32 ARM processors using the ST bootloader";
2121 homepage = "https://sourceforge.net/projects/stm32flash/";
22− license = stdenv.lib.licenses.gpl2;
22+ license = lib.licenses.gpl2;
2323 platforms = platforms.all; # Should work on all platforms
2424 maintainers = with maintainers; [ elitak ];
2525 };
pkgs/development/tools/misc/strace/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, libunwind, buildPackages }:
1+{ lib, stdenv, fetchurl, perl, libunwind, buildPackages }:
22
33stdenv.mkDerivation rec {
44 pname = "strace";
@@ -12,13 +12,13 @@ stdenv.mkDerivation rec {
1212 depsBuildBuild = [ buildPackages.stdenv.cc ];
1313 nativeBuildInputs = [ perl ];
1414
15− buildInputs = [ perl.out ] ++ stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
15+ buildInputs = [ perl.out ] ++ lib.optional libunwind.supportsHost libunwind; # support -k
1616
1717 postPatch = "patchShebangs --host strace-graph";
1818
1919 configureFlags = [ "--enable-mpers=check" ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://strace.io/";
2323 description = "A system call tracer for Linux";
2424 license = with licenses; [ lgpl21Plus gpl2Plus ]; # gpl2Plus is for the test suite
pkgs/development/tools/misc/swig/2.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
22
33stdenv.mkDerivation rec {
44 pname = "swig";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 ./autogen.sh
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
3030 homepage = "http://swig.org/";
3131 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
pkgs/development/tools/misc/swig/3.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
22
33stdenv.mkDerivation rec {
44 pname = "swig";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 ./autogen.sh
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "An interface compiler that connects C/C++ code to higher-level languages";
3131 homepage = "http://swig.org/";
3232 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
pkgs/development/tools/misc/swig/4.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
22
33stdenv.mkDerivation rec {
44 pname = "swig";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 ./autogen.sh
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
3131 homepage = "http://swig.org/";
3232 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
pkgs/development/tools/misc/swig/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, tcl }:
1+{ lib, stdenv, fetchurl, boost, tcl }:
22
33stdenv.mkDerivation rec {
44 pname = "swig";
@@ -11,12 +11,12 @@ stdenv.mkDerivation rec {
1111
1212 doCheck = !stdenv.isCygwin;
1313 # 'make check' uses boost and tcl
14− buildInputs = stdenv.lib.optionals doCheck [ boost tcl ];
14+ buildInputs = lib.optionals doCheck [ boost tcl ];
1515
1616 configureFlags = [ "--disable-ccache" ];
1717
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
2121 homepage = "http://swig.org/";
2222 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
pkgs/development/tools/misc/sysbench/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
22, libmysqlclient, libaio
33}:
44
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 description = "Modular, cross-platform and multi-threaded benchmark tool";
2323 homepage = "https://github.com/akopytov/sysbench";
24− license = stdenv.lib.licenses.gpl2;
25− platforms = stdenv.lib.platforms.linux;
24+ license = lib.licenses.gpl2;
25+ platforms = lib.platforms.linux;
2626 };
2727}
pkgs/development/tools/misc/tcptrack/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ncurses, libpcap }:
1+{ lib, stdenv, fetchFromGitHub, ncurses, libpcap }:
22
33stdenv.mkDerivation rec {
44 pname = "tcptrack";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 inherit (src.meta) homepage;
2020 description = "libpcap based program for live TCP connection monitoring";
2121 license = licenses.lgpl21;
pkgs/development/tools/misc/teensy-loader-cli/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, go-md2man, installShellFiles, libusb-compat-0_1 }:
1+{ lib, stdenv, fetchFromGitHub, go-md2man, installShellFiles, libusb-compat-0_1 }:
22
33stdenv.mkDerivation rec {
44 pname = "teensy-loader-cli";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 installManPage *.1
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Firmware uploader for the Teensy microcontroller boards";
2727 homepage = "https://www.pjrc.com/teensy/";
2828 license = licenses.gpl3;
pkgs/development/tools/misc/tet/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv }:
1+{ fetchurl, lib, stdenv }:
22
33stdenv.mkDerivation ({
44 version = "3.8";
@@ -22,8 +22,8 @@ stdenv.mkDerivation ({
2222 meta = {
2323 description = "The Test Environment Toolkit is used in test applications like The Open Group's UNIX Certification program and the Free Standards Group's LSB Certification program";
2424 homepage = "http://tetworks.opengroup.org/Products/tet.htm";
25− license = stdenv.lib.licenses.artistic1;
26− platforms = stdenv.lib.platforms.unix;
25+ license = lib.licenses.artistic1;
26+ platforms = lib.platforms.unix;
2727 maintainers = [ ];
2828 };
2929})
pkgs/development/tools/misc/texi2html/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, gettext, buildPackages }:
1+{ lib, stdenv, fetchurl, perl, gettext, buildPackages }:
22
33stdenv.mkDerivation rec {
44 pname = "texi2html";
@@ -18,13 +18,13 @@ stdenv.mkDerivation rec {
1818 patchShebangs separated_to_hash.pl
1919 '';
2020
21− postInstall = stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
21+ postInstall = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
2222 for f in $out/bin/*; do
2323 substituteInPlace $f --replace "${buildPackages.perl}" "${perl}"
2424 done
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "Perl script which converts Texinfo source files to HTML output";
2929 homepage = "https://www.nongnu.org/texi2html/";
3030 license = licenses.gpl2;
pkgs/development/tools/misc/texinfo/common.nix+3−3
@@ -1,6 +1,6 @@
11{ version, sha256 }:
22
3−{ stdenv, buildPackages, fetchurl, perl, xz, gettext
3+{ lib, stdenv, buildPackages, fetchurl, perl, xz, gettext
44
55# we are a dependency of gcc, this simplifies bootstraping
66, interactive ? false, ncurses, procps
@@ -15,7 +15,7 @@ let
1515 crossBuildTools = stdenv.hostPlatform != stdenv.buildPlatform;
1616in
1717
18−with stdenv.lib;
18+with lib;
1919
2020stdenv.mkDerivation {
2121 name = "texinfo-${optionalString interactive "interactive-"}${version}";
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
4343 ++ optional interactive ncurses;
4444
4545 configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
46− ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
46+ ++ lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
4747
4848 installFlags = [ "TEXMF=$(out)/texmf-dist" ];
4949 installTargets = [ "install" "install-tex" ];
pkgs/development/tools/misc/tie/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "tie";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 cp tie $out/bin
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://www.ctan.org/tex-archive/web/tie";
2323 description = "Allow multiple web change files";
2424 platforms = with platforms; unix;
pkgs/development/tools/misc/tokei/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }:
1+{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "tokei";
@@ -13,14 +13,14 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "sha256-iUDc54E8AiLMJw9h99kg/3VmaSi8GqfQyrPwa9nJ994=";
1515
16− buildInputs = stdenv.lib.optionals stdenv.isDarwin [
16+ buildInputs = lib.optionals stdenv.isDarwin [
1717 libiconv darwin.apple_sdk.frameworks.Security
1818 ];
1919
2020 # enable all output formats
2121 cargoBuildFlags = [ "--features" "all" ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A program that allows you to count your code, quickly";
2525 longDescription = ''
2626 Tokei is a program that displays statistics about your code. Tokei will show number of files, total lines within those files and code, comments, and blanks grouped by language.
pkgs/development/tools/misc/uisp/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "uisp-20050207";
@@ -12,8 +12,8 @@ stdenv.mkDerivation {
1212
1313 meta = {
1414 description = "Tool for AVR microcontrollers which can interface to many hardware in-system programmers";
15− license = stdenv.lib.licenses.gpl2;
15+ license = lib.licenses.gpl2;
1616 homepage = "https://savannah.nongnu.org/projects/uisp";
17− platforms = stdenv.lib.platforms.linux;
17+ platforms = lib.platforms.linux;
1818 };
1919}
pkgs/development/tools/misc/uncrustify/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, python }:
1+{ lib, stdenv, fetchFromGitHub, cmake, python }:
22
33stdenv.mkDerivation rec {
44 name = "${product}-${version}";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 nativeBuildInputs = [ cmake python ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA";
1919 homepage = "http://uncrustify.sourceforge.net/";
2020 license = licenses.gpl2Plus;
pkgs/development/tools/misc/unifdef/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv }:
1+{ fetchurl, lib, stdenv }:
22
33stdenv.mkDerivation rec {
44 name = "unifdef-2.6";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 export DESTDIR=$out
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "http://dotat.at/prog/unifdef/";
2626 description = "Selectively remove C preprocessor conditionals";
2727 license = licenses.bsd2;
pkgs/development/tools/misc/universal-ctags/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, perl, pythonPackages, libiconv, jansson }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, perl, pythonPackages, libiconv, jansson }:
22
33stdenv.mkDerivation {
44 pname = "universal-ctags";
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
1212 };
1313
1414 nativeBuildInputs = [ autoreconfHook pkg-config pythonPackages.docutils ];
15− buildInputs = [ jansson ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
15+ buildInputs = [ jansson ] ++ lib.optional stdenv.isDarwin libiconv;
1616
1717 # to generate makefile.in
1818 autoreconfPhase = ''
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
3535
3636 checkFlags = [ "units" ];
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "A maintained ctags implementation";
4040 homepage = "https://ctags.io/";
4141 license = licenses.gpl2Plus;
pkgs/development/tools/misc/unused/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, cmake }:
1+{ lib, stdenv, fetchFromGitHub, rustPlatform, cmake }:
22rustPlatform.buildRustPackage rec {
33 pname = "unused";
44 version = "0.2.1";
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
1414
1515 cargoSha256 = "1c0gj2wp0nydv0binxj3ikm5sm6y5z3pklp5b06dgvq02licz57a";
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A tool to identify potentially unused code";
1919 homepage = "https://unused.codes";
2020 license = licenses.mit;
pkgs/development/tools/misc/usb-modeswitch/data.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, tcl, usb-modeswitch }:
1+{ lib, stdenv, fetchurl, tcl, usb-modeswitch }:
22
33stdenv.mkDerivation rec {
44 pname = "usb-modeswitch-data";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 # the usb_modeswitch.d directory
2323 nativeBuildInputs = [ tcl ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Device database and the rules file for 'multi-mode' USB devices";
2727 inherit (usb-modeswitch.meta) license maintainers platforms;
2828 };
pkgs/development/tools/misc/usb-modeswitch/default.nix+1−1
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 buildInputs = [ libusb1 tcl ];
3838 nativeBuildInputs = [ pkg-config makeWrapper ];
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "A mode switching tool for controlling 'multi-mode' USB devices";
4242 license = licenses.gpl2;
4343 maintainers = with maintainers; [ marcweber peterhoeg ];
pkgs/development/tools/misc/vtable-dumper/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libelf }:
1+{ lib, stdenv, fetchFromGitHub, libelf }:
22
33stdenv.mkDerivation rec {
44 pname = "vtable-dumper";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 buildInputs = [ libelf ];
1515 makeFlags = [ "prefix=$(out)" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://github.com/lvc/vtable-dumper";
1919 description = "A tool to list content of virtual tables in a C++ shared library";
2020 license = licenses.lgpl21;
pkgs/development/tools/misc/watson-ruby/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
1+{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
22
33stdenv.mkDerivation rec {
44 pname = "watson-ruby";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 passthru.updateScript = bundlerUpdateScript "watson-ruby";
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "An inline issue manager";
2525 homepage = "https://goosecode.com/watson/";
2626 license = with licenses; mit;
pkgs/development/tools/misc/whatstyle/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, python3, fetchFromGitHub, clang-unwrapped }:
1+{ lib, stdenv, python3, fetchFromGitHub, clang-unwrapped }:
22
33python3.pkgs.buildPythonApplication rec {
44 pname = "whatstyle";
@@ -20,7 +20,7 @@ python3.pkgs.buildPythonApplication rec {
2020
2121 doCheck = false; # 3 or 4 failures depending on version, haven't investigated.
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Find a code format style that fits given source files";
2525 homepage = "https://github.com/mikr/whatstyle";
2626 license = licenses.mit;
pkgs/development/tools/misc/xc3sprog/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchsvn, cmake, libusb-compat-0_1, libftdi }:
1+{ lib, stdenv, fetchsvn, cmake, libusb-compat-0_1, libftdi }:
22
33# The xc3sprog project doesn't seem to make proper releases, they only put out
44# prebuilt binary subversion snapshots on sourceforge.
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 nativeBuildInputs = [ cmake ];
1717 buildInputs = [ libusb-compat-0_1 libftdi ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Command-line tools for programming FPGAs, microcontrollers and PROMs via JTAG";
2121 homepage = "http://xc3sprog.sourceforge.net/";
2222 license = licenses.gpl2Plus;
pkgs/development/tools/misc/ycmd/default.nix+3−3
@@ -19,9 +19,9 @@ stdenv.mkDerivation {
1919 };
2020
2121 nativeBuildInputs = [ cmake ]
22− ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
22+ ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
2323 buildInputs = [ boost llvmPackages.libclang ]
24− ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin Cocoa;
24+ ++ lib.optional stdenv.hostPlatform.isDarwin Cocoa;
2525
2626 buildPhase = ''
2727 export EXTRA_CMAKE_ARGS=-DPATH_TO_LLVM_ROOT=${llvmPackages.clang-unwrapped}
@@ -90,7 +90,7 @@ stdenv.mkDerivation {
9090 "'$out/lib/ycmd/ycmd/__main__.py'"
9191 '';
9292
93− meta = with stdenv.lib; {
93+ meta = with lib; {
9494 description = "A code-completion and comprehension server";
9595 homepage = "https://github.com/Valloric/ycmd";
9696 license = licenses.gpl3;
pkgs/development/tools/misc/yodl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, perl, icmake, util-linux }:
1+{ lib, stdenv, fetchFromGitLab, perl, icmake, util-linux }:
22
33stdenv.mkDerivation rec {
44 pname = "yodl";
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 ./build install man
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "A package that implements a pre-document language and tools to process it";
4747 homepage = "https://fbb-git.gitlab.io/yodl/";
4848 license = licenses.gpl3;
pkgs/development/tools/modd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ buildGoPackage, fetchFromGitHub, stdenv }:
1+{ buildGoPackage, fetchFromGitHub, lib, stdenv }:
22
33buildGoPackage rec {
44 pname = "modd";
@@ -11,7 +11,7 @@ buildGoPackage rec {
1111 };
1212 goPackagePath = "github.com/cortesi/modd";
1313 subPackages = [ "cmd/modd" ];
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "A flexible developer tool that runs processes and responds to filesystem changes";
1616 homepage = "https://github.com/cortesi/modd";
1717 license = licenses.mit;
pkgs/development/tools/mustache-go/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "mustache-go";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 sha256 = "0mnh5zbpfwymddm1dppg9i9d1r8jqyg03z2gl6c5a8fgbrnxpjvc";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/cbroglie/mustache";
1818 description = "The mustache template language in Go";
1919 license = [ licenses.mit ];
pkgs/development/tools/nemiver/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 version = "0.9.6";
2626
2727 src = fetchurl {
28− url = "mirror://gnome/sources/nemiver/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28+ url = "mirror://gnome/sources/nemiver/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2929 sha256 = "85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2";
3030 };
3131
pkgs/development/tools/neoload/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, writeTextFile, jre, makeWrapper, fontsConf, licenseAccepted ? false }:
1+{ lib, stdenv, fetchurl, writeTextFile, jre, makeWrapper, fontsConf, licenseAccepted ? false }:
22
33# If you happen to use this software on the XMonad window manager, you will have issues with
44# grey windows, no resizing, menus not showing and other glitches.
@@ -87,9 +87,9 @@ in stdenv.mkDerivation {
8787 homepage = "https://www.neotys.com/product/overview-neoload.html";
8888
8989 # https://www.neotys.com/documents/legal/eula/neoload/eula_en.html
90− license = stdenv.lib.licenses.unfree;
90+ license = lib.licenses.unfree;
9191
92− maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
92+ maintainers = [ lib.maintainers.bluescreen303 ];
9393 platforms = [ "i686-linux" "x86_64-linux" ];
9494 };
9595}
pkgs/development/tools/node-webkit/nw12.nix+2−2
@@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
4141
4242 ln -s ${lib.getLib systemd}/lib/libudev.so $out/share/nwjs/libudev.so.0
4343
44− patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}:$out/share/nwjs" $out/share/nwjs/nw
44+ patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:${lib.makeLibraryPath [ stdenv.cc.cc ]}:$out/share/nwjs" $out/share/nwjs/nw
4545 patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:$out/share/nwjs" $out/share/nwjs/nwjc
4646
4747 mkdir -p $out/bin
@@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
5151
5252 buildInputs = [ makeWrapper ];
5353
54− meta = with stdenv.lib; {
54+ meta = with lib; {
5555 description = "An app runtime based on Chromium and node.js";
5656 homepage = "https://nwjs.io/";
5757 platforms = ["i686-linux" "x86_64-linux"];
pkgs/development/tools/nrpl/default.nix+1−1
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
3535 --prefix PATH : ${lib.makeBinPath [ nim tinycc ]}
3636 '';
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "REPL for the Nim programming language";
4040 homepage = "https://github.com/wheineman/nrpl";
4141 license = licenses.mit;
pkgs/development/tools/nwjs/default.nix+2−2
@@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
5353 dontPatchELF = true;
5454
5555 installPhase =
56− let ccPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
56+ let ccPath = lib.makeLibraryPath [ stdenv.cc.cc ];
5757 in ''
5858 mkdir -p $out/share/nwjs
5959 cp -R * $out/share/nwjs
@@ -85,7 +85,7 @@ in stdenv.mkDerivation rec {
8585
8686 buildInputs = [ makeWrapper ];
8787
88− meta = with stdenv.lib; {
88+ meta = with lib; {
8989 description = "An app runtime based on Chromium and node.js";
9090 homepage = "https://nwjs.io/";
9191 platforms = ["i686-linux" "x86_64-linux"];
pkgs/development/tools/ocaml/camlidl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, writeText }:
1+{ lib, stdenv, fetchurl, ocaml, writeText }:
22
33let
44 pname = "camlidl";
@@ -46,6 +46,6 @@ stdenv.mkDerivation rec {
4646 description = "A stub code generator and COM binding for Objective Caml";
4747 homepage = webpage;
4848 license = "LGPL";
49− maintainers = [ stdenv.lib.maintainers.roconnor ];
49+ maintainers = [ lib.maintainers.roconnor ];
5050 };
5151}
pkgs/development/tools/ocaml/camlp4/default.nix+3−3
@@ -1,6 +1,6 @@
1−{ stdenv, fetchzip, which, ocaml, ocamlbuild }:
1+{ lib, stdenv, fetchzip, which, ocaml, ocamlbuild }:
22
3−if stdenv.lib.versionAtLeast ocaml.version "4.09"
3+if lib.versionAtLeast ocaml.version "4.09"
44then throw "camlp4 is not available for OCaml ${ocaml.version}"
55else
66
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
6666
6767 dontStrip = true;
6868
69− meta = with stdenv.lib; {
69+ meta = with lib; {
7070 description = "A software system for writing extensible parsers for programming languages";
7171 homepage = "https://github.com/ocaml/camlp4";
7272 platforms = ocaml.meta.platforms or [];
pkgs/development/tools/ocaml/camlp5/default.nix+3−3
@@ -1,6 +1,6 @@
1−{ stdenv, fetchzip, ocaml, perl }:
1+{ lib, stdenv, fetchzip, ocaml, perl }:
22
3−if stdenv.lib.versionOlder ocaml.version "4.02"
3+if lib.versionOlder ocaml.version "4.02"
44then throw "camlp5 is not available for OCaml ${ocaml.version}"
55else
66
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
2626
2727 dontStrip = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Preprocessor-pretty-printer for OCaml";
3131 longDescription = ''
3232 Camlp5 is a preprocessor and pretty-printer for OCaml programs.
pkgs/development/tools/ocaml/cppo/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, ocamlbuild
1+{ lib, stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, ocamlbuild
22, buildDunePackage
33}:
44
55let
66 pname = "cppo";
77
8− meta = with stdenv.lib; {
8+ meta = with lib; {
99 description = "The C preprocessor for OCaml";
1010 longDescription = ''
1111 Cppo is an equivalent of the C preprocessor targeted at the OCaml language and its variants.
@@ -17,7 +17,7 @@ let
1717
1818in
1919
20−if stdenv.lib.versionAtLeast ocaml.version "4.02" then
20+if lib.versionAtLeast ocaml.version "4.02" then
2121
2222buildDunePackage rec {
2323 inherit pname;
pkgs/development/tools/ocaml/dune/2.nix+4−4
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, ocaml, findlib }:
1+{ lib, stdenv, fetchurl, ocaml, findlib }:
22
3−if stdenv.lib.versionOlder ocaml.version "4.08"
3+if lib.versionOlder ocaml.version "4.08"
44then throw "dune is not available for OCaml ${ocaml.version}"
55else
66
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
2525 homepage = "https://dune.build/";
2626 description = "A composable build system";
2727 changelog = "https://github.com/ocaml/dune/blob/${version}/CHANGES.md";
28− maintainers = [ stdenv.lib.maintainers.vbgl stdenv.lib.maintainers.marsam ];
29− license = stdenv.lib.licenses.mit;
28+ maintainers = [ lib.maintainers.vbgl lib.maintainers.marsam ];
29+ license = lib.licenses.mit;
3030 inherit (ocaml.meta) platforms;
3131 };
3232}
pkgs/development/tools/ocaml/findlib/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, m4, ncurses, ocaml, writeText }:
1+{ lib, stdenv, fetchurl, fetchpatch, m4, ncurses, ocaml, writeText }:
22
33stdenv.mkDerivation rec {
44 pname = "ocaml-findlib";
@@ -49,11 +49,11 @@ stdenv.mkDerivation rec {
4949 meta = {
5050 homepage = "http://projects.camlcity.org/projects/findlib.html";
5151 description = "O'Caml library manager";
52− license = stdenv.lib.licenses.mit;
52+ license = lib.licenses.mit;
5353 platforms = ocaml.meta.platforms or [];
5454 maintainers = [
55− stdenv.lib.maintainers.maggesi
56− stdenv.lib.maintainers.vbmithr
55+ lib.maintainers.maggesi
56+ lib.maintainers.vbmithr
5757 ];
5858 };
5959}
pkgs/development/tools/ocaml/oasis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocamlmod, ocamlify }:
1+{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocamlmod, ocamlify }:
22
33stdenv.mkDerivation {
44 version = "0.4.10";
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
2222 buildPhase = "ocaml setup.ml -build";
2323 installPhase = "ocaml setup.ml -install";
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "http://oasis.forge.ocamlcore.org/";
2727 description = "Configure, build and install system for OCaml projects";
2828 license = licenses.lgpl21;
pkgs/development/tools/ocaml/obuild/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocaml }:
1+{ lib, stdenv, fetchzip, ocaml }:
22
33let version = "0.1.10"; in
44
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
2727 homepage = "https://github.com/ocaml-obuild/obuild";
2828 platforms = ocaml.meta.platforms or [];
2929 description = "Simple package build system for OCaml";
30− license = stdenv.lib.licenses.lgpl21;
31− maintainers = with stdenv.lib.maintainers; [ volth ];
30+ license = lib.licenses.lgpl21;
31+ maintainers = with lib.maintainers; [ volth ];
3232 };
3333}
pkgs/development/tools/ocaml/ocamlbuild/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib }:
1+{ lib, stdenv, fetchFromGitHub, ocaml, findlib }:
22let
33 version = "0.14.0";
44in
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
2525 "OCAMLBUILD_LIBDIR=$OCAMLFIND_DESTDIR"
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://github.com/ocaml/ocamlbuild/";
3030 description = "A build system with builtin rules to easily build most OCaml projects";
3131 license = licenses.lgpl2;
pkgs/development/tools/ocaml/ocamlify/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
1+{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
22
33stdenv.mkDerivation {
44 name = "ocamlify-0.0.2";
@@ -27,8 +27,8 @@ stdenv.mkDerivation {
2727 homepage = "https://forge.ocamlcore.org/projects/ocamlmod/ocamlmod";
2828 description = "Generate OCaml modules from source files";
2929 platforms = ocaml.meta.platforms or [];
30− license = stdenv.lib.licenses.lgpl21;
31− maintainers = with stdenv.lib.maintainers; [
30+ license = lib.licenses.lgpl21;
31+ maintainers = with lib.maintainers; [
3232 maggesi
3333 ];
3434 };
pkgs/development/tools/ocaml/ocamlmod/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }:
1+{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }:
22
33stdenv.mkDerivation {
44 pname = "ocamlmod";
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
2525 homepage = "https://forge.ocamlcore.org/projects/ocamlmod/ocamlmod";
2626 description = "Generate OCaml modules from source files";
2727 platforms = ocaml.meta.platforms or [];
28− maintainers = with stdenv.lib.maintainers; [
28+ maintainers = with lib.maintainers; [
2929 maggesi
3030 ];
3131 };
pkgs/development/tools/ocaml/ocp-build/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, ncurses, cmdliner, re }:
1+{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ncurses, cmdliner, re }:
22let
33 version = "1.99.21";
44in
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 export configureFlags="$configureFlags --with-metadir=$OCAMLFIND_DESTDIR"
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://www.typerex.org/ocp-build.html";
2525 description = "A build tool for OCaml";
2626 longDescription = ''
pkgs/development/tools/ocaml/ocsigen-i18n/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, ocamlPackages }:
1+{ lib, stdenv, fetchzip, ocamlPackages }:
22
33stdenv.mkDerivation rec
44{
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec
2222 meta = {
2323 homepage = "https://github.com/besport/ocsigen-i18n";
2424 description = "I18n made easy for web sites written with eliom";
25− license = stdenv.lib.licenses.lgpl21;
26− maintainers = [ stdenv.lib.maintainers.gal_bolle ];
25+ license = lib.licenses.lgpl21;
26+ maintainers = [ lib.maintainers.gal_bolle ];
2727 };
2828
2929}
pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix+2−2
@@ -1,11 +1,11 @@
1−{stdenv, fetchurl, makeWrapper, ocaml, ncurses}:
1+{lib, stdenv, fetchurl, makeWrapper, ocaml, ncurses}:
22let
33 pname = "omake";
44 version = "0.9.8.6-0.rc1";
55 webpage = "http://omake.metaprl.org";
66in
77
8−if stdenv.lib.versionAtLeast ocaml.version "4.06"
8+if lib.versionAtLeast ocaml.version "4.06"
99then throw "${pname}-${version} is not available for OCaml ${ocaml.version}"
1010else
1111
pkgs/development/tools/ocaml/omake/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ocaml, ncurses }:
1+{ lib, stdenv, fetchurl, ocaml, ncurses }:
22
33stdenv.mkDerivation rec {
44
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 description = "A build system designed for scalability and portability";
1717 homepage = "http://projects.camlcity.org/projects/omake.html";
18− license = with stdenv.lib.licenses; [
18+ license = with lib.licenses; [
1919 mit /* scripts */
2020 gpl2 /* program */
2121 ];
pkgs/development/tools/ocaml/opaline/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocamlPackages }:
1+{ lib, stdenv, fetchFromGitHub, ocamlPackages }:
22
33stdenv.mkDerivation rec {
44 version = "0.3.2";
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
1919
2020 meta = {
2121 description = "OPAm Light INstaller Engine";
22− license = stdenv.lib.licenses.mit;
23− maintainers = [ stdenv.lib.maintainers.vbgl ];
22+ license = lib.licenses.mit;
23+ maintainers = [ lib.maintainers.vbgl ];
2424 inherit (src.meta) homepage;
2525 inherit (ocamlPackages.ocaml.meta) platforms;
2626 };
pkgs/development/tools/ocaml/opam/1.2.2.nix+1−1
@@ -82,7 +82,7 @@ in stdenv.mkDerivation {
8282
8383 doCheck = false;
8484
85− meta = with stdenv.lib; {
85+ meta = with lib; {
8686 description = "A package manager for OCaml";
8787 homepage = "http://opam.ocamlpro.com/";
8888 maintainers = [ maintainers.henrytill ];
pkgs/development/tools/ocaml/opam/default.nix+1−1
@@ -110,7 +110,7 @@ in stdenv.mkDerivation {
110110
111111 doCheck = false;
112112
113− meta = with stdenv.lib; {
113+ meta = with lib; {
114114 description = "A package manager for OCaml";
115115 homepage = "https://opam.ocaml.org/";
116116 maintainers = [ maintainers.henrytill maintainers.marsam ];
pkgs/development/tools/ocaml/utop/default.nix+5−5
@@ -1,8 +1,8 @@
1−{ stdenv, fetchurl, ocaml, findlib
1+{ lib, stdenv, fetchurl, ocaml, findlib
22, lambdaTerm, cppo, makeWrapper, buildDunePackage
33}:
44
5−if !stdenv.lib.versionAtLeast ocaml.version "4.03"
5+if !lib.versionAtLeast ocaml.version "4.03"
66then throw "utop is not available for OCaml ${ocaml.version}"
77else
88
@@ -58,7 +58,7 @@ buildDunePackage rec {
5858 --prefix CAML_LD_LIBRARY_PATH ":" "${get "CAML_LD_LIBRARY_PATH"}" \
5959 --prefix OCAMLPATH ":" "${get "OCAMLPATH"}" \
6060 --prefix OCAMLPATH ":" $(unset OCAMLPATH; addOCamlPath "$out"; printf %s "$OCAMLPATH") \
61− --add-flags "-I ${findlib}/lib/ocaml/${stdenv.lib.getVersion ocaml}/site-lib"
61+ --add-flags "-I ${findlib}/lib/ocaml/${lib.getVersion ocaml}/site-lib"
6262 done
6363 '';
6464
@@ -70,10 +70,10 @@ buildDunePackage rec {
7070 It integrates with the tuareg mode in Emacs.
7171 '';
7272 homepage = "https://github.com/diml/utop";
73− license = stdenv.lib.licenses.bsd3;
73+ license = lib.licenses.bsd3;
7474 platforms = ocaml.meta.platforms or [];
7575 maintainers = [
76− stdenv.lib.maintainers.gal_bolle
76+ lib.maintainers.gal_bolle
7777 ];
7878 };
7979}
pkgs/development/tools/omniorb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python2 }:
1+{ lib, stdenv, fetchurl, python2 }:
22stdenv.mkDerivation rec {
33
44 pname = "omniorb";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 hardeningDisable = [ "format" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A robust high performance CORBA ORB for C++ and Python. It is freely available under the terms of the GNU Lesser General Public License (for the libraries), and GNU General Public License (for the tools). omniORB is largely CORBA 2.6 compliant";
1919 homepage = "http://omniorb.sourceforge.net/";
2020 license = licenses.gpl2Plus;
pkgs/development/tools/omnisharp-roslyn/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, mono5
44, makeWrapper
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 --add-flags "$out/src/OmniSharp.exe"
3232 '';
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "OmniSharp based on roslyn workspaces";
3636 homepage = "https://github.com/OmniSharp/omnisharp-roslyn";
3737 platforms = platforms.linux;
pkgs/development/tools/out-of-tree/default.nix+1−1
@@ -18,7 +18,7 @@ buildGoModule rec {
1818
1919 postFixup = ''
2020 wrapProgram $out/bin/out-of-tree \
21− --prefix PATH : "${stdenv.lib.makeBinPath [ qemu docker which ]}"
21+ --prefix PATH : "${lib.makeBinPath [ qemu docker which ]}"
2222 '';
2323
2424 meta = with lib; {
pkgs/development/tools/packet/default.nix+4−4
@@ -1,5 +1,5 @@
11# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2−{ stdenv, buildGoPackage, fetchgit }:
2+{ lib, stdenv, buildGoPackage, fetchgit }:
33
44buildGoPackage rec {
55 pname = "packet";
@@ -18,8 +18,8 @@ buildGoPackage rec {
1818 meta = {
1919 description = "a CLI tool to manage packet.net services";
2020 homepage = "https://github.com/ebsarr/packet";
21− license = stdenv.lib.licenses.mit;
22− maintainers = [ stdenv.lib.maintainers.grahamc ];
23− platforms = stdenv.lib.platforms.unix;
21+ license = lib.licenses.mit;
22+ maintainers = [ lib.maintainers.grahamc ];
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/tools/parsing/antlr/3.5.nix+1−1
@@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
4040 homepage = "https://www.antlr.org/";
4141 license = licenses.bsd3;
4242 platforms = platforms.linux;
43− maintainers = [ stdenv.lib.maintainers.farlion ];
43+ maintainers = [ lib.maintainers.farlion ];
4444 };
4545}
pkgs/development/tools/parsing/antlr/4.8.nix+2−2
@@ -19,8 +19,8 @@ let
1919 outputs = [ "out" "dev" "doc" ];
2020
2121 nativeBuildInputs = [ cmake ninja pkg-config ];
22− buildInputs = stdenv.lib.optional stdenv.isLinux libuuid
23− ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation;
22+ buildInputs = lib.optional stdenv.isLinux libuuid
23+ ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation;
2424
2525 postUnpack = ''
2626 export sourceRoot=$sourceRoot/runtime/Cpp
pkgs/development/tools/parsing/bison/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, perl, help2man }:
1+{ lib, stdenv, fetchurl, m4, perl, help2man }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 sha256 = "1qkp2rfi5njyp5c5avajab00aj74pkmkgzkvshv4p2ydkhswgazv";
1515 };
1616
17− nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
17+ nativeBuildInputs = [ m4 perl ] ++ lib.optional stdenv.isSunOS help2man;
1818 propagatedBuildInputs = [ m4 ];
1919
2020 doCheck = false; # fails
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 homepage = "https://www.gnu.org/software/bison/";
2525 description = "Yacc-compatible parser generator";
26− license = stdenv.lib.licenses.gpl3Plus;
26+ license = lib.licenses.gpl3Plus;
2727
2828 longDescription = ''
2929 Bison is a general-purpose parser generator that converts an
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 to use Bison.
4040 '';
4141
42− platforms = stdenv.lib.platforms.unix;
42+ platforms = lib.platforms.unix;
4343 };
4444
4545 passthru = { glrSupport = true; };
pkgs/development/tools/parsing/flex/2.5.35.nix+1−1
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616
1717 propagatedBuildInputs = [ m4 ];
1818
19− preConfigure = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
19+ preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
2020 "ac_cv_func_malloc_0_nonnull=yes"
2121 "ac_cv_func_realloc_0_nonnull=yes"
2222 ];
pkgs/development/tools/parsing/flex/2.6.1.nix+3−3
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010
1111 postPatch = ''
1212 patchShebangs tests
13− '' + stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
13+ '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
1414 substituteInPlace Makefile.in --replace "tests" " ";
1515 '';
1616
@@ -18,12 +18,12 @@ stdenv.mkDerivation {
1818
1919 propagatedBuildInputs = [ m4 ];
2020
21− preConfigure = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
21+ preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
2222 "ac_cv_func_malloc_0_nonnull=yes"
2323 "ac_cv_func_realloc_0_nonnull=yes"
2424 ];
2525
26− postConfigure = stdenv.lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) ''
26+ postConfigure = lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) ''
2727 sed -i Makefile -e 's/-no-undefined//;'
2828 '';
2929
pkgs/development/tools/parsing/flex/default.nix+3−3
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 postPatch = ''
2424 patchShebangs tests
25− '' + stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
25+ '' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
2626 substituteInPlace Makefile.in --replace "tests" " "
2727
2828 substituteInPlace doc/Makefile.am --replace 'flex.1: $(top_srcdir)/configure.ac' 'flex.1: '
@@ -33,12 +33,12 @@ stdenv.mkDerivation rec {
3333 buildInputs = [ bison ];
3434 propagatedBuildInputs = [ m4 ];
3535
36− preConfigure = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
36+ preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
3737 "ac_cv_func_malloc_0_nonnull=yes"
3838 "ac_cv_func_realloc_0_nonnull=yes"
3939 ];
4040
41− postConfigure = stdenv.lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) ''
41+ postConfigure = lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) ''
4242 sed -i Makefile -e 's/-no-undefined//;'
4343 '';
4444
pkgs/development/tools/parsing/ragel/default.nix+5−5
@@ -13,15 +13,15 @@ let
1313 inherit sha256;
1414 };
1515
16− buildInputs = stdenv.lib.optional build-manual [ transfig ghostscript tex ];
16+ buildInputs = lib.optional build-manual [ transfig ghostscript tex ];
1717
18− preConfigure = stdenv.lib.optional build-manual ''
18+ preConfigure = lib.optional build-manual ''
1919 sed -i "s/build_manual=no/build_manual=yes/g" DIST
2020 '';
2121
2222 configureFlags = [ "--with-colm=${colm}" ];
2323
24− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-std=gnu++98";
24+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=gnu++98";
2525
2626 doCheck = true;
2727
@@ -40,12 +40,12 @@ in
4040 ragelStable = generic {
4141 version = "6.10";
4242 sha256 = "0gvcsl62gh6sg73nwaxav4a5ja23zcnyxncdcdnqa2yjcpdnw5az";
43− license = stdenv.lib.licenses.gpl2;
43+ license = lib.licenses.gpl2;
4444 };
4545
4646 ragelDev = generic {
4747 version = "7.0.0.12";
4848 sha256 = "0x3si355lv6q051lgpg8bpclpiq5brpri5lv3p8kk2qhzfbyz69r";
49− license = stdenv.lib.licenses.mit;
49+ license = lib.licenses.mit;
5050 };
5151}
pkgs/development/tools/pgformatter/default.nix+2−2
@@ -24,8 +24,8 @@ perlPackages.buildPerlPackage rec {
2424 --replace "'INSTALLDIRS' => \$INSTALLDIRS," "'INSTALLDIRS' => \$INSTALLDIRS, 'INSTALLVENDORLIB' => 'bin/lib', 'INSTALLVENDORBIN' => 'bin', 'INSTALLVENDORSCRIPT' => 'bin', 'INSTALLVENDORMAN1DIR' => 'share/man/man1', 'INSTALLVENDORMAN3DIR' => 'share/man/man3',"
2525 '';
2626
27− nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
28− postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
27+ nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
28+ postInstall = lib.optionalString stdenv.isDarwin ''
2929 shortenPerlShebang $out/bin/pg_format
3030 '';
3131
pkgs/development/tools/pgloader/default.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ git makeWrapper ];
1212 buildInputs = [ sbcl cacert sqlite freetds libzip curl openssl ];
1313
14− LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ sqlite libzip curl git openssl freetds ];
14+ LD_LIBRARY_PATH = lib.makeLibraryPath [ sqlite libzip curl git openssl freetds ];
1515
1616 buildPhase = ''
1717 export PATH=$PATH:$out/bin
pkgs/development/tools/phantomjs/default.nix+1−1
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 buildPhase = lib.optionalString (!stdenv.isDarwin) ''
3535 patchelf \
3636 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
37− --set-rpath "${stdenv.lib.makeLibraryPath [ freetype fontconfig stdenv.cc.cc stdenv.cc.cc openssl ]}" \
37+ --set-rpath "${lib.makeLibraryPath [ freetype fontconfig stdenv.cc.cc stdenv.cc.cc openssl ]}" \
3838 bin/phantomjs
3939 '';
4040
pkgs/development/tools/phantomjs2/default.nix+4−4
@@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
3030 bison flex fontconfig freetype gperf icu openssl
3131 libjpeg libpng perl python ruby sqlite qtwebkit qtbase
3232 makeWrapper
33− ] ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
33+ ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
3434 AGL ApplicationServices AppKit Cocoa OpenGL
3535 darwin.libobjc fakeClang cups
3636 ]);
@@ -73,7 +73,7 @@ in stdenv.mkDerivation rec {
7373 # invalid suffix on literal; C++11 requires a space between litend identifier
7474 NIX_CFLAGS_COMPILE = "-Wno-reserved-user-defined-literal";
7575
76− __impureHostDeps = stdenv.lib.optional stdenv.isDarwin "/usr/lib/libicucore.dylib";
76+ __impureHostDeps = lib.optional stdenv.isDarwin "/usr/lib/libicucore.dylib";
7777
7878 enableParallelBuilding = true;
7979
@@ -81,7 +81,7 @@ in stdenv.mkDerivation rec {
8181 mkdir -p $out/share/doc/phantomjs
8282 cp -a bin $out
8383 cp -a ChangeLog examples LICENSE.BSD README.md third-party.txt $out/share/doc/phantomjs
84− '' + stdenv.lib.optionalString stdenv.isDarwin ''
84+ '' + lib.optionalString stdenv.isDarwin ''
8585 install_name_tool -change \
8686 ${darwin.CF}/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation \
8787 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation \
@@ -92,7 +92,7 @@ in stdenv.mkDerivation rec {
9292 '' + ''
9393 wrapProgram $out/bin/phantomjs \
9494 --set QT_QPA_PLATFORM offscreen \
95− --prefix PATH : ${stdenv.lib.makeBinPath [ qtbase ]}
95+ --prefix PATH : ${lib.makeBinPath [ qtbase ]}
9696 '';
9797
9898 meta = with lib; {
pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix+5−5
@@ -127,7 +127,7 @@ self: super:
127127 cryptography = super.cryptography.overridePythonAttrs (
128128 old: {
129129 nativeBuildInputs = old.nativeBuildInputs or [ ]
130− ++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) self.python.pythonForBuild.pkgs.cffi;
130+ ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) self.python.pythonForBuild.pkgs.cffi;
131131 buildInputs = old.buildInputs ++ [ pkgs.openssl ];
132132 }
133133 );
@@ -443,7 +443,7 @@ self: super:
443443 inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
444444 in
445445 {
446− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${pkgs.libcxx}/include/c++/v1";
446+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${pkgs.libcxx}/include/c++/v1";
447447
448448 XDG_RUNTIME_DIR = "/tmp";
449449
@@ -466,9 +466,9 @@ self: super:
466466 pkgs.libpng
467467 pkgs.freetype
468468 ]
469− ++ stdenv.lib.optionals enableGtk3 [ pkgs.cairo self.pycairo pkgs.gtk3 pkgs.gobject-introspection self.pygobject3 ]
470− ++ stdenv.lib.optionals enableTk [ pkgs.tcl pkgs.tk self.tkinter pkgs.libX11 ]
471− ++ stdenv.lib.optionals enableQt [ self.pyqt5 ]
469+ ++ lib.optionals enableGtk3 [ pkgs.cairo self.pycairo pkgs.gtk3 pkgs.gobject-introspection self.pygobject3 ]
470+ ++ lib.optionals enableTk [ pkgs.tcl pkgs.tk self.tkinter pkgs.libX11 ]
471+ ++ lib.optionals enableQt [ self.pyqt5 ]
472472 ;
473473
474474 inherit (super.matplotlib) patches;
pkgs/development/tools/profiling/EZTrace/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl, autoconf, gfortran
33, libelf, libiberty, zlib, libbfd, libopcodes
44, buildPackages
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 meta = {
2727 description = "Tool that aims at generating automatically execution trace from HPC programs";
28− license = stdenv.lib.licenses.cecill-b;
29− maintainers = with stdenv.lib.maintainers; [ ];
28+ license = lib.licenses.cecill-b;
29+ maintainers = with lib.maintainers; [ ];
3030 };
3131}
pkgs/development/tools/profiling/oprofile/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages
1+{ lib, stdenv, buildPackages
22, fetchurl, pkg-config
33, libbfd, popt, zlib, linuxHeaders, libiberty_static
44, withGUI ? false, qt4 ? null
@@ -23,13 +23,13 @@ stdenv.mkDerivation rec {
2323
2424 nativeBuildInputs = [ pkg-config ];
2525 buildInputs = [ libbfd zlib popt linuxHeaders libiberty_static ]
26− ++ stdenv.lib.optionals withGUI [ qt4 ];
26+ ++ lib.optionals withGUI [ qt4 ];
2727
2828 configureFlags = [
2929 "--with-kernel=${linuxHeaders}"
3030 "--disable-shared" # needed because only the static libbfd is available
3131 ]
32− ++ stdenv.lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4";
32+ ++ lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4";
3333
3434 meta = {
3535 description = "System-wide profiler for Linux";
@@ -45,10 +45,10 @@ stdenv.mkDerivation rec {
4545 is profiled: hardware and software interrupt handlers, kernel
4646 modules, the kernel, shared libraries, and applications.
4747 '';
48− license = stdenv.lib.licenses.gpl2;
48+ license = lib.licenses.gpl2;
4949 homepage = "http://oprofile.sourceforge.net/";
5050
51− platforms = stdenv.lib.platforms.linux;
51+ platforms = lib.platforms.linux;
5252 maintainers = [ ];
5353 };
5454}
pkgs/development/tools/profiling/sysprof/capture.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, meson
33, ninja
44, sysprof
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
2525
2626 meta = sysprof.meta // {
2727 description = "Static library for Sysprof capture data generation";
28− platforms = stdenv.lib.platforms.all;
28+ platforms = lib.platforms.all;
2929 };
3030}
pkgs/development/tools/profiling/sysprof/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 outputs = [ "out" "lib" "dev" ];
2626
2727 src = fetchurl {
28− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2929 sha256 = "1z2i9187f2jx456l7h07wy8m9a0p7pj3xiv1aji3snq7rjb1lkj0";
3030 };
3131
pkgs/development/tools/purescript/spago/spago.nix+2−2
@@ -6,7 +6,7 @@
66, http-conduit, http-types, lens-family-core, megaparsec, mtl
77, network-uri, open-browser, optparse-applicative, prettyprinter
88, process, QuickCheck, retry, rio, rio-orphans, safe, semver-range
9−, stdenv, stm, stringsearch, tar, template-haskell, temporary, text
9+, lib, stdenv, stm, stringsearch, tar, template-haskell, temporary, text
1010, time, transformers, turtle, unliftio, unordered-containers
1111, utf8-string, vector, versions, with-utf8, zlib
1212}:
@@ -41,5 +41,5 @@ mkDerivation {
4141 testToolDepends = [ hspec-discover ];
4242 prePatch = "hpack";
4343 homepage = "https://github.com/purescript/spago#readme";
44− license = stdenv.lib.licenses.bsd3;
44+ license = lib.licenses.bsd3;
4545}
pkgs/development/tools/py-spy/default.nix+1−1
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
1414 NIX_CFLAGS_COMPILE = "-L${libunwind}/lib";
1515
1616 # error: linker `arm-linux-gnueabihf-gcc` not found
17− preConfigure = stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
17+ preConfigure = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
1818 export RUSTFLAGS="-Clinker=$CC"
1919 '';
2020
pkgs/development/tools/pydb/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python2, emacs }:
1+{ lib, stdenv, fetchurl, python2, emacs }:
22
33stdenv.mkDerivation {
44 name = "pydb-1.26";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
1818 meta = {
1919 description = "Python debugger with GDB-like commands and Emacs bindings";
2020 homepage = "http://bashdb.sourceforge.net/pydb/";
21− license = stdenv.lib.licenses.gpl3;
22− platforms = stdenv.lib.platforms.all;
21+ license = lib.licenses.gpl3;
22+ platforms = lib.platforms.all;
2323 };
2424}
pkgs/development/tools/quilt/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }:
1+{ lib, stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }:
22
33stdenv.mkDerivation rec {
44
@@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
2727 and more.
2828 '';
2929
30− license = stdenv.lib.licenses.gpl2Plus;
31− platforms = stdenv.lib.platforms.all;
30+ license = lib.licenses.gpl2Plus;
31+ platforms = lib.platforms.all;
3232 };
3333
3434}
pkgs/development/tools/rdocker/default.nix+2−2
@@ -19,13 +19,13 @@ stdenv.mkDerivation {
1919
2020 postInstall = ''
2121 wrapProgram $out/bin/rdocker \
22− --prefix PATH : ${stdenv.lib.makeBinPath [ openssh ]}
22+ --prefix PATH : ${lib.makeBinPath [ openssh ]}
2323 '';
2424
2525 meta = with lib; {
2626 description = "Securely control a remote docker daemon CLI using ssh forwarding, no SSL setup needed";
2727 homepage = "https://github.com/dvddarias/rdocker";
28− maintainers = [ stdenv.lib.maintainers.pneumaticat ];
28+ maintainers = [ lib.maintainers.pneumaticat ];
2929 license = licenses.mit;
3030 platforms = platforms.unix;
3131 };
pkgs/development/tools/react-native-debugger/default.nix+1−1
@@ -3,7 +3,7 @@
33}:
44
55let
6− rpath = stdenv.lib.makeLibraryPath [
6+ rpath = lib.makeLibraryPath [
77 cairo
88 stdenv.cc.cc
99 gdk-pixbuf
pkgs/development/tools/repository-managers/nexus/default.nix+1−1
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 wrapProgram $out/bin/nexus \
3434 --set JAVA_HOME ${jre_headless} \
3535 --set ALTERNATIVE_NAME "nexus" \
36− --prefix PATH "${stdenv.lib.makeBinPath [ gawk ]}"
36+ --prefix PATH "${lib.makeBinPath [ gawk ]}"
3737
3838 runHook postInstall
3939 '';
pkgs/development/tools/rtags/default.nix+2−2
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 meta = {
2929 description = "C/C++ client-server indexer based on clang";
3030 homepage = "https://github.com/andersbakken/rtags";
31− license = stdenv.lib.licenses.gpl3;
32− platforms = with stdenv.lib.platforms; x86_64 ++ aarch64;
31+ license = lib.licenses.gpl3;
32+ platforms = with lib.platforms; x86_64 ++ aarch64;
3333 };
3434}
pkgs/development/tools/rund/default.nix+1−1
@@ -44,6 +44,6 @@ stdenv.mkDerivation rec {
4444 homepage = "https://github.com/dragon-lang/rund";
4545 license = lib.licenses.boost;
4646 maintainers = with maintainers; [ jonathanmarler ];
47− platforms = stdenv.lib.platforms.unix;
47+ platforms = lib.platforms.unix;
4848 };
4949}
pkgs/development/tools/rust/cargo-asm/default.nix+1−1
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "0d797cisiydblh64vqpfdjf37wmxrvs77phdrqh582lbrvnfhx2j";
1515
16− buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
16+ buildInputs = lib.optional stdenv.isDarwin Security;
1717
1818 # Test checks against machine code output, which fails with some
1919 # LLVM/compiler versions.
pkgs/development/tools/rust/cargo-c/default.nix+1−1
@@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
3232
3333 nativeBuildInputs = [ pkg-config ];
3434 buildInputs = [ openssl ]
35− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ];
35+ ++ lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ];
3636
3737 meta = with lib; {
3838 description = "A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries";
pkgs/development/tools/rust/cargo-cache/default.nix+1−1
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "sha256-sZxkEQBZ2PJXSvwcA+IL7uW/gcnzuzRcDklNW5vpzWg=";
1515
16− buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
16+ buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
1717
1818 checkFlagsArray = [ "offline_tests" ];
1919
pkgs/development/tools/rust/cargo-crev/default.nix+1−1
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
2424
2525 nativeBuildInputs = [ perl pkg-config ];
2626
27− buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ];
27+ buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ];
2828
2929 meta = with lib; {
3030 description = "A cryptographically verifiable code review system for the cargo (Rust) package manager";
pkgs/development/tools/rust/cargo-deny/default.nix+1−1
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
2323 nativeBuildInputs = [ perl pkg-config ];
2424
2525 buildInputs = [ openssl ]
26− ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ];
26+ ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ];
2727
2828 meta = with lib; {
2929 description = "Cargo plugin to generate list of all licenses for a crate";
pkgs/development/tools/rust/cargo-fund/default.nix+1−1
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
1818
1919 nativeBuildInputs = [ pkg-config ];
2020
21− buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ];
21+ buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ];
2222
2323 meta = with lib; {
2424 description = "Discover funding links for your project's dependencies";
pkgs/development/tools/rust/cargo-geiger/default.nix+1−1
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
2929 # FIXME: Use impure version of CoreFoundation because of missing symbols.
3030 # CFURLSetResourcePropertyForKey is defined in the headers but there's no
3131 # corresponding implementation in the sources from opensource.apple.com.
32− preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
32+ preConfigure = lib.optionalString stdenv.isDarwin ''
3333 export NIX_CFLAGS_COMPILE="-F${CoreFoundation}/Library/Frameworks $NIX_CFLAGS_COMPILE"
3434 '';
3535
pkgs/development/tools/rust/cargo-generate/default.nix+1−1
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
1616 nativeBuildInputs = [ pkg-config ];
1717
1818 buildInputs = [ openssl ]
19− ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ];
19+ ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ];
2020
2121 preCheck = ''
2222 export HOME=$(mktemp -d) USER=nixbld
pkgs/development/tools/rust/cargo-inspect/default.nix+1−1
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
1111 sha256 = "026vc8d0jkc1d7dlp3ldmwks7svpvqzl0k5niri8a12cl5w5b9hj";
1212 };
1313
14− buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
14+ buildInputs = lib.optionals stdenv.isDarwin [ Security ];
1515
1616 cargoSha256 = "1ryi5qi1zz2yljyj4rn84q9zkzafc9w4nw3zc01hlzpnb1sjw5sw";
1717
pkgs/development/tools/rust/cargo-make/default.nix+1−1
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
1414 nativeBuildInputs = [ pkg-config ];
1515
1616 buildInputs = [ openssl ]
17− ++ stdenv.lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
17+ ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
1818
1919 cargoSha256 = "sha256-Qh14lks72bsetwyv0ALF7nZo3m3FDEmVxzFkHJoEuzE=";
2020
pkgs/development/tools/rust/cargo-raze/default.nix+1−1
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
1717
1818 nativeBuildInputs = [ pkg-config ];
1919 buildInputs = [ curl libgit2 openssl ]
20− ++ stdenv.lib.optional stdenv.isDarwin Security;
20+ ++ lib.optional stdenv.isDarwin Security;
2121
2222 doCheck = true;
2323
pkgs/development/tools/rust/cargo-udeps/default.nix+1−1
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
1616 nativeBuildInputs = [ pkg-config ];
1717
1818 buildInputs = [ openssl ]
19− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security libiconv ];
19+ ++ lib.optionals stdenv.isDarwin [ CoreServices Security libiconv ];
2020
2121 # Requires network access
2222 doCheck = false;
pkgs/development/tools/rust/cbindgen/default.nix+1−1
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "1lzzckzcgj496chbfd6lhwxcangv0krx8m5k2jwffnb9mfgac7hx";
1515
16− buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
16+ buildInputs = lib.optional stdenv.isDarwin Security;
1717
1818 checkFlags = [
1919 # https://github.com/eqrion/cbindgen/issues/338
pkgs/development/tools/rust/maturin/default.nix+2−2
@@ -19,8 +19,8 @@ in rustPlatform.buildRustPackage rec {
1919 nativeBuildInputs = [ pkg-config ];
2020
2121 buildInputs = [ gmp openssl ]
22− ++ stdenv.lib.optional stdenv.isDarwin Security
23− ++ stdenv.lib.optional stdenv.isLinux dbus;
22+ ++ lib.optional stdenv.isDarwin Security
23+ ++ lib.optional stdenv.isLinux dbus;
2424
2525 # Requires network access, fails in sandbox.
2626 doCheck = false;
pkgs/development/tools/rust/racer/default.nix+1−1
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
1414 cargoSha256 = "sha256-iUomr9viCdZk4nV75/OP8vHtJpMbmy+pq1IbaA2lLmE=";
1515
1616 nativeBuildInputs = [ makeWrapper ];
17− buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
17+ buildInputs = lib.optional stdenv.isDarwin Security;
1818
1919 # a nightly compiler is required unless we use this cheat code.
2020 RUSTC_BOOTSTRAP = 1;
pkgs/development/tools/rust/racerd/default.nix+1−1
@@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
2626 doCheck = false;
2727
2828 nativeBuildInputs = [ makeWrapper ];
29− buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
29+ buildInputs = lib.optional stdenv.isDarwin Security;
3030
3131 RUST_SRC_PATH = rustPlatform.rustcSrc;
3232
pkgs/development/tools/rust/rustup/default.nix+1−1
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
2525
2626 buildInputs = [
2727 curl zlib
28− ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
28+ ] ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
2929
3030 cargoBuildFlags = [ "--features no-self-update" ];
3131
pkgs/development/tools/sauce-connect/default.nix+1−1
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 buildInputs = [ unzip ];
2323
24− patchPhase = stdenv.lib.optionalString stdenv.isLinux ''
24+ patchPhase = lib.optionalString stdenv.isLinux ''
2525 patchelf \
2626 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
2727 --set-rpath "$out/lib:${makeLibraryPath [zlib]}" \
pkgs/development/tools/selenium/chromedriver/default.nix+3−3
@@ -5,7 +5,7 @@
55}:
66
77let
8− upstream-info = (stdenv.lib.importJSON ../../../../applications/networking/browsers/chromium/upstream-info.json).stable.chromedriver;
8+ upstream-info = (lib.importJSON ../../../../applications/networking/browsers/chromium/upstream-info.json).stable.chromedriver;
99 allSpecs = {
1010 x86_64-linux = {
1111 system = "linux64";
@@ -21,7 +21,7 @@ let
2121 spec = allSpecs.${stdenv.hostPlatform.system}
2222 or (throw "missing chromedriver binary for ${stdenv.hostPlatform.system}");
2323
24− libs = stdenv.lib.makeLibraryPath [
24+ libs = lib.makeLibraryPath [
2525 stdenv.cc.cc.lib
2626 cairo fontconfig freetype
2727 gdk-pixbuf glib gtk2 gconf
@@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
4444
4545 installPhase = ''
4646 install -m755 -D chromedriver $out/bin/chromedriver
47− '' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
47+ '' + lib.optionalString (!stdenv.isDarwin) ''
4848 patchelf --set-interpreter ${glibc.out}/lib/ld-linux-x86-64.so.2 $out/bin/chromedriver
4949 wrapProgram "$out/bin/chromedriver" --prefix LD_LIBRARY_PATH : "${libs}:\$LD_LIBRARY_PATH"
5050 '';
pkgs/development/tools/selenium/htmlunit-driver/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "htmlunit-driver-standalone";
pkgs/development/tools/selenium/selendroid/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, makeWrapper, jdk, selenium-server-standalone }:
1+{ lib, stdenv, fetchurl, makeWrapper, jdk, selenium-server-standalone }:
22
3−with stdenv.lib;
3+with lib;
44let
55 name = "selendroid-standalone-${version}";
66 pluginName = "selendroid-grid-plugin-${version}";
pkgs/development/tools/selenium/server/default.nix+2−2
@@ -1,7 +1,7 @@
1−{ stdenv, fetchurl, makeWrapper, jre
1+{ lib, stdenv, fetchurl, makeWrapper, jre
22, htmlunit-driver, chromedriver, chromeSupport ? true }:
33
4−with stdenv.lib;
4+with lib;
55
66let
77 minorVersion = "3.141";
pkgs/development/tools/simavr/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 nativeBuildInputs = [ which pkg-config avrgcc ];
2828 buildInputs = [ libelf freeglut libGLU libGL ]
29− ++ stdenv.lib.optional stdenv.isDarwin GLUT;
29+ ++ lib.optional stdenv.isDarwin GLUT;
3030
3131 # Hack to avoid TMPDIR in RPATHs.
3232 preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" '';
pkgs/development/tools/slimerjs/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, zip, unzip, firefox, bash}:
1+{lib, stdenv, fetchFromGitHub, zip, unzip, firefox, bash}:
22let
33 s = # Generated upstream information
44 rec {
@@ -43,8 +43,8 @@ stdenv.mkDerivation {
4343 meta = {
4444 inherit (s) version;
4545 description = ''Gecko-based programmatically-driven browser'';
46− license = stdenv.lib.licenses.mpl20 ;
47− maintainers = [stdenv.lib.maintainers.raskin];
48− platforms = stdenv.lib.platforms.linux;
46+ license = lib.licenses.mpl20 ;
47+ maintainers = [lib.maintainers.raskin];
48+ platforms = lib.platforms.linux;
4949 };
5050}
pkgs/development/tools/so/default.nix+1−1
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
1414 cargoSha256 = "1ddbhy1plag4ckbmlyj47wnky7vgmfa68msl3hl25h1lwmzaf1aq";
1515
1616 nativeBuildInputs = [ pkg-config ];
17− buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [
17+ buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
1818 libiconv Security
1919 ];
2020
pkgs/development/tools/sourcetrail/default.nix+6−6
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
6969 desktop-file-utils
7070 imagemagick
7171 javaIndexer # the resulting jar file is copied by our install script
72− ] ++ stdenv.lib.optionals doCheck testBinPath;
72+ ] ++ lib.optionals doCheck testBinPath;
7373 buildInputs = [
7474 boost pythonIndexer shared-mime-info
7575 ] ++ (with qt5; [ qtbase qtsvg ])
@@ -86,9 +86,9 @@ stdenv.mkDerivation rec {
8686 ];
8787
8888 postPatch = let
89− major = stdenv.lib.versions.major version;
90− minor = stdenv.lib.versions.minor version;
91− patch = stdenv.lib.versions.patch version;
89+ major = lib.versions.major version;
90+ minor = lib.versions.minor version;
91+ patch = lib.versions.patch version;
9292 in ''
9393 # Upstream script obtains it's version from git:
9494 # https://github.com/CoatiSoftware/Sourcetrail/blob/master/cmake/version.cmake
@@ -176,7 +176,7 @@ stdenv.mkDerivation rec {
176176
177177 mkdir -p $out/bin
178178 makeQtWrapper $out/opt/sourcetrail/bin/sourcetrail $out/bin/sourcetrail \
179− --prefix PATH : ${stdenv.lib.makeBinPath binPath}
179+ --prefix PATH : ${lib.makeBinPath binPath}
180180 '';
181181
182182 checkPhase = ''
@@ -188,7 +188,7 @@ stdenv.mkDerivation rec {
188188 # shorten PATH to prevent build failures
189189 wrapQtApp ./Sourcetrail_test \
190190 --set PATH "" \
191− --prefix PATH : ${stdenv.lib.makeBinPath testBinPath} \
191+ --prefix PATH : ${lib.makeBinPath testBinPath} \
192192 --set MAVEN_OPTS "-Dmaven.repo.local=$TMPDIR/m2repo"
193193 ./Sourcetrail_test
194194 popd
pkgs/development/tools/sqsh/default.nix+1−1
@@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
1717
1818 substituteInPlace src/cmd_connect.c \
1919 --replace CS_TDS_80 CS_TDS_73
20− '' + stdenv.lib.optionalString stdenv.isDarwin ''
20+ '' + lib.optionalString stdenv.isDarwin ''
2121 substituteInPlace configure --replace "libct.so" "libct.dylib"
2222 '';
2323
pkgs/development/tools/summon/default.nix+1−1
@@ -1,6 +1,6 @@
11{ stdenv, buildGoModule, fetchFromGitHub, lib, patchResolver ? true }:
22
3−with stdenv.lib;
3+with lib;
44
55buildGoModule rec {
66 pname = "summon";
pkgs/development/tools/sumneko-lua-language-server/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ninja, makeWrapper }:
1+{ lib, stdenv, fetchFromGitHub, ninja, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "sumneko-lua-language-server";
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 --metapath='~/.cache/sumneko_lua/meta'"
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "Lua Language Server coded by Lua ";
4747 homepage = "https://github.com/sumneko/lua-language-server";
4848 license = licenses.mit;
pkgs/development/tools/the-way/default.nix+2−2
@@ -13,10 +13,10 @@ rustPlatform.buildRustPackage rec {
1313
1414 nativeBuildInputs = [ installShellFiles ];
1515
16− buildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
16+ buildInputs = lib.optionals stdenv.isDarwin [ AppKit Security ];
1717
1818 cargoSha256 = "1aiyfsvmrqcmlw0z1944i9s5g3yxc39na5mf16pb9a4bhw8zcwjr";
19− checkFlagsArray = stdenv.lib.optionals stdenv.isDarwin [ "--skip=copy" ];
19+ checkFlagsArray = lib.optionals stdenv.isDarwin [ "--skip=copy" ];
2020 cargoParallelTestThreads = false;
2121
2222 postInstall = ''
pkgs/development/tools/trellis/default.nix+3−3
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 version = "2021.01.02";
99
1010 # git describe --tags
11− realVersion = with stdenv.lib; with builtins;
11+ realVersion = with lib; with builtins;
1212 "1.0-482-g${substring 0 7 (elemAt srcs 0).rev}";
1313
1414 srcs = [
@@ -54,8 +54,8 @@ stdenv.mkDerivation rec {
5454 open Verilog to bitstream toolchain for these devices.
5555 '';
5656 homepage = "https://github.com/SymbiFlow/prjtrellis";
57− license = stdenv.lib.licenses.isc;
57+ license = lib.licenses.isc;
5858 maintainers = with maintainers; [ q3k thoughtpolice emily ];
59− platforms = stdenv.lib.platforms.all;
59+ platforms = lib.platforms.all;
6060 };
6161}
pkgs/development/tools/tychus/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }:
1+{ lib, stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }:
22
33buildGoPackage rec {
44 pname = "tychus";
@@ -15,13 +15,13 @@ buildGoPackage rec {
1515 sha256 = "02ybxjsfga89gpg0k21zmykhhnpx1vy3ny8fcwj0qsg73i11alvw";
1616 };
1717
18− buildInputs = stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ];
18+ buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ];
1919
2020 buildFlags = [ "--tags" "release" ];
2121
2222 meta = {
2323 description = "Command line utility to live-reload your application";
2424 homepage = "https://github.com/devlocker/tychus";
25− license = stdenv.lib.licenses.mit;
25+ license = lib.licenses.mit;
2626 };
2727}
pkgs/development/tools/uftrace/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub}:
1+{lib, stdenv, fetchFromGitHub}:
22
33stdenv.mkDerivation rec {
44 pname = "uftrace";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 description = "Function (graph) tracer for user-space";
2020 homepage = "https://github.com/namhyung/uftrace";
21− license = stdenv.lib.licenses.gpl2;
22− platforms = stdenv.lib.platforms.linux;
23− maintainers = [stdenv.lib.maintainers.nthorne];
21+ license = lib.licenses.gpl2;
22+ platforms = lib.platforms.linux;
23+ maintainers = [lib.maintainers.nthorne];
2424 };
2525}
pkgs/development/tools/vcstool/default.nix+1−1
@@ -14,7 +14,7 @@ buildPythonApplication rec {
1414
1515 propagatedBuildInputs = [ pyyaml setuptools ];
1616
17− makeWrapperArgs = ["--prefix" "PATH" ":" (stdenv.lib.makeBinPath [ git breezy subversion ])];
17+ makeWrapperArgs = ["--prefix" "PATH" ":" (lib.makeBinPath [ git breezy subversion ])];
1818
1919 doCheck = false; # requires network
2020
pkgs/development/tools/vultr/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub }:
1+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 pname = "vultr";
@@ -15,7 +15,7 @@ buildGoPackage rec {
1515 meta = {
1616 description = "A command line tool for Vultr services, a provider for cloud virtual private servers";
1717 homepage = "https://github.com/JamesClonk/vultr";
18− license = stdenv.lib.licenses.mit;
19− maintainers = [ stdenv.lib.maintainers.zauberpony ];
18+ license = lib.licenses.mit;
19+ maintainers = [ lib.maintainers.zauberpony ];
2020 };
2121}
pkgs/development/tools/wasm-pack/default.nix+1−1
@@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
2727 # gracefully exit while doing work.
2828 # See: https://github.com/rustwasm/wasm-pack/issues/650
2929 libressl
30− ] ++ stdenv.lib.optionals stdenv.isDarwin [ curl Security ];
30+ ] ++ lib.optionals stdenv.isDarwin [ curl Security ];
3131
3232 # Most tests rely on external resources and build artifacts.
3333 # Disabling check here to work with build sandboxing.
pkgs/development/tools/wiggle/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ncurses, groff }:
1+{ lib, stdenv, fetchurl, ncurses, groff }:
22
33stdenv.mkDerivation {
44
@@ -37,8 +37,8 @@ stdenv.mkDerivation {
3737 already been applied, and will ignore them.
3838 '';
3939
40− license = stdenv.lib.licenses.gpl2Plus;
41− platforms = stdenv.lib.platforms.all;
40+ license = lib.licenses.gpl2Plus;
41+ platforms = lib.platforms.all;
4242 };
4343
4444}
pkgs/development/tools/wrangler/default.nix+3−3
@@ -13,10 +13,10 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "0w845virvw7mvibc76ar2hbffhfzj2v8v1xkrsssrgzyaryb48jk";
1515
16− nativeBuildInputs = [ perl ] ++ stdenv.lib.optionals stdenv.isLinux [ pkg-config ];
16+ nativeBuildInputs = [ perl ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
1717
18− buildInputs = stdenv.lib.optionals stdenv.isLinux [ openssl ]
19− ++ stdenv.lib.optionals stdenv.isDarwin [
18+ buildInputs = lib.optionals stdenv.isLinux [ openssl ]
19+ ++ lib.optionals stdenv.isDarwin [
2020 curl
2121 darwin.apple_sdk.frameworks.Security
2222 darwin.apple_sdk.frameworks.CoreServices
pkgs/development/tools/xcbuild/default.nix+3−3
@@ -36,11 +36,11 @@ in stdenv.mkDerivation {
3636 cp -r --no-preserve=all ${linenoise} ThirdParty/linenoise
3737 '';
3838
39− postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) ''
39+ postPatch = lib.optionalString (!stdenv.isDarwin) ''
4040 # Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
4141 sed 1i'#include <sys/sysmacros.h>' \
4242 -i Libraries/xcassets/Headers/xcassets/Slot/SystemVersion.h
43− '' + stdenv.lib.optionalString stdenv.isDarwin ''
43+ '' + lib.optionalString stdenv.isDarwin ''
4444 # Apple Open Sourced LZFSE, but not libcompression, and it isn't
4545 # part of an impure framework we can add
4646 substituteInPlace Libraries/libcar/Sources/Rendition.cpp \
@@ -59,7 +59,7 @@ in stdenv.mkDerivation {
5959
6060 nativeBuildInputs = [ cmake ninja ];
6161 buildInputs = [ zlib libxml2 libpng ]
62− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices CoreGraphics ImageIO ];
62+ ++ lib.optionals stdenv.isDarwin [ CoreServices CoreGraphics ImageIO ];
6363
6464 meta = with lib; {
6565 description = "Xcode-compatible build tool";