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

This commit is contained in:
Ben Siraphob 2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jre, makeWrapper, makeDesktopItem }:
{ lib, stdenv, fetchurl, jre, makeWrapper, makeDesktopItem }:
let generic = { major, version, src }:
@ -30,7 +30,7 @@ let generic = { major, version, src }:
cp -r ${desktopItem}/share/applications $out/share
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Language & tool for relational models";
longDescription = ''
Alloy is a language for describing structures and a tool for exploring

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, nixosTests, writeScript, common-updater-scripts, git
{ lib, stdenv, fetchurl, jre, nixosTests, writeScript, common-updater-scripts, git
, nixfmt, nix, coreutils, gnused, disableRemoteLogging ? true }:
with stdenv.lib;
with lib;
let
repo = "git@github.com:lihaoyi/Ammonite.git";
@ -34,7 +34,7 @@ let
#!${stdenv.shell}
set -o errexit
PATH=${
stdenv.lib.makeBinPath [
lib.makeBinPath [
common-updater-scripts
coreutils
git

View File

@ -1,4 +1,4 @@
{ stdenv, python3Packages }:
{ lib, stdenv, python3Packages }:
with python3Packages;
buildPythonApplication rec {
@ -14,7 +14,7 @@ buildPythonApplication rec {
doCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/myint/autoflake";
description = "A simple program which removes unused imports and unused variables as reported by pyflakes";
license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "bingrep";
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-3eGYU5O7HSpawIL/8OVmROCzXfdnoMAnIujjrIp00xg=";
meta = with stdenv.lib; {
meta = with lib; {
description = "Greps through binaries from various OSs and architectures, and colors them";
homepage = "https://github.com/m4b/bingrep";
license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
let
name = "cccc";
@ -30,8 +30,8 @@ stdenv.mkDerivation {
complexity and metrics proposed by Chidamber&Kemerer and Henry&Kafura.
'';
homepage = "http://cccc.sourceforge.net/";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.linquize ];
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.linquize ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, jre }:
{ lib, stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
version = "8.39";
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Checks Java source against a coding standard";
longDescription = ''
checkstyle is a development tool to help programmers write Java code that

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }:
{ lib, stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }:
stdenv.mkDerivation rec {
pname = "clang-analyzer";
@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Clang Static Analyzer";
homepage = "http://clang-analyzer.llvm.org";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.thoughtpolice ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl }:
{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
version = "6.0.1";
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
mv -v $out/share/man/man1/coan.1.{1,gz}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "The C preprocessor chainsaw";
longDescription = ''
A software engineering tool for analysing preprocessor-based

View File

@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchzip
, zlib
, xorg
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
ln -s $out/codeql/codeql $out/bin/
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Semantic code analysis engine";
homepage = "https://semmle.com/codeql";
maintainers = [ maintainers.dump_stack ];

View File

@ -1,4 +1,4 @@
{ stdenv, requireFile }:
{ lib, stdenv, requireFile }:
let
message = ''
@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Coverity Scan build tools";
homepage = "https://scan.coverity.com";
license = stdenv.lib.licenses.unfreeRedistributable;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
license = lib.licenses.unfreeRedistributable;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.thoughtpolice ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, libelfin
, ncurses
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://github.com/plasma-umass/coz";
description = "Profiler based on casual profiling";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ zimbatm ];
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ zimbatm ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }:
{ lib, stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }:
stdenv.mkDerivation rec {
pname = "cppcheck";
@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "0mlw0z20qf0g9qrmdmbykzf87wlcgmah8bacmp4mk6dwfzr9g9n3";
};
buildInputs = [ pcre ] ++ stdenv.lib.optionals withZ3 [ z3 ];
buildInputs = [ pcre ] ++ lib.optionals withZ3 [ z3 ];
nativeBuildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];
makeFlags = [ "PREFIX=$(out)" "FILESDIR=$(out)/cfg" "HAVE_RULES=yes" ]
++ stdenv.lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ];
++ lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ];
outputs = [ "out" "man" ];
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
cp cppcheck.1 $man/share/man/man1/cppcheck.1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A static analysis tool for C/C++ code";
longDescription = ''
Check C/C++ code for memory leaks, mismatching allocation-deallocation,

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perlPackages }:
{ lib, stdenv, fetchurl, perlPackages }:
perlPackages.buildPerlPackage rec {
pname = "egypt";
@ -15,7 +15,7 @@ perlPackages.buildPerlPackage rec {
doCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Tool for making call graphs of C programmes";
longDescription = ''
Egypt is a simple tool for creating call graphs of C programs. It neither

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, unzip}:
{lib, stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "emma-2.0.5312";
@ -18,7 +18,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://emma.sourceforge.net/";
description = "A code coverage tool for Java";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.cpl10;
platforms = lib.platforms.unix;
license = lib.licenses.cpl10;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage {
pname = "evmdis-unstable";
@ -12,7 +12,7 @@ buildGoPackage {
sha256 = "09y4j7ipgv8yd99g3xk3f079w8fqfj7kl1y7ry81ainysn0qlqrg";
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/Arachnid/evmdis";
description = "Ethereum EVM disassembler";
license = [ licenses.asl20 ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "findbugs-3.0.1";
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
EOF
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A static analysis tool to find bugs in Java programs automatically";
homepage = "http://findbugs.sourceforge.net/";
maintainers = with maintainers; [ pSub ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
{ lib, stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
stdenv.mkDerivation rec {
pname = "flow";
@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
'';
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 ])
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
++ lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A static type checker for JavaScript";
homepage = "https://flow.org/";
changelog = "https://github.com/facebook/flow/releases/tag/v${version}";

View File

@ -73,8 +73,8 @@ stdenv.mkDerivation rec {
meta = {
description = "An extensible and collaborative platform dedicated to source-code analysis of C software";
homepage = "http://frama-c.com/";
license = stdenv.lib.licenses.lgpl21;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice amiddelk ];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ thoughtpolice amiddelk ];
platforms = lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
cp -ar $src/Documentation/html $out/share/doc/${name}/.
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Automatically generate all types of basic memory management operations and write into trace files";
homepage = "https://github.com/GarCoSim";
maintainers = [ maintainers.cmcdragonkai ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit }:
{ lib, stdenv, fetchgit }:
stdenv.mkDerivation {
@ -17,7 +17,7 @@ stdenv.mkDerivation {
cp ./traceFileSim "$out/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Ease the analysis of existing memory management techniques, as well as the prototyping of new memory management techniques";
homepage = "https://github.com/GarCoSim";
maintainers = [ maintainers.cmcdragonkai ];

View File

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
--replace "Exec=/opt/hopper-${rev}/bin/Hopper" "Exec=$out/bin/hopper"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.hopperapp.com/index.html";
description = "A macOS and Linux Disassembler";
license = licenses.unfree;

View File

@ -1,4 +1,4 @@
{ stdenv,
{ lib, stdenv,
mkDerivation,
cmake,
elfutils,
@ -58,8 +58,8 @@ mkDerivation rec {
then displays the result in a graphical way.
'';
homepage = "https://github.com/KDAB/hotspot";
license = with stdenv.lib.licenses; [ gpl2 gpl3 ];
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ nh2 ];
license = with lib.licenses; [ gpl2 gpl3 ];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ nh2 ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, llvmPackages, python2 }:
{ lib, stdenv, fetchurl, cmake, llvmPackages, python2 }:
stdenv.mkDerivation rec {
pname = "include-what-you-use";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
--replace "'include-what-you-use'" "'$out/bin/include-what-you-use'"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Analyze #includes in C/C++ source files with clang";
longDescription = ''
For every symbol (type, function variable, or macro) that you use in

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, ant, jdk, runtimeShell }:
{ lib, stdenv, fetchFromGitHub, ant, jdk, runtimeShell }:
stdenv.mkDerivation rec {
pname = "jdepend";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
chmod a+x $out/bin/jdepend
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Traverses Java class file directories and generates design quality metrics for each Java package";
homepage = "http://www.clarkware.com/software/JDepend.html";
license = licenses.bsd3;

View File

@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}:
{lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}:
stdenv.mkDerivation rec {
pname = "kcov";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib curl elfutils python libiberty libopcodes ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
longDescription = ''

View File

@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }:
{lib, stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }:
stdenv.mkDerivation rec {
pname = "lcov";
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/genpng --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.GD ]}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Code coverage tool that enhances GNU gcov";
longDescription =
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
'';
homepage = "http://ltp.sourceforge.net/coverage/lcov.php";
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ dezgeg ];
platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }:
stdenv.mkDerivation {
name = "makefile2graph-2018-01-03";
@ -19,10 +19,10 @@ stdenv.mkDerivation {
--replace '/bin/sh' ${bash}/bin/bash \
--replace 'make2graph' "$out/bin/make2graph"
wrapProgram $out/bin/makefile2graph \
--set PATH ${stdenv.lib.makeBinPath [ gnumake ]}
--set PATH ${lib.makeBinPath [ gnumake ]}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/lindenb/makefile2graph";
description = "Creates a graph of dependencies from GNU-Make; Output is a graphiz-dot file or a Gexf-XML file";
maintainers = with maintainers; [ cmcdragonkai ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }:
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }:
stdenv.mkDerivation rec {
pname = "oclgrind";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
"-DCLANG_ROOT=${llvmPackages.clang-unwrapped}"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "An OpenCL device simulator and debugger";
homepage = "https://github.com/jrprice/oclgrind";
license = licenses.bsd3;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake
{ lib, stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake
, pkg-config, makeWrapper }:
rustPlatform.buildRustPackage rec {
@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
makeWrapper $out/share/${pname}/${pname} $out/bin/${pname}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A libre cross-platform disassembler";
longDescription = ''
Panopticon is a cross platform disassembler for reverse

View File

@ -1,4 +1,4 @@
{ stdenv, openssl, fetchFromGitHub }:
{ lib, stdenv, openssl, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "pev";
@ -20,7 +20,7 @@ stdenv.mkDerivation {
installFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A full-featured, open source, multiplatform command line toolkit to work with PE (Portable Executables) binaries";
homepage = "https://pev.sourceforge.net/";
license = licenses.gpl2;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, makeWrapper, openjdk }:
{ lib, stdenv, fetchurl, unzip, makeWrapper, openjdk }:
stdenv.mkDerivation rec {
pname = "pmd";
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An extensible cross-language static code analyzer";
homepage = "https://pmd.github.io/";
changelog = "https://pmd.github.io/pmd-${version}/pmd_release_notes.html";

View File

@ -1,7 +1,7 @@
{ stdenv, qmake, qtbase, perl, python, php, kcachegrind }:
{ lib, stdenv, qmake, qtbase, perl, python, php, kcachegrind }:
let
name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
name = lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
in stdenv.mkDerivation {
inherit name;
@ -31,7 +31,7 @@ in stdenv.mkDerivation {
install -Dm644 kcachegrind/48-apps-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png"
'');
meta = with stdenv.lib; {
meta = with lib; {
description = "A Qt GUI to visualize profiling data";
license = licenses.gpl2;
platforms = platforms.unix;

View File

@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub
{lib, stdenv, fetchFromGitHub
, buildPackages
, pkg-config
, libusb-compat-0_1, readline, libewf, perl, zlib, openssl
@ -19,7 +19,7 @@ assert pythonBindings -> python3 != null;
let
inherit (stdenv.lib) optional;
inherit (lib) optional;
generic = {
version_commit, # unused
@ -95,9 +95,9 @@ let
meta = {
description = "unix-like reverse engineering framework and commandline tools";
homepage = "http://radare.org/";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ raskin makefu mic92 ];
platforms = with stdenv.lib.platforms; linux;
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ raskin makefu mic92 ];
platforms = with lib.platforms; linux;
inherit version;
};
};

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip }:
{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
version = "4.2.5";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
cp README.txt $out/doc
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Automatic test generation for Java";
homepage = "https://randoop.github.io/randoop/";
license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
{ lib, stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
stdenv.mkDerivation rec {
version = "5.4.0";
@ -52,8 +52,8 @@ stdenv.mkDerivation rec {
time the same execution is replayed.
'';
license = with stdenv.lib.licenses; [ mit bsd2 ];
maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ];
platforms = stdenv.lib.platforms.x86;
license = with lib.licenses; [ mit bsd2 ];
maintainers = with lib.maintainers; [ pierron thoughtpolice ];
platforms = lib.platforms.x86;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, sqlite, pkg-config, perl
{ lib, stdenv, fetchgit, sqlite, pkg-config, perl
, buildllvmsparse ? true
, buildc2xml ? true
, llvm ? null, libxml2 ? null
@ -18,8 +18,8 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkg-config ];
buildInputs = [sqlite perl]
++ stdenv.lib.optional buildllvmsparse llvm
++ stdenv.lib.optional buildc2xml libxml2;
++ lib.optional buildllvmsparse llvm
++ lib.optional buildc2xml libxml2;
preBuild =
'' sed -i Makefile \
@ -29,7 +29,7 @@ stdenv.mkDerivation {
meta = {
description = "A semantic analysis tool for C";
homepage = "http://smatch.sourceforge.net/";
license = stdenv.lib.licenses.free; /* OSL, see http://www.opensource.org */
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.free; /* OSL, see http://www.opensource.org */
platforms = lib.platforms.linux;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
mkDerivation rec {
pname = "snowman";
@ -19,7 +19,7 @@ mkDerivation rec {
export sourceRoot=$sourceRoot/src
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Native code to C/C++ decompiler";
homepage = "http://derevenets.com/";

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkg-config, libxml2, llvm }:
{ fetchurl, lib, stdenv, pkg-config, libxml2, llvm }:
stdenv.mkDerivation rec {
name = "sparse-0.5.0";
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Semantic parser for C";
homepage = "https://git.kernel.org/cgit/devel/sparse/sparse.git/";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.thoughtpolice ];
};
}

View File

@ -2,13 +2,13 @@
, withISpin ? true, tk, swarm, graphviz }:
let
binPath = stdenv.lib.makeBinPath [ gcc ];
ibinPath = stdenv.lib.makeBinPath [ gcc tk swarm graphviz tk ];
binPath = lib.makeBinPath [ gcc ];
ibinPath = lib.makeBinPath [ gcc tk swarm graphviz tk ];
in stdenv.mkDerivation rec {
pname = "spin";
version = "6.4.9";
url-version = stdenv.lib.replaceChars ["."] [""] version;
url-version = lib.replaceChars ["."] [""] version;
src = fetchurl {
# The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL.
@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
--prefix PATH ':' "$out/bin:${ibinPath}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Formal verification tool for distributed software systems";
homepage = "http://spinroot.com/";
license = licenses.free;

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, flex }:
{ fetchurl, lib, stdenv, flex }:
stdenv.mkDerivation rec {
name = "splint-3.1.2";
@ -8,13 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "02pv8kscsrkrzip9r08pfs9xs98q74c52mlxzbii6cv6vx1vd3f7";
};
patches = [ ./tmpdir.patch ] ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch;
patches = [ ./tmpdir.patch ] ++ lib.optional stdenv.isDarwin ./darwin.patch;
buildInputs = [ flex ];
doCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.splint.org/";
description = "Annotation-assisted lightweight static analyzer for C";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "swarm-2019-03-11";
@ -15,7 +15,7 @@ stdenv.mkDerivation {
install -Dm644 Doc/swarm.1 $out/share/man/man1/swarm.1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Verification script generator for Spin";
homepage = "http://spinroot.com/";
license = licenses.free;

View File

@ -1,4 +1,4 @@
{ stdenv, python3, fetchFromGitHub }:
{ lib, stdenv, python3, fetchFromGitHub }:
with python3.pkgs;
@ -14,7 +14,7 @@ buildPythonApplication rec {
sha256 = "1yn9vi91j1yxkn0icdnjhgl0qrqqkzyhccj39af4f19q1gdw995l";
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/theopolis/uefi-firmware-parser/";
description = "Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc";
# MIT + license headers in some files

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }:
{ lib, stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }:
stdenv.mkDerivation rec {
name = "valgrind-3.16.1";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
# GDB is needed to provide a sane default for `--db-command'.
# Perl is needed for `callgrind_{annotate,control}'.
buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
buildInputs = [ gdb perl ] ++ lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
# Perl is also a native build input.
nativeBuildInputs = [ perl ];
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
separateDebugInfo = stdenv.isLinux;
preConfigure = stdenv.lib.optionalString stdenv.isDarwin (
preConfigure = lib.optionalString stdenv.isDarwin (
let OSRELEASE = ''
$(awk -F '"' '/#define OSRELEASE/{ print $2 }' \
<${xnu}/Library/Frameworks/Kernel.framework/Headers/libkern/version.h)'';
@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
postPatch = "";
configureFlags =
stdenv.lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit"
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include";
lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit"
++ lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include";
doCheck = false; # fails
@ -76,10 +76,10 @@ stdenv.mkDerivation rec {
Valgrind to build new tools.
'';
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.unix;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.unix;
badPlatforms = [
"armv5tel-linux" "armv6l-linux" "armv6m-linux"
"sparc-linux" "sparc64-linux"

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4, qmake4Hook }:
{ lib, stdenv, fetchurl, qt4, qmake4Hook }:
stdenv.mkDerivation rec {
name = "valkyrie-2.0.0";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ qmake4Hook ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.valgrind.org/";
description = "Qt4-based GUI for the Valgrind 3.6.x series";
license = licenses.gpl2;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, jre, build-tools }:
{ lib, stdenv, fetchurl, makeWrapper, jre, build-tools }:
stdenv.mkDerivation rec {
pname = "apktool";
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
--prefix PATH : "${builtins.head build-tools}/libexec/android-sdk/build-tools/28.0.3"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A tool for reverse engineering Android apk files";
homepage = "https://ibotpeaches.github.io/Apktool/";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake
, pytestrunner, pytest, six, pyparsing, asn1ate }:
buildPythonApplication rec {
@ -23,7 +23,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ pyparsing asn1ate six ];
meta = with stdenv.lib; {
meta = with lib; {
description = "An ASN.1 compiler with a backend for Quick DER";
homepage = "https://github.com/vanrein/asn2quickder";
license = licenses.bsd3;

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
--add-flags "-jar $out/libexec/avro-tools/${pname}.jar"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://avro.apache.org/";
description = "Avro command-line tools and utilities";
license = lib.licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule }:
{ lib, stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "azure-storage-azcopy";
@ -21,7 +21,7 @@ buildGoModule rec {
ln -rs "$out/bin/azure-storage-azcopy" "$out/bin/azcopy"
'';
meta = with stdenv.lib; {
meta = with lib; {
maintainers = with maintainers; [ colemickens ];
license = licenses.mit;
description = "The new Azure Storage data transfer utility - AzCopy v10";

View File

@ -3,7 +3,7 @@
, git
, go
, python
, stdenv
, lib, stdenv
}:
let
@ -73,7 +73,7 @@ buildBazelPackage rec {
'';
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/bazelbuild/bazel-watcher";
description = "Tools for building Bazel targets when source files change";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "bazelisk";
@ -17,7 +17,7 @@ buildGoModule rec {
buildFlagsArray = [ "-ldflags=-s -w -X main.BazeliskVersion=${version}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A user-friendly launcher for Bazel";
longDescription = ''
BEWARE: This package does not work on NixOS.

View File

@ -1,4 +1,4 @@
{ stdenv, cmake, zlib, fetchFromGitHub }:
{ lib, stdenv, cmake, zlib, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.1";
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
install -Dm755 {.,$out/bin}/bloaty
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "a size profiler for binaries";
homepage = "https://github.com/google/bloaty";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "boost-build";
@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
./b2 install --prefix=$out
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.boost.org/boost-build2/";
license = stdenv.lib.licenses.boost;
license = lib.licenses.boost;
platforms = platforms.unix;
maintainers = with maintainers; [ ivan-tkatchev ];
};

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, coreutils, makeWrapper }:
{ fetchurl, lib, stdenv, coreutils, makeWrapper }:
let version = "1.9.15"; in
@ -105,8 +105,8 @@ stdenv.mkDerivation {
by an object that implements a particular Task interface.
'';
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.all;
};
}

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, coreutils, makeWrapper }:
{ fetchurl, lib, stdenv, coreutils, makeWrapper }:
let version = "1.10.9"; in
@ -105,8 +105,8 @@ stdenv.mkDerivation {
by an object that implements a particular Task interface.
'';
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.all;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jdk, makeWrapper }:
{ lib, stdenv, fetchurl, jdk, makeWrapper }:
assert jdk != null;
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
inherit jdk;
meta = with stdenv.lib; {
meta = with lib; {
description = "Build automation tool (used primarily for Java projects)";
homepage = "http://maven.apache.org/";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "arpa2cm";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
meta = with lib; {
description = "CMake Module library for the ARPA2 project";
license = licenses.bsd2;
maintainers = with maintainers; [ leenaars ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, lua5_3, python }:
{ lib, stdenv, fetchFromGitHub, lua5_3, python }:
stdenv.mkDerivation rec {
pname = "bam";
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
cp bam "$out/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Yet another build manager";
maintainers = with maintainers;
[

View File

@ -3,7 +3,7 @@
, fetchFromGitHub
, git
, go
, stdenv
, lib, stdenv
}:
buildBazelPackage rec {
@ -80,7 +80,7 @@ buildBazelPackage rec {
'';
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/buchgr/bazel-remote";
description = "A remote HTTP/1.1 cache for Bazel";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "bazel-buildtools";
@ -19,7 +19,7 @@ buildGoPackage rec {
buildFlagsArray = [ "-ldflags=-s -w -X main.buildVersion=${version} -X main.buildScmRevision=${src.rev}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Tools for working with Google's bazel buildtool. Includes buildifier, buildozer, and unused_deps";
homepage = "https://github.com/bazelbuild/buildtools";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, cmake
, pkg-config
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
./no-double-relative.patch
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Tool that generates a compilation database for clang tooling";
longDescription = ''
Note: the bear command is very useful to generate compilation commands

View File

@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
installShellCompletion --name bloop.fish --fish ${bloop-fish}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://scalacenter.github.io/bloop/";
license = licenses.asl20;
description = "A Scala build server and command-line tool to make the compile and test developer workflows fast and productive in a build-tool-agnostic way";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ lib, stdenv, fetchurl
, getopt
}:
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
./fix-unexport-env-test.patch
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Portable version of NetBSD 'make'";
homepage = "http://www.crufty.net/help/sjg/bmake.html";
license = licenses.bsd3;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jdk }:
{ lib, stdenv, fetchurl, jdk }:
stdenv.mkDerivation rec {
version = "2.7.2";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ jdk ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Build tooling for Clojure";
homepage = "https://boot-clj.com/";
license = licenses.epl10;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }:
{ lib, stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }:
stdenv.mkDerivation rec {
pname = "buck";
@ -30,10 +30,10 @@ stdenv.mkDerivation rec {
install -D -m755 buck-out/gen/programs/buck.pex $out/bin/buck
wrapProgram $out/bin/buck \
--prefix PYTHONPATH : $PYTHONPATH \
--prefix PATH : "${stdenv.lib.makeBinPath [jdk watchman]}"
--prefix PATH : "${lib.makeBinPath [jdk watchman]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://buck.build/";
description = "A high-performance build tool";
maintainers = [ maintainers.jgertm maintainers.marsam ];

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2
{ lib, stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2
, useNcurses ? false, ncurses, useQt4 ? false, qt4, ps
}:
with stdenv.lib;
with lib;
assert stdenv ? cc;
assert stdenv.cc ? libc;
let
os = stdenv.lib.optionalString;
os = lib.optionalString;
majorVersion = "2.8";
minorVersion = "12.2";
version = "${majorVersion}.${minorVersion}";
@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
"--mandir=/share/man"
"--system-libs"
"--no-system-libarchive"
] ++ stdenv.lib.optional useQt4 "--qt-gui";
] ++ lib.optional useQt4 "--qt-gui";
setupHook = ./setup-hook.sh;
@ -80,8 +80,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://cmake.org";
description = "Cross-Platform Makefile Generator";
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ xfix ];
license = stdenv.lib.licenses.bsd3;
platforms = if useQt4 then qt4.meta.platforms else lib.platforms.unix;
maintainers = with lib.maintainers; [ xfix ];
license = lib.licenses.bsd3;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perl }:
{ lib, stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation {
pname = "colormake";
@ -18,7 +18,7 @@ stdenv.mkDerivation {
cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Simple wrapper around make to colorize the output";
homepage = "https://bre.klaki.net/programs/colormake/";
license = licenses.gpl2;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python3Packages }:
{ lib, stdenv, fetchurl, python3Packages }:
let
@ -16,15 +16,15 @@ in python3Packages.buildPythonApplication {
buildInputs = with python3Packages; [ mock pytest ];
propagatedBuildInputs = with python3Packages; [ cloudpickle ]
++ stdenv.lib.optional stdenv.isLinux pyinotify
++ stdenv.lib.optional stdenv.isDarwin macfsevents;
++ lib.optional stdenv.isLinux pyinotify
++ lib.optional stdenv.isDarwin macfsevents;
# Tests fail due to mysterious gdbm.open() resource temporarily
# unavailable errors.
doCheck = false;
checkPhase = "py.test";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://pydoit.org/";
description = "A task management & automation tool";
license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
{ lib, stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
stdenv.mkDerivation rec {
pname = "dub";
@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
cp bin/dub $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Package and build manager for D applications and libraries";
homepage = "https://code.dlang.org/";
license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, git, fetchFromGitHub, rustPlatform }:
{ lib, stdenv, git, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "fac-build";
@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
'std::process::Command::new("${git}/bin/git")'
'';
meta = with stdenv.lib; {
meta = with lib; {
description = ''
A build system that uses ptrace to handle dependencies automatically
'';

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
assert guileSupport -> ( pkg-config != null && guile != null );
@ -25,10 +25,10 @@ stdenv.mkDerivation {
./glibc-2.27-glob.patch
];
nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ];
buildInputs = stdenv.lib.optionals guileSupport [ guile ];
nativeBuildInputs = lib.optionals guileSupport [ pkg-config ];
buildInputs = lib.optionals guileSupport [ guile ];
configureFlags = stdenv.lib.optional guileSupport "--with-guile"
configureFlags = lib.optional guileSupport "--with-guile"
# Make uses this test to decide whether it should keep track of
# subseconds. Apple made this possible with APFS and macOS 10.13.
@ -37,11 +37,11 @@ stdenv.mkDerivation {
# a second. So, tell Make to ignore nanoseconds in mtime here by
# overriding the autoconf test for the struct.
# See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
outputs = [ "out" "man" "info" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/make/";
description = "A tool to control the generation of non-source files from sources";
license = licenses.gpl3Plus;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }:
assert guileSupport -> ( pkg-config != null && guile != null );
@ -21,10 +21,10 @@ stdenv.mkDerivation {
./impure-dirs.patch
];
nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ];
buildInputs = stdenv.lib.optionals guileSupport [ guile ];
nativeBuildInputs = lib.optionals guileSupport [ pkg-config ];
buildInputs = lib.optionals guileSupport [ guile ];
configureFlags = stdenv.lib.optional guileSupport "--with-guile"
configureFlags = lib.optional guileSupport "--with-guile"
# Make uses this test to decide whether it should keep track of
# subseconds. Apple made this possible with APFS and macOS 10.13.
@ -33,11 +33,11 @@ stdenv.mkDerivation {
# a second. So, tell Make to ignore nanoseconds in mtime here by
# overriding the autoconf test for the struct.
# See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no";
outputs = [ "out" "man" "info" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/make/";
description = "A tool to control the generation of non-source files from sources";
license = licenses.gpl3Plus;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }:
{ lib, stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }:
rec {
gradleGen = {name, src, nativeVersion} : stdenv.mkDerivation {
@ -46,8 +46,8 @@ rec {
build-by-convention behavior.
'';
homepage = "http://www.gradle.org/";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
};

View File

@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
meta = {
inherit (src.meta) homepage;
description = "A better make, inspired by djb's redo";
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.timbertson ];
platforms = stdenv.lib.platforms.all;
license = lib.licenses.lgpl2Plus;
maintainers = [ lib.maintainers.timbertson ];
platforms = lib.platforms.all;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitLab, makeWrapper, gcc, ncurses }:
{ lib, stdenv, fetchFromGitLab, makeWrapper, gcc, ncurses }:
stdenv.mkDerivation rec {
pname = "icmake";
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
--prefix PATH : ${ncurses}/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A program maintenance (make) utility using a C-like grammar";
homepage = "https://fbb-git.gitlab.io/icmake/";
license = licenses.gpl3;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, yacc }:
{ lib, stdenv, fetchurl, yacc }:
stdenv.mkDerivation rec {
name = "jam-2.6.1";
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.perforce.com/resources/documentation/jam";
license = licenses.free;
description = "Just Another Make";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "kati-unstable";
@ -17,7 +17,7 @@ stdenv.mkDerivation {
install -D ckati $out/bin/ckati
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An experimental GNU make clone";
homepage = "https://github.com/google/kati";
platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper
{ lib, stdenv, fetchurl, makeWrapper
, coreutils, jdk, rlwrap, gnupg }:
stdenv.mkDerivation rec {
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
substituteInPlace $out/bin/lein \
--replace 'LEIN_JAR=/usr/share/java/leiningen-$LEIN_VERSION-standalone.jar' "LEIN_JAR=$out/share/$JARNAME"
wrapProgram $out/bin/lein \
--prefix PATH ":" "${stdenv.lib.makeBinPath [ rlwrap coreutils ]}" \
--prefix PATH ":" "${lib.makeBinPath [ rlwrap coreutils ]}" \
--set LEIN_GPG ${gnupg}/bin/gpg \
--set JAVA_CMD ${jdk}/bin/java
'';
@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://leiningen.org/";
description = "Project automation for Clojure";
license = stdenv.lib.licenses.epl10;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ thiagokokada ];
license = lib.licenses.epl10;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ thiagokokada ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jre, makeWrapper }:
{ lib, stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
pname = "mill";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.lihaoyi.com/mill";
license = licenses.mit;
description = "A build tool for Scala, Java and more";
@ -37,6 +37,6 @@ stdenv.mkDerivation rec {
modules (written in Java or Scala) or through an external subprocesses.
'';
maintainers = with maintainers; [ scalavision ];
platforms = stdenv.lib.platforms.all;
platforms = lib.platforms.all;
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{lib, stdenv, fetchurl}:
stdenv.mkDerivation {
name = "mk-2006-01-31";
@ -9,6 +9,6 @@ stdenv.mkDerivation {
builder = ./builder.sh;
meta = {
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, glibcLocales, mono, dotnetPackages, unzip, dotnet-sdk }:
{ lib, stdenv, fetchurl, makeWrapper, glibcLocales, mono, dotnetPackages, unzip, dotnet-sdk }:
let
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/issues/38991
# bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
LOCALE_ARCHIVE = lib.optionalString stdenv.isLinux
"${glibcLocales}/lib/locale/locale-archive";
buildPhase = ''
@ -122,7 +122,7 @@ EOF
${mono}/bin/mono Helloworld.exe | grep "Hello, world!"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Mono version of Microsoft Build Engine, the build platform for .NET, and Visual Studio";
homepage = "https://github.com/mono/msbuild";
license = licenses.mit;

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, fetchpatch, python3, buildDocs ? true, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, re2c }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, python3, buildDocs ? true, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, re2c }:
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "ninja";

View File

@ -1,6 +1,6 @@
{ stdenv, pythonPackages }:
{ lib, stdenv, pythonPackages }:
with stdenv.lib;
with lib;
with pythonPackages;
buildPythonApplication rec {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }:
stdenv.mkDerivation rec {
pname = "qbs";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "A tool that helps simplify the build process for developing projects across multiple platforms";
homepage = "https://wiki.qt.io/Qbs";
license = licenses.lgpl3;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, erlang }:
{ lib, stdenv, fetchurl, erlang }:
let
@ -35,7 +35,7 @@ stdenv.mkDerivation {
variety of locations (git, hg, etc).
'';
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.asl20;
platforms = lib.platforms.unix;
license = lib.licenses.asl20;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub,
{ lib, stdenv, fetchFromGitHub,
fetchHex, erlang,
tree }:
@ -135,8 +135,8 @@ stdenv.mkDerivation rec {
variety of locations (hex.pm, git, hg, and so on).
'';
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ gleber tazjin ];
license = stdenv.lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ gleber tazjin ];
license = lib.licenses.asl20;
};
}

View File

@ -30,7 +30,7 @@
--replace "/bin/ls" "ls"
substituteInPlace t/110-compile/hello.o.do \
--replace "/usr/include" "${stdenv.lib.getDev stdenv.cc.libc}/include"
--replace "/usr/include" "${lib.getDev stdenv.cc.libc}/include"
substituteInPlace t/200-shell/nonshelltest.do \
--replace "/usr/bin/env perl" "${perl}/bin/perl"

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "redo-c";
version = "0.2";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
cp '${./Makefile}' Makefile
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An implementation of the redo build system in portable C with zero dependencies";
homepage = "https://github.com/leahneukirchen/redo-c";
license = licenses.cc0;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, coreutils }:
{ lib, stdenv, fetchurl, makeWrapper, coreutils }:
stdenv.mkDerivation {
version = "4.0.4";
@ -21,7 +21,7 @@ stdenv.mkDerivation {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Redo implementation in Bourne Shell";
homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
license = licenses.agpl3;

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, perl }:
{lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
name = "redo-1.4";
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://jdebp.eu./Softwares/redo/";
description = "A system for building target files from source files";
license = stdenv.lib.licenses.bsd2;
maintainers = [ stdenv.lib.maintainers.vrthra ];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vrthra ];
platforms = lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, readline }:
{ lib, stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
pname = "remake";
@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://bashdb.sourceforge.net/remake/";
license = stdenv.lib.licenses.gpl3;
license = lib.licenses.gpl3;
description = "GNU Make with comprehensible tracing and a debugger";
platforms = with stdenv.lib.platforms; linux ++ darwin;
maintainers = with stdenv.lib.maintainers; [ bjornfor ];
platforms = with lib.platforms; linux ++ darwin;
maintainers = with lib.maintainers; [ bjornfor ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "rocm-cmake";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
meta = with lib; {
description = "CMake modules for common build tasks for the ROCm stack";
homepage = "https://github.com/RadeonOpenCompute/rocm-cmake";
license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "samurai";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "DESTDIR=" "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "ninja-compatible build tool written in C";
homepage = "https://github.com/michaelforney/samurai";
license = with licenses; [ mit asl20 ]; # see LICENSE

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript
{ lib, stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript
, common-updater-scripts, cacert, git, nixfmt, nix, jq, coreutils, gnused
, nixosTests }:
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
install bin/sbt $out/bin
wrapProgram $out/bin/sbt --prefix PATH : ${
stdenv.lib.makeBinPath [ which curl ]
lib.makeBinPath [ which curl ]
}
'';
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
#!${stdenv.shell}
set -xo errexit
PATH=${
stdenv.lib.makeBinPath [
lib.makeBinPath [
common-updater-scripts
curl
cacert
@ -70,8 +70,8 @@ stdenv.mkDerivation rec {
description =
"A more featureful runner for sbt, the simple/scala/standard build tool";
homepage = "https://github.com/paulp/sbt-extras";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ nequissimus puffnfresh ];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ nequissimus puffnfresh ];
platforms = lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jre, autoPatchelfHook, zlib, writeScript
{ lib, stdenv, fetchurl, jre, autoPatchelfHook, zlib, writeScript
, common-updater-scripts, git, nixfmt, nix, coreutils, gnused, nixosTests }:
stdenv.mkDerivation rec {
@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
echo -java-home ${jre.home} >>conf/sbtopts
'';
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ autoPatchelfHook ];
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ zlib ];
buildInputs = lib.optionals stdenv.isLinux [ zlib ];
installPhase = ''
mkdir -p $out/share/sbt $out/bin
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
} $out/bin/sbtn
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.scala-sbt.org/";
license = licenses.bsd3;
description = "A build tool for Scala, Java and more";
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
#!${stdenv.shell}
set -o errexit
PATH=${
stdenv.lib.makeBinPath [
lib.makeBinPath [
common-updater-scripts
git
nixfmt

View File

@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
# The release tarballs don't contain any tests (runtest.py and test/*):
doCheck = lib.versionOlder version "4.0.0";
meta = with stdenv.lib; {
meta = with lib; {
description = "An improved, cross-platform substitute for Make";
longDescription = ''
SCons is an Open Source software construction tool. Think of

View File

@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, crystal_0_34
, crystal_0_35
@ -26,7 +26,7 @@ let
# tries to execute git which fails spectacularly
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "Dependency manager for the Crystal language";
license = licenses.asl20;
maintainers = with maintainers; [ peterhoeg ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fuse3, pkg-config, pcre }:
{ lib, stdenv, fetchFromGitHub, fuse3, pkg-config, pcre }:
stdenv.mkDerivation rec {
pname = "tup";
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
meta = with stdenv.lib; {
meta = with lib; {
description = "A fast, file-based build system";
longDescription = ''
Tup is a file-based build system for Linux, OSX, and Windows. It inputs a list

View File

@ -1,9 +1,9 @@
{ stdenv, fetchFromGitLab, python, ensureNewerSourcesForZipFilesHook
{ lib, stdenv, fetchFromGitLab, python, ensureNewerSourcesForZipFilesHook
# optional list of extra waf tools, e.g. `[ "doxygen" "pytest" ]`
, withTools ? null
}:
let
wafToolsArg = with stdenv.lib.strings;
wafToolsArg = with lib.strings;
optionalString (!isNull withTools) " --tools=\"${concatStringsSep "," withTools}\"";
in
stdenv.mkDerivation rec {
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
install -D waf $out/bin/waf
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Meta build system";
homepage = "https://waf.io";
license = licenses.bsd3;

View File

@ -1,11 +1,11 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
{ lib, stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "buildkit";
version = "0.8.1";
goPackagePath = "github.com/moby/buildkit";
subPackages = [ "cmd/buildctl" ] ++ stdenv.lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
subPackages = [ "cmd/buildctl" ] ++ lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
src = fetchFromGitHub {
owner = "moby";
@ -16,7 +16,7 @@ buildGoPackage rec {
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version} -X ${goPackagePath}/version.Revision=${src.rev}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit";
homepage = "https://github.com/moby/buildkit";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform
{ lib, stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform
, CoreServices, Security
}:
@ -16,9 +16,9 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0i9xp7vd1rp6xgkbbrspm3qq4hxwfwa00di3k73z1x64d3d8r5fm";
nativeBuildInputs = [ openssl perl pkg-config ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A Cargo subcommand for the client-side Web";
homepage = "https://github.com/koute/cargo-web";
license = with licenses; [ asl20 /* or */ mit ];

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