diff options
Diffstat (limited to 'pkgs/tools/system')
97 files changed, 191 insertions, 191 deletions
diff --git a/pkgs/tools/system/acct/default.nix b/pkgs/tools/system/acct/default.nix index dd4eb0d5d2b84..fbe396f1fdf41 100644 --- a/pkgs/tools/system/acct/default.nix +++ b/pkgs/tools/system/acct/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv }: +{ fetchurl, lib, stdenv }: stdenv.mkDerivation rec { name = "acct-6.6.4"; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { doCheck = true; - meta = with stdenv.lib; { + meta = with lib; { description = "GNU Accounting Utilities, login and process accounting utilities"; longDescription = '' diff --git a/pkgs/tools/system/acpica-tools/default.nix b/pkgs/tools/system/acpica-tools/default.nix index 62b1be619650a..36ad8ff06e389 100644 --- a/pkgs/tools/system/acpica-tools/default.nix +++ b/pkgs/tools/system/acpica-tools/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, bison, flex }: +{ lib, stdenv, fetchurl, bison, flex }: stdenv.mkDerivation rec { pname = "acpica-tools"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { installFlags = [ "PREFIX=${placeholder "out"}" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "ACPICA Tools"; homepage = "https://www.acpica.org/"; license = with licenses; [ gpl2 bsd3 ]; diff --git a/pkgs/tools/system/actkbd/default.nix b/pkgs/tools/system/actkbd/default.nix index 706b3700a4157..ac2fb338d3d2f 100644 --- a/pkgs/tools/system/actkbd/default.nix +++ b/pkgs/tools/system/actkbd/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv }: +{ fetchurl, lib, stdenv }: stdenv.mkDerivation rec { name = "actkbd-0.2.8"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { cp -r README samples $out/share/doc/actkbd ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A keyboard shortcut daemon"; longDescription = '' actkbd is a simple daemon that binds actions to keyboard events diff --git a/pkgs/tools/system/augeas/default.nix b/pkgs/tools/system/augeas/default.nix index 338b8f8ac4531..6a8c50c60957c 100644 --- a/pkgs/tools/system/augeas/default.nix +++ b/pkgs/tools/system/augeas/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, readline, libxml2 }: +{ lib, stdenv, fetchurl, pkgconfig, readline, libxml2 }: stdenv.mkDerivation rec { pname = "augeas"; @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ readline libxml2 ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Configuration editing tool"; license = licenses.lgpl2; homepage = "http://augeas.net/"; diff --git a/pkgs/tools/system/autocpu-freq/default.nix b/pkgs/tools/system/autocpu-freq/default.nix index 348fd689ab960..7e23b8b5b0f74 100644 --- a/pkgs/tools/system/autocpu-freq/default.nix +++ b/pkgs/tools/system/autocpu-freq/default.nix @@ -1,4 +1,4 @@ -{ stdenv, python3Packages, fetchFromGitHub }: +{ lib, stdenv, python3Packages, fetchFromGitHub }: python3Packages.buildPythonPackage rec { pname = "auto-cpufreq"; @@ -24,7 +24,7 @@ python3Packages.buildPythonPackage rec { cp ${src}/scripts/cpufreqctl.sh $out/bin/cpufreqctl ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/AdnanHodzic/auto-cpufreq"; description = "Automatic CPU speed & power optimizer for Linux"; license = licenses.lgpl3Plus; diff --git a/pkgs/tools/system/awstats/default.nix b/pkgs/tools/system/awstats/default.nix index 9da6ac59f3de7..b04532d842ff8 100644 --- a/pkgs/tools/system/awstats/default.nix +++ b/pkgs/tools/system/awstats/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, perlPackages, jdk }: +{ lib, stdenv, fetchurl, perlPackages, jdk }: perlPackages.buildPerlPackage rec { pname = "awstats"; @@ -52,7 +52,7 @@ perlPackages.buildPerlPackage rec { mv docs "$doc/share/doc/awstats" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Real-time logfile analyzer to get advanced statistics"; homepage = "http://awstats.org"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/system/bfs/default.nix b/pkgs/tools/system/bfs/default.nix index c0755fafc06ab..c49f033c42ad3 100644 --- a/pkgs/tools/system/bfs/default.nix +++ b/pkgs/tools/system/bfs/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, libcap, acl }: +{ lib, stdenv, fetchFromGitHub, libcap, acl }: stdenv.mkDerivation rec { pname = "bfs"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=$(out)" ]; buildFlags = [ "release" ]; # "release" enables compiler optimizations - meta = with stdenv.lib; { + meta = with lib; { description = "A breadth-first version of the UNIX find command"; longDescription = '' bfs is a variant of the UNIX find command that operates breadth-first rather than diff --git a/pkgs/tools/system/bottom/default.nix b/pkgs/tools/system/bottom/default.nix index 1a975aef3932e..a79e8bdcebf20 100644 --- a/pkgs/tools/system/bottom/default.nix +++ b/pkgs/tools/system/bottom/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, darwin, installShellFiles }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "bottom"; @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec { installShellCompletion $releaseDir/build/bottom-*/out/btm.{bash,fish} --zsh $releaseDir/build/bottom-*/out/_btm ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A cross-platform graphical process/system monitor with a customizable interface"; homepage = "https://github.com/ClementTsang/bottom"; license = licenses.mit; diff --git a/pkgs/tools/system/bpytop/default.nix b/pkgs/tools/system/bpytop/default.nix index feaebc14e0ad5..abcc159398846 100644 --- a/pkgs/tools/system/bpytop/default.nix +++ b/pkgs/tools/system/bpytop/default.nix @@ -1,4 +1,4 @@ -{ stdenv, python3Packages, fetchFromGitHub, makeWrapper, substituteAll }: +{ lib, stdenv, python3Packages, fetchFromGitHub, makeWrapper, substituteAll }: stdenv.mkDerivation rec { pname = "bpytop"; @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { --prefix PYTHONPATH : "$PYTHONPATH" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A resource monitor; python port of bashtop"; homepage = src.meta.homepage; license = licenses.apsl20; diff --git a/pkgs/tools/system/clinfo/default.nix b/pkgs/tools/system/clinfo/default.nix index 7db7386c11116..dbcbae6eaa9a5 100644 --- a/pkgs/tools/system/clinfo/default.nix +++ b/pkgs/tools/system/clinfo/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, ocl-icd, opencl-headers }: +{ lib, stdenv, fetchFromGitHub, ocl-icd, opencl-headers }: stdenv.mkDerivation rec { pname = "clinfo"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=${placeholder "out"}" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Print all known information about all available OpenCL platforms and devices in the system"; homepage = "https://github.com/Oblomov/clinfo"; license = licenses.cc0; diff --git a/pkgs/tools/system/cm-rgb/default.nix b/pkgs/tools/system/cm-rgb/default.nix index acfe440b5d5c9..a50fa60197acb 100644 --- a/pkgs/tools/system/cm-rgb/default.nix +++ b/pkgs/tools/system/cm-rgb/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , buildPythonApplication , fetchFromGitHub , atk @@ -46,7 +46,7 @@ buildPythonApplication rec { > $out/etc/udev/rules.d/60-cm-rgb.rules ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Control AMD Wraith Prism RGB LEDs"; longDescription = '' cm-rgb controls AMD Wraith Prism RGB LEDS. diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix index 278ab9056ad9f..eb64a09a22bd2 100644 --- a/pkgs/tools/system/collectd/default.nix +++ b/pkgs/tools/system/collectd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fetchpatch, darwin, callPackage +{ lib, stdenv, fetchurl, fetchpatch, darwin, callPackage , autoreconfHook , pkgconfig , libtool @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "Daemon which collects system performance statistics periodically"; homepage = "https://collectd.org"; license = licenses.gpl2; diff --git a/pkgs/tools/system/consul-template/default.nix b/pkgs/tools/system/consul-template/default.nix index fc388dd7cea4d..7604584e16754 100644 --- a/pkgs/tools/system/consul-template/default.nix +++ b/pkgs/tools/system/consul-template/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoModule, fetchFromGitHub }: +{ lib, stdenv, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "consul-template"; @@ -17,7 +17,7 @@ buildGoModule rec { # execute tests so we skip them here doCheck = false; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/hashicorp/consul-template/"; description = "Generic template rendering and notifications with Consul"; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/tools/system/cron/default.nix b/pkgs/tools/system/cron/default.nix index 9cde31205e1f9..d1b8d2d6afd9e 100644 --- a/pkgs/tools/system/cron/default.nix +++ b/pkgs/tools/system/cron/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, vim, sendmailPath ? "/usr/sbin/sendmail"}: +{lib, stdenv, fetchurl, vim, sendmailPath ? "/usr/sbin/sendmail"}: stdenv.mkDerivation { name = "cron-4.1"; @@ -39,7 +39,7 @@ stdenv.mkDerivation { preInstall = "mkdir -p $out/bin $out/sbin $out/share/man/man1 $out/share/man/man5 $out/share/man/man8"; - meta = with stdenv.lib; { + meta = with lib; { description = "Daemon for running commands at specific times (Vixie Cron)"; license = licenses.bsd0; platforms = with platforms; linux ++ darwin; diff --git a/pkgs/tools/system/daemon/default.nix b/pkgs/tools/system/daemon/default.nix index c419824f96993..58f8da3ce4f7d 100644 --- a/pkgs/tools/system/daemon/default.nix +++ b/pkgs/tools/system/daemon/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, perl }: +{ lib, stdenv, fetchurl, perl }: stdenv.mkDerivation rec { pname = "daemon"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { buildInputs = [ perl ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Turns other processes into daemons"; longDescription = '' Daemon turns other process into daemons. There are many tasks that need diff --git a/pkgs/tools/system/daemonize/default.nix b/pkgs/tools/system/daemonize/default.nix index a8685189b61c8..b79da1986d73a 100644 --- a/pkgs/tools/system/daemonize/default.nix +++ b/pkgs/tools/system/daemonize/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "daemonize"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "0q2c3i3si3k7wfhl6fyckkmkc81yp67pz52p3ggis79p4nczri10"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "Runs a command as a Unix daemon"; homepage = "http://software.clapper.org/daemonize/"; license = licenses.bsd3; diff --git a/pkgs/tools/system/das_watchdog/default.nix b/pkgs/tools/system/das_watchdog/default.nix index 8c1a5657991cc..b9c25aef7a77f 100644 --- a/pkgs/tools/system/das_watchdog/default.nix +++ b/pkgs/tools/system/das_watchdog/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, libgtop, xmessage, which, pkgconfig }: +{ lib, stdenv, fetchgit, libgtop, xmessage, which, pkgconfig }: stdenv.mkDerivation { pname = "das_watchdog"; @@ -19,7 +19,7 @@ stdenv.mkDerivation { cp test_rt $out/bin/ ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/kmatheussen/das_watchdog"; description = "A general watchdog for the linux operating system"; longDescription = '' diff --git a/pkgs/tools/system/datefudge/default.nix b/pkgs/tools/system/datefudge/default.nix index 819071f3f068e..be2ad70498ae7 100644 --- a/pkgs/tools/system/datefudge/default.nix +++ b/pkgs/tools/system/datefudge/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, fetchpatch }: +{ lib, stdenv, fetchgit, fetchpatch }: stdenv.mkDerivation rec { pname = "datefudge"; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { postInstall = "chmod +x $out/lib/datefudge/datefudge.so"; - meta = with stdenv.lib; { + meta = with lib; { description = "Fake the system date"; longDescription = '' datefudge is a small utility that pretends that the system time is diff --git a/pkgs/tools/system/dcfldd/default.nix b/pkgs/tools/system/dcfldd/default.nix index 9ea7b485b96b1..e5d5026e62909 100644 --- a/pkgs/tools/system/dcfldd/default.nix +++ b/pkgs/tools/system/dcfldd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { name = "dcfldd-1.3.4-1"; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { buildInputs = [ ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An enhanced version of GNU dd"; homepage = "http://dcfldd.sourceforge.net/"; diff --git a/pkgs/tools/system/dd_rescue/default.nix b/pkgs/tools/system/dd_rescue/default.nix index 9962337de078a..ba18c58becb9e 100644 --- a/pkgs/tools/system/dd_rescue/default.nix +++ b/pkgs/tools/system/dd_rescue/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoconf }: +{ lib, stdenv, fetchurl, autoconf }: stdenv.mkDerivation rec { version = "1.99.8"; @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { cp "$out/share/dd_rescue"/dd_rhelp*/dd_rhelp "$out/bin" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A tool to copy data from a damaged block device"; maintainers = with maintainers; [ raskin domenkozar ]; platforms = platforms.linux; diff --git a/pkgs/tools/system/ddrescue/default.nix b/pkgs/tools/system/ddrescue/default.nix index 8efcf22312fb6..7e96a4c01f7ce 100644 --- a/pkgs/tools/system/ddrescue/default.nix +++ b/pkgs/tools/system/ddrescue/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchurl, lzip }: @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { doCheck = true; # not cross; configureFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "GNU ddrescue, a data recovery tool"; longDescription = diff --git a/pkgs/tools/system/ddrutility/default.nix b/pkgs/tools/system/ddrutility/default.nix index bb24076ce7c8c..02c89b2298907 100644 --- a/pkgs/tools/system/ddrutility/default.nix +++ b/pkgs/tools/system/ddrutility/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "ddrutility"; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { makeFlags = [ "DESTDIR=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A set of utilities for hard drive data rescue"; homepage = "https://sourceforge.net/projects/ddrutility/"; license = licenses.gpl2Plus; diff --git a/pkgs/tools/system/di/default.nix b/pkgs/tools/system/di/default.nix index 0a6ae26547bfd..fcf4054c18201 100644 --- a/pkgs/tools/system/di/default.nix +++ b/pkgs/tools/system/di/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "di"; @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { makeFlags = [ "INSTALL_DIR=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Disk information utility; displays everything 'df' does and more"; homepage = "https://gentoo.com/di/"; license = licenses.zlib; diff --git a/pkgs/tools/system/disk-filltest/default.nix b/pkgs/tools/system/disk-filltest/default.nix index 7bcf592012a48..ecfa14aa91be9 100644 --- a/pkgs/tools/system/disk-filltest/default.nix +++ b/pkgs/tools/system/disk-filltest/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "disk-filltest"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { mkdir -p $out/share/man; mv $out/man1 $out/share/man ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Simple program to detect bad disks by filling them with random data"; longDescription = '' disk-filltest is a tool to check storage disks for coming diff --git a/pkgs/tools/system/dog/default.nix b/pkgs/tools/system/dog/default.nix index 5063e3555bb1d..94a6b34ff53ef 100644 --- a/pkgs/tools/system/dog/default.nix +++ b/pkgs/tools/system/dog/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl}: +{lib, stdenv, fetchurl}: stdenv.mkDerivation { name = "dog-1.7"; @@ -20,7 +20,7 @@ stdenv.mkDerivation { cp dog $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://lwn.net/Articles/421072/"; description = "cat replacement"; license = licenses.gpl2Plus; diff --git a/pkgs/tools/system/efibootmgr/default.nix b/pkgs/tools/system/efibootmgr/default.nix index dd898de0fc26c..773127fa18781 100644 --- a/pkgs/tools/system/efibootmgr/default.nix +++ b/pkgs/tools/system/efibootmgr/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, efivar, popt }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, pkgconfig, efivar, popt }: stdenv.mkDerivation rec { pname = "efibootmgr"; @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { installFlags = [ "prefix=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager"; homepage = "https://github.com/rhboot/efibootmgr"; license = licenses.gpl2; diff --git a/pkgs/tools/system/efivar/default.nix b/pkgs/tools/system/efivar/default.nix index afff716c249a4..3300e0b275183 100644 --- a/pkgs/tools/system/efivar/default.nix +++ b/pkgs/tools/system/efivar/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPackages, fetchFromGitHub, fetchurl, pkgconfig, popt }: +{ lib, stdenv, buildPackages, fetchFromGitHub, fetchurl, pkgconfig, popt }: stdenv.mkDerivation rec { pname = "efivar"; @@ -56,7 +56,7 @@ stdenv.mkDerivation rec { "PCDIR=$(dev)/lib/pkgconfig" ]; - meta = with stdenv.lib; { + meta = with lib; { inherit (src.meta) homepage; description = "Tools and library to manipulate EFI variables"; platforms = platforms.linux; diff --git a/pkgs/tools/system/envconsul/default.nix b/pkgs/tools/system/envconsul/default.nix index 09175f14609f3..1706b32449eb9 100644 --- a/pkgs/tools/system/envconsul/default.nix +++ b/pkgs/tools/system/envconsul/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ lib, stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "envconsul"; @@ -14,7 +14,7 @@ buildGoPackage rec { sha256 = "03cgxkyyynr067dg5b0lhvaxn60318fj9fh55p1n43vj5nrzgnbc"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/hashicorp/envconsul/"; description = "Read and set environmental variables for processes from Consul"; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/tools/system/evemu/default.nix b/pkgs/tools/system/evemu/default.nix index 02f92a198909a..4bb5fce1875d1 100644 --- a/pkgs/tools/system/evemu/default.nix +++ b/pkgs/tools/system/evemu/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, autoreconfHook, pkgconfig, pythonPackages +{ lib, stdenv, fetchgit, autoreconfHook, pkgconfig, pythonPackages , libevdev }: @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { buildInputs = [ pythonPackages.python pythonPackages.evdev libevdev ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system"; homepage = "https://www.freedesktop.org/wiki/Evemu/"; repositories.git = "git://git.freedesktop.org/git/evemu"; diff --git a/pkgs/tools/system/facter/default.nix b/pkgs/tools/system/facter/default.nix index d1a7f742974f0..a67b975ec92ca 100644 --- a/pkgs/tools/system/facter/default.nix +++ b/pkgs/tools/system/facter/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, boost, cmake, cpp-hocon, curl, leatherman, libwhereami, libyamlcpp, openssl, ruby, util-linux }: +{ lib, stdenv, fetchFromGitHub, boost, cmake, cpp-hocon, curl, leatherman, libwhereami, libyamlcpp, openssl, ruby, util-linux }: stdenv.mkDerivation rec { pname = "facter"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; buildInputs = [ boost cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby util-linux ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/puppetlabs/facter"; description = "A system inventory tool"; license = licenses.asl20; diff --git a/pkgs/tools/system/fakechroot/default.nix b/pkgs/tools/system/fakechroot/default.nix index fc74644ab0323..fb56350aa72f5 100644 --- a/pkgs/tools/system/fakechroot/default.nix +++ b/pkgs/tools/system/fakechroot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, perl }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, perl }: stdenv.mkDerivation rec { pname = "fakechroot"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ perl ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/dex4er/fakechroot"; description = "Give a fake chroot environment through LD_PRELOAD"; license = licenses.lgpl21; diff --git a/pkgs/tools/system/fcron/default.nix b/pkgs/tools/system/fcron/default.nix index 59daac89bd440..d6f764b9ea6ae 100644 --- a/pkgs/tools/system/fcron/default.nix +++ b/pkgs/tools/system/fcron/default.nix @@ -1,7 +1,7 @@ # restart using 'killall -TERM fcron; fcron -b # use convert-fcrontab to update fcrontab files -{ stdenv, fetchurl, perl, busybox, vim }: +{ lib, stdenv, fetchurl, perl, busybox, vim }: stdenv.mkDerivation rec { pname = "fcron"; @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { find -type f | xargs sed -i -e 's@^\(\s\)*chown@\1:@' -e 's@^\(\s\)*chgrp@\1:@' ''; - meta = with stdenv.lib; { + meta = with lib; { description="A command scheduler with extended capabilities over cron and anacron"; homepage = "http://fcron.free.fr"; license = licenses.gpl2; diff --git a/pkgs/tools/system/fio/default.nix b/pkgs/tools/system/fio/default.nix index e0dc69de0e431..6efa107ef321a 100644 --- a/pkgs/tools/system/fio/default.nix +++ b/pkgs/tools/system/fio/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, makeWrapper +{ lib, stdenv, fetchFromGitHub, makeWrapper , libaio, python, zlib , withGnuplot ? false, gnuplot ? null }: @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { --prefix PATH : ${stdenv.lib.makeBinPath [ gnuplot ]} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Flexible IO Tester - an IO benchmark tool"; homepage = "https://git.kernel.dk/cgit/fio/"; license = licenses.gpl2; diff --git a/pkgs/tools/system/foremost/default.nix b/pkgs/tools/system/foremost/default.nix index 96c54513ef1b1..24f207e95f149 100644 --- a/pkgs/tools/system/foremost/default.nix +++ b/pkgs/tools/system/foremost/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "foremost"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { mkdir -p $out/{bin,share/man/man8} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Recover files based on their contents"; longDescription = '' Foremost is a console program to recover files based on their headers, diff --git a/pkgs/tools/system/gdmap/default.nix b/pkgs/tools/system/gdmap/default.nix index 6fdfd6e719096..da1925152bf40 100644 --- a/pkgs/tools/system/gdmap/default.nix +++ b/pkgs/tools/system/gdmap/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, gtk2, pkgconfig, libxml2, intltool, gettext }: +{ lib, stdenv, fetchurl, gtk2, pkgconfig, libxml2, intltool, gettext }: stdenv.mkDerivation rec { name = "gdmap-0.8.1"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { NIX_LDFLAGS = "-lm"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://gdmap.sourceforge.net"; description = "Recursive rectangle map of disk usage"; license = licenses.gpl2; diff --git a/pkgs/tools/system/gdu/default.nix b/pkgs/tools/system/gdu/default.nix index a0b4177264470..db7275da7df28 100644 --- a/pkgs/tools/system/gdu/default.nix +++ b/pkgs/tools/system/gdu/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , buildGoModule , fetchFromGitHub }: @@ -18,7 +18,7 @@ buildGoModule rec { buildFlagsArray = [ "-ldflags=-s -w -X main.AppVersion=${version}" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Disk usage analyzer with console interface"; longDescription = '' Gdu is intended primarily for SSD disks where it can fully diff --git a/pkgs/tools/system/gotop/default.nix b/pkgs/tools/system/gotop/default.nix index f5d7ff4759e7e..b49307f500f63 100644 --- a/pkgs/tools/system/gotop/default.nix +++ b/pkgs/tools/system/gotop/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoModule, fetchFromGitHub }: +{ lib, stdenv, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "gotop"; @@ -18,7 +18,7 @@ buildGoModule rec { export HOME=$(mktemp -d) ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A terminal based graphical activity monitor inspired by gtop and vtop"; homepage = "https://github.com/xxxserxxx/gotop"; license = licenses.agpl3; diff --git a/pkgs/tools/system/gptfdisk/default.nix b/pkgs/tools/system/gptfdisk/default.nix index 613f63c3f0441..5e2f047674e9f 100644 --- a/pkgs/tools/system/gptfdisk/default.nix +++ b/pkgs/tools/system/gptfdisk/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, libuuid, popt, icu, ncurses }: +{ fetchurl, lib, stdenv, libuuid, popt, icu, ncurses }: stdenv.mkDerivation rec { pname = "gptfdisk"; @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { done ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks"; license = licenses.gpl2; homepage = "https://www.rodsbooks.com/gdisk/"; diff --git a/pkgs/tools/system/hardinfo/default.nix b/pkgs/tools/system/hardinfo/default.nix index fd8fb08cf2938..2dd1d96ee6482 100644 --- a/pkgs/tools/system/hardinfo/default.nix +++ b/pkgs/tools/system/hardinfo/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, which, pkgconfig, gtk2, pcre, glib, libxml2 +{ lib, stdenv, fetchurl, which, pkgconfig, gtk2, pcre, glib, libxml2 , libsoup ? null }: @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { rmdir "$out/usr" ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://hardinfo.org/"; description = "Display information about your hardware and operating system"; license = licenses.gpl2; diff --git a/pkgs/tools/system/hardlink/default.nix b/pkgs/tools/system/hardlink/default.nix index c0c6aa72d3ba2..a790c600a9d33 100644 --- a/pkgs/tools/system/hardlink/default.nix +++ b/pkgs/tools/system/hardlink/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pcre2 }: +{ lib, stdenv, fetchurl, pcre2 }: stdenv.mkDerivation { @@ -23,7 +23,7 @@ stdenv.mkDerivation { cp -f hardlink.1 $out/share/man/man1/hardlink.1 ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Consolidate duplicate files via hardlinks"; homepage = "https://pagure.io/hardlink"; repositories.git = "https://src.fedoraproject.org/cgit/rpms/hardlink.git"; diff --git a/pkgs/tools/system/honcho/default.nix b/pkgs/tools/system/honcho/default.nix index eb96c3f46132a..f39c7dd793c47 100644 --- a/pkgs/tools/system/honcho/default.nix +++ b/pkgs/tools/system/honcho/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pythonPackages }: +{ lib, stdenv, fetchFromGitHub, pythonPackages }: let inherit (pythonPackages) python; @@ -40,7 +40,7 @@ pythonPackages.buildPythonApplication rec { runHook postCheck ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A Python clone of Foreman, a tool for managing Procfile-based applications"; license = licenses.mit; homepage = "https://github.com/nickstenning/honcho"; diff --git a/pkgs/tools/system/htop/default.nix b/pkgs/tools/system/htop/default.nix index bf811942c3e61..02a3c7991d20f 100644 --- a/pkgs/tools/system/htop/default.nix +++ b/pkgs/tools/system/htop/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ IOKit ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An interactive process viewer for Linux"; homepage = "https://htop.dev"; license = licenses.gpl2Only; diff --git a/pkgs/tools/system/hwinfo/default.nix b/pkgs/tools/system/hwinfo/default.nix index 7a212f5bbeeb5..925b60d54346e 100644 --- a/pkgs/tools/system/hwinfo/default.nix +++ b/pkgs/tools/system/hwinfo/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, libx86emu, flex, perl, libuuid }: +{ lib, stdenv, fetchFromGitHub, libx86emu, flex, perl, libuuid }: stdenv.mkDerivation rec { pname = "hwinfo"; @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { installFlags = [ "DESTDIR=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Hardware detection tool from openSUSE"; license = licenses.gpl2; homepage = "https://github.com/openSUSE/hwinfo"; diff --git a/pkgs/tools/system/incron/default.nix b/pkgs/tools/system/incron/default.nix index d407982bb6738..2df4acba9b583 100644 --- a/pkgs/tools/system/incron/default.nix +++ b/pkgs/tools/system/incron/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, bash }: +{ lib, stdenv, fetchFromGitHub, bash }: stdenv.mkDerivation rec { name = "incron-0.5.12"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { cp incrond incrontab $out/bin/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A cron-like daemon which handles filesystem events"; homepage = "https://github.com/ar-/incron"; license = licenses.gpl2; diff --git a/pkgs/tools/system/inxi/default.nix b/pkgs/tools/system/inxi/default.nix index 5efdc5381747f..1b1aaf00b378d 100644 --- a/pkgs/tools/system/inxi/default.nix +++ b/pkgs/tools/system/inxi/default.nix @@ -43,7 +43,7 @@ in stdenv.mkDerivation rec { cp inxi.1 $out/share/man/man1/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A full featured CLI system information tool"; longDescription = '' inxi is a command line system information script built for console and diff --git a/pkgs/tools/system/ioping/default.nix b/pkgs/tools/system/ioping/default.nix index 7b65739c1a8d9..9af290503f494 100644 --- a/pkgs/tools/system/ioping/default.nix +++ b/pkgs/tools/system/ioping/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fetchpatch }: +{ lib, stdenv, fetchFromGitHub, fetchpatch }: stdenv.mkDerivation rec { pname = "ioping"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Disk I/O latency measuring tool"; maintainers = with maintainers; [ raskin ]; platforms = platforms.unix; diff --git a/pkgs/tools/system/iops/default.nix b/pkgs/tools/system/iops/default.nix index cf34cb115f142..b2be488673eb7 100644 --- a/pkgs/tools/system/iops/default.nix +++ b/pkgs/tools/system/iops/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "iops"; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { cp iops $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Measure I/O operations per second of a storage device"; longDescription = '' Iops lets you measure how many I/O operations per second a storage device can perform. diff --git a/pkgs/tools/system/ior/default.nix b/pkgs/tools/system/ior/default.nix index eff85589a1eb8..330bf35e55356 100644 --- a/pkgs/tools/system/ior/default.nix +++ b/pkgs/tools/system/ior/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, openmpi, perl, autoreconfHook }: +{ lib, stdenv, fetchFromGitHub, openmpi, perl, autoreconfHook }: stdenv.mkDerivation rec { pname = "ior"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://ior.readthedocs.io/en/latest/"; description = "Parallel file system I/O performance test"; license = licenses.gpl2; diff --git a/pkgs/tools/system/ipmiutil/default.nix b/pkgs/tools/system/ipmiutil/default.nix index 17c28b3cd420e..4efc8024cc4ae 100644 --- a/pkgs/tools/system/ipmiutil/default.nix +++ b/pkgs/tools/system/ipmiutil/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, openssl }: +{ lib, stdenv, fetchurl, openssl }: stdenv.mkDerivation rec { baseName = "ipmiutil"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-fno-stack-protector"; - meta = with stdenv.lib; { + meta = with lib; { description = "An easy-to-use IPMI server management utility"; homepage = "http://ipmiutil.sourceforge.net/"; maintainers = with maintainers; [ raskin ]; diff --git a/pkgs/tools/system/java-service-wrapper/default.nix b/pkgs/tools/system/java-service-wrapper/default.nix index 758942c05494b..8c87f64d7454f 100644 --- a/pkgs/tools/system/java-service-wrapper/default.nix +++ b/pkgs/tools/system/java-service-wrapper/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl +{ lib, stdenv, fetchurl , jdk , ant, cunit, ncurses }: @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { cp lib/libwrapper.so $out/lib/libwrapper.so ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Enables a Java Application to be run as a Windows Service or Unix Daemon"; homepage = "https://wrapper.tanukisoftware.com/"; license = licenses.gpl2; diff --git a/pkgs/tools/system/journalwatch/default.nix b/pkgs/tools/system/journalwatch/default.nix index b41196b85c914..0ec7ef36623e9 100644 --- a/pkgs/tools/system/journalwatch/default.nix +++ b/pkgs/tools/system/journalwatch/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, systemd, pytest }: +{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, systemd, pytest }: buildPythonPackage rec { pname = "journalwatch"; @@ -30,7 +30,7 @@ buildPythonPackage rec { ]; - meta = with stdenv.lib; { + meta = with lib; { description = "journalwatch is a tool to find error messages in the systemd journal."; homepage = "https://github.com/The-Compiler/journalwatch"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/system/ledmon/default.nix b/pkgs/tools/system/ledmon/default.nix index 6775a4711261a..ee9ba6c734669 100644 --- a/pkgs/tools/system/ledmon/default.nix +++ b/pkgs/tools/system/ledmon/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, perl, udev, sg3_utils }: +{ lib, stdenv, fetchFromGitHub, perl, udev, sg3_utils }: stdenv.mkDerivation rec { pname = "ledmon"; @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { "LEDMON_INSTDIR=${placeholder "out"}/sbin" ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/intel/ledmon"; description = "Enclosure LED Utilities"; platforms = platforms.linux; diff --git a/pkgs/tools/system/loadwatch/default.nix b/pkgs/tools/system/loadwatch/default.nix index eb7f1e3bb59bc..d7abc87677491 100644 --- a/pkgs/tools/system/loadwatch/default.nix +++ b/pkgs/tools/system/loadwatch/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, ... }: +{ lib, stdenv, fetchgit, ... }: stdenv.mkDerivation { name = "loadwatch-1.1-1-g6d2544c"; @@ -11,7 +11,7 @@ stdenv.mkDerivation { mkdir -p $out/bin install loadwatch lw-ctl $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Run a program using only idle cycles"; license = licenses.gpl2; maintainers = with maintainers; [ woffs ]; diff --git a/pkgs/tools/system/localtime/default.nix b/pkgs/tools/system/localtime/default.nix index 805a70c74e9e7..99e0674016b61 100644 --- a/pkgs/tools/system/localtime/default.nix +++ b/pkgs/tools/system/localtime/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, buildGoPackage, m4 }: +{ lib, stdenv, fetchFromGitHub, buildGoPackage, m4 }: buildGoPackage rec { name = "localtime-2017-11-07"; @@ -28,7 +28,7 @@ buildGoPackage rec { make install $makeFlags ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A daemon for keeping the system timezone up-to-date based on the current location"; homepage = "https://github.com/Stebalien/localtime"; platforms = platforms.linux; diff --git a/pkgs/tools/system/logcheck/default.nix b/pkgs/tools/system/logcheck/default.nix index 71edfde9a0b3a..bdf2a4bcd3022 100644 --- a/pkgs/tools/system/logcheck/default.nix +++ b/pkgs/tools/system/logcheck/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, lockfileProgs, perlPackages }: +{ lib, stdenv, fetchurl, lockfileProgs, perlPackages }: stdenv.mkDerivation rec { pname = "logcheck"; @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { "SHAREDIR=share/logtail/detectrotate" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Mails anomalies in the system logfiles to the administrator"; longDescription = '' Mails anomalies in the system logfiles to the administrator. diff --git a/pkgs/tools/system/lr/default.nix b/pkgs/tools/system/lr/default.nix index 8d2febbeb8afb..43d37569ba310 100644 --- a/pkgs/tools/system/lr/default.nix +++ b/pkgs/tools/system/lr/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "lr"; @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/chneukirchen/lr"; description = "List files recursively"; license = licenses.mit; diff --git a/pkgs/tools/system/lshw/default.nix b/pkgs/tools/system/lshw/default.nix index 3d1a6ace08e4a..18fe6ca43b153 100644 --- a/pkgs/tools/system/lshw/default.nix +++ b/pkgs/tools/system/lshw/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://ezix.org/project/wiki/HardwareLiSter"; description = "Provide detailed information on the hardware configuration of the machine"; license = licenses.gpl2; diff --git a/pkgs/tools/system/memtester/default.nix b/pkgs/tools/system/memtester/default.nix index 870d7e0dd1dba..276d4f446cfa9 100644 --- a/pkgs/tools/system/memtester/default.nix +++ b/pkgs/tools/system/memtester/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "memtester"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { installFlags = [ "INSTALLPATH=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A userspace utility for testing the memory subsystem for faults"; homepage = "http://pyropus.ca/software/memtester/"; license = licenses.gpl2; diff --git a/pkgs/tools/system/mlc/default.nix b/pkgs/tools/system/mlc/default.nix index d055c98e04cbe..257cd31c0606d 100644 --- a/pkgs/tools/system/mlc/default.nix +++ b/pkgs/tools/system/mlc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, patchelf }: +{ lib, stdenv, fetchurl, patchelf }: stdenv.mkDerivation rec { pname = "mlc"; version = "3.9"; @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/bin/mlc ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://software.intel.com/content/www/us/en/develop/articles/intelr-memory-latency-checker.html"; description = "Intel Memory Latency Checker"; license = licenses.unfree; diff --git a/pkgs/tools/system/nvtop/default.nix b/pkgs/tools/system/nvtop/default.nix index 1b826e6fab4f5..fdbfeb1c31f31 100644 --- a/pkgs/tools/system/nvtop/default.nix +++ b/pkgs/tools/system/nvtop/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, cudatoolkit, ncurses, addOpenGLRunpath }: +{ lib, stdenv, fetchFromGitHub, cmake, cudatoolkit, ncurses, addOpenGLRunpath }: stdenv.mkDerivation rec { pname = "nvtop"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { addOpenGLRunpath $out/bin/nvtop ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A (h)top like task monitor for NVIDIA GPUs"; homepage = "https://github.com/Syllo/nvtop"; license = licenses.gpl3; diff --git a/pkgs/tools/system/opencl-info/default.nix b/pkgs/tools/system/opencl-info/default.nix index 34295c90ae435..d5fd86f231ab9 100644 --- a/pkgs/tools/system/opencl-info/default.nix +++ b/pkgs/tools/system/opencl-info/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, opencl-clhpp, ocl-icd }: +{ lib, stdenv, fetchFromGitHub, opencl-clhpp, ocl-icd }: stdenv.mkDerivation { name = "opencl-info-2014-02-21"; @@ -26,7 +26,7 @@ stdenv.mkDerivation { install -Dm755 opencl-info $out/bin/opencl-info ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A tool to dump OpenCL platform/device information"; homepage = "https://github.com/marchv/opencl-info"; license = licenses.mit; diff --git a/pkgs/tools/system/pciutils/default.nix b/pkgs/tools/system/pciutils/default.nix index c062e1f3bd086..226f55f00dcc6 100644 --- a/pkgs/tools/system/pciutils/default.nix +++ b/pkgs/tools/system/pciutils/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, zlib, kmod, which +{ lib, stdenv, fetchurl, pkgconfig, zlib, kmod, which , static ? stdenv.hostPlatform.isStatic , darwin ? null }: @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { # Get rid of update-pciids as it won't work. postInstall = "rm $out/sbin/update-pciids $out/man/man8/update-pciids.8"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://mj.ucw.cz/pciutils.html"; description = "A collection of programs for inspecting and manipulating configuration of PCI devices"; license = licenses.gpl2Plus; diff --git a/pkgs/tools/system/pcstat/default.nix b/pkgs/tools/system/pcstat/default.nix index 436fa5cae6fcd..9e0f6fe147e64 100644 --- a/pkgs/tools/system/pcstat/default.nix +++ b/pkgs/tools/system/pcstat/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ lib, stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage { pname = "pcstat-unstable"; @@ -15,7 +15,7 @@ buildGoPackage { goDeps = ./deps.nix; - meta = with stdenv.lib; { + meta = with lib; { description = "Page Cache stat: get page cache stats for files on Linux"; homepage = "https://github.com/tobert/pcstat"; license = licenses.asl20; diff --git a/pkgs/tools/system/plan9port/default.nix b/pkgs/tools/system/plan9port/default.nix index 8164dfa9136da..c7c2ff60a7d9d 100644 --- a/pkgs/tools/system/plan9port/default.nix +++ b/pkgs/tools/system/plan9port/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, which +{ lib, stdenv, fetchFromGitHub, which , darwin ? null , xorgproto ? null , libX11 @@ -79,7 +79,7 @@ stdenv.mkDerivation { ./test ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://9fans.github.io/plan9port/"; description = "Plan 9 from User Space"; longDescription = '' diff --git a/pkgs/tools/system/proot/default.nix b/pkgs/tools/system/proot/default.nix index 06147df093e65..e1871eeb7336d 100644 --- a/pkgs/tools/system/proot/default.nix +++ b/pkgs/tools/system/proot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub +{ lib, stdenv, fetchFromGitHub , talloc, docutils, swig, python, coreutils, enablePython ? true }: stdenv.mkDerivation { @@ -36,7 +36,7 @@ stdenv.mkDerivation { install -Dm644 doc/proot/man.1 $out/share/man/man1/proot.1 ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://proot-me.github.io"; description = "User-space implementation of chroot, mount --bind and binfmt_misc"; platforms = platforms.linux; diff --git a/pkgs/tools/system/ps_mem/default.nix b/pkgs/tools/system/ps_mem/default.nix index 45a33a1adb7bb..dcca1a86da74c 100644 --- a/pkgs/tools/system/ps_mem/default.nix +++ b/pkgs/tools/system/ps_mem/default.nix @@ -1,4 +1,4 @@ -{ stdenv, pythonPackages, fetchFromGitHub }: +{ lib, stdenv, pythonPackages, fetchFromGitHub }: let version = "3.13"; @@ -13,7 +13,7 @@ in pythonPackages.buildPythonApplication { sha256 = "0pgi9hvwfbkzvwicqlkwx4rwal1ikza018yxbwpnf7c80zw0zaw9"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "A utility to accurately report the in core memory usage for a program"; homepage = "https://github.com/pixelb/ps_mem"; license = licenses.lgpl21; diff --git a/pkgs/tools/system/psstop/default.nix b/pkgs/tools/system/psstop/default.nix index 3a5ee2b058133..dd2b30ada1231 100644 --- a/pkgs/tools/system/psstop/default.nix +++ b/pkgs/tools/system/psstop/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib }: stdenv.mkDerivation rec { pname = "psstop"; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { buildInputs = [ glib ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/clearlinux/psstop"; description = "Show processes' memory usage by looking into pss"; # upstream summary license = licenses.gpl3; diff --git a/pkgs/tools/system/rowhammer-test/default.nix b/pkgs/tools/system/rowhammer-test/default.nix index 02462584c6508..e2d736477ee76 100644 --- a/pkgs/tools/system/rowhammer-test/default.nix +++ b/pkgs/tools/system/rowhammer-test/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation { name = "rowhammer-test-20150811"; @@ -19,7 +19,7 @@ stdenv.mkDerivation { cp rowhammer_test double_sided_rowhammer $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Test DRAM for bit flips caused by the rowhammer problem"; homepage = "https://github.com/google/rowhammer-test"; license = licenses.asl20; diff --git a/pkgs/tools/system/runit/default.nix b/pkgs/tools/system/runit/default.nix index acca0acf3ef9c..977550837df61 100644 --- a/pkgs/tools/system/runit/default.nix +++ b/pkgs/tools/system/runit/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, darwin +{ lib, stdenv, fetchurl, darwin # Build runit-init as a static binary , static ? false @@ -51,7 +51,7 @@ stdenv.mkDerivation rec { cp -r ../man $man/share/man/man8 ''; - meta = with stdenv.lib; { + meta = with lib; { description = "UNIX init scheme with service supervision"; license = licenses.bsd3; homepage = "http://smarden.org/runit"; diff --git a/pkgs/tools/system/s-tui/default.nix b/pkgs/tools/system/s-tui/default.nix index 1192a1762632d..51c47ab105070 100644 --- a/pkgs/tools/system/s-tui/default.nix +++ b/pkgs/tools/system/s-tui/default.nix @@ -1,4 +1,4 @@ -{ stdenv, python3Packages }: +{ lib, stdenv, python3Packages }: python3Packages.buildPythonPackage rec { pname = "s-tui"; @@ -16,7 +16,7 @@ python3Packages.buildPythonPackage rec { LC_ALL = "en_US.UTF-8"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://amanusk.github.io/s-tui/"; description = "Stress-Terminal UI monitoring tool"; license = licenses.gpl2; diff --git a/pkgs/tools/system/safe-rm/default.nix b/pkgs/tools/system/safe-rm/default.nix index c188f066d1804..c76a48ff8d590 100644 --- a/pkgs/tools/system/safe-rm/default.nix +++ b/pkgs/tools/system/safe-rm/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, perl, coreutils }: +{ lib, stdenv, fetchgit, perl, coreutils }: stdenv.mkDerivation rec { pname = "safe-rm"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { pod2man safe-rm > $out/share/man/man1/safe-rm.1 ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Tool intended to prevent the accidental deletion of important files"; homepage = "https://launchpad.net/safe-rm"; license = licenses.gpl3; diff --git a/pkgs/tools/system/sg3_utils/default.nix b/pkgs/tools/system/sg3_utils/default.nix index 45e3287511a35..d0084e1f4d8ae 100644 --- a/pkgs/tools/system/sg3_utils/default.nix +++ b/pkgs/tools/system/sg3_utils/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { name = "sg3_utils-1.45"; @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { sha256 = "0qasc3qm4i8swjfaywiwpgz76gdxqvm47qycxgmprbsjmxqwk1qb"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://sg.danny.cz/sg/"; description = "Utilities that send SCSI commands to devices"; platforms = platforms.linux; diff --git a/pkgs/tools/system/smartmontools/default.nix b/pkgs/tools/system/smartmontools/default.nix index 5d9196fcc1634..093fd7b5bd503 100644 --- a/pkgs/tools/system/smartmontools/default.nix +++ b/pkgs/tools/system/smartmontools/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoreconfHook +{ lib, stdenv, fetchurl, autoreconfHook , mailutils, inetutils , IOKit ? null , ApplicationServices ? null }: @@ -33,7 +33,7 @@ in stdenv.mkDerivation rec { buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [IOKit ApplicationServices]; enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "Tools for monitoring the health of hard drives"; homepage = "https://www.smartmontools.org/"; license = licenses.gpl2Plus; diff --git a/pkgs/tools/system/snooze/default.nix b/pkgs/tools/system/snooze/default.nix index fb1ceaf897b8b..750a0954d3fb5 100644 --- a/pkgs/tools/system/snooze/default.nix +++ b/pkgs/tools/system/snooze/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "snooze"; version = "0.4"; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { }; makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Tool for waiting until a particular time and then running a command"; maintainers = with maintainers; [ kaction ]; license = licenses.cc0; diff --git a/pkgs/tools/system/stress-ng/default.nix b/pkgs/tools/system/stress-ng/default.nix index 9939f9ea15428..f033b038267e0 100644 --- a/pkgs/tools/system/stress-ng/default.nix +++ b/pkgs/tools/system/stress-ng/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl +{ lib, stdenv, fetchurl , attr, judy, keyutils, libaio, libapparmor, libbsd, libcap, libgcrypt, lksctp-tools, zlib }: @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { # mystery, though. :-( enableParallelBuilding = (!stdenv.isi686); - meta = with stdenv.lib; { + meta = with lib; { description = "Stress test a computer system"; longDescription = '' stress-ng will stress test a computer system in various selectable ways. It diff --git a/pkgs/tools/system/stress/default.nix b/pkgs/tools/system/stress/default.nix index 1595e8347e154..2b9923eb571bd 100644 --- a/pkgs/tools/system/stress/default.nix +++ b/pkgs/tools/system/stress/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { name = "stress-1.0.4"; @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { sha256 = "0nw210jajk38m3y7h8s130ps2qsbz7j75wab07hi2r3hlz14yzh5"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "Simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/tools/system/suid-chroot/default.nix b/pkgs/tools/system/suid-chroot/default.nix index 9697748e056d2..e12b0d828619a 100644 --- a/pkgs/tools/system/suid-chroot/default.nix +++ b/pkgs/tools/system/suid-chroot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "suid-chroot"; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { sed -i -e '/chmod u+s/d' Makefile ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Setuid-safe wrapper for chroot"; license = licenses.gpl2Plus; platforms = with platforms; unix; diff --git a/pkgs/tools/system/supervise/default.nix b/pkgs/tools/system/supervise/default.nix index cbf96818f4864..2776d28fa38df 100644 --- a/pkgs/tools/system/supervise/default.nix +++ b/pkgs/tools/system/supervise/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchzip }: +{ lib, stdenv, fetchzip }: stdenv.mkDerivation rec { @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { sha256 = "0jk6q2f67pfs18ah040lmsbvbrnjap7w04jjddsfn1j5bcrvs13x"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/catern/supervise"; description = "A minimal unprivileged process supervisor making use of modern Linux features"; platforms = platforms.linux; diff --git a/pkgs/tools/system/symlinks/default.nix b/pkgs/tools/system/symlinks/default.nix index 93a6bbf0c75b4..ad275a2d44793 100644 --- a/pkgs/tools/system/symlinks/default.nix +++ b/pkgs/tools/system/symlinks/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv }: +{ fetchurl, lib, stdenv }: stdenv.mkDerivation rec { pname = "symlinks"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { cp symlinks.8 $out/share/man/man8 ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Find and remedy problematic symbolic links on a system"; homepage = "https://github.com/brandt/symlinks"; license = licenses.mit; diff --git a/pkgs/tools/system/syslog-ng-incubator/default.nix b/pkgs/tools/system/syslog-ng-incubator/default.nix index 5d802dbed7e57..51d79d267dd70 100644 --- a/pkgs/tools/system/syslog-ng-incubator/default.nix +++ b/pkgs/tools/system/syslog-ng-incubator/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, syslogng +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, syslogng , eventlog, perl, python, yacc, protobufc, libivykis, libcap, czmq }: @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { "--with-module-dir=$(out)/lib/syslog-ng" ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/balabit/syslog-ng-incubator"; description = "A collection of tools and modules for syslog-ng"; license = licenses.gpl2; diff --git a/pkgs/tools/system/syslog-ng/default.nix b/pkgs/tools/system/syslog-ng/default.nix index eeb2a99740ee8..527e82e8cf152 100644 --- a/pkgs/tools/system/syslog-ng/default.nix +++ b/pkgs/tools/system/syslog-ng/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, openssl, libcap, curl, which +{ lib, stdenv, fetchurl, openssl, libcap, curl, which , eventlog, pkgconfig, glib, python, systemd, perl , riemann_c_client, protobufc, pcre, libnet , json_c, libuuid, libivykis, mongoc, rabbitmq-c @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.syslog-ng.com"; description = "Next-generation syslogd with advanced networking and filtering capabilities"; license = licenses.gpl2; diff --git a/pkgs/tools/system/systemd-journal2gelf/default.nix b/pkgs/tools/system/systemd-journal2gelf/default.nix index d10cbb197c50b..7ac5d7cf210f8 100644 --- a/pkgs/tools/system/systemd-journal2gelf/default.nix +++ b/pkgs/tools/system/systemd-journal2gelf/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ lib, stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "SystemdJournal2Gelf-unstable"; @@ -14,7 +14,7 @@ buildGoPackage rec { goPackagePath = "github.com/parse-nl/SystemdJournal2Gelf"; - meta = with stdenv.lib; { + meta = with lib; { description = "Export entries from systemd's journal and send them to a graylog server using gelf"; license = licenses.bsd2; maintainers = with maintainers; [ fadenb fpletz ]; diff --git a/pkgs/tools/system/testdisk/default.nix b/pkgs/tools/system/testdisk/default.nix index bbece24bf655a..032b206174471 100644 --- a/pkgs/tools/system/testdisk/default.nix +++ b/pkgs/tools/system/testdisk/default.nix @@ -1,5 +1,5 @@ { mkDerivation -, stdenv +, lib, stdenv , fetchurl , ncurses , libuuid @@ -43,7 +43,7 @@ assert enableQt -> qwt != null; NIX_CFLAGS_COMPILE="-Wno-unused"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.cgsecurity.org/wiki/Main_Page"; downloadPage = "https://www.cgsecurity.org/wiki/TestDisk_Download"; description = "Data recovery utilities"; diff --git a/pkgs/tools/system/thermald/default.nix b/pkgs/tools/system/thermald/default.nix index 4c076db7b8c07..16259f3b9ff04 100644 --- a/pkgs/tools/system/thermald/default.nix +++ b/pkgs/tools/system/thermald/default.nix @@ -12,7 +12,7 @@ , libxml2 , lzma , pkgconfig -, stdenv +, lib, stdenv , upower }: @@ -63,7 +63,7 @@ stdenv.mkDerivation rec { cp ./data/thermal-conf.xml $out/etc/thermald/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Thermal Daemon"; homepage = "https://01.org/linux-thermal-daemon"; changelog = "https://github.com/intel/thermal_daemon/blob/master/README.txt"; diff --git a/pkgs/tools/system/thinkfan/default.nix b/pkgs/tools/system/thinkfan/default.nix index bf594b6b9cd18..48d5d5fc08bea 100644 --- a/pkgs/tools/system/thinkfan/default.nix +++ b/pkgs/tools/system/thinkfan/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, libyamlcpp, pkgconfig +{ lib, stdenv, fetchFromGitHub, cmake, libyamlcpp, pkgconfig , smartSupport ? false, libatasmart }: stdenv.mkDerivation rec { @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { runHook postInstall ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A minimalist fan control program"; longDescription = "A minimalist fan control program. Originally designed specifically for IBM/Lenovo Thinkpads, it now supports any kind of system via diff --git a/pkgs/tools/system/throttled/default.nix b/pkgs/tools/system/throttled/default.nix index b19e4c471c003..d0458660c20f0 100644 --- a/pkgs/tools/system/throttled/default.nix +++ b/pkgs/tools/system/throttled/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, python3Packages }: +{ lib, stdenv, fetchFromGitHub, python3Packages }: stdenv.mkDerivation rec { pname = "throttled"; @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { postFixup = ''wrapPythonPrograms''; - meta = with stdenv.lib; { + meta = with lib; { description = "Fix for Intel CPU throttling issues"; homepage = "https://github.com/erpalma/throttled"; license = licenses.mit; diff --git a/pkgs/tools/system/tm/default.nix b/pkgs/tools/system/tm/default.nix index 390eae4de50a3..aa946c72ffc6b 100644 --- a/pkgs/tools/system/tm/default.nix +++ b/pkgs/tools/system/tm/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl}: +{lib, stdenv, fetchurl}: stdenv.mkDerivation { @@ -15,7 +15,7 @@ stdenv.mkDerivation { sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://vicerveza.homeunix.net/~viric/soft/tm"; description = "Terminal mixer - multiplexer for the i/o of terminal applications"; license = licenses.gpl2; diff --git a/pkgs/tools/system/tre-command/default.nix b/pkgs/tools/system/tre-command/default.nix index c3241a04587b8..5a2ad41c74471 100644 --- a/pkgs/tools/system/tre-command/default.nix +++ b/pkgs/tools/system/tre-command/default.nix @@ -1,4 +1,4 @@ -{ rustPlatform, fetchFromGitHub, stdenv, installShellFiles }: +{ rustPlatform, fetchFromGitHub, lib, stdenv, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "tre-command"; @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { installManPage manual/tre.1 ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Tree command, improved"; homepage = "https://github.com/dduan/tre"; license = licenses.mit; diff --git a/pkgs/tools/system/ts/default.nix b/pkgs/tools/system/ts/default.nix index 4046b36381121..b954b1adc01fc 100644 --- a/pkgs/tools/system/ts/default.nix +++ b/pkgs/tools/system/ts/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl +{ lib, stdenv, fetchurl , sendmailPath ? "/run/wrappers/bin/sendmail" }: @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { sha256 = "15dkzczx10fhl0zs9bmcgkxfbwq2znc7bpscljm4rchbzx7y6lsg"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://vicerveza.homeunix.net/~viric/soft/ts"; description = "Task spooler - batch queue"; license = licenses.gpl2; diff --git a/pkgs/tools/system/tuptime/default.nix b/pkgs/tools/system/tuptime/default.nix index 213a79fe2700a..c0c0ef1b2138e 100644 --- a/pkgs/tools/system/tuptime/default.nix +++ b/pkgs/tools/system/tuptime/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub +{ lib, stdenv, fetchFromGitHub , makeWrapper, installShellFiles , python3, sqlite }: @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { --prefix PATH : "${stdenv.lib.makeBinPath [ sqlite ]}" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Total uptime & downtime statistics utility"; homepage = "https://github.com/rfrail3/tuptime"; license = licenses.gpl2Plus; diff --git a/pkgs/tools/system/uptimed/default.nix b/pkgs/tools/system/uptimed/default.nix index e9224977542fc..0e427a66b2613 100644 --- a/pkgs/tools/system/uptimed/default.nix +++ b/pkgs/tools/system/uptimed/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook }: stdenv.mkDerivation rec { pname = "uptimed"; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; patches = [ ./no-var-spool-install.patch ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Uptime record daemon"; longDescription = '' An uptime record daemon keeping track of the highest uptimes a computer diff --git a/pkgs/tools/system/vbetool/default.nix b/pkgs/tools/system/vbetool/default.nix index dc2ec24e594aa..ed0cf5f13c64a 100644 --- a/pkgs/tools/system/vbetool/default.nix +++ b/pkgs/tools/system/vbetool/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pciutils, libx86, zlib }: +{ lib, stdenv, fetchurl, pciutils, libx86, zlib }: stdenv.mkDerivation rec { pname = "vbetool"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { configureFlags = [ "LDFLAGS=-lpci" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Video BIOS execution tool"; homepage = "http://www.codon.org.uk/~mjg59/vbetool/"; maintainers = [ maintainers.raskin ]; diff --git a/pkgs/tools/system/vboot_reference/default.nix b/pkgs/tools/system/vboot_reference/default.nix index 1391a2a5ed236..13a1fd37d9c34 100644 --- a/pkgs/tools/system/vboot_reference/default.nix +++ b/pkgs/tools/system/vboot_reference/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitiles, pkgconfig, libuuid, openssl, libyaml, lzma }: +{ lib, stdenv, fetchFromGitiles, pkgconfig, libuuid, openssl, libyaml, lzma }: stdenv.mkDerivation rec { version = "20180311"; @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { cp -r tests/devkeys* $out/share/vboot/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Chrome OS partitioning and kernel signing tools"; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/tools/system/which/default.nix b/pkgs/tools/system/which/default.nix index 79a50e43ed8b3..f4c871d5af08a 100644 --- a/pkgs/tools/system/which/default.nix +++ b/pkgs/tools/system/which/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { name = "which-2.21"; @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.gnu.org/software/which/"; description = "Shows the full path of (shell) commands"; platforms = platforms.all; diff --git a/pkgs/tools/system/wsmancli/default.nix b/pkgs/tools/system/wsmancli/default.nix index 79fb92d5bb2a4..a0b7fae4d2aa1 100644 --- a/pkgs/tools/system/wsmancli/default.nix +++ b/pkgs/tools/system/wsmancli/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig , openssl, openwsman }: stdenv.mkDerivation rec { @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { touch AUTHORS NEWS README ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Openwsman command-line client"; longDescription = '' Openwsman provides a command-line tool, wsman, to perform basic diff --git a/pkgs/tools/system/yeshup/default.nix b/pkgs/tools/system/yeshup/default.nix index 3242eeaeebc57..113d17b09b537 100644 --- a/pkgs/tools/system/yeshup/default.nix +++ b/pkgs/tools/system/yeshup/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "yeshup"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { cp -v yeshup $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/RhysU/yeshup"; platforms = platforms.linux; license = licenses.cc-by-sa-30; # From Stackoverflow answer diff --git a/pkgs/tools/system/zenith/default.nix b/pkgs/tools/system/zenith/default.nix index 35498c4cb563c..430b4db257774 100644 --- a/pkgs/tools/system/zenith/default.nix +++ b/pkgs/tools/system/zenith/default.nix @@ -1,4 +1,4 @@ -{ stdenv, rustPlatform, fetchFromGitHub, IOKit }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, IOKit }: rustPlatform.buildRustPackage rec { pname = "zenith"; @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { buildInputs = stdenv.lib.optionals stdenv.isDarwin [ IOKit ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Sort of like top or htop but with zoom-able charts, network, and disk usage"; homepage = "https://github.com/bvaisvil/zenith"; license = licenses.mit; |