Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pkgs/development/tools: stdenv.lib -> lib

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