···11-{ stdenv, fetchurl, makeWrapper, jre }:
11+{ lib, stdenv, fetchurl, makeWrapper, jre }:
2233stdenv.mkDerivation rec {
44 version = "8.39";
···2222 runHook postInstall
2323 '';
24242525- meta = with stdenv.lib; {
2525+ meta = with lib; {
2626 description = "Checks Java source against a coding standard";
2727 longDescription = ''
2828 checkstyle is a development tool to help programmers write Java code that
···11-{ stdenv, fetchurl, perlPackages }:
11+{ lib, stdenv, fetchurl, perlPackages }:
2233perlPackages.buildPerlPackage rec {
44 pname = "egypt";
···15151616 doCheck = true;
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 description = "Tool for making call graphs of C programmes";
2020 longDescription = ''
2121 Egypt is a simple tool for creating call graphs of C programs. It neither
···11-{ stdenv, fetchgit }:
11+{ lib, stdenv, fetchgit }:
2233stdenv.mkDerivation {
44···1717 cp ./traceFileSim "$out/bin"
1818 '';
19192020- meta = with stdenv.lib; {
2020+ meta = with lib; {
2121 description = "Ease the analysis of existing memory management techniques, as well as the prototyping of new memory management techniques";
2222 homepage = "https://github.com/GarCoSim";
2323 maintainers = [ maintainers.cmcdragonkai ];
···6767 --replace "Exec=/opt/hopper-${rev}/bin/Hopper" "Exec=$out/bin/hopper"
6868 '';
69697070- meta = with stdenv.lib; {
7070+ meta = with lib; {
7171 homepage = "https://www.hopperapp.com/index.html";
7272 description = "A macOS and Linux Disassembler";
7373 license = licenses.unfree;
···11-{ stdenv, fetchurl, cmake, llvmPackages, python2 }:
11+{ lib, stdenv, fetchurl, cmake, llvmPackages, python2 }:
2233stdenv.mkDerivation rec {
44 pname = "include-what-you-use";
···2020 --replace "'include-what-you-use'" "'$out/bin/include-what-you-use'"
2121 '';
22222323- meta = with stdenv.lib; {
2323+ meta = with lib; {
2424 description = "Analyze #includes in C/C++ source files with clang";
2525 longDescription = ''
2626 For every symbol (type, function variable, or macro) that you use in
···11-{ stdenv
11+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
···4545 ./no-double-relative.patch
4646 ];
47474848- meta = with stdenv.lib; {
4848+ meta = with lib; {
4949 description = "Tool that generates a compilation database for clang tooling";
5050 longDescription = ''
5151 Note: the bear command is very useful to generate compilation commands
···8282 installShellCompletion --name bloop.fish --fish ${bloop-fish}
8383 '';
84848585- meta = with stdenv.lib; {
8585+ meta = with lib; {
8686 homepage = "https://scalacenter.github.io/bloop/";
8787 license = licenses.asl20;
8888 description = "A Scala build server and command-line tool to make the compile and test developer workflows fast and productive in a build-tool-agnostic way";
···2121 # The release tarballs don't contain any tests (runtest.py and test/*):
2222 doCheck = lib.versionOlder version "4.0.0";
23232424- meta = with stdenv.lib; {
2424+ meta = with lib; {
2525 description = "An improved, cross-platform substitute for Make";
2626 longDescription = ''
2727 SCons is an Open Source software construction tool. Think of
···7070 rm -r $out/lib # it contains only systemd unit file
7171 '');
72727373- meta = with stdenv.lib; {
7373+ meta = with lib; {
7474 description = "Lightweight and modular continuous integration service";
7575 homepage = "https://laminar.ohwg.net";
7676 license = licenses.gpl3;
+2-2
pkgs/development/tools/corgi/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 name = "corgi-${rev}";
···16161717 goDeps = ./deps.nix;
18181919- meta = with stdenv.lib; {
1919+ meta = with lib; {
2020 description = "CLI workflow manager";
2121 longDescription = ''
2222 Corgi is a command-line tool that helps with your repetitive command usages by organizing them into reusable snippet.
+3-3
pkgs/development/tools/coursier/default.nix
···11-{ stdenv, fetchurl, makeWrapper, jre, writeScript, common-updater-scripts
11+{ lib, stdenv, fetchurl, makeWrapper, jre, writeScript, common-updater-scripts
22, coreutils, git, gnused, nix, nixfmt }:
3344let
···3737 #!${stdenv.shell}
3838 set -o errexit
3939 PATH=${
4040- stdenv.lib.makeBinPath [
4040+ lib.makeBinPath [
4141 common-updater-scripts
4242 coreutils
4343 git
···6262 fi
6363 '';
64646565- meta = with stdenv.lib; {
6565+ meta = with lib; {
6666 homepage = "https://get-coursier.io/";
6767 description =
6868 "A Scala library to fetch dependencies from Maven / Ivy repositories";
+2-2
pkgs/development/tools/cppclean/default.nix
···11-{ stdenv, fetchFromGitHub, python3Packages }:
11+{ lib, stdenv, fetchFromGitHub, python3Packages }:
2233with python3Packages;
44···2121 ./test.bash
2222 '';
23232424- meta = with stdenv.lib; {
2424+ meta = with lib; {
2525 description = "Finds problems in C++ source that slow development of large code bases";
2626 homepage = "https://github.com/myint/cppclean";
2727 license = licenses.asl20;
+3-3
pkgs/development/tools/cue/default.nix
···11-{ buildGoModule, fetchgit, stdenv }:
11+{ buildGoModule, fetchgit, lib, stdenv }:
2233buildGoModule rec {
44 pname = "cue";
···2323 meta = {
2424 description = "A data constraint language which aims to simplify tasks involving defining and using data";
2525 homepage = "https://cuelang.org/";
2626- maintainers = with stdenv.lib.maintainers; [ solson ];
2727- license = stdenv.lib.licenses.asl20;
2626+ maintainers = with lib.maintainers; [ solson ];
2727+ license = lib.licenses.asl20;
2828 };
2929}
···11-{ stdenv, fetchFromGitHub }:
11+{ lib, stdenv, fetchFromGitHub }:
2233stdenv.mkDerivation rec {
44 pname = "dcadec";
···15151616 doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first."
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 description = "DTS Coherent Acoustics decoder with support for HD extensions";
2020 maintainers = with maintainers; [ edwtjo ];
2121 homepage = "https://github.com/foo86/dcadec";
+2-2
pkgs/development/tools/deis/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "deis";
···2525 export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace
2626 '';
27272828- meta = with stdenv.lib; {
2828+ meta = with lib; {
2929 homepage = "https://deis.io";
3030 description = "A command line utility used to interact with the Deis open source PaaS";
3131 license = licenses.asl20;
+2-2
pkgs/development/tools/deisctl/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "deis";
···1919 export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace
2020 '';
21212222- meta = with stdenv.lib; {
2222+ meta = with lib; {
2323 homepage = "https://deis.io";
2424 description = "A command-line utility used to provision and operate a Deis cluster";
2525 license = licenses.asl20;
+2-2
pkgs/development/tools/delve/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "delve";
···1414 sha256 = "10zvla2jqxqibxdk3zbnsxg63i0zcwcn9npvw3bbicwd2z4vvskk";
1515 };
16161717- meta = with stdenv.lib; {
1717+ meta = with lib; {
1818 description = "debugger for the Go programming language";
1919 homepage = "https://github.com/derekparker/delve";
2020 maintainers = with maintainers; [ vdemeester ];
···11-{ buildGoPackage, fetchFromGitHub, stdenv }:
11+{ buildGoPackage, fetchFromGitHub, lib, stdenv }:
2233buildGoPackage rec {
44 pname = "devd";
···1111 };
1212 goPackagePath = "github.com/cortesi/devd";
1313 subPackages = [ "cmd/devd" ];
1414- meta = with stdenv.lib; {
1414+ meta = with lib; {
1515 description = "A local webserver for developers";
1616 homepage = "https://github.com/cortesi/devd";
1717 license = licenses.mit;
+2-2
pkgs/development/tools/devpi-client/default.nix
···11-{ stdenv
11+{ lib, stdenv
22, buildPythonApplication
33, fetchPypi
44# buildInputs
···49495050 LC_ALL = "en_US.UTF-8";
51515252- meta = with stdenv.lib; {
5252+ meta = with lib; {
5353 homepage = "http://doc.devpi.net";
5454 description = "Client for devpi, a pypi index server and packaging meta tool";
5555 license = licenses.mit;
+3-3
pkgs/development/tools/devpi-server/default.nix
···11-{ stdenv, fetchFromGitHub, python3Packages, nginx }:
11+{ lib, stdenv, fetchFromGitHub, python3Packages, nginx }:
2233python3Packages.buildPythonApplication rec {
44 pname = "devpi-server";
···3333 pytestCheckHook
3434 pytest-flake8
3535 webtest
3636- ] ++ stdenv.lib.optionals isPy27 [ mock ];
3636+ ] ++ lib.optionals isPy27 [ mock ];
37373838 # root_passwd_hash tries to write to store
3939 # TestMirrorIndexThings tries to write to /var through ngnix
···5555 "TestMirrorIndexThings"
5656 ];
57575858- meta = with stdenv.lib;{
5858+ meta = with lib;{
5959 homepage = "http://doc.devpi.net";
6060 description = "Github-style pypi index server and packaging meta tool";
6161 license = licenses.mit;
···3535 backports_tempfile
3636 ];
37373838- meta = with stdenv.lib; {
3838+ meta = with lib; {
3939 description = "Project documentation with Markdown / static website generator";
4040 longDescription = ''
4141 MkDocs is a fast, simple and downright gorgeous static site generator that's
···11-{ stdenv
11+{ lib, stdenv
22, fetchurl
33, substituteAll
44, nixosTests
···145145 };
146146 };
147147148148- meta = with stdenv.lib; {
148148+ meta = with lib; {
149149 description = "Tool to build flatpaks from source";
150150 homepage = "https://github.com/flatpak/flatpak-builder";
151151 license = licenses.lgpl21Plus;
+2-2
pkgs/development/tools/flootty/default.nix
···11-{ stdenv, python3Packages }:
11+{ lib, stdenv, python3Packages }:
2233python3Packages.buildPythonApplication rec {
44 pname = "Flootty";
···99 sha256 = "0gfl143ly81pmmrcml91yr0ypvwrs5q4s1sfdc0l2qkqpy233ih7";
1010 };
11111212- meta = with stdenv.lib; {
1212+ meta = with lib; {
1313 description = "A collaborative terminal. In practice, it's similar to a shared screen or tmux session";
1414 homepage = "https://floobits.com/help/flootty";
1515 license = licenses.asl20;
+2-2
pkgs/development/tools/flyway/default.nix
···11-{ stdenv, fetchurl, jre_headless, makeWrapper }:
11+{ lib, stdenv, fetchurl, jre_headless, makeWrapper }:
22 let
33 version = "7.3.1";
44 in
···2222 --add-flags "org.flywaydb.commandline.Main" \
2323 --add-flags "-jarDirs='$out/share/flyway/jars'"
2424 '';
2525- meta = with stdenv.lib; {
2525+ meta = with lib; {
2626 description = "Evolve your Database Schema easily and reliably across all your instances";
2727 longDescription = ''
2828 The Flyway command-line tool is a standalone Flyway distribution.
···11-{ stdenv
11+{ lib, stdenv
22, fetchFromGitHub
33, makeWrapper
44, coreutils
···28282929 postInstall =
3030 let
3131- path = stdenv.lib.makeBinPath [
3131+ path = lib.makeBinPath [
3232 coreutils
3333 gawk
3434 git
···4141 wrapProgram $out/bin/git-quick-stats --suffix PATH : ${path}
4242 '';
43434444- meta = with stdenv.lib; {
4444+ meta = with lib; {
4545 homepage = "https://github.com/arzzen/git-quick-stats";
4646 description = "A simple and efficient way to access various statistics in git repository";
4747 platforms = platforms.all;
+2-2
pkgs/development/tools/git-series/default.nix
···11-{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform
11+{ lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform
22, openssl, cmake, perl, pkg-config, zlib, curl, libgit2, libssh2
33}:
44···4343 install -D "$src/git-series.1" "$out/man/man1/git-series.1"
4444 '';
45454646- meta = with stdenv.lib; {
4646+ meta = with lib; {
4747 description = "A tool to help with formatting git patches for review on mailing lists";
4848 longDescription = ''
4949 git series tracks changes to a patch series over time. git
+2-2
pkgs/development/tools/github/cligh/default.nix
···11-{ stdenv, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }:
11+{ lib, stdenv, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }:
2233buildPythonApplication rec {
44 pname = "cligh";
···15151616 propagatedBuildInputs = [ pyxdg PyGithub ];
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 homepage = "http://the-brannons.com/software/cligh.html";
2020 description = "A simple command-line interface to the facilities of Github";
2121 longDescription = ''
···11-{ stdenv, system, fetchurl }:
11+{ lib, stdenv, system, fetchurl }:
2233let
44 linuxPredicate = system == "x86_64-linux";
···3636 cp "${metadata.archiveBinaryPath}/github-release" "$out/bin/"
3737 '';
38383939- meta = with stdenv.lib; {
3939+ meta = with lib; {
4040 description = "Commandline app to create and edit releases on Github (and upload artifacts)";
4141 longDescription = ''
4242 A small commandline app written in Go that allows you to easily create and
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "go-bindata-assetfs";
···1313 sha256 = "0b6q8h9fwpgpkvml1j87wq9174g7px1dmskhm884drpvswda2djk";
1414 };
15151616- meta = with stdenv.lib; {
1616+ meta = with lib; {
1717 description = "Serve embedded files from jteeuwen/go-bindata";
1818 license = licenses.bsd2;
1919 maintainers = with maintainers; [ avnik ];
+2-2
pkgs/development/tools/go-bindata/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage {
44 pname = "go-bindata";
···15151616 excludedPackages = "testdata";
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 homepage = "https://github.com/jteeuwen/go-bindata";
2020 description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
2121 maintainers = with maintainers; [ cstrahan ];
+2-2
pkgs/development/tools/go-langserver/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "go-langserver";
···1414 sha256 = "1wv7xf81s3qi8xydxjkkp8vacdzrq8sbj04346fz73nsn85z0sgp";
1515 };
16161717- meta = with stdenv.lib; {
1717+ meta = with lib; {
1818 description = "A Go language server protocol server";
1919 homepage = "https://github.com/sourcegraph/go-langserver";
2020 license = licenses.mit;
+3-3
pkgs/development/tools/go-outline/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "go-outline";
···1818 meta = {
1919 description = "Utility to extract JSON representation of declarations from a Go source file";
2020 homepage = "https://github.com/ramya-rao-a/go-outline";
2121- maintainers = with stdenv.lib.maintainers; [ vdemeester ];
2222- license = stdenv.lib.licenses.mit;
2121+ maintainers = with lib.maintainers; [ vdemeester ];
2222+ license = lib.licenses.mit;
2323 };
2424}
+2-2
pkgs/development/tools/go-protobuf/default.nix
···11-{ stdenv, buildGoModule, fetchFromGitHub }:
11+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
2233buildGoModule rec {
44 pname = "go-protobuf";
···15151616 doCheck = false;
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 homepage = "https://github.com/golang/protobuf";
2020 description = " Go bindings for protocol buffer";
2121 maintainers = with maintainers; [ lewo ];
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "go-symbols";
···1717 meta = {
1818 description = "A utility for extracting a JSON representation of the package symbols from a go source tree";
1919 homepage = "https://github.com/acroca/go-symbols";
2020- maintainers = with stdenv.lib.maintainers; [ vdemeester ];
2121- license = stdenv.lib.licenses.mit;
2020+ maintainers = with lib.maintainers; [ vdemeester ];
2121+ license = lib.licenses.mit;
2222 };
2323}
+2-2
pkgs/development/tools/go2nix/default.nix
···11-{ stdenv, buildGoPackage, go-bindata, gotools, nix-prefetch-git, git, makeWrapper,
11+{ lib, stdenv, buildGoPackage, go-bindata, gotools, nix-prefetch-git, git, makeWrapper,
22 fetchFromGitHub }:
3344buildGoPackage rec {
···36363737 doCheck = false; # tries to access the net
38383939- meta = with stdenv.lib; {
3939+ meta = with lib; {
4040 description = "Go apps packaging for Nix";
4141 homepage = "https://github.com/kamilchm/go2nix";
4242 license = licenses.mit;
+2-2
pkgs/development/tools/goa/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "goa";
···16161717 goDeps = ./deps.nix;
18181919- meta = with stdenv.lib; {
1919+ meta = with lib; {
2020 homepage = "https://goa.design";
2121 description = "A framework for building microservices in Go using a unique design-first approach";
2222 license = licenses.mit;
+2-2
pkgs/development/tools/gocode-gomod/default.nix
···11-{ stdenv, buildGoModule, fetchFromGitHub }:
11+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
2233buildGoModule rec {
44 pname = "gocode-gomod";
···2424 mv $out/bin/gocode $out/bin/gocode-gomod
2525 '';
26262727- meta = with stdenv.lib; {
2727+ meta = with lib; {
2828 description = "An autocompletion daemon for the Go programming language";
2929 longDescription = ''
3030 Gocode is a helper tool which is intended to be integrated with your
+2-2
pkgs/development/tools/gocode/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "gocode-unstable";
···23232424 goDeps = ./deps.nix;
25252626- meta = with stdenv.lib; {
2626+ meta = with lib; {
2727 description = "An autocompletion daemon for the Go programming language";
2828 longDescription = ''
2929 Gocode is a helper tool which is intended to be integrated with your
+3-3
pkgs/development/tools/goconvey/default.nix
···11-{ stdenv, buildGoPackage, fetchFromGitHub }:
11+{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
2233buildGoPackage rec {
44 pname = "goconvey";
···1919 meta = {
2020 description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go";
2121 homepage = "https://github.com/smartystreets/goconvey";
2222- maintainers = with stdenv.lib.maintainers; [ vdemeester ];
2323- license = stdenv.lib.licenses.mit;
2222+ maintainers = with lib.maintainers; [ vdemeester ];
2323+ license = lib.licenses.mit;
2424 };
2525}
+3-3
pkgs/development/tools/godef/default.nix
···11-{ stdenv, buildGoModule, fetchFromGitHub }:
11+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
2233buildGoModule rec {
44 pname = "godef";
···2121 meta = {
2222 description = "Print where symbols are defined in Go source code";
2323 homepage = "https://github.com/rogpeppe/godef/";
2424- maintainers = with stdenv.lib.maintainers; [ vdemeester rvolosatovs ];
2525- license = stdenv.lib.licenses.bsd3;
2424+ maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
2525+ license = lib.licenses.bsd3;
2626 };
2727}
+2-2
pkgs/development/tools/godot/default.nix
···6161 meta = {
6262 homepage = "https://godotengine.org";
6363 description = "Free and Open Source 2D and 3D game engine";
6464- license = stdenv.lib.licenses.mit;
6464+ license = lib.licenses.mit;
6565 platforms = [ "i686-linux" "x86_64-linux" ];
6666- maintainers = [ stdenv.lib.maintainers.twey ];
6666+ maintainers = [ lib.maintainers.twey ];
6767 };
6868}
+2-2
pkgs/development/tools/godot/headless.nix
···11-{ godot, stdenv }:
11+{ godot, lib, stdenv }:
22godot.overrideAttrs (oldAttrs: rec {
33 pname = "godot-headless";
44 sconsFlags = "target=release_debug platform=server tools=yes";
···1414 '';
1515 meta.description =
1616 "Free and Open Source 2D and 3D game engine (headless build)";
1717- meta.maintainers = with stdenv.lib.maintainers; [ twey yusdacra ];
1717+ meta.maintainers = with lib.maintainers; [ twey yusdacra ];
1818})
+2-2
pkgs/development/tools/godot/server.nix
···11-{ godot, stdenv }:
11+{ godot, lib, stdenv }:
22godot.overrideAttrs (oldAttrs: rec {
33 pname = "godot-server";
44 sconsFlags = "target=release platform=server tools=no";
···1414 '';
1515 meta.description =
1616 "Free and Open Source 2D and 3D game engine (server build)";
1717- meta.maintainers = with stdenv.lib.maintainers; [ twey yusdacra ];
1717+ meta.maintainers = with lib.maintainers; [ twey yusdacra ];
1818})
+3-3
pkgs/development/tools/golint/default.nix
···11-{ stdenv, buildGoPackage, fetchgit }:
11+{ lib, stdenv, buildGoPackage, fetchgit }:
2233buildGoPackage rec {
44 pname = "lint";
55- version = "20181026-${stdenv.lib.strings.substring 0 7 rev}";
55+ version = "20181026-${lib.strings.substring 0 7 rev}";
66 rev = "c67002cb31c3a748b7688c27f20d8358b4193582";
7788 goPackagePath = "golang.org/x/lint";
···20202121 goDeps = ./deps.nix;
22222323- meta = with stdenv.lib; {
2323+ meta = with lib; {
2424 homepage = "https://golang.org";
2525 description = "Linter for Go source code";
2626 license = licenses.bsd3;
···11-{ stdenv, cmake, llvmPackages, irony }:
11+{ lib, stdenv, cmake, llvmPackages, irony }:
2233stdenv.mkDerivation {
44 pname = "irony-server";
···1515 "-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
1616 ];
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 description = "The server part of irony";
2020 homepage = "https://melpa.org/#/irony";
2121 maintainers = [ maintainers.deepfire ];
+2-2
pkgs/development/tools/java/cfr/default.nix
···11-{ stdenv, makeWrapper, fetchurl, jre }:
11+{ lib, stdenv, makeWrapper, fetchurl, jre }:
2233stdenv.mkDerivation rec {
44 pname = "cfr";
···1717 makeWrapper ${jre}/bin/java $out/bin/cfr --add-flags "-jar $jar"
1818 '';
19192020- meta = with stdenv.lib; {
2020+ meta = with lib; {
2121 description = "Another java decompiler";
2222 longDescription = ''
2323 CFR will decompile modern Java features - Java 8 lambdas (pre and post
+1-1
pkgs/development/tools/java/dex2jar/default.nix
···3434 done
3535 '';
36363737- meta = with stdenv.lib; {
3737+ meta = with lib; {
3838 homepage = https://sourceforge.net/projects/dex2jar/;
3939 description = "Tools to work with android .dex and java .class files";
4040 maintainers = with maintainers; [ makefu ];
···3333 cp -r . $out
3434 '';
35353636- meta = with stdenv.lib; {
3636+ meta = with lib; {
3737 description = "A visual interface for viewing information about Java applications";
3838 longDescription = ''
3939 VisualVM is a visual tool integrating several commandline JDK
+2-2
pkgs/development/tools/jbake/default.nix
···11-{ stdenv, fetchzip, makeWrapper, jre }:
11+{ lib, stdenv, fetchzip, makeWrapper, jre }:
2233stdenv.mkDerivation rec {
44 version = "2.6.5";
···2525 '';
2626 doCheck = true;
27272828- meta = with stdenv.lib; {
2828+ meta = with lib; {
2929 description = "Java based, open source, static site/blog generator for developers & designers";
3030 homepage = "https://jbake.org/";
3131 license = licenses.mit;
+1-1
pkgs/development/tools/jbang/default.nix
···2626 $out/bin/jbang --version 2>&1 | grep -q "${version}"
2727 '';
28282929- meta = with stdenv.lib; {
2929+ meta = with lib; {
3030 description = "Run java as scripts anywhere";
3131 longDescription = ''
3232 jbang uses the java language to build scripts similar to groovy scripts. Dependencies are automatically
···11-{stdenv, fetchurl, m4, perl, lzma}:
11+{lib, stdenv, fetchurl, m4, perl, lzma}:
2233stdenv.mkDerivation rec {
44 name = "autoconf-2.13";
···3434 can use, in the form of M4 macro calls.
3535 '';
36363737- license = stdenv.lib.licenses.gpl2Plus;
3838- platforms = stdenv.lib.platforms.unix;
3737+ license = lib.licenses.gpl2Plus;
3838+ platforms = lib.platforms.unix;
3939 };
4040}
+3-3
pkgs/development/tools/misc/autoconf/2.64.nix
···11-{ stdenv, fetchurl, m4, perl }:
11+{ lib, stdenv, fetchurl, m4, perl }:
2233stdenv.mkDerivation rec {
44 name = "autoconf-2.64";
···4444 can use, in the form of M4 macro calls.
4545 '';
46464747- license = stdenv.lib.licenses.gpl2Plus;
4747+ license = lib.licenses.gpl2Plus;
48484949- platforms = stdenv.lib.platforms.all;
4949+ platforms = lib.platforms.all;
5050 };
5151}
+3-3
pkgs/development/tools/misc/autoconf/2.69.nix
···11-{ stdenv, fetchurl, m4, perl }:
11+{ lib, stdenv, fetchurl, m4, perl }:
2233stdenv.mkDerivation rec {
44 name = "autoconf-2.69";
···4545 can use, in the form of M4 macro calls.
4646 '';
47474848- license = stdenv.lib.licenses.gpl2Plus;
4848+ license = lib.licenses.gpl2Plus;
49495050- platforms = stdenv.lib.platforms.all;
5050+ platforms = lib.platforms.all;
5151 };
5252}
+3-3
pkgs/development/tools/misc/autoconf/default.nix
···11-{ stdenv, fetchurl, m4, perl }:
11+{ lib, stdenv, fetchurl, m4, perl }:
2233# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
···4747 can use, in the form of M4 macro calls.
4848 '';
49495050- license = stdenv.lib.licenses.gpl3Plus;
5050+ license = lib.licenses.gpl3Plus;
51515252- platforms = stdenv.lib.platforms.all;
5252+ platforms = lib.platforms.all;
5353 };
5454}
+5-5
pkgs/development/tools/misc/autogen/default.nix
···11-{ stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }:
11+{ lib, stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }:
2233stdenv.mkDerivation rec {
44 pname = "autogen";
···34343535 nativeBuildInputs = [
3636 which pkg-config perl autoreconfHook/*patches applied*/
3737- ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
3737+ ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
3838 # autogen needs a build autogen when cross-compiling
3939 buildPackages.buildPackages.autogen buildPackages.texinfo
4040 ];
···5656 # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21
5757 "--enable-timeout=78"
5858 ]
5959- ++ (stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
5959+ ++ (lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
6060 "--with-libxml2=${libxml2.dev}"
6161 "--with-libxml2-cflags=-I${libxml2.dev}/include/libxml2"
6262 # the configure check for regcomp wants to run a host program
···7676 sed -e "s|$lib/lib|/no-such-autogen-lib-path|" -i $f
7777 done
78787979- '' + stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
7979+ '' + lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
8080 # remove /build/** from RPATHs
8181 for f in "$bin"/bin/*; do
8282 local nrp="$(patchelf --print-rpath "$f" | sed -E 's@(:|^)/build/[^:]*:@\1@g')"
···8484 done
8585 '';
86868787- meta = with stdenv.lib; {
8787+ meta = with lib; {
8888 description = "Automated text and program generation tool";
8989 license = with licenses; [ gpl3Plus lgpl3Plus ];
9090 homepage = "https://www.gnu.org/software/autogen/";
···11-{ stdenv, fetchurl, libelf, txt2man }:
11+{ lib, stdenv, fetchurl, libelf, txt2man }:
2233stdenv.mkDerivation {
44 pname = "bin_replace_string";
···14141515 enableParallelBuilding = true;
16161717- meta = with stdenv.lib; {
1717+ meta = with lib; {
1818 description = "Edit precompiled binaries";
1919 longDescription = ''
2020 bin_replace_string edits C-style strings in precompiled binaries. This is
+2-2
pkgs/development/tools/misc/bossa/default.nix
···11-{ stdenv, fetchgit, wxGTK, libX11, readline }:
11+{ lib, stdenv, fetchgit, wxGTK, libX11, readline }:
2233let
44 # BOSSA needs a "bin2c" program to embed images.
···3636 cp bin/bossa{c,sh,} $out/bin/
3737 '';
38383939- meta = with stdenv.lib; {
3939+ meta = with lib; {
4040 description = "A flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers";
4141 longDescription = ''
4242 BOSSA is a flash programming utility for Atmel's SAM family of
+3-3
pkgs/development/tools/misc/bsdbuild/default.nix
···11-{ stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }:
11+{ lib, stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }:
2233stdenv.mkDerivation rec {
44 pname = "bsdbuild";
···6262 directory, BSDBuild will produce the required Makefiles in place).
6363 '';
64646565- license = stdenv.lib.licenses.bsd3;
6666- platforms = stdenv.lib.platforms.linux;
6565+ license = lib.licenses.bsd3;
6666+ platforms = lib.platforms.linux;
6767 };
6868}
···11-{ stdenv
11+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, boost
···2929 install -D udev/90-cc-debugger.rules $out/lib/udev/rules.d/90-cc-debugger.rules
3030 '';
31313232- meta = with stdenv.lib; {
3232+ meta = with lib; {
3333 description = "Command line tool for the Texas Instruments CC Debugger";
3434 longDescription = ''
3535 cc-tool provides support for Texas Instruments CC Debugger
+2-2
pkgs/development/tools/misc/ccache/default.nix
···6060 local cname="$1"
6161 if [ -x "${unwrappedCC}/bin/$cname" ]; then
6262 makeWrapper ${ccache}/bin/ccache $out/bin/$cname \
6363- --run ${stdenv.lib.escapeShellArg extraConfig} \
6363+ --run ${lib.escapeShellArg extraConfig} \
6464 --add-flags ${unwrappedCC}/bin/$cname
6565 fi
6666 }
···8484 };
8585 };
86868787- meta = with stdenv.lib; {
8787+ meta = with lib; {
8888 description = "Compiler cache for fast recompilation of C/C++ code";
8989 homepage = "https://ccache.dev";
9090 downloadPage = "https://ccache.dev/download.html";
+3-3
pkgs/development/tools/misc/ccls/default.nix
···11-{ stdenv, fetchFromGitHub
11+{ lib, stdenv, fetchFromGitHub
22, cmake, llvmPackages, rapidjson, runtimeShell }:
3344stdenv.mkDerivation rec {
···2525 postFixup = ''
2626 # We need to tell ccls where to find the standard library headers.
27272828- standard_library_includes="\\\"-isystem\\\", \\\"${stdenv.lib.getDev stdenv.cc.libc}/include\\\""
2828+ standard_library_includes="\\\"-isystem\\\", \\\"${lib.getDev stdenv.cc.libc}/include\\\""
2929 standard_library_includes+=", \\\"-isystem\\\", \\\"${llvmPackages.libcxx}/include/c++/v1\\\""
3030 export standard_library_includes
3131···3737 chmod --reference=$out/bin/$wrapped $out/bin/ccls
3838 '';
39394040- meta = with stdenv.lib; {
4040+ meta = with lib; {
4141 description = "A c/c++ language server powered by clang";
4242 homepage = "https://github.com/MaskRay/ccls";
4343 license = licenses.asl20;
+4-4
pkgs/development/tools/misc/cflow/default.nix
···11-{ stdenv, fetchurl, gettext, emacs }:
11+{ lib, stdenv, fetchurl, gettext, emacs }:
2233stdenv.mkDerivation rec {
44 name = "cflow-1.6";
···16161717 buildInputs = [ gettext ] ++
1818 # We don't have Emacs/GTK/etc. on {Dar,Cyg}win.
1919- stdenv.lib.optional
2020- (! (stdenv.lib.lists.any (x: stdenv.hostPlatform.system == x)
1919+ lib.optional
2020+ (! (lib.lists.any (x: stdenv.hostPlatform.system == x)
2121 [ "i686-cygwin" ]))
2222 emacs;
23232424 doCheck = true;
25252626- meta = with stdenv.lib; {
2626+ meta = with lib; {
2727 description = "Tool to analyze the control flow of C programs";
28282929 longDescription = ''
+2-2
pkgs/development/tools/misc/cgdb/default.nix
···11-{ stdenv, fetchurl, ncurses, readline, flex, texinfo }:
11+{ lib, stdenv, fetchurl, ncurses, readline, flex, texinfo }:
2233stdenv.mkDerivation rec {
44 pname = "cgdb";
···11111212 buildInputs = [ ncurses readline flex texinfo ];
13131414- meta = with stdenv.lib; {
1414+ meta = with lib; {
1515 description = "A curses interface to gdb";
16161717 homepage = "https://cgdb.github.io/";
···11-{ stdenv, fetchurl }:
11+{ lib, stdenv, fetchurl }:
2233stdenv.mkDerivation {
44 name = "chrpath-0.16";
···88 sha256 = "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv";
99 };
10101111- meta = with stdenv.lib; {
1111+ meta = with lib; {
1212 description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries";
1313 longDescription = ''
1414 chrpath changes, lists or removes the rpath or runpath setting in a
···11-{ fetchurl, stdenv }:
11+{ fetchurl, lib, stdenv }:
2233stdenv.mkDerivation rec {
44 name = "cppi-1.18";
···2323 to the level of nesting of that directive.
2424 '';
25252626- license = stdenv.lib.licenses.gpl3Plus;
2626+ license = lib.licenses.gpl3Plus;
27272828 maintainers = [ ];
2929- platforms = stdenv.lib.platforms.all;
2929+ platforms = lib.platforms.all;
3030 };
3131}
+2-2
pkgs/development/tools/misc/cproto/default.nix
···11-{ stdenv, fetchurl, flex, bison }:
11+{ lib, stdenv, fetchurl, flex, bison }:
2233stdenv.mkDerivation rec {
44 pname = "cproto";
···2525 [ "$("$out/bin/cproto" -V 2>&1)" = '${version}' ]
2626 '';
27272828- meta = with stdenv.lib; {
2828+ meta = with lib; {
2929 description = "Tool to generate C function prototypes from C source code";
3030 homepage = "https://invisible-island.net/cproto/";
3131 license = licenses.publicDomain;
+3-3
pkgs/development/tools/misc/creduce/default.nix
···11-{ stdenv, fetchurl, cmake, makeWrapper
11+{ lib, stdenv, fetchurl, cmake, makeWrapper
22, llvm, clang-unwrapped
33, flex
44, zlib
···2727 # On Linux, c-reduce's preferred way to reason about
2828 # the cpu architecture/topology is to use 'lscpu',
2929 # so let's make sure it knows where to find it:
3030- postPatch = stdenv.lib.optionalString stdenv.isLinux ''
3030+ postPatch = lib.optionalString stdenv.isLinux ''
3131 substituteInPlace creduce/creduce_utils.pm --replace \
3232 lscpu ${util-linux}/bin/lscpu
3333 '';
···3636 wrapProgram $out/bin/creduce --prefix PERL5LIB : "$PERL5LIB"
3737 '';
38383939- meta = with stdenv.lib; {
3939+ meta = with lib; {
4040 description = "A C program reducer";
4141 homepage = "https://embed.cs.utah.edu/creduce";
4242 # Officially, the license is: https://github.com/csmith-project/creduce/blob/master/COPYING
···11-{ stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }:
11+{ lib, stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }:
2233stdenv.mkDerivation rec {
44 pname = "csmith";
···31313232 enableParallelBuilding = true;
33333434- meta = with stdenv.lib; {
3434+ meta = with lib; {
3535 description = "A random generator of C programs";
3636 homepage = "https://embed.cs.utah.edu/csmith";
3737 # Officially, the license is this: https://github.com/csmith-project/csmith/blob/master/COPYING
+2-2
pkgs/development/tools/misc/ctags/default.nix
···11-{ stdenv, fetchsvn, autoreconfHook }:
11+{ lib, stdenv, fetchsvn, autoreconfHook }:
2233stdenv.mkDerivation rec {
44 name = "ctags-${revision}";
···1515 # don't use $T(E)MP which is set to the build directory
1616 configureFlags= [ "--enable-tmpdir=/tmp" ];
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 description = "A tool for fast source code browsing (exuberant ctags)";
2020 longDescription = ''
2121 Ctags generates an index (or tag) file of language objects found
+2-2
pkgs/development/tools/misc/cwebbin/default.nix
···11-{ stdenv, fetchFromGitHub, fetchurl, tie }:
11+{ lib, stdenv, fetchFromGitHub, fetchurl, tie }:
2233stdenv.mkDerivation rec {
44 pname = "cwebbin";
···4141 make -f Makefile.unix install $makeFlags
4242 '';
43434444- meta = with stdenv.lib; {
4444+ meta = with lib; {
4545 inherit (src.meta) homepage;
4646 description = "Literate Programming in C/C++";
4747 platforms = with platforms; unix;
+3-3
pkgs/development/tools/misc/d-feet/default.nix
···11-{ stdenv
11+{ lib, stdenv
22, pkg-config
33, fetchurl
44, meson
···2121 format = "other";
22222323 src = fetchurl {
2424- url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2424+ url = "mirror://gnome/sources/d-feet/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2525 sha256 = "1cgxgpj546jgpyns6z9nkm5k48lid8s36mvzj8ydkjqws2d19zqz";
2626 };
2727···6868 };
6969 };
70707171- meta = with stdenv.lib; {
7171+ meta = with lib; {
7272 description = "D-Feet is an easy to use D-Bus debugger";
7373 longDescription = ''
7474 D-Feet can be used to inspect D-Bus interfaces of running programs
+2-2
pkgs/development/tools/misc/dbench/default.nix
···11-{ stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }:
11+{ lib, stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }:
2233stdenv.mkDerivation {
44 name = "dbench-2013-01-01";
···3535 ln -s dbench/doc/dbench/loadfiles $out/share/loadfiles
3636 '';
37373838- meta = with stdenv.lib; {
3838+ meta = with lib; {
3939 description = "Filesystem benchmark tool based on load patterns";
4040 homepage = "https://dbench.samba.org/";
4141 license = licenses.gpl3;
···11-{ stdenv, fetchurl, libusb-compat-0_1 }:
11+{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
22let
33 version = "0.7.2";
44in
···15151616 configureFlags = [ "--disable-libusb_1_0" ];
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 license = licenses.gpl2;
2020 description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader";
2121 homepage = "http://dfu-programmer.sourceforge.net/";
+2-2
pkgs/development/tools/misc/dfu-util/default.nix
···11-{ stdenv, fetchurl, pkg-config, libusb1 }:
11+{ lib, stdenv, fetchurl, pkg-config, libusb1 }:
2233stdenv.mkDerivation rec {
44 pname = "dfu-util";
···1212 sha256 = "0hlvc47ccf5hry13saqhc1j5cdq5jyjv4i05kj0mdh3rzj6wagd0";
1313 };
14141515- meta = with stdenv.lib; {
1515+ meta = with lib; {
1616 description = "Device firmware update (DFU) USB programmer";
1717 longDescription = ''
1818 dfu-util is a program that implements the host (PC) side of the USB
···11-{ fetchurl, stdenv, libtool, makeWrapper
11+{ fetchurl, lib, stdenv, libtool, makeWrapper
22, coreutils, ctags, ncurses, pythonPackages, sqlite, universal-ctags
33}:
44···3939 --prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
4040 '';
41414242- meta = with stdenv.lib; {
4242+ meta = with lib; {
4343 description = "Source code tag system";
4444 longDescription = ''
4545 GNU GLOBAL is a source code tagging system that works the same way
+4-4
pkgs/development/tools/misc/gnum4/default.nix
···11-{ stdenv, fetchurl }:
11+{ lib, stdenv, fetchurl }:
2233# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
···2626 sha256 = "12lmdnbml9lfvy0khpjc42riicddaz7li8wmbnsam7zsw6al11qk";
2727 })
2828 ]
2929- ++ stdenv.lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
2929+ ++ lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
30303131 meta = {
3232 homepage = "https://www.gnu.org/software/m4/";
···4949 compiler or as a macro processor in its own right.
5050 '';
51515252- license = stdenv.lib.licenses.gpl3Plus;
5353- platforms = stdenv.lib.platforms.unix ++ stdenv.lib.platforms.windows;
5252+ license = lib.licenses.gpl3Plus;
5353+ platforms = lib.platforms.unix ++ lib.platforms.windows;
5454 };
55555656}
···1919 pkg-config
2020 ];
21212222- meta = with stdenv.lib; {
2222+ meta = with lib; {
2323 description = "A client for the Hydra CI";
2424 homepage = "https://github.com/nlewo/hydra-cli";
2525 license = with licenses; [ mit ];
+1-1
pkgs/development/tools/misc/hydra/common.nix
···128128129129 passthru = { inherit perlDeps migration tests; };
130130131131- meta = with stdenv.lib; {
131131+ meta = with lib; {
132132 description = "Nix-based continuous build system";
133133 license = licenses.gpl3;
134134 platforms = platforms.linux;
···11-{ stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }:
11+{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }:
2233stdenv.mkDerivation rec {
44 basename = "kconfig-frontends";
···2121 wrapPythonPrograms
2222 '';
23232424- NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
2424+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
25252626- meta = with stdenv.lib; {
2626+ meta = with lib; {
2727 description = "Out of Linux tree packaging of the kconfig infrastructure";
2828 longDescription = ''
2929 Configuration language and system for the Linux kernel and other
+2-2
pkgs/development/tools/misc/kdbg/default.nix
···11-{ stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
11+{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
22 ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
33 qtbase, makeWrapper,
44}:
···1818 wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
1919 '';
20202121- meta = with stdenv.lib; {
2121+ meta = with lib; {
2222 homepage = "https://www.kdbg.org/";
2323 description = ''
2424 A graphical user interface to gdb, the GNU debugger. It provides an
···11-{ stdenv, fetchgit, cmake, elfutils, zlib }:
11+{ lib, stdenv, fetchgit, cmake, elfutils, zlib }:
2233stdenv.mkDerivation rec {
44 pname = "pahole";
···1515 # Put libraries in "lib" subdirectory, not top level of $out
1616 cmakeFlags = [ "-D__LIB=lib" ];
17171818- meta = with stdenv.lib; {
1818+ meta = with lib; {
1919 homepage = "https://git.kernel.org/cgit/devel/pahole/pahole.git/";
2020 description = "Pahole and other DWARF utils";
2121 license = licenses.gpl2;
+2-2
pkgs/development/tools/misc/patchelf/default.nix
···11-{ stdenv, fetchurl }:
11+{ lib, stdenv, fetchurl }:
2233# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
···1919 # fails 8 out of 24 tests, problems when loading libc.so.6
2020 doCheck = stdenv.name == "stdenv-linux";
21212222- meta = with stdenv.lib; {
2222+ meta = with lib; {
2323 homepage = "https://github.com/NixOS/patchelf/blob/master/README";
2424 license = licenses.gpl3;
2525 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
+3-3
pkgs/development/tools/misc/patchelf/unstable.nix
···11-{ stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
11+{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
2233stdenv.mkDerivation rec {
44 name = "patchelf-${version}";
···1212 };
13131414 # Drop test that fails on musl (?)
1515- postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
1515+ postPatch = lib.optionalString stdenv.hostPlatform.isMusl ''
1616 substituteInPlace tests/Makefile.am \
1717 --replace "set-rpath-library.sh" ""
1818 '';
···24242525 doCheck = !stdenv.isDarwin;
26262727- meta = with stdenv.lib; {
2727+ meta = with lib; {
2828 homepage = "https://github.com/NixOS/patchelf/blob/master/README";
2929 license = licenses.gpl3;
3030 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
···11-{ stdenv, fetchurl, libarchive, python3, file }:
11+{ lib, stdenv, fetchurl, libarchive, python3, file }:
2233stdenv.mkDerivation rec {
44 pname = "remarkable2-toolchain";
···2929 ./install-toolchain.sh -D -y -d $out
3030 '';
31313232- meta = with stdenv.lib; {
3232+ meta = with lib; {
3333 description = "A toolchain for cross-compiling to reMarkable 2 tablets";
3434 homepage = "https://remarkable.engineering/";
3535 license = licenses.gpl2Plus;
+2-2
pkgs/development/tools/misc/rman/default.nix
···11-{stdenv, fetchurl}:
11+{lib, stdenv, fetchurl}:
2233stdenv.mkDerivation {
44 name = "rman-3.2";
···2727 meta = {
2828 description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats";
2929 license = "artistic";
3030- platforms = stdenv.lib.platforms.linux;
3030+ platforms = lib.platforms.linux;
3131 };
3232}
+2-2
pkgs/development/tools/misc/rolespec/default.nix
···11-{ stdenv, fetchFromGitHub, makeWrapper }:
11+{ lib, stdenv, fetchFromGitHub, makeWrapper }:
2233stdenv.mkDerivation rec {
44···3232 dontPatchELF = true;
3333 dontStrip = true;
34343535- meta = with stdenv.lib; {
3535+ meta = with lib; {
3636 homepage = "https://github.com/nickjj/rolespec";
3737 description = "A test library for testing Ansible roles";
3838 longDescription = ''
···11-{ stdenv, buildGoModule, fetchFromGitHub }:
11+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
2233buildGoModule rec {
44 pname = "scc";
···1616 # scc has a scripts/ sub-package that's for testing.
1717 excludedPackages = [ "scripts" ];
18181919- meta = with stdenv.lib; {
1919+ meta = with lib; {
2020 homepage = "https://github.com/boyter/scc";
2121 description = "A very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go";
2222 maintainers = with maintainers; [ sigma Br1ght0ne ];
+2-2
pkgs/development/tools/misc/sipp/default.nix
···11-{stdenv, fetchurl, ncurses, libpcap }:
11+{lib, stdenv, fetchurl, ncurses, libpcap }:
2233stdenv.mkDerivation rec {
44 version = "3.6.0";
···25252626 buildInputs = [ncurses libpcap];
27272828- meta = with stdenv.lib; {
2828+ meta = with lib; {
2929 homepage = "http://sipp.sf.net";
3030 description = "The SIPp testing tool";
3131 license = licenses.gpl3;
···11-{ stdenv, fetchurl }:
11+{ lib, stdenv, fetchurl }:
2233stdenv.mkDerivation rec {
44 name = "stm32flash-0.5";
···1616 cp stm32flash $out/bin/
1717 '';
18181919- meta = with stdenv.lib; {
1919+ meta = with lib; {
2020 description = "Open source flash program for the STM32 ARM processors using the ST bootloader";
2121 homepage = "https://sourceforge.net/projects/stm32flash/";
2222- license = stdenv.lib.licenses.gpl2;
2222+ license = lib.licenses.gpl2;
2323 platforms = platforms.all; # Should work on all platforms
2424 maintainers = with maintainers; [ elitak ];
2525 };
+3-3
pkgs/development/tools/misc/strace/default.nix
···11-{ stdenv, fetchurl, perl, libunwind, buildPackages }:
11+{ lib, stdenv, fetchurl, perl, libunwind, buildPackages }:
2233stdenv.mkDerivation rec {
44 pname = "strace";
···1212 depsBuildBuild = [ buildPackages.stdenv.cc ];
1313 nativeBuildInputs = [ perl ];
14141515- buildInputs = [ perl.out ] ++ stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
1515+ buildInputs = [ perl.out ] ++ lib.optional libunwind.supportsHost libunwind; # support -k
16161717 postPatch = "patchShebangs --host strace-graph";
18181919 configureFlags = [ "--enable-mpers=check" ];
20202121- meta = with stdenv.lib; {
2121+ meta = with lib; {
2222 homepage = "https://strace.io/";
2323 description = "A system call tracer for Linux";
2424 license = with licenses; [ lgpl21Plus gpl2Plus ]; # gpl2Plus is for the test suite
+2-2
pkgs/development/tools/misc/swig/2.x.nix
···11-{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
11+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
2233stdenv.mkDerivation rec {
44 pname = "swig";
···2525 ./autogen.sh
2626 '';
27272828- meta = with stdenv.lib; {
2828+ meta = with lib; {
2929 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
3030 homepage = "http://swig.org/";
3131 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
+2-2
pkgs/development/tools/misc/swig/3.x.nix
···11-{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
11+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
2233stdenv.mkDerivation rec {
44 pname = "swig";
···2626 ./autogen.sh
2727 '';
28282929- meta = with stdenv.lib; {
2929+ meta = with lib; {
3030 description = "An interface compiler that connects C/C++ code to higher-level languages";
3131 homepage = "http://swig.org/";
3232 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
+2-2
pkgs/development/tools/misc/swig/4.nix
···11-{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
11+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
2233stdenv.mkDerivation rec {
44 pname = "swig";
···2626 ./autogen.sh
2727 '';
28282929- meta = with stdenv.lib; {
2929+ meta = with lib; {
3030 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
3131 homepage = "http://swig.org/";
3232 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
+3-3
pkgs/development/tools/misc/swig/default.nix
···11-{ stdenv, fetchurl, boost, tcl }:
11+{ lib, stdenv, fetchurl, boost, tcl }:
2233stdenv.mkDerivation rec {
44 pname = "swig";
···11111212 doCheck = !stdenv.isCygwin;
1313 # 'make check' uses boost and tcl
1414- buildInputs = stdenv.lib.optionals doCheck [ boost tcl ];
1414+ buildInputs = lib.optionals doCheck [ boost tcl ];
15151616 configureFlags = [ "--disable-ccache" ];
171718181919- meta = with stdenv.lib; {
1919+ meta = with lib; {
2020 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
2121 homepage = "http://swig.org/";
2222 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
···11-{ stdenv, fetchurl }:
11+{ lib, stdenv, fetchurl }:
2233stdenv.mkDerivation rec {
44 pname = "tie";
···1818 cp tie $out/bin
1919 '';
20202121- meta = with stdenv.lib; {
2121+ meta = with lib; {
2222 homepage = "https://www.ctan.org/tex-archive/web/tie";
2323 description = "Allow multiple web change files";
2424 platforms = with platforms; unix;
+3-3
pkgs/development/tools/misc/tokei/default.nix
···11-{ stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }:
11+{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }:
2233rustPlatform.buildRustPackage rec {
44 pname = "tokei";
···13131414 cargoSha256 = "sha256-iUDc54E8AiLMJw9h99kg/3VmaSi8GqfQyrPwa9nJ994=";
15151616- buildInputs = stdenv.lib.optionals stdenv.isDarwin [
1616+ buildInputs = lib.optionals stdenv.isDarwin [
1717 libiconv darwin.apple_sdk.frameworks.Security
1818 ];
19192020 # enable all output formats
2121 cargoBuildFlags = [ "--features" "all" ];
22222323- meta = with stdenv.lib; {
2323+ meta = with lib; {
2424 description = "A program that allows you to count your code, quickly";
2525 longDescription = ''
2626 Tokei is a program that displays statistics about your code. Tokei will show number of files, total lines within those files and code, comments, and blanks grouped by language.
+3-3
pkgs/development/tools/misc/uisp/default.nix
···11-{ stdenv, fetchurl }:
11+{ lib, stdenv, fetchurl }:
2233stdenv.mkDerivation {
44 name = "uisp-20050207";
···12121313 meta = {
1414 description = "Tool for AVR microcontrollers which can interface to many hardware in-system programmers";
1515- license = stdenv.lib.licenses.gpl2;
1515+ license = lib.licenses.gpl2;
1616 homepage = "https://savannah.nongnu.org/projects/uisp";
1717- platforms = stdenv.lib.platforms.linux;
1717+ platforms = lib.platforms.linux;
1818 };
1919}
···11-{ stdenv, fetchurl, writeTextFile, jre, makeWrapper, fontsConf, licenseAccepted ? false }:
11+{ lib, stdenv, fetchurl, writeTextFile, jre, makeWrapper, fontsConf, licenseAccepted ? false }:
2233# If you happen to use this software on the XMonad window manager, you will have issues with
44# grey windows, no resizing, menus not showing and other glitches.
···8787 homepage = "https://www.neotys.com/product/overview-neoload.html";
88888989 # https://www.neotys.com/documents/legal/eula/neoload/eula_en.html
9090- license = stdenv.lib.licenses.unfree;
9090+ license = lib.licenses.unfree;
91919292- maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
9292+ maintainers = [ lib.maintainers.bluescreen303 ];
9393 platforms = [ "i686-linux" "x86_64-linux" ];
9494 };
9595}
+2-2
pkgs/development/tools/node-webkit/nw12.nix
···41414242 ln -s ${lib.getLib systemd}/lib/libudev.so $out/share/nwjs/libudev.so.0
43434444- patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}:$out/share/nwjs" $out/share/nwjs/nw
4444+ patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:${lib.makeLibraryPath [ stdenv.cc.cc ]}:$out/share/nwjs" $out/share/nwjs/nw
4545 patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:$out/share/nwjs" $out/share/nwjs/nwjc
46464747 mkdir -p $out/bin
···51515252 buildInputs = [ makeWrapper ];
53535454- meta = with stdenv.lib; {
5454+ meta = with lib; {
5555 description = "An app runtime based on Chromium and node.js";
5656 homepage = "https://nwjs.io/";
5757 platforms = ["i686-linux" "x86_64-linux"];
+1-1
pkgs/development/tools/nrpl/default.nix
···3535 --prefix PATH : ${lib.makeBinPath [ nim tinycc ]}
3636 '';
37373838- meta = with stdenv.lib; {
3838+ meta = with lib; {
3939 description = "REPL for the Nim programming language";
4040 homepage = "https://github.com/wheineman/nrpl";
4141 license = licenses.mit;
+2-2
pkgs/development/tools/nwjs/default.nix
···5353 dontPatchELF = true;
54545555 installPhase =
5656- let ccPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
5656+ let ccPath = lib.makeLibraryPath [ stdenv.cc.cc ];
5757 in ''
5858 mkdir -p $out/share/nwjs
5959 cp -R * $out/share/nwjs
···85858686 buildInputs = [ makeWrapper ];
87878888- meta = with stdenv.lib; {
8888+ meta = with lib; {
8989 description = "An app runtime based on Chromium and node.js";
9090 homepage = "https://nwjs.io/";
9191 platforms = ["i686-linux" "x86_64-linux"];
···11-{ stdenv, fetchzip, which, ocaml, ocamlbuild }:
11+{ lib, stdenv, fetchzip, which, ocaml, ocamlbuild }:
2233-if stdenv.lib.versionAtLeast ocaml.version "4.09"
33+if lib.versionAtLeast ocaml.version "4.09"
44then throw "camlp4 is not available for OCaml ${ocaml.version}"
55else
66···66666767 dontStrip = true;
68686969- meta = with stdenv.lib; {
6969+ meta = with lib; {
7070 description = "A software system for writing extensible parsers for programming languages";
7171 homepage = "https://github.com/ocaml/camlp4";
7272 platforms = ocaml.meta.platforms or [];
+3-3
pkgs/development/tools/ocaml/camlp5/default.nix
···11-{ stdenv, fetchzip, ocaml, perl }:
11+{ lib, stdenv, fetchzip, ocaml, perl }:
2233-if stdenv.lib.versionOlder ocaml.version "4.02"
33+if lib.versionOlder ocaml.version "4.02"
44then throw "camlp5 is not available for OCaml ${ocaml.version}"
55else
66···26262727 dontStrip = true;
28282929- meta = with stdenv.lib; {
2929+ meta = with lib; {
3030 description = "Preprocessor-pretty-printer for OCaml";
3131 longDescription = ''
3232 Camlp5 is a preprocessor and pretty-printer for OCaml programs.
+3-3
pkgs/development/tools/ocaml/cppo/default.nix
···11-{ stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, ocamlbuild
11+{ lib, stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, ocamlbuild
22, buildDunePackage
33}:
4455let
66 pname = "cppo";
7788- meta = with stdenv.lib; {
88+ meta = with lib; {
99 description = "The C preprocessor for OCaml";
1010 longDescription = ''
1111 Cppo is an equivalent of the C preprocessor targeted at the OCaml language and its variants.
···17171818in
19192020-if stdenv.lib.versionAtLeast ocaml.version "4.02" then
2020+if lib.versionAtLeast ocaml.version "4.02" then
21212222buildDunePackage rec {
2323 inherit pname;
···11-{ stdenv, fetchurl, python2 }:
11+{ lib, stdenv, fetchurl, python2 }:
22stdenv.mkDerivation rec {
3344 pname = "omniorb";
···14141515 hardeningDisable = [ "format" ];
16161717- meta = with stdenv.lib; {
1717+ meta = with lib; {
1818 description = "A robust high performance CORBA ORB for C++ and Python. It is freely available under the terms of the GNU Lesser General Public License (for the libraries), and GNU General Public License (for the tools). omniORB is largely CORBA 2.6 compliant";
1919 homepage = "http://omniorb.sourceforge.net/";
2020 license = licenses.gpl2Plus;
···2929 # FIXME: Use impure version of CoreFoundation because of missing symbols.
3030 # CFURLSetResourcePropertyForKey is defined in the headers but there's no
3131 # corresponding implementation in the sources from opensource.apple.com.
3232- preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
3232+ preConfigure = lib.optionalString stdenv.isDarwin ''
3333 export NIX_CFLAGS_COMPILE="-F${CoreFoundation}/Library/Frameworks $NIX_CFLAGS_COMPILE"
3434 '';
3535