Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
b7f20dcd 4bdb8927

+1545 -952
+18
maintainers/maintainer-list.nix
··· 970 970 email = "sivaraman.balaji@gmail.com"; 971 971 name = "Balaji Sivaraman"; 972 972 }; 973 + baloo = { 974 + email = "nixpkgs@superbaloo.net"; 975 + github = "baloo"; 976 + githubId = 59060; 977 + name = "Arthur Gautier"; 978 + }; 973 979 balsoft = { 974 980 email = "balsoft75@gmail.com"; 975 981 github = "balsoft"; ··· 2030 2036 github = "danharaj"; 2031 2037 githubId = 23366017; 2032 2038 name = "Dan Haraj"; 2039 + }; 2040 + danielbarter = { 2041 + email = "danielbarter@gmail.com"; 2042 + github = "danielbarter"; 2043 + githubId = 8081722; 2044 + name = "Daniel Barter"; 2033 2045 }; 2034 2046 danieldk = { 2035 2047 email = "me@danieldk.eu"; ··· 5603 5615 longkeyid = "rsa2048/0xB629036BE399EEE9"; 5604 5616 fingerprint = "B573 5118 0375 A872 FBBF 7770 B629 036B E399 EEE9"; 5605 5617 }]; 5618 + }; 5619 + mausch = { 5620 + email = "mauricioscheffer@gmail.com"; 5621 + github = "mausch"; 5622 + githubId = 95194; 5623 + name = "Mauricio Scheffer"; 5606 5624 }; 5607 5625 matejc = { 5608 5626 email = "cotman.matej@gmail.com";
+12 -8
pkgs/applications/blockchains/bitcoin.nix
··· 1 1 { lib, stdenv 2 2 , fetchurl 3 - , pkgconfig 3 + , pkg-config 4 4 , autoreconfHook 5 5 , db48 6 + , sqlite 6 7 , boost 7 8 , zeromq 8 9 , hexdump ··· 16 17 , qrencode 17 18 , libevent 18 19 , withGui 20 + , withWallet ? true 19 21 }: 20 22 21 23 with lib; 22 24 let 23 - version = "0.20.1"; 25 + version = "0.21.0"; 24 26 majorMinorVersion = versions.majorMinor version; 25 27 desktop = fetchurl { 26 28 url = "https://raw.githubusercontent.com/bitcoin-core/packaging/${majorMinorVersion}/debian/bitcoin-qt.desktop"; ··· 36 38 "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" 37 39 "https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" 38 40 ]; 39 - sha256 = "4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978"; 41 + sha256 = "1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37"; 40 42 }; 41 43 42 44 nativeBuildInputs = 43 - [ pkgconfig autoreconfHook ] 45 + [ pkg-config autoreconfHook ] 44 46 ++ optional stdenv.isDarwin hexdump 45 47 ++ optional withGui wrapQtAppsHook; 46 - buildInputs = [ db48 boost zlib zeromq miniupnpc libevent ] 48 + buildInputs = [ boost zlib zeromq miniupnpc libevent ] 47 49 ++ optionals stdenv.isLinux [ util-linux ] 50 + ++ optionals withWallet [ db48 sqlite ] 48 51 ++ optionals withGui [ qtbase qttools qrencode ]; 49 52 50 53 postInstall = optional withGui '' ··· 58 61 ] ++ optionals (!doCheck) [ 59 62 "--disable-tests" 60 63 "--disable-gui-tests" 61 - ] 62 - ++ optionals withGui [ 64 + ] ++ optionals (!withWallet) [ 65 + "--disable-wallet" 66 + ] ++ optionals withGui [ 63 67 "--with-gui=qt5" 64 68 "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" 65 69 ]; ··· 87 91 homepage = "https://bitcoin.org/"; 88 92 downloadPage = "https://bitcoincore.org/bin/bitcoin-core-${version}/"; 89 93 changelog = "https://bitcoincore.org/en/releases/${version}/"; 90 - maintainers = with maintainers; [ roconnor ]; 94 + maintainers = with maintainers; [ prusnak roconnor ]; 91 95 license = licenses.mit; 92 96 platforms = platforms.unix; 93 97 };
+2 -2
pkgs/applications/misc/albert/default.nix
··· 4 4 5 5 mkDerivation rec { 6 6 pname = "albert"; 7 - version = "0.16.1"; 7 + version = "0.17.2"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "albertlauncher"; 11 11 repo = "albert"; 12 12 rev = "v${version}"; 13 - sha256 = "04sr35fqz66i24lv7r2p9qfqxs55i8xpj7aam0v9yakcr33lf55a"; 13 + sha256 = "0lpp8rqx5b6rwdpcdldfdlw5327harr378wnfbc6rp3ajmlb4p7w"; 14 14 fetchSubmodules = true; 15 15 }; 16 16
+2 -2
pkgs/applications/misc/obsidian/default.nix
··· 30 30 31 31 in stdenv.mkDerivation rec { 32 32 pname = "obsidian"; 33 - version = "0.10.6"; 33 + version = "0.10.7"; 34 34 35 35 src = fetchurl { 36 36 url = 37 37 "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.asar.gz"; 38 - sha256 = "KfGVc3nXu5ilYKQPLc5qaksTwsdhSVtty9CfjSoiCU8="; 38 + sha256 = "clRasHVk9tZYJd0wP0q5TKnjhJwlx5g62XbkjBmCTJI="; 39 39 }; 40 40 41 41 nativeBuildInputs = [ makeWrapper graphicsmagick ];
+2 -2
pkgs/applications/office/fava/default.nix
··· 5 5 in 6 6 buildPythonApplication rec { 7 7 pname = "fava"; 8 - version = "1.17"; 8 + version = "1.18"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "efad3a4b5697b9d7ee29eff5dc0c8367fc1df37b1abacc8d0b2071602e94a6cd"; 12 + sha256 = "21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5"; 13 13 }; 14 14 15 15 checkInputs = [ python3.pkgs.pytest ];
+3 -3
pkgs/applications/science/chemistry/avogadro/default.nix
··· 21 21 }) 22 22 ]; 23 23 24 - meta = { 24 + meta = with lib; { 25 25 description = "Molecule editor and visualizer"; 26 - maintainers = [ ]; 27 - platforms = lib.platforms.mesaPlatforms; 26 + maintainers = with maintainers; [ danielbarter ]; 27 + platforms = platforms.mesaPlatforms; 28 28 }; 29 29 }
+42
pkgs/applications/science/electronics/qucs-s/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, flex, bison, qt4, libX11, cmake, gperf, adms, 2 + ngspice, wrapGAppsHook, 3 + kernels ? [ ngspice ] }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "qucs-s"; 7 + version = "0.0.22"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "ra3xdh"; 11 + repo = "qucs_s"; 12 + rev = version; 13 + sha256 = "0rrq2ddridc09m6fixdmbngn42xmv8cmdf6r8zzn2s98fqib5qd6"; 14 + }; 15 + 16 + nativeBuildInputs = [ wrapGAppsHook cmake ]; 17 + buildInputs = [ flex bison qt4 libX11 gperf adms ] ++ kernels; 18 + 19 + preConfigure = '' 20 + # Make custom kernels avaible from qucs-s 21 + gappsWrapperArgs+=(--prefix PATH ":" ${lib.makeBinPath kernels}) 22 + ''; 23 + 24 + QTDIR=qt4; 25 + 26 + doInstallCheck = true; 27 + installCheck = '' 28 + $out/bin/qucs-s --version 29 + ''; 30 + 31 + meta = with lib; { 32 + description = "Spin-off of Qucs that allows custom simulation kernels"; 33 + longDescription = '' 34 + Spin-off of Qucs that allows custom simulation kernels. 35 + Default version is installed with ngspice. 36 + ''; 37 + homepage = "https://ra3xdh.github.io/"; 38 + license = licenses.gpl2Plus; 39 + maintainers = with maintainers; [ mazurel ]; 40 + platforms = with platforms; linux; 41 + }; 42 + }
+28
pkgs/applications/science/machine-learning/starspace/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, boost165 }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "starspace"; 5 + version = "unstable-2021-01-17"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "facebookresearch"; 9 + repo = pname; 10 + rev = "8aee0a950aa607c023e5c91cff518bec335b5df5"; 11 + sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj"; 12 + }; 13 + 14 + buildInputs = [ boost165 ]; 15 + 16 + installPhase = '' 17 + mkdir -p $out/bin 18 + mv starspace $out/bin 19 + ''; 20 + 21 + meta = with lib; { 22 + description = "General-purpose neural model for efficient learning of entity embeddings"; 23 + homepage = https://ai.facebook.com/tools/starspace/; 24 + license = licenses.mit; 25 + platforms = platforms.unix; 26 + maintainers = [ maintainers.mausch ]; 27 + }; 28 + }
+12 -8
pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
··· 1 - { fetchFromGitHub, python2Packages, lib, stdenv, git, graphviz }: 1 + { fetchFromGitHub, python3Packages, lib, stdenv, git, graphviz }: 2 2 3 - python2Packages.buildPythonApplication rec { 3 + python3Packages.buildPythonApplication rec { 4 4 pname = "git-big-picture"; 5 - version = "0.10.1"; 5 + version = "1.0.0"; 6 6 7 7 src = fetchFromGitHub { 8 - owner = "esc"; 8 + owner = "git-big-picture"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi"; 11 + sha256 = "14yf71iwgk78nw8w0bpijsnnl4vg3bvxsw3vvypxmbrc1nh0bdha"; 12 12 }; 13 13 14 14 buildInputs = [ git graphviz ]; 15 15 16 - checkInputs = [ git ]; 16 + # NOTE: Tests are disabled due to unpackaged test dependency "Scruf". 17 + # When bumping to 1.1.0, please re-enable and use: 18 + #checkInputs = [ cram git pytest ]; 19 + #checkPhase = "pytest test.py"; 20 + doCheck = false; 17 21 18 22 postFixup = '' 19 23 wrapProgram $out/bin/git-big-picture \ ··· 22 26 23 27 meta = { 24 28 description = "Tool for visualization of Git repositories"; 25 - homepage = "https://github.com/esc/git-big-picture"; 26 - license = lib.licenses.gpl3; 29 + homepage = "https://github.com/git-big-picture/git-big-picture"; 30 + license = lib.licenses.gpl3Plus; 27 31 platforms = lib.platforms.linux; 28 32 maintainers = [ lib.maintainers.nthorne ]; 29 33 };
+3
pkgs/applications/virtualization/qemu/default.nix
··· 19 19 , cephSupport ? false, ceph 20 20 , openGLSupport ? sdlSupport, mesa, epoxy, libdrm 21 21 , virglSupport ? openGLSupport, virglrenderer 22 + , libiscsiSupport ? true, libiscsi 22 23 , smbdSupport ? false, samba 23 24 , tpmSupport ? true 24 25 , hostCpuOnly ? false ··· 72 73 ++ optionals cephSupport [ ceph ] 73 74 ++ optionals openGLSupport [ mesa epoxy libdrm ] 74 75 ++ optionals virglSupport [ virglrenderer ] 76 + ++ optionals libiscsiSupport [ libiscsi ] 75 77 ++ optionals smbdSupport [ samba ]; 76 78 77 79 enableParallelBuilding = true; ··· 148 150 ++ optional openGLSupport "--enable-opengl" 149 151 ++ optional virglSupport "--enable-virglrenderer" 150 152 ++ optional tpmSupport "--enable-tpm" 153 + ++ optional libiscsiSupport "--enable-libiscsi" 151 154 ++ optional smbdSupport "--smbd=${samba}/bin/smbd"; 152 155 153 156 doCheck = false; # tries to access /dev
+31
pkgs/desktops/gnome-3/extensions/noannoyance/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "noannoyance"; 7 + version = "unstable-2021-01-17"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "BjoernDaase"; 11 + repo = "noannoyance"; 12 + rev = "f6e76916336aee2f7c4141796f3c40c870d2b347"; 13 + sha256 = "1iy3nif8rjjcwf83fg9ds93fi7vmhliynmlwqnx036s3msmxvgs3"; 14 + }; 15 + 16 + uuid = "noannoyance@daase.net"; 17 + 18 + dontBuild = true; 19 + 20 + installPhase = '' 21 + mkdir -p $out/share/gnome-shell/extensions/${uuid} 22 + cp metadata.json extension.js $out/share/gnome-shell/extensions/${uuid} 23 + ''; 24 + 25 + meta = with lib; { 26 + description = "Removes the 'Window is ready' notification and puts the window into focus"; 27 + homepage = "https://github.com/BjoernDaase/noannoyance"; 28 + license = licenses.gpl2Only; 29 + maintainers = with maintainers; [ tu-maurice ]; 30 + }; 31 + }
+1 -1
pkgs/development/arduino/arduino-ci/default.nix
··· 2 2 3 3 let 4 4 5 - runtimePath = stdenv.lib.makeBinPath [ 5 + runtimePath = lib.makeBinPath [ 6 6 arduino-cli 7 7 python3 # required by the esp8266 core 8 8 ];
+1 -1
pkgs/development/arduino/arduino-cli/default.nix
··· 21 21 22 22 buildFlagsArray = [ 23 23 "-ldflags=-s -w -X github.com/arduino/arduino-cli/version.versionString=${version} -X github.com/arduino/arduino-cli/version.commit=unknown" 24 - ] ++ stdenv.lib.optionals stdenv.isLinux [ "-extldflags '-static'" ]; 24 + ] ++ lib.optionals stdenv.isLinux [ "-extldflags '-static'" ]; 25 25 26 26 meta = with lib; { 27 27 inherit (src.meta) homepage;
+6 -6
pkgs/development/arduino/arduino-core/default.nix
··· 47 47 ; 48 48 # abiVersion 6 is default, but we need 5 for `avrdude_bin` executable 49 49 ncurses5 = ncurses.override { abiVersion = "5"; }; 50 - teensy_libpath = stdenv.lib.makeLibraryPath [ 50 + teensy_libpath = lib.makeLibraryPath [ 51 51 atk 52 52 cairo 53 53 expat ··· 76 76 else throw "${stdenv.hostPlatform.system} is not supported in teensy"; 77 77 78 78 flavor = (if withTeensyduino then "teensyduino" else "arduino") 79 - + stdenv.lib.optionalString (!withGui) "-core"; 79 + + lib.optionalString (!withGui) "-core"; 80 80 in 81 81 stdenv.mkDerivation rec { 82 82 version = "1.8.13"; ··· 125 125 zlib 126 126 ncurses5 127 127 readline 128 - ] ++ stdenv.lib.optionals withTeensyduino [ upx ]; 128 + ] ++ lib.optionals withTeensyduino [ upx ]; 129 129 downloadSrcList = builtins.attrValues externalDownloads; 130 130 downloadDstList = builtins.attrNames externalDownloads; 131 131 ··· 165 165 cp -r ./build/linux/work/* "$out/share/arduino/" 166 166 echo -n ${version} > $out/share/arduino/lib/version.txt 167 167 168 - ${stdenv.lib.optionalString withGui '' 168 + ${lib.optionalString withGui '' 169 169 mkdir -p $out/bin 170 170 substituteInPlace $out/share/arduino/arduino \ 171 171 --replace "JAVA=java" "JAVA=$javaPath/java" \ ··· 180 180 --replace '<ICON_NAME>' "$out/share/arduino/icons/128x128/apps/arduino.png" 181 181 ''} 182 182 183 - ${stdenv.lib.optionalString withTeensyduino '' 183 + ${lib.optionalString withTeensyduino '' 184 184 # Back up the original jars 185 185 mv $out/share/arduino/lib/arduino-core.jar $out/share/arduino/lib/arduino-core.jar.bak 186 186 mv $out/share/arduino/lib/pde.jar $out/share/arduino/lib/pde.jar.bak ··· 235 235 mkdir $out/lib/ 236 236 ln -s ${lib.makeLibraryPath [ ncurses5 ]}/libtinfo.so.5 $out/lib/libtinfo.so.5 237 237 238 - ${stdenv.lib.optionalString withTeensyduino '' 238 + ${lib.optionalString withTeensyduino '' 239 239 # Patch the Teensy loader binary 240 240 patchelf --debug \ 241 241 --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
+5 -6
pkgs/development/arduino/arduino-mk/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages, installShellFiles }: 1 + { stdenv, lib, fetchFromGitHub, python3Packages, installShellFiles }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.6.0"; ··· 22 22 wrapPythonPrograms 23 23 ''; 24 24 25 - meta = { 25 + meta = with lib; { 26 26 description = "Makefile for Arduino sketches"; 27 27 homepage = "https://github.com/sudar/Arduino-Makefile"; 28 - license = stdenv.lib.licenses.lgpl21; 29 - maintainers = [ stdenv.lib.maintainers.eyjhb ]; 30 - platforms = stdenv.lib.platforms.unix; 28 + license = licenses.lgpl21; 29 + maintainers = [ maintainers.eyjhb ]; 30 + platforms = platforms.unix; 31 31 }; 32 32 } 33 -
+5 -5
pkgs/development/arduino/ino/default.nix
··· 1 - { stdenv, fetchurl, python2Packages, picocom 1 + { stdenv, lib, fetchurl, python2Packages, picocom 2 2 , avrdude, arduino-core }: 3 3 4 4 python2Packages.buildPythonApplication rec { ··· 36 36 --replace "'-C', self.e['avrdude.conf']," "" 37 37 ''; 38 38 39 - meta = { 39 + meta = with lib; { 40 40 description = "Command line toolkit for working with Arduino hardware"; 41 41 homepage = "http://inotool.org/"; 42 - license = stdenv.lib.licenses.mit; 43 - maintainers = with stdenv.lib.maintainers; [ antono ]; 44 - platforms = stdenv.lib.platforms.linux; 42 + license = licenses.mit; 43 + maintainers = with maintainers; [ antono ]; 44 + platforms = platforms.linux; 45 45 }; 46 46 }
+4 -4
pkgs/development/chez-modules/chez-matchable/default.nix
··· 1 - { stdenv, fetchFromGitHub, chez }: 1 + { stdenv, lib, fetchFromGitHub, chez }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "chez-matchable"; ··· 23 23 24 24 doCheck = false; 25 25 26 - meta = { 26 + meta = with lib; { 27 27 description = "This is a Library for ChezScheme providing the protable hygenic pattern matcher by Alex Shinn"; 28 28 homepage = "https://github.com/fedeinthemix/chez-matchable/"; 29 - maintainers = [ stdenv.lib.maintainers.jitwit ]; 30 - license = stdenv.lib.licenses.publicDomain; 29 + maintainers = [ maintainers.jitwit ]; 30 + license = licenses.publicDomain; 31 31 }; 32 32 33 33 }
+4 -4
pkgs/development/chez-modules/chez-mit/default.nix
··· 1 - { stdenv, fetchgit, chez, chez-srfi }: 1 + { stdenv, lib, fetchgit, chez, chez-srfi }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "chez-mit"; ··· 22 22 23 23 doCheck = false; 24 24 25 - meta = { 25 + meta = with lib; { 26 26 description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme"; 27 27 homepage = "https://github.com/fedeinthemix/chez-mit/"; 28 - maintainers = [ stdenv.lib.maintainers.jitwit ]; 29 - license = stdenv.lib.licenses.free; 28 + maintainers = [ maintainers.jitwit ]; 29 + license = licenses.free; 30 30 }; 31 31 32 32 }
+4 -4
pkgs/development/chez-modules/chez-scmutils/default.nix
··· 1 - { stdenv, fetchgit, chez, chez-srfi, chez-mit }: 1 + { stdenv, lib, fetchgit, chez, chez-srfi, chez-mit }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "chez-scmutils"; ··· 22 22 23 23 doCheck = false; 24 24 25 - meta = { 25 + meta = with lib; { 26 26 description = "This is a port of the ‘MIT Scmutils’ library to Chez Scheme"; 27 27 homepage = "https://github.com/fedeinthemix/chez-scmutils/"; 28 - maintainers = [ stdenv.lib.maintainers.jitwit ]; 29 - license = stdenv.lib.licenses.gpl3; 28 + maintainers = [ maintainers.jitwit ]; 29 + license = licenses.gpl3; 30 30 }; 31 31 32 32 }
+4 -4
pkgs/development/chez-modules/chez-srfi/default.nix
··· 1 - { stdenv, fetchgit, chez }: 1 + { stdenv, lib, fetchgit, chez }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "chez-srfi"; ··· 22 22 23 23 doCheck = false; 24 24 25 - meta = { 25 + meta = with lib; { 26 26 description = "This package provides a collection of SRFI libraries for Chez Scheme"; 27 27 homepage = "https://github.com/fedeinthemix/chez-srfi/"; 28 - maintainers = [ stdenv.lib.maintainers.jitwit ]; 29 - license = stdenv.lib.licenses.free; 28 + maintainers = [ maintainers.jitwit ]; 29 + license = licenses.free; 30 30 }; 31 31 32 32 }
+3 -3
pkgs/development/compilers/yosys/plugins/bluespec.nix
··· 4 4 5 5 stdenv.mkDerivation { 6 6 pname = "yosys-bluespec"; 7 - version = "2021.01.14"; 7 + version = "2021.01.17"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "thoughtpolice"; 11 11 repo = "yosys-bluespec"; 12 - rev = "7a0c609e9b601560067c34b8ce41e89ea4a397d4"; 13 - sha256 = "0xj9j5dwvq0dwqzfjd4ikmxkd28amj6d9m6ava7pwcrpjhyjnd0c"; 12 + rev = "3cfa22c2810b840f406610efe3d7657477c1b0ed"; 13 + sha256 = "1r48128yisw5lpziaj3hq88acghwi94pvm4735xajx8dl79jkcng"; 14 14 }; 15 15 16 16 buildInputs = [ yosys readline zlib bluespec ];
+1 -1
pkgs/development/go-packages/generic/default.nix
··· 83 83 GO111MODULE = "off"; 84 84 GOFLAGS = lib.optionals (!allowGoReference) [ "-trimpath" ]; 85 85 86 - GOARM = toString (stdenv.lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]); 86 + GOARM = toString (lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]); 87 87 88 88 configurePhase = args.configurePhase or '' 89 89 runHook preConfigure
+1 -1
pkgs/development/guile-modules/guile-gnome/default.nix
··· 16 16 buildInputs = [ 17 17 texinfo guile gwrap pkgconfig gconf glib gnome_vfs gtk2 18 18 libglade libgnome libgnomecanvas libgnomeui pango guile-cairo 19 - ] ++ stdenv.lib.optional doCheck guile-lib; 19 + ] ++ lib.optional doCheck guile-lib; 20 20 21 21 # The test suite tries to open an X display, which fails. 22 22 doCheck = false;
-1
pkgs/development/guile-modules/guile-reader/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchpatch, pkgconfig 2 2 , gperf, guile, guile-lib, libffi }: 3 3 4 - with stdenv.lib; 5 4 stdenv.mkDerivation rec { 6 5 7 6 pname = "guile-reader";
+3 -3
pkgs/development/idris-modules/with-packages.nix
··· 1 1 # Build a version of idris with a set of packages visible 2 2 # packages: The packages visible to idris 3 - { stdenv, idris, symlinkJoin, makeWrapper }: packages: 3 + { stdenv, lib, idris, symlinkJoin, makeWrapper }: packages: 4 4 5 - let paths = stdenv.lib.closePropagation packages; 5 + let paths = lib.closePropagation packages; 6 6 in 7 - stdenv.lib.appendToName "with-packages" (symlinkJoin { 7 + lib.appendToName "with-packages" (symlinkJoin { 8 8 9 9 inherit (idris) name; 10 10
+23
pkgs/development/libraries/libiscsi/default.nix
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "libiscsi"; 5 + version = "1.19.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "sahlberg"; 9 + repo = "libiscsi"; 10 + rev = version; 11 + sha256 = "0ajrkkg5awmi8m4b3mha7h07ylg18k252qprvk1sgq0qbyd66zy7"; 12 + }; 13 + 14 + nativeBuildInputs = [ autoreconfHook ]; 15 + 16 + meta = with stdenv.lib; { 17 + description = "iscsi client library and utilities"; 18 + homepage = "https://github.com/sahlberg/libiscsi"; 19 + license = licenses.lgpl2; 20 + platforms = platforms.unix; 21 + maintainers = with maintainers; [ misuzu ]; 22 + }; 23 + }
+8 -9
pkgs/development/libraries/libstrophe/default.nix
··· 1 1 { stdenv 2 2 , fetchFromGitHub 3 - , pkg-config 4 - , automake 5 - , autoconf 3 + , autoreconfHook 6 4 , libtool 7 5 , openssl 8 6 , expat 7 + , pkg-config 9 8 , check 10 9 }: 11 10 ··· 17 16 owner = "strophe"; 18 17 repo = pname; 19 18 rev = version; 20 - sha256 = "sha256-6byg7hE0DN/cbf9NHpK/2DhXZyuelYAp+SA7vVUgo4U="; 19 + sha256 = "11d341avsfr0z4lq15cy5dkmff6qpy91wkgzdpfdy31l27pa1g79"; 21 20 }; 22 21 23 - nativeBuildInputs = [ automake autoconf pkg-config libtool check ]; 24 - buildInputs = [ openssl expat ]; 22 + nativeBuildInputs = [ autoreconfHook pkg-config ]; 23 + buildInputs = [ openssl expat libtool check ]; 25 24 26 25 dontDisableStatic = true; 27 - 28 - preConfigure = "mkdir m4 && sh bootstrap.sh"; 29 26 30 27 doCheck = true; 31 28 ··· 37 34 runs well on both Linux, Unix, and Windows based platforms. 38 35 ''; 39 36 homepage = "https://strophe.im/libstrophe/"; 40 - license = with licenses; [ gpl3 mit ]; 37 + license = with licenses; [ gpl3Only mit ]; 41 38 platforms = platforms.unix; 39 + broken = stdenv.isDarwin; 42 40 maintainers = with maintainers; [ devhell flosse ]; 43 41 }; 44 42 } 43 +
+31
pkgs/development/libraries/openbabel/2.nix
··· 1 + {stdenv, lib, fetchurl, fetchpatch, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkg-config }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "openbabel"; 5 + version = "2.4.1"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz"; 9 + sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r"; 10 + }; 11 + 12 + patches = [ 13 + # ARM / AArch64 fixes. 14 + (fetchpatch { 15 + url = "https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch"; 16 + sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g"; 17 + }) 18 + ]; 19 + 20 + buildInputs = [ zlib libxml2 eigen python cairo pcre ]; 21 + 22 + nativeBuildInputs = [ cmake pkg-config ]; 23 + 24 + meta = with lib; { 25 + description = "A toolbox designed to speak the many languages of chemical data"; 26 + homepage = "http://openbabel.org"; 27 + platforms = platforms.all; 28 + maintainers = with maintainers; [ danielbarter ]; 29 + license = licenses.gpl2Plus; 30 + }; 31 + }
+29 -18
pkgs/development/libraries/openbabel/default.nix
··· 1 - {stdenv, fetchurl, fetchpatch, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }: 1 + {stdenv, lib, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkg-config, swig, rapidjson }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "openbabel"; 5 - version = "2.4.1"; 5 + version = "3.1.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz"; 9 - sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r"; 9 + sha256 = "c97023ac6300d26176c97d4ef39957f06e68848d64f1a04b0b284ccff2744f02"; 10 10 }; 11 11 12 - patches = [ 13 - # ARM / AArch64 fixes. 14 - (fetchpatch { 15 - url = "https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch"; 16 - sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g"; 17 - }) 12 + 13 + buildInputs = [ zlib libxml2 eigen python cairo pcre swig rapidjson ]; 14 + 15 + nativeBuildInputs = [ cmake pkg-config ]; 16 + 17 + pythonMajorMinor = "${python.sourceVersion.major}.${python.sourceVersion.minor}"; 18 + 19 + cmakeFlags = [ 20 + "-DRUN_SWIG=ON" 21 + "-DPYTHON_BINDINGS=ON" 18 22 ]; 19 23 20 - # TODO : perl & python bindings; 21 - # TODO : wxGTK: I have no time to compile 22 - # TODO : separate lib and apps 23 - buildInputs = [ zlib libxml2 eigen python cairo pcre ]; 24 + 25 + postFixup = '' 26 + cat <<EOF > $out/lib/python$pythonMajorMinor/site-packages/setup.py 27 + from distutils.core import setup 24 28 25 - nativeBuildInputs = [ cmake pkgconfig ]; 29 + setup( 30 + name = 'pyopenbabel', 31 + version = '${version}', 32 + packages = ['openbabel'], 33 + package_data = {'openbabel' : ['_openbabel.so']} 34 + ) 35 + EOF 36 + ''; 26 37 27 - meta = { 38 + meta = with lib; { 28 39 description = "A toolbox designed to speak the many languages of chemical data"; 29 40 homepage = "http://openbabel.org"; 30 - platforms = stdenv.lib.platforms.all; 31 - maintainers = [ ]; 32 - license = stdenv.lib.licenses.gpl2Plus; 41 + platforms = platforms.all; 42 + license = licenses.gpl2Plus; 43 + maintainers = with maintainers; [ danielbarter ]; 33 44 }; 34 45 }
+6 -6
pkgs/development/perl-modules/WWW-YoutubeViewer/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildPerlPackage, shortenPerlShebang, LWP, LWPProtocolHttps, DataDump, JSON }: 1 + { stdenv, lib, fetchFromGitHub, buildPerlPackage, shortenPerlShebang, LWP, LWPProtocolHttps, DataDump, JSON }: 2 2 3 3 buildPerlPackage rec { 4 4 pname = "WWW-YoutubeViewer"; ··· 11 11 sha256 = "16p0sa91h0zpqdpqmy348g6b9qj5f6qrbzrljn157vk00cg6mx18"; 12 12 }; 13 13 14 - nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang; 14 + nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; 15 15 propagatedBuildInputs = [ 16 16 LWP 17 17 LWPProtocolHttps 18 18 DataDump 19 19 JSON 20 20 ]; 21 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 21 + postInstall = lib.optionalString stdenv.isDarwin '' 22 22 shortenPerlShebang $out/bin/youtube-viewer 23 23 ''; 24 24 25 - meta = { 25 + meta = with lib; { 26 26 description = "A lightweight application for searching and streaming videos from YouTube"; 27 27 homepage = "https://github.com/trizen/youtube-viewer"; 28 - maintainers = with stdenv.lib.maintainers; [ woffs ]; 29 - license = with stdenv.lib.licenses; [ artistic2 ]; 28 + maintainers = with maintainers; [ woffs ]; 29 + license = with licenses; [ artistic2 ]; 30 30 }; 31 31 }
+3 -3
pkgs/development/perl-modules/maatkit/default.nix
··· 1 - {buildPerlPackage, stdenv, fetchurl, DBDmysql}: 1 + {buildPerlPackage, lib, stdenv, fetchurl, DBDmysql}: 2 2 3 3 buildPerlPackage { 4 4 pname = "maatkit"; ··· 27 27 done 28 28 '' ; 29 29 30 - meta = { 30 + meta = with lib; { 31 31 description = "Database toolkit"; 32 32 longDescription = '' 33 33 You can use Maatkit to prove replication is working correctly, fix ··· 37 37 In addition to MySQL, there is support for PostgreSQL, Memcached, and a 38 38 growing variety of other databases and technologies. 39 39 ''; 40 - license = stdenv.lib.licenses.gpl2Plus; 40 + license = licenses.gpl2Plus; 41 41 homepage = "http://www.maatkit.org/"; 42 42 }; 43 43 }
+2 -2
pkgs/development/perl-modules/strip-nondeterminism/default.nix
··· 17 17 # stray test failure 18 18 doCheck = false; 19 19 20 - nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ shortenPerlShebang ]; 20 + nativeBuildInputs = lib.optionals stdenv.isDarwin [ shortenPerlShebang ]; 21 21 buildInputs = [ ArchiveZip ArchiveCpio file ]; 22 22 23 23 perlPostHook = '' ··· 26 26 rm $out/share/man/man1/dh_strip_nondeterminism.1.gz 27 27 ''; 28 28 29 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 29 + postInstall = lib.optionalString stdenv.isDarwin '' 30 30 shortenPerlShebang $out/bin/strip-nondeterminism 31 31 ''; 32 32
+33
pkgs/development/python-modules/adext/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , alarmdecoder 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "adext"; 9 + version = "0.3"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "184qxw6i5ixnhgkjnby4zwn4jg90mxb8xy9vbg80x5w331p4z50f"; 14 + }; 15 + 16 + postPatch = '' 17 + substituteInPlace setup.py \ 18 + --replace "alarmdecoder==1.13.2" "alarmdecoder>=1.13.2" 19 + ''; 20 + 21 + propagatedBuildInputs = [ alarmdecoder ]; 22 + 23 + # Tests are not published yet 24 + doCheck = false; 25 + pythonImportsCheck = [ "adext" ]; 26 + 27 + meta = with lib; { 28 + description = "Python extension for AlarmDecoder"; 29 + homepage = "https://github.com/ajschmidt8/adext"; 30 + license = with licenses; [ mit ]; 31 + maintainers = with maintainers; [ fab ]; 32 + }; 33 + }
+26
pkgs/development/python-modules/agent-py/default.nix
··· 1 + { aiohttp, buildPythonPackage, fetchPypi, isPy3k, lib, python, requests }: 2 + 3 + buildPythonPackage rec { 4 + pname = "agent-py"; 5 + version = "0.0.23"; 6 + 7 + disabled = !isPy3k; 8 + 9 + src = fetchPypi { 10 + inherit pname version; 11 + sha256 = "1hx88m8b8kfb2gm6hii5ldjv7hlvqf99cz0w2vj0d0grrxcbn5cz"; 12 + }; 13 + 14 + propagatedBuildInputs = [ requests aiohttp ]; 15 + 16 + checkPhase = '' 17 + ${python.interpreter} tests/test_agent.py 18 + ''; 19 + 20 + meta = with lib; { 21 + description = "A python wrapper around the Agent REST API."; 22 + homepage = "https://github.com/ispysoftware/agent-py"; 23 + license = licenses.asl20; 24 + maintainers = with maintainers; [ jamiemagee ]; 25 + }; 26 + }
+12 -13
pkgs/development/python-modules/digitalocean/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchFromGitHub 3 4 , fetchPypi 4 5 , isPy3k ··· 8 9 , pytestCheckHook 9 10 , requests 10 11 , responses 11 - , lib, stdenv 12 12 }: 13 13 14 14 buildPythonPackage rec { 15 15 pname = "python-digitalocean"; 16 - version = "1.15.0"; 16 + version = "1.16.0"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "koalalorenzo"; 20 - repo = "python-digitalocean"; 20 + repo = pname; 21 21 rev = "v${version}"; 22 - sha256 = "1pz15mh72i992p63grwzqn2bbp6sm37zcp4f0fy1z7rsargwsbcz"; 22 + sha256 = "16fxlfpisj4rcj9dvlifs6bpx42a0sn9b07bnyzwrbhi6nfvkd2g"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [ ··· 33 33 pytest 34 34 pytestCheckHook 35 35 responses 36 - ] ++ stdenv.lib.optionals (!isPy3k) [ 36 + ] ++ lib.optionals (!isPy3k) [ 37 37 mock 38 38 ]; 39 39 ··· 41 41 cd digitalocean 42 42 ''; 43 43 44 + pythonImportsCheck = [ "digitalocean" ]; 45 + 44 46 meta = with lib; { 45 - description = "digitalocean.com API to manage Droplets and Images"; 46 - homepage = "https://pypi.python.org/pypi/python-digitalocean"; 47 - license = licenses.lgpl3; 48 - maintainers = with maintainers; [ 49 - kiwi 50 - teh 51 - ]; 47 + description = "Python API to manage Digital Ocean Droplets and Images"; 48 + homepage = "https://github.com/koalalorenzo/python-digitalocean"; 49 + license = with licenses; [ lgpl3Only ]; 50 + maintainers = with maintainers; [ kiwi teh ]; 52 51 }; 53 52 }
+26
pkgs/development/python-modules/dotty-dict/default.nix
··· 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + , setuptools_scm 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "dotty_dict"; 9 + version = "1.3.0"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "sha256-6wA1o2KezYQ5emjx9C8elKvRw0V3oZzT6srTMe58uvA="; 14 + }; 15 + 16 + nativeBuildInputs = [ setuptools_scm ]; 17 + 18 + doCheck = false; 19 + 20 + meta = with lib; { 21 + description = "Dictionary wrapper for quick access to deeply nested keys"; 22 + homepage = "https://dotty-dict.readthedocs.io"; 23 + license = licenses.mit; 24 + maintainers = with maintainers; [ AndersonTorres ]; 25 + }; 26 + }
+22 -9
pkgs/development/python-modules/hug/default.nix
··· 1 1 { lib , buildPythonPackage, fetchFromGitHub, isPy27 2 2 , falcon 3 - , pytestrunner 4 3 , requests 5 - , pytest 4 + , pytestCheckHook 6 5 , marshmallow 7 6 , mock 8 7 , numpy ··· 20 19 sha256 = "05rsv16g7ph100p8kl4l2jba0y4wcpp3xblc02mfp67zp1279vaq"; 21 20 }; 22 21 23 - nativeBuildInputs = [ pytestrunner ]; 24 22 propagatedBuildInputs = [ falcon requests ]; 25 23 26 - checkInputs = [ mock marshmallow pytest numpy ]; 27 - checkPhase = '' 28 - mv hug hug.hidden 24 + checkInputs = [ mock marshmallow pytestCheckHook numpy ]; 25 + 26 + postPatch = '' 27 + substituteInPlace setup.py --replace '"pytest-runner"' "" 28 + ''; 29 + 30 + preCheck = '' 31 + # some tests need the `hug` CLI on the PATH 32 + export PATH=$out/bin:$PATH 33 + ''; 34 + 35 + disabledTests = [ 29 36 # some tests attempt network access 30 - PATH=$out/bin:$PATH pytest -k "not (test_request or test_datagram_request)" 31 - ''; 37 + "test_datagram_request" 38 + "test_request" 39 + # these tests use an unstable test dependency (https://github.com/hugapi/hug/issues/859) 40 + "test_marshmallow_custom_context" 41 + "test_marshmallow_schema" 42 + "test_transform" 43 + "test_validate_route_args_negative_case" 44 + ]; 32 45 33 46 meta = with lib; { 34 47 description = "A Python framework that makes developing APIs as simple as possible, but no simpler"; 35 - homepage = "https://github.com/timothycrosley/hug"; 48 + homepage = "https://github.com/hugapi/hug"; 36 49 license = licenses.mit; 37 50 }; 38 51
+27
pkgs/development/python-modules/openbabel-bindings/default.nix
··· 1 + { stdenv, lib, openbabel, python, buildPythonPackage }: 2 + 3 + buildPythonPackage rec { 4 + pname = "openbabel"; 5 + version = "3.1.1"; 6 + 7 + src = "${openbabel}/lib/python${python.sourceVersion.major}.${python.sourceVersion.minor}/site-packages"; 8 + 9 + nativeBuildInputs = [ openbabel ]; 10 + 11 + # these env variables are used by the bindings to find libraries 12 + # they need to be included explicitly in your nix-shell for 13 + # some functionality to work (inparticular, pybel). 14 + # see https://openbabel.org/docs/dev/Installation/install.html 15 + BABEL_LIBDIR = "${openbabel}/lib/openbabel/3.1.0"; 16 + LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${openbabel}/lib"; 17 + 18 + doCheck = false; 19 + pythonImportsCheck = [ "openbabel" ]; 20 + 21 + meta = with lib; { 22 + homepage = "http://openbabel.org/wiki/Main_Page"; 23 + description = "Python bindings for openbabel"; 24 + license = licenses.gpl2Plus; 25 + maintainers = with maintainers; [ danielbarter ]; 26 + }; 27 + }
+34
pkgs/development/python-modules/pyblackbird/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pyserial 5 + , pyserial-asyncio 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "pyblackbird"; 10 + version = "0.5"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "koolsb"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "0m1yd1cb3z8011x7nicxpf091bdcwghcphn0l21c65f71rabzg6s"; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + pyserial 21 + pyserial-asyncio 22 + ]; 23 + 24 + # Test setup try to create a serial port 25 + doCheck = false; 26 + pythonImportsCheck = [ "pyblackbird" ]; 27 + 28 + meta = with lib; { 29 + description = "Python implementation for Monoprice Blackbird units"; 30 + homepage = "https://github.com/koolsb/pyblackbird"; 31 + license = with licenses; [ mit ]; 32 + maintainers = with maintainers; [ fab ]; 33 + }; 34 + }
+2 -2
pkgs/development/python-modules/pypck/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pypck"; 14 - version = "0.7.8"; 14 + version = "0.7.9"; 15 15 disabled = pythonOlder "3.8"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "alengwenus"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "06yqyqpzpypid27z31prvsp7nzpjqzn7gjlfqwjhhxl8fdgh8hkr"; 21 + sha256 = "0clpi6bplzw7qg2m0hgwqr71zwxrh901gwprhd1yjykn30njp5bw"; 22 22 }; 23 23 24 24 checkInputs = [
+37
pkgs/development/python-modules/roombapy/default.nix
··· 1 + { buildPythonPackage 2 + , fetchFromGitHub 3 + , hbmqtt 4 + , lib 5 + , paho-mqtt 6 + , poetry 7 + , pytest-asyncio 8 + , pytestCheckHook 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "roombapy"; 13 + version = "1.6.2-1"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "pschmitt"; 17 + repo = "roombapy"; 18 + rev = version; 19 + sha256 = "14k7bys479xwpa4alpdwphzmxm3x8kc48nfqnshn1wj94vyxc425"; 20 + }; 21 + 22 + format = "pyproject"; 23 + 24 + nativeBuildInputs = [ poetry ]; 25 + propagatedBuildInputs = [ paho-mqtt ]; 26 + 27 + checkInputs = [ hbmqtt pytest-asyncio pytestCheckHook ]; 28 + pytestFlagsArray = [ "tests/" "--ignore=tests/test_discovery.py" ]; 29 + pythonImportsCheck = [ "roombapy" ]; 30 + 31 + meta = with lib; { 32 + homepage = "https://github.com/pschmitt/roombapy"; 33 + description = "Python program and library to control Wi-Fi enabled iRobot Roombas"; 34 + maintainers = with maintainers; [ justinas ]; 35 + license = licenses.mit; 36 + }; 37 + }
+4 -4
pkgs/development/r-modules/generic-builder.nix
··· 1 - { stdenv, R, libcxx, xvfb_run, util-linux, Cocoa, Foundation, gettext, gfortran }: 1 + { stdenv, lib, R, libcxx, xvfb_run, util-linux, Cocoa, Foundation, gettext, gfortran }: 2 2 3 3 { name, buildInputs ? [], requireX ? false, ... } @ attrs: 4 4 5 5 stdenv.mkDerivation ({ 6 6 buildInputs = buildInputs ++ [R gettext] ++ 7 - stdenv.lib.optionals requireX [util-linux xvfb_run] ++ 8 - stdenv.lib.optionals stdenv.isDarwin [Cocoa Foundation gfortran]; 7 + lib.optionals requireX [util-linux xvfb_run] ++ 8 + lib.optionals stdenv.isDarwin [Cocoa Foundation gfortran]; 9 9 10 10 NIX_CFLAGS_COMPILE = 11 - stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; 11 + lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; 12 12 13 13 configurePhase = '' 14 14 runHook preConfigure
+3 -3
pkgs/development/ruby-modules/gem-config/default.nix
··· 265 265 266 266 hitimes = attrs: { 267 267 buildInputs = 268 - stdenv.lib.optionals stdenv.isDarwin 268 + lib.optionals stdenv.isDarwin 269 269 [ darwin.apple_sdk.frameworks.CoreServices ]; 270 270 }; 271 271 ··· 515 515 --replace "gobject-2.0" "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}" 516 516 517 517 substituteInPlace lib/vips.rb \ 518 - --replace "vips_libname = 'vips'" "vips_libname = '${stdenv.lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'" 518 + --replace "vips_libname = 'vips'" "vips_libname = '${lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'" 519 519 ''; 520 520 }; 521 521 ··· 632 632 }; 633 633 634 634 zookeeper = attrs: { 635 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ]; 635 + buildInputs = lib.optionals stdenv.isDarwin [ darwin.cctools ]; 636 636 dontBuild = false; 637 637 postPatch = '' 638 638 sed -i ext/extconf.rb -e "4a \
+5 -3
pkgs/development/tools/rust/cargo-deny/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "cargo-deny"; 10 - version = "0.7.0"; 10 + version = "0.8.5"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "EmbarkStudios"; 14 14 repo = pname; 15 15 rev = version; 16 - sha256 = "0mfccjcll7dxrhdi2bhfbggmkqdp8cmq5vf8vbb05qzpvlswvkf7"; 16 + sha256 = "01czsnhlvs78fpx1kpi75386657jmlrqpsj4474nxmgcs75igncx"; 17 17 }; 18 18 19 - cargoSha256 = "1gp5m432273mr0zwq1kdswdjgp0kajr0imymqyc4yj9i931by1xv"; 19 + cargoSha256 = "1d5vh6cifkvqxmbgc2z9259q8879fjw016z959hfivv38rragqbr"; 20 + 21 + doCheck = false; 20 22 21 23 nativeBuildInputs = [ perl pkgconfig ]; 22 24
+34
pkgs/development/tools/rust/cargo-readme/default.nix
··· 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, fetchpatch }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "cargo-readme"; 5 + version = "3.2.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "livioribeiro"; 9 + repo = pname; 10 + # Git tag is missing, see upstream issue: 11 + # https://github.com/livioribeiro/cargo-readme/issues/61 12 + rev = "cf66017c0120ae198210ebaf58a0be6a78372974"; 13 + sha256 = "sha256-/ufHHM13L83M3UYi6mjdhIjgXx7bZgzvR/X02Zsx7Fw="; 14 + }; 15 + 16 + cargoSha256 = "sha256-QVRl6xCvztWi5zAs3PXYR4saTqO5nTBPIjdlMiMXFTM="; 17 + 18 + patches = [ 19 + (fetchpatch { 20 + # Fixup warning thrown at build when running test-suite 21 + # unused return, see upstream PR: 22 + # https://github.com/livioribeiro/cargo-readme/pull/62 23 + url = "https://github.com/livioribeiro/cargo-readme/commit/060f2daaa2b2cf981bf490dc36bcc6527545ea03.patch"; 24 + sha256 = "sha256-wlAIgTI9OqtA/Jnswoqp7iOj+1zjrUZA7JpHUiF/n+s="; 25 + }) 26 + ]; 27 + 28 + meta = with lib; { 29 + description = "Generate README.md from docstrings"; 30 + homepage = "https://github.com/livioribeiro/cargo-readme"; 31 + license = with licenses; [ mit asl20 ]; 32 + maintainers = with maintainers; [ baloo ]; 33 + }; 34 + }
+164 -152
pkgs/misc/vim-plugins/generated.nix
··· 65 65 66 66 ale = buildVimPluginFrom2Nix { 67 67 pname = "ale"; 68 - version = "2021-01-13"; 68 + version = "2021-01-16"; 69 69 src = fetchFromGitHub { 70 70 owner = "dense-analysis"; 71 71 repo = "ale"; 72 - rev = "97ce2423b04745d5c7588385ddbd75be9ef846d4"; 73 - sha256 = "1q55kd8xqxl43rvj08awyq32a0mrv4svm2932s6q73zb8022db4a"; 72 + rev = "9387ccfbc57f34f9fdc6af85cd0dbddf5ee8c5ae"; 73 + sha256 = "1p8fxlnwfiaigfrcw8sk832p4msqcl4n45k5qshy625cz9jkysn0"; 74 74 }; 75 75 meta.homepage = "https://github.com/dense-analysis/ale/"; 76 76 }; ··· 89 89 90 90 aniseed = buildVimPluginFrom2Nix { 91 91 pname = "aniseed"; 92 - version = "2020-12-21"; 92 + version = "2021-01-16"; 93 93 src = fetchFromGitHub { 94 94 owner = "Olical"; 95 95 repo = "aniseed"; 96 - rev = "50adbc5ed5bb97b73b0b0c3241d9e62621ca59f9"; 97 - sha256 = "1wy5jd86273q7sxa50kv88flqdgmg9z2m4b6phpw3xnl5d1sj9f7"; 96 + rev = "9d3a5e926a5708039abcaf552c8ab3d133c37f80"; 97 + sha256 = "0waa122pk1mcbbhj7zrsb9ch0xmg0x3mpm627k7knpi4q8krgrzy"; 98 98 }; 99 99 meta.homepage = "https://github.com/Olical/aniseed/"; 100 100 }; ··· 245 245 246 246 barbar-nvim = buildVimPluginFrom2Nix { 247 247 pname = "barbar-nvim"; 248 - version = "2021-01-05"; 248 + version = "2021-01-16"; 249 249 src = fetchFromGitHub { 250 250 owner = "romgrk"; 251 251 repo = "barbar.nvim"; 252 - rev = "e0b4935d5956025ab595195d935a5bac00f1a973"; 253 - sha256 = "0h723j5zhj8mzwghykd84rxdr0l4ngvyy692d6sl2zz940mvwlkw"; 252 + rev = "80860e972cdf78e0e0b8dc7f16e07142966f73cf"; 253 + sha256 = "009gnamainla5z2q98p6mi4gifmlbx5im7d2gx2d0da62cbdrcsl"; 254 254 }; 255 255 meta.homepage = "https://github.com/romgrk/barbar.nvim/"; 256 256 }; ··· 449 449 450 450 coc-denite = buildVimPluginFrom2Nix { 451 451 pname = "coc-denite"; 452 - version = "2020-11-26"; 452 + version = "2021-01-14"; 453 453 src = fetchFromGitHub { 454 454 owner = "neoclide"; 455 455 repo = "coc-denite"; 456 - rev = "ea22e4462f9ac77f9c0cf3b1413bcd4d3b86a135"; 457 - sha256 = "15rx4ws7hvssi7z1fkh7mzadc9xifi4hzb9g91lbinds12v19gg9"; 456 + rev = "819b0e334431a9e914d69f3fedf68122799fcab9"; 457 + sha256 = "02zy4ip7m1jivqzs67c8bzc8lis8wxkm38nvk6nngz2790xpfywc"; 458 458 }; 459 459 meta.homepage = "https://github.com/neoclide/coc-denite/"; 460 460 }; 461 461 462 462 coc-explorer = buildVimPluginFrom2Nix { 463 463 pname = "coc-explorer"; 464 - version = "2021-01-13"; 464 + version = "2021-01-16"; 465 465 src = fetchFromGitHub { 466 466 owner = "weirongxu"; 467 467 repo = "coc-explorer"; 468 - rev = "e0a4cfa0fb856b31a6d16828ce3629b2901496f0"; 469 - sha256 = "0vadrkk92vrw48h7clbasqacyfcjn63ziq33740mciwa7a3h5bfg"; 468 + rev = "2dc88ca328de4e00b37586aaf532b2cd90b5c3a0"; 469 + sha256 = "0zjryprw2qdshshw7f8dkk7jf515sq11gc1w0lvssimkqdi47zaj"; 470 470 }; 471 471 meta.homepage = "https://github.com/weirongxu/coc-explorer/"; 472 472 }; ··· 485 485 486 486 coc-lua = buildVimPluginFrom2Nix { 487 487 pname = "coc-lua"; 488 - version = "2021-01-08"; 488 + version = "2021-01-16"; 489 489 src = fetchFromGitHub { 490 490 owner = "josa42"; 491 491 repo = "coc-lua"; 492 - rev = "ad83de5ef16299e026b7fce6a024c82b2b7110f5"; 493 - sha256 = "0b56af3z04vvlkr67yg3bfj71qycyhrv895p1sbfamj483hs7ds6"; 492 + rev = "07a533b2b1202beda8e07e4d605584a8b7525e3d"; 493 + sha256 = "1r8yijfm9m0g4r2d1q3ja05vjy7li578ix2c2wbq8iy3i10g8lkl"; 494 494 }; 495 495 meta.homepage = "https://github.com/josa42/coc-lua/"; 496 496 }; ··· 521 521 522 522 coc-nvim = buildVimPluginFrom2Nix { 523 523 pname = "coc-nvim"; 524 - version = "2021-01-12"; 524 + version = "2021-01-15"; 525 525 src = fetchFromGitHub { 526 526 owner = "neoclide"; 527 527 repo = "coc.nvim"; 528 - rev = "891c73f0deb3777870aed67c6ea6e5e184bafe27"; 529 - sha256 = "11wlsicv74vsxyr5l7q8r02h1wmf6zq3igxrp1anndv3j8mjbi09"; 528 + rev = "a150d49a46ea85b4c78813e6ba0fcf9a2b0d86ea"; 529 + sha256 = "067fhgvfnrvzw67hyag0fxv61m1fbl8160klgy5l0kjy7nx6hwiw"; 530 530 }; 531 531 meta.homepage = "https://github.com/neoclide/coc.nvim/"; 532 532 }; ··· 606 606 607 607 completion-nvim = buildVimPluginFrom2Nix { 608 608 pname = "completion-nvim"; 609 - version = "2021-01-13"; 609 + version = "2021-01-15"; 610 610 src = fetchFromGitHub { 611 611 owner = "nvim-lua"; 612 612 repo = "completion-nvim"; 613 - rev = "d8eb3ba816d6bae9b741c23dee4d496e545a4ef8"; 614 - sha256 = "1nndg6lbsgfp65vpqw5bpjj2qa944c2x5s38jfrf2lp68hk39z23"; 613 + rev = "fc9b2fd2d47bea6a8954de1b1b19f2330545b354"; 614 + sha256 = "0dip8z6cfhjbz5lvf6f75382lg7d819djrpygbc12lf1s4i66i3z"; 615 615 }; 616 616 meta.homepage = "https://github.com/nvim-lua/completion-nvim/"; 617 617 }; ··· 654 654 655 655 conjure = buildVimPluginFrom2Nix { 656 656 pname = "conjure"; 657 - version = "2021-01-03"; 657 + version = "2021-01-16"; 658 658 src = fetchFromGitHub { 659 659 owner = "Olical"; 660 660 repo = "conjure"; 661 - rev = "e966ef58720fa0a2739aa33e9307809925b36597"; 662 - sha256 = "1baf3r6fmdwn1pbn5sfrrmzi4dxp9a298bajr4sqds05avk4z2dc"; 661 + rev = "94a55a46ecbbd169436f4f937060c8d449a74c51"; 662 + sha256 = "074ksnsisv1yvf3fcvgz9bl8s15q5z8h2hvfmymhf53rxbfh7dfk"; 663 663 }; 664 664 meta.homepage = "https://github.com/Olical/conjure/"; 665 665 }; ··· 690 690 691 691 Coqtail = buildVimPluginFrom2Nix { 692 692 pname = "Coqtail"; 693 - version = "2021-01-03"; 693 + version = "2021-01-15"; 694 694 src = fetchFromGitHub { 695 695 owner = "whonore"; 696 696 repo = "Coqtail"; 697 - rev = "8c3cced82a5ea8051fbbe2ade25fac557ca976f0"; 698 - sha256 = "1ayzpwc9bi6x5l5yhmhlfqifizpya9z57f0qdm64diwqvr8lvyb2"; 697 + rev = "50c34a24bb6638fdf8f604f75cd036ec5252864d"; 698 + sha256 = "1b5cs4yznz8vcmba6vk67kpd6071cz1m5jbfjpvyinvld5ipnapn"; 699 699 }; 700 700 meta.homepage = "https://github.com/whonore/Coqtail/"; 701 701 }; ··· 882 882 883 883 denite-nvim = buildVimPluginFrom2Nix { 884 884 pname = "denite-nvim"; 885 - version = "2021-01-13"; 885 + version = "2021-01-16"; 886 886 src = fetchFromGitHub { 887 887 owner = "Shougo"; 888 888 repo = "denite.nvim"; 889 - rev = "d01c56ff3eab215c1485bd04d132b709f922de3e"; 890 - sha256 = "0b2hmdkbi9d1273f8pylb87hxq2mws4s8g06rmy61ycbq60ldg4k"; 889 + rev = "b7c43e846b404d6068e4905cc1fc22c73e6d333a"; 890 + sha256 = "00nyw1fnjjkr7zqns05sp00qvbsyyc8a6avr9s0j76hhamrfwkhg"; 891 891 }; 892 892 meta.homepage = "https://github.com/Shougo/denite.nvim/"; 893 893 }; 894 894 895 895 deol-nvim = buildVimPluginFrom2Nix { 896 896 pname = "deol-nvim"; 897 - version = "2021-01-13"; 897 + version = "2021-01-14"; 898 898 src = fetchFromGitHub { 899 899 owner = "Shougo"; 900 900 repo = "deol.nvim"; 901 - rev = "e470e3df3e94181c6e8a20e62df564beb8d7df36"; 902 - sha256 = "17l0ykpib84lgq30dkfdk7s6gxb2dc20wg22z0pvf3slnyfdf8ra"; 901 + rev = "f1bf4b1dc68d441936019f97a2f306327c52f5c4"; 902 + sha256 = "0gd23blp723gybzp0g466kkf3rf9d0bd2zs76hadmw7w7992im2z"; 903 903 }; 904 904 meta.homepage = "https://github.com/Shougo/deol.nvim/"; 905 905 }; ··· 1076 1076 1077 1077 deoplete-tabnine = buildVimPluginFrom2Nix { 1078 1078 pname = "deoplete-tabnine"; 1079 - version = "2020-11-30"; 1079 + version = "2021-01-15"; 1080 1080 src = fetchFromGitHub { 1081 1081 owner = "tbodt"; 1082 1082 repo = "deoplete-tabnine"; 1083 - rev = "a9bc7ffddbcae9c90be2c56f06842890e07126ce"; 1084 - sha256 = "1ar0ccr09m76arjcz4n5q7l9k8l1klc4sdxl5g0v87jjmiiazzvg"; 1083 + rev = "80a329eca215f48de8a4e575af55607700ddc93e"; 1084 + sha256 = "1i23ajbkx3yrll4mnqzf17g66c9x5g6ih3hk3acjq7h3m6ifgfyi"; 1085 1085 }; 1086 1086 meta.homepage = "https://github.com/tbodt/deoplete-tabnine/"; 1087 1087 }; ··· 1124 1124 1125 1125 deoplete-nvim = buildVimPluginFrom2Nix { 1126 1126 pname = "deoplete-nvim"; 1127 - version = "2021-01-12"; 1127 + version = "2021-01-15"; 1128 1128 src = fetchFromGitHub { 1129 1129 owner = "Shougo"; 1130 1130 repo = "deoplete.nvim"; 1131 - rev = "4c5acd271591c4b5e5420ce05c2b20eb7beb08e3"; 1132 - sha256 = "1vy3n81y7f535adyplmy3pvvsgjdzrxcfqlzrwz62r4bspqqf42r"; 1131 + rev = "5fb8291d5f5238bdd52025e02470c7602d66f7c4"; 1132 + sha256 = "08fidhbqxhzxabww0zb5lxfignl3qmjn8ffl1g81acl2v62bz3hn"; 1133 1133 }; 1134 1134 meta.homepage = "https://github.com/Shougo/deoplete.nvim/"; 1135 1135 }; ··· 1328 1328 meta.homepage = "https://github.com/konfekt/fastfold/"; 1329 1329 }; 1330 1330 1331 - fern-vim = buildVimPluginFrom2Nix { 1332 - pname = "fern-vim"; 1333 - version = "2021-01-13"; 1334 - src = fetchFromGitHub { 1335 - owner = "lambdalisue"; 1336 - repo = "fern.vim"; 1337 - rev = "316c8ad965f7d23093bd36a792730f701b80fb2a"; 1338 - sha256 = "1l04kjrnafj8509nmz349ki6xm5vzry9dqikgw5gsykrwgf8cp3a"; 1339 - }; 1340 - meta.homepage = "https://github.com/lambdalisue/fern.vim/"; 1341 - }; 1342 - 1343 1331 fennel-vim = buildVimPluginFrom2Nix { 1344 - pname = "fennel.vim"; 1345 - version = "2021-01-08"; 1332 + pname = "fennel-vim"; 1333 + version = "2020-11-15"; 1346 1334 src = fetchFromGitHub { 1347 1335 owner = "bakpakin"; 1348 1336 repo = "fennel.vim"; ··· 1350 1338 sha256 = "1fvcn4q87d594nzxlj1597bmrixzlfqnl7k8f547skvvywx09kii"; 1351 1339 }; 1352 1340 meta.homepage = "https://github.com/bakpakin/fennel.vim/"; 1341 + }; 1342 + 1343 + fern-vim = buildVimPluginFrom2Nix { 1344 + pname = "fern-vim"; 1345 + version = "2021-01-17"; 1346 + src = fetchFromGitHub { 1347 + owner = "lambdalisue"; 1348 + repo = "fern.vim"; 1349 + rev = "f057425350c3a01372f071de0b6f1ac597b962d6"; 1350 + sha256 = "10wrk0a9ich10bgky912i22ix3xanxk81clda63fg4nw7c4sqqfs"; 1351 + }; 1352 + meta.homepage = "https://github.com/lambdalisue/fern.vim/"; 1353 1353 }; 1354 1354 1355 1355 ferret = buildVimPluginFrom2Nix { ··· 1463 1463 1464 1464 fzf-vim = buildVimPluginFrom2Nix { 1465 1465 pname = "fzf-vim"; 1466 - version = "2021-01-07"; 1466 + version = "2021-01-17"; 1467 1467 src = fetchFromGitHub { 1468 1468 owner = "junegunn"; 1469 1469 repo = "fzf.vim"; 1470 - rev = "d43df0ea2f099836c2e3499756101e87bcbd3e25"; 1471 - sha256 = "1hclx6c476i523qa5r27r2jbdfdrlbgan1j7aczzwgj3lahbdlvx"; 1470 + rev = "1fcdee55cc5975d67248b2f8ea5fbac9aa628b7c"; 1471 + sha256 = "0pnpjm17dn28gidjc43dkh5rn5s5rni5l8zjhy72hnix8ws3m1k0"; 1472 1472 }; 1473 1473 meta.homepage = "https://github.com/junegunn/fzf.vim/"; 1474 1474 }; ··· 1797 1797 meta.homepage = "https://github.com/haya14busa/incsearch.vim/"; 1798 1798 }; 1799 1799 1800 + indent-blankline-nvim = buildVimPluginFrom2Nix { 1801 + pname = "indent-blankline-nvim"; 1802 + version = "2020-12-18"; 1803 + src = fetchFromGitHub { 1804 + owner = "lukas-reineke"; 1805 + repo = "indent-blankline.nvim"; 1806 + rev = "3e4eb10fd57dec3ca11ecb4afa6b3a76558c4182"; 1807 + sha256 = "1qgnrdflw8c7afh060xk5fl5yw7jbap5fp8a4mbhdhgrfr7gv6ll"; 1808 + }; 1809 + meta.homepage = "https://github.com/lukas-reineke/indent-blankline.nvim/"; 1810 + }; 1811 + 1800 1812 indentLine = buildVimPluginFrom2Nix { 1801 1813 pname = "indentLine"; 1802 1814 version = "2020-11-27"; ··· 2076 2088 2077 2089 lh-brackets = buildVimPluginFrom2Nix { 2078 2090 pname = "lh-brackets"; 2079 - version = "2021-01-06"; 2091 + version = "2021-01-15"; 2080 2092 src = fetchFromGitHub { 2081 2093 owner = "LucHermitte"; 2082 2094 repo = "lh-brackets"; 2083 - rev = "547fc9ab14ecf6ecc0d81e8bbb1cc1fec314b6aa"; 2084 - sha256 = "0344ap5fkp1d0g91rv9pn0p28xqz8as48d3m6kxc99w229sj6p2q"; 2095 + rev = "7e0e38857de5558de04c251cf6ddc350724562d9"; 2096 + sha256 = "105dgm80946jvx9qxs10vscgrplwpg89nwd6cmpm47wzj8999r8b"; 2085 2097 }; 2086 2098 meta.homepage = "https://github.com/LucHermitte/lh-brackets/"; 2087 2099 }; ··· 2100 2112 2101 2113 lightline-ale = buildVimPluginFrom2Nix { 2102 2114 pname = "lightline-ale"; 2103 - version = "2020-04-30"; 2115 + version = "2021-01-16"; 2104 2116 src = fetchFromGitHub { 2105 2117 owner = "maximbaz"; 2106 2118 repo = "lightline-ale"; 2107 - rev = "23352556fdaa067209fa22df424f1b88ab370f6a"; 2108 - sha256 = "1cz1pcz6qxddpalymj2p19clnwsj568zlvbyg7mai0vxx6cv7a9w"; 2119 + rev = "fa5e6bf8bca114c508b1247a94ef95c89c390a57"; 2120 + sha256 = "00a8lpj57mbjqky4anjk5jjm2kz9y2iim2dvv1slvm6wyvd4hkwq"; 2109 2121 }; 2110 2122 meta.homepage = "https://github.com/maximbaz/lightline-ale/"; 2111 2123 }; ··· 2172 2184 2173 2185 lualine-nvim = buildVimPluginFrom2Nix { 2174 2186 pname = "lualine-nvim"; 2175 - version = "2021-01-11"; 2187 + version = "2021-01-15"; 2176 2188 src = fetchFromGitHub { 2177 2189 owner = "hoob3rt"; 2178 2190 repo = "lualine.nvim"; 2179 - rev = "823665c511d5727107a57e4f31205f92bb2c573e"; 2180 - sha256 = "1krfj35zmbf9gznsh4npwhjmy132svbrivsy007vpz798lir7i06"; 2191 + rev = "10a6087a74b235a7e3a77310a21a563afad3a148"; 2192 + sha256 = "06p776nkm2r1i6hslbcaqqg4adqlmv3car6gi8yd4yv8vwlffraw"; 2181 2193 }; 2182 2194 meta.homepage = "https://github.com/hoob3rt/lualine.nvim/"; 2183 2195 }; ··· 2532 2544 2533 2545 neoformat = buildVimPluginFrom2Nix { 2534 2546 pname = "neoformat"; 2535 - version = "2021-01-13"; 2547 + version = "2021-01-16"; 2536 2548 src = fetchFromGitHub { 2537 2549 owner = "sbdchd"; 2538 2550 repo = "neoformat"; 2539 - rev = "18aee89508fb7eea2bbff824dd1c33bdf7158d75"; 2540 - sha256 = "1bq2m85kdlgak1df5gpslylq0x7fxf694gb2y18s33jxmpvnahxz"; 2551 + rev = "306b74eab85bc84bb790118bfb6a4b01e352f4f0"; 2552 + sha256 = "0nkhj5yamws84w0gwnydgysqbscigfm2yjb9p8yvbfx23y6idijk"; 2541 2553 }; 2542 2554 meta.homepage = "https://github.com/sbdchd/neoformat/"; 2543 2555 }; ··· 2580 2592 2581 2593 neosnippet-snippets = buildVimPluginFrom2Nix { 2582 2594 pname = "neosnippet-snippets"; 2583 - version = "2020-12-23"; 2595 + version = "2021-01-15"; 2584 2596 src = fetchFromGitHub { 2585 2597 owner = "Shougo"; 2586 2598 repo = "neosnippet-snippets"; 2587 - rev = "901b9ba8f2eea6222649282a58d7b86b8719334f"; 2588 - sha256 = "0k08057fbs4pmx9w6mwnjvms6sn694h6n255ff6n40sf4yy8w4mh"; 2599 + rev = "ba35daa1d248b47b3a5202e5d32e3af5affdcd4b"; 2600 + sha256 = "14aq1m9qbmkyzp36qlpgqm8rdpc0338z68hxshwk55i01wdysqfd"; 2589 2601 }; 2590 2602 meta.homepage = "https://github.com/Shougo/neosnippet-snippets/"; 2591 2603 }; ··· 2796 2808 2797 2809 nvim-dap = buildVimPluginFrom2Nix { 2798 2810 pname = "nvim-dap"; 2799 - version = "2021-01-10"; 2811 + version = "2021-01-17"; 2800 2812 src = fetchFromGitHub { 2801 2813 owner = "mfussenegger"; 2802 2814 repo = "nvim-dap"; 2803 - rev = "e971d2af33189bff941c9632aca51211dfca0869"; 2804 - sha256 = "09h2kacqbqazllajacpfnlysvwb1ikg5gmymci3hp39g488i3kx6"; 2815 + rev = "570b84cdd58ff8ae00974d827ab259b226809ab2"; 2816 + sha256 = "040y3a1bzpf69ra6a9f0jzdfw9yf694x9zxmby8ba7xil3q69pzr"; 2805 2817 }; 2806 2818 meta.homepage = "https://github.com/mfussenegger/nvim-dap/"; 2807 2819 }; ··· 2856 2868 2857 2869 nvim-lspconfig = buildVimPluginFrom2Nix { 2858 2870 pname = "nvim-lspconfig"; 2859 - version = "2021-01-12"; 2871 + version = "2021-01-15"; 2860 2872 src = fetchFromGitHub { 2861 2873 owner = "neovim"; 2862 2874 repo = "nvim-lspconfig"; 2863 - rev = "844d6f9d7af961eb27f876dc0cae9fe0fab5a769"; 2864 - sha256 = "151s2n50zmvfgbb30h63cgzbbxi8vb5fagiyl4gr6vpfn6p64s4g"; 2875 + rev = "87900ffcccd47bb6a09483ccf0d6840dc1d0d0d6"; 2876 + sha256 = "18qj8ql48fnncghm0p6wnbjggmkvs9gdf6lgffhdqinlrnrja9ry"; 2865 2877 }; 2866 2878 meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; 2867 2879 }; ··· 2904 2916 2905 2917 nvim-tree-lua = buildVimPluginFrom2Nix { 2906 2918 pname = "nvim-tree-lua"; 2907 - version = "2021-01-10"; 2919 + version = "2021-01-15"; 2908 2920 src = fetchFromGitHub { 2909 2921 owner = "kyazdani42"; 2910 2922 repo = "nvim-tree.lua"; 2911 - rev = "361e20ecfa21c6bbc31436cf701ceb87e8e7bde7"; 2912 - sha256 = "01yd5i56k8c7kii3gnxh3654d5a8kdmad974yicxj0jzgvawncn4"; 2923 + rev = "787cef2a1d4ccdd1058cd1486dfea509fab1d291"; 2924 + sha256 = "1n1cvrfz2vfx5rjslx4brv3rfqjmxymy9yxyvzhi5p3vwn0phr6f"; 2913 2925 }; 2914 2926 meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua/"; 2915 2927 }; 2916 2928 2917 2929 nvim-treesitter = buildVimPluginFrom2Nix { 2918 2930 pname = "nvim-treesitter"; 2919 - version = "2021-01-12"; 2931 + version = "2021-01-15"; 2920 2932 src = fetchFromGitHub { 2921 2933 owner = "nvim-treesitter"; 2922 2934 repo = "nvim-treesitter"; 2923 - rev = "39968ca258c89b796fc9ce5f3643ca8781150dd8"; 2924 - sha256 = "0lcm37xrysypflyrblmbgn6sv8106mrjv9qg1rf4mn1sbdc7z4bp"; 2935 + rev = "1c3fb201c65b42a3752b299d31b1fcf40e3c38e4"; 2936 + sha256 = "1q3i1jfmrc7spayyhz85w9gfv69shlz59cbf9zrp1fvnlhys4ds9"; 2925 2937 }; 2926 2938 meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/"; 2927 2939 }; ··· 2964 2976 2965 2977 nvim-ts-rainbow = buildVimPluginFrom2Nix { 2966 2978 pname = "nvim-ts-rainbow"; 2967 - version = "2021-01-05"; 2979 + version = "2021-01-16"; 2968 2980 src = fetchFromGitHub { 2969 2981 owner = "p00f"; 2970 2982 repo = "nvim-ts-rainbow"; 2971 - rev = "68eee9b031432de6a1964315235d3cf265243a77"; 2972 - sha256 = "0zjhyd02sj17i0yrmffzzja2s0y9fa37v1nvqa17kap9vmcgyh7h"; 2983 + rev = "6fc6c5691bfc5f1d742c3674400ff7074bf4d6f4"; 2984 + sha256 = "02g977djjmpjag72h38i98kiwqw5qbcqa1kp8g0iayyy8agvkr81"; 2973 2985 }; 2974 2986 meta.homepage = "https://github.com/p00f/nvim-ts-rainbow/"; 2975 2987 }; ··· 3036 3048 3037 3049 onehalf = buildVimPluginFrom2Nix { 3038 3050 pname = "onehalf"; 3039 - version = "2020-10-14"; 3051 + version = "2021-01-15"; 3040 3052 src = fetchFromGitHub { 3041 3053 owner = "sonph"; 3042 3054 repo = "onehalf"; 3043 - rev = "89923117bc49dd1e0c6b7fdd34bc6dc4d425fe1f"; 3044 - sha256 = "0d3d9sp88b41j8yhkn99b0g1y3jbcm3hhf8dw6kq50scrb84g5y3"; 3055 + rev = "ba6c71ee99dce0b505c430f2c2706dc5f97ad3a0"; 3056 + sha256 = "10pbhaim4rcg0ljprfvqfw6k73jpp46yzhs8i9yn00bpi70frr89"; 3045 3057 }; 3046 3058 meta.homepage = "https://github.com/sonph/onehalf/"; 3047 3059 }; ··· 3806 3818 3807 3819 tagbar = buildVimPluginFrom2Nix { 3808 3820 pname = "tagbar"; 3809 - version = "2021-01-12"; 3821 + version = "2021-01-15"; 3810 3822 src = fetchFromGitHub { 3811 3823 owner = "preservim"; 3812 3824 repo = "tagbar"; 3813 - rev = "c7e7d5e565eca1c8a39a567a7a26cdc2512c1c7e"; 3814 - sha256 = "0sqsh8vca1yvj253as4ky0l925czf8584k7zcbcimkjb35cp4d64"; 3825 + rev = "59eef1364d8ebb16ceb8dba4274f3926f3c3b7f0"; 3826 + sha256 = "004ss6v677qlizmav2cbmcswc39880c0hazcdrkrzxfdfzrb8byp"; 3815 3827 }; 3816 3828 meta.homepage = "https://github.com/preservim/tagbar/"; 3817 3829 }; ··· 3854 3866 3855 3867 telescope-nvim = buildVimPluginFrom2Nix { 3856 3868 pname = "telescope-nvim"; 3857 - version = "2021-01-12"; 3869 + version = "2021-01-17"; 3858 3870 src = fetchFromGitHub { 3859 3871 owner = "nvim-telescope"; 3860 3872 repo = "telescope.nvim"; 3861 - rev = "57012550977679925176819345adc4d0dce85a00"; 3862 - sha256 = "002c120ppz8g6xiqckq61nbr7zcfdh5n75hhzbcn0xqlagmi9p6y"; 3873 + rev = "c2039ca78d261392b0ab7bef85b3c5f1c8f507b9"; 3874 + sha256 = "0ca93m1nl14js4wgbqhgc786mr9is0zkiwkzp4fv5ny03nhd025w"; 3863 3875 }; 3864 3876 meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/"; 3865 3877 }; ··· 3951 3963 3952 3964 traces-vim = buildVimPluginFrom2Nix { 3953 3965 pname = "traces-vim"; 3954 - version = "2020-10-13"; 3966 + version = "2021-01-14"; 3955 3967 src = fetchFromGitHub { 3956 3968 owner = "markonm"; 3957 3969 repo = "traces.vim"; 3958 - rev = "1fb8738cf1e4db06423396dd3576592a94255935"; 3959 - sha256 = "0jl7m04rly8y1kslmcmi9f83a87qb3fbk6isqqqd5xgrxxmcj753"; 3970 + rev = "2b54b52badf9e052cbb78f5c21d9dc994110ff52"; 3971 + sha256 = "0p5xkyyrdr3gph4q4p0n517g6rv1vzqfjqzzmrjclf4zpqqiarc5"; 3960 3972 }; 3961 3973 meta.homepage = "https://github.com/markonm/traces.vim/"; 3962 3974 }; ··· 4083 4095 4084 4096 verilog_systemverilog-vim = buildVimPluginFrom2Nix { 4085 4097 pname = "verilog_systemverilog-vim"; 4086 - version = "2020-06-12"; 4098 + version = "2021-01-16"; 4087 4099 src = fetchFromGitHub { 4088 4100 owner = "vhda"; 4089 4101 repo = "verilog_systemverilog.vim"; 4090 - rev = "c37bcf010fcb73599d690d8da6ac966dac02a07e"; 4091 - sha256 = "1f4kicgr7wv0dprvr91wi4lmk0d9bb9f4wcng4rfkq1cdwfkqdw4"; 4102 + rev = "0b88f2ccf81983944bf00d15ec810dd807053d19"; 4103 + sha256 = "0zaxz1j2v8nvhd9x6bx3sj95i7h7c7029hmccls777ikyp6ynf0r"; 4092 4104 }; 4093 4105 meta.homepage = "https://github.com/vhda/verilog_systemverilog.vim/"; 4094 4106 }; ··· 4347 4359 4348 4360 vim-airline = buildVimPluginFrom2Nix { 4349 4361 pname = "vim-airline"; 4350 - version = "2021-01-10"; 4362 + version = "2021-01-14"; 4351 4363 src = fetchFromGitHub { 4352 4364 owner = "vim-airline"; 4353 4365 repo = "vim-airline"; 4354 - rev = "0ca9576331ba845e7bf29f5e092f5da04f4f3580"; 4355 - sha256 = "11ai8j7l1v6pviijvrayaw4wcs5720a0qpk35x99ir3dq7pflm54"; 4366 + rev = "c7a633ce8f4547e680377efe8ea70493fcce1349"; 4367 + sha256 = "10n70bk6nsc5sgd95d80jna4v77dlla6x0886kb5lwzmiflfq31x"; 4356 4368 }; 4357 4369 meta.homepage = "https://github.com/vim-airline/vim-airline/"; 4358 4370 }; ··· 4587 4599 4588 4600 vim-clap = buildVimPluginFrom2Nix { 4589 4601 pname = "vim-clap"; 4590 - version = "2021-01-12"; 4602 + version = "2021-01-17"; 4591 4603 src = fetchFromGitHub { 4592 4604 owner = "liuchengxu"; 4593 4605 repo = "vim-clap"; 4594 - rev = "07cac9de58ad1f1ce287e47ac41e7eb7bb4db6a3"; 4595 - sha256 = "186d3mncgw6g4hrl6qv6wxnpy5mk5xkjpr0b03ql6z52iybcmxff"; 4606 + rev = "a9d1ccd9a3e9807d600abccab706634594ed0d2e"; 4607 + sha256 = "0smmgbsrqm757hgijq76y4yra0b68qhnxnyswfs37vrarcrqkfq3"; 4596 4608 }; 4597 4609 meta.homepage = "https://github.com/liuchengxu/vim-clap/"; 4598 4610 }; ··· 5175 5187 5176 5188 vim-floaterm = buildVimPluginFrom2Nix { 5177 5189 pname = "vim-floaterm"; 5178 - version = "2021-01-12"; 5190 + version = "2021-01-15"; 5179 5191 src = fetchFromGitHub { 5180 5192 owner = "voldikss"; 5181 5193 repo = "vim-floaterm"; 5182 - rev = "37c999def265ebf5463a925decc6604481f3c598"; 5183 - sha256 = "1ix3q36hhb5k7y1c4r5qzmr8gyxk6amb3zk88bs85j36kn56mz4j"; 5194 + rev = "355f1788b4a0878be6f99f4d41bf09d79fa4e80a"; 5195 + sha256 = "0j89h2vyggpgx2vhfd0a3x6nk5yaf898g9ipw5ags66sp13c4fqc"; 5184 5196 }; 5185 5197 meta.homepage = "https://github.com/voldikss/vim-floaterm/"; 5186 5198 }; ··· 5596 5608 5597 5609 vim-illuminate = buildVimPluginFrom2Nix { 5598 5610 pname = "vim-illuminate"; 5599 - version = "2021-01-11"; 5611 + version = "2021-01-17"; 5600 5612 src = fetchFromGitHub { 5601 5613 owner = "RRethy"; 5602 5614 repo = "vim-illuminate"; 5603 - rev = "19bfdcaafcc15b2d891c6c523c4ce80dfbba965a"; 5604 - sha256 = "0c586j1icllyl0y54dayn4204w0rvfvv9srz51rk6k1n7rghr72n"; 5615 + rev = "85103ff4ab0c5c8017af106ba1af9949aa28793e"; 5616 + sha256 = "1aixb0rbjdmask0miry1b9xi0f8bcg8z6w58bphxa7f9ndfgbppw"; 5605 5617 }; 5606 5618 meta.homepage = "https://github.com/RRethy/vim-illuminate/"; 5607 5619 }; ··· 5969 5981 5970 5982 vim-lsc = buildVimPluginFrom2Nix { 5971 5983 pname = "vim-lsc"; 5972 - version = "2021-01-05"; 5984 + version = "2021-01-16"; 5973 5985 src = fetchFromGitHub { 5974 5986 owner = "natebosch"; 5975 5987 repo = "vim-lsc"; 5976 - rev = "9f914a4859d911d8a152ff828ad093198fee8763"; 5977 - sha256 = "0xvzwnfmgix6cz3xzzl9v9aslassnp6jkjpv5q2qngfrf33z8j9j"; 5988 + rev = "104813da45c5bb620b9c6ce48cb918872f968dab"; 5989 + sha256 = "1x06zb9xa9v9ycg3vq1il45ylm7p2d3vflv347hpssmwcjzd6xyv"; 5978 5990 }; 5979 5991 meta.homepage = "https://github.com/natebosch/vim-lsc/"; 5980 5992 }; 5981 5993 5982 5994 vim-lsp = buildVimPluginFrom2Nix { 5983 5995 pname = "vim-lsp"; 5984 - version = "2021-01-13"; 5996 + version = "2021-01-16"; 5985 5997 src = fetchFromGitHub { 5986 5998 owner = "prabirshrestha"; 5987 5999 repo = "vim-lsp"; 5988 - rev = "3bca7e8c8a794fde38075e7df9d14c286d055a84"; 5989 - sha256 = "1x9rb34a9542rn2dx2kaz4iq83swpq56144h81pr8l080r6vi2l6"; 6000 + rev = "90d61f11149ffb380eabcb66f66a160f4fc31a5d"; 6001 + sha256 = "1gr9y12fjw89ym6kdzjki12j21bhwy4ch4gpsy4gzb04xhjqllgf"; 5990 6002 }; 5991 6003 meta.homepage = "https://github.com/prabirshrestha/vim-lsp/"; 5992 6004 }; ··· 6390 6402 6391 6403 vim-oscyank = buildVimPluginFrom2Nix { 6392 6404 pname = "vim-oscyank"; 6393 - version = "2021-01-11"; 6405 + version = "2021-01-17"; 6394 6406 src = fetchFromGitHub { 6395 6407 owner = "ojroques"; 6396 6408 repo = "vim-oscyank"; 6397 - rev = "ffac2ecab211469a1f9a4d17d42bc543214112f5"; 6398 - sha256 = "08vkalypqcrj4p2znx2gih7b1i87pk2ygybvl8a7hby13gwrm8v1"; 6409 + rev = "a70de0f7830ff7238d122908583faf50d73a9f26"; 6410 + sha256 = "0q00wqv4kbnwmnkawp4hm7mvk8p82mr4v5kf0m791gm7yy8gvb7x"; 6399 6411 }; 6400 6412 meta.homepage = "https://github.com/ojroques/vim-oscyank/"; 6401 6413 }; ··· 6582 6594 6583 6595 vim-polyglot = buildVimPluginFrom2Nix { 6584 6596 pname = "vim-polyglot"; 6585 - version = "2021-01-03"; 6597 + version = "2021-01-14"; 6586 6598 src = fetchFromGitHub { 6587 6599 owner = "sheerun"; 6588 6600 repo = "vim-polyglot"; 6589 - rev = "7bde552a463999897320a1899a6ca4f8806041ea"; 6590 - sha256 = "1rc9dfpl7x2fmqcm954x1syfcl392vsrcgid2pm6p91j3drm78nq"; 6601 + rev = "4c10562d2cc9b084518284c49a158558da5180a7"; 6602 + sha256 = "0avrjy1mxzkpsrbblzqx81ml08gm7n4bd4ihxm4qbvcdbg8n5chx"; 6591 6603 }; 6592 6604 meta.homepage = "https://github.com/sheerun/vim-polyglot/"; 6593 6605 }; ··· 6690 6702 6691 6703 vim-puppet = buildVimPluginFrom2Nix { 6692 6704 pname = "vim-puppet"; 6693 - version = "2021-01-13"; 6705 + version = "2021-01-15"; 6694 6706 src = fetchFromGitHub { 6695 6707 owner = "rodjek"; 6696 6708 repo = "vim-puppet"; 6697 - rev = "cee73ec40ee21083c3fc1e1fede2c288fa46c2c3"; 6698 - sha256 = "0mbsslhwjnjg8l39pbqj4zlirqvysj21xq01fb6dnld7rl7qrxyg"; 6709 + rev = "a3af44488b00481f2a79dc7e4bb49e2767a4e6a4"; 6710 + sha256 = "07bspasgd38kj91x3c6nf7wwhbg1sqw8kwvn7c4z11q32ry4hmgk"; 6699 6711 }; 6700 6712 meta.homepage = "https://github.com/rodjek/vim-puppet/"; 6701 6713 }; ··· 6834 6846 6835 6847 vim-rsi = buildVimPluginFrom2Nix { 6836 6848 pname = "vim-rsi"; 6837 - version = "2019-11-15"; 6849 + version = "2021-01-16"; 6838 6850 src = fetchFromGitHub { 6839 6851 owner = "tpope"; 6840 6852 repo = "vim-rsi"; 6841 - rev = "ad8ba6beae8e82339479104b914214a868c9f1fe"; 6842 - sha256 = "1ycjwnbs6rks78yxh0k0ywpvic0663mv7kydy3kjpa4f5bnkgbvc"; 6853 + rev = "e181883a0932d9315cceb96b5fffb5e2ec67068e"; 6854 + sha256 = "1pfg3y1hf840pr7f6vcwldbraj2w4c2pnf7ampbgyric0q3f4708"; 6843 6855 }; 6844 6856 meta.homepage = "https://github.com/tpope/vim-rsi/"; 6845 6857 }; ··· 7086 7098 7087 7099 vim-snippets = buildVimPluginFrom2Nix { 7088 7100 pname = "vim-snippets"; 7089 - version = "2021-01-11"; 7101 + version = "2021-01-17"; 7090 7102 src = fetchFromGitHub { 7091 7103 owner = "honza"; 7092 7104 repo = "vim-snippets"; 7093 - rev = "29d37483c4a8dad8baf0684f73541f6364dd3734"; 7094 - sha256 = "0dav4125sjrbj5mg0d76ivsadz9mh8skzaixzifxs2cq2zl3n0s1"; 7105 + rev = "673390c68328d8d067439127f15923a8ebc9efd8"; 7106 + sha256 = "1mvsm0q6nzsp31ndh5yrr3bbgysn4fmcfzlg0rjbh18y159fcfqv"; 7095 7107 }; 7096 7108 meta.homepage = "https://github.com/honza/vim-snippets/"; 7097 7109 }; ··· 7230 7242 7231 7243 vim-SyntaxRange = buildVimPluginFrom2Nix { 7232 7244 pname = "vim-SyntaxRange"; 7233 - version = "2020-08-18"; 7245 + version = "2021-01-16"; 7234 7246 src = fetchFromGitHub { 7235 7247 owner = "inkarkat"; 7236 7248 repo = "vim-SyntaxRange"; 7237 - rev = "602316468bc044e047db88f50157b61fa00b65cb"; 7238 - sha256 = "0zrrvd9xrivx61fiz799mdbwdzl7damdgm6i9h0sl1v95hclhi3i"; 7249 + rev = "3a7fd9ff50fabafe61df12522ed2f275c8e2f45e"; 7250 + sha256 = "1b5xyacbn87z8wkacjpnjk82xmxzivlb111427kwb5kxxdh4w7gq"; 7239 7251 }; 7240 7252 meta.homepage = "https://github.com/inkarkat/vim-SyntaxRange/"; 7241 7253 }; ··· 7591 7603 7592 7604 vim-vsnip = buildVimPluginFrom2Nix { 7593 7605 pname = "vim-vsnip"; 7594 - version = "2021-01-07"; 7606 + version = "2021-01-15"; 7595 7607 src = fetchFromGitHub { 7596 7608 owner = "hrsh7th"; 7597 7609 repo = "vim-vsnip"; 7598 - rev = "5917d944b259baab85c9c249a8be33a82cd033d3"; 7599 - sha256 = "0gj5qjrb31j93vv8wpqlhdpsgrnkwaxvhvslkjj9m3fnx34gqvdv"; 7610 + rev = "7d96014c899e92476a4d74dca010713d17507a2d"; 7611 + sha256 = "1fb7xcpjysix846vrz02mcx8bm2swzckxa54i0sf462ynckcvg4f"; 7600 7612 }; 7601 7613 meta.homepage = "https://github.com/hrsh7th/vim-vsnip/"; 7602 7614 }; ··· 7699 7711 7700 7712 vim-yaml = buildVimPluginFrom2Nix { 7701 7713 pname = "vim-yaml"; 7702 - version = "2020-01-30"; 7714 + version = "2021-01-14"; 7703 7715 src = fetchFromGitHub { 7704 7716 owner = "stephpy"; 7705 7717 repo = "vim-yaml"; 7706 - rev = "8fc9136a9c3f64b3e65bb6170391f9daf2c23056"; 7707 - sha256 = "08bg7mxvgrl070m0kk4rmain7h3rv712jj6lk9l808cfjzaw9343"; 7718 + rev = "dce19542d5ec1663183b0f6844ec663b5d1f3d24"; 7719 + sha256 = "18xpdl86zsnmrc1w8wccx9acwjvgij2wpsg7f6dpnxx70c07g3ig"; 7708 7720 }; 7709 7721 meta.homepage = "https://github.com/stephpy/vim-yaml/"; 7710 7722 }; ··· 7868 7880 7869 7881 vimtex = buildVimPluginFrom2Nix { 7870 7882 pname = "vimtex"; 7871 - version = "2021-01-13"; 7883 + version = "2021-01-16"; 7872 7884 src = fetchFromGitHub { 7873 7885 owner = "lervag"; 7874 7886 repo = "vimtex"; 7875 - rev = "aebcaddf2ede37e04812a2804b0d951dacdfa150"; 7876 - sha256 = "0cf94yv9zmksnvsv4d8xyqk48d4v3k7zs1cb01g7l4m34cx0gv99"; 7887 + rev = "7c7d6020f848864e091ac437e55f72139f9a59b4"; 7888 + sha256 = "10fl44xpjfsrfqr3sz2mbxhigmkz5ivky96smxp4yp9av0zvvcm4"; 7877 7889 }; 7878 7890 meta.homepage = "https://github.com/lervag/vimtex/"; 7879 7891 }; ··· 7916 7928 7917 7929 vista-vim = buildVimPluginFrom2Nix { 7918 7930 pname = "vista-vim"; 7919 - version = "2021-01-01"; 7931 + version = "2021-01-17"; 7920 7932 src = fetchFromGitHub { 7921 7933 owner = "liuchengxu"; 7922 7934 repo = "vista.vim"; 7923 - rev = "691fbce5fa1473c64035fba6e3c7b3876a99cb58"; 7924 - sha256 = "0xx06s8syqs3a5b5711zgbjbzqz17pk66vzcazhq08bqgys21alr"; 7935 + rev = "a648aab8b35401bea2b9192efe171b3787264abd"; 7936 + sha256 = "15ib66lsx2wpbykv5pmr4ly2gkksml2dp6nmb2iv7zy70655whsf"; 7925 7937 }; 7926 7938 meta.homepage = "https://github.com/liuchengxu/vista.vim/"; 7927 7939 };
+1 -1
pkgs/misc/vim-plugins/overrides.nix
··· 654 654 libiconv 655 655 ]; 656 656 657 - cargoSha256 = "1738hvqzwr4h1bigsqffc6alkzvir8s6f7mr0xyp21qbf5qkxmq2"; 657 + cargoSha256 = "6tgSdIC9ThKvyiX1Unihwozhez6+HsQiqebugzNrKVc="; 658 658 }; 659 659 in '' 660 660 ln -s ${maple-bin}/bin/maple $target/bin/maple
+1
pkgs/misc/vim-plugins/vim-plugin-names
··· 286 286 LucHermitte/lh-vim-lib 287 287 ludovicchabant/vim-gutentags 288 288 ludovicchabant/vim-lawrencium 289 + lukas-reineke/indent-blankline.nvim 289 290 lukaszkorecki/workflowish 290 291 lumiliet/vim-twig 291 292 luochen1990/rainbow
+3 -3
pkgs/os-specific/darwin/DarwinTools/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "DarwinTools-1"; ··· 25 25 ''; 26 26 27 27 meta = { 28 - maintainers = [ stdenv.lib.maintainers.matthewbauer ]; 29 - platforms = stdenv.lib.platforms.darwin; 28 + maintainers = [ lib.maintainers.matthewbauer ]; 29 + platforms = lib.platforms.darwin; 30 30 }; 31 31 }
+12 -12
pkgs/os-specific/darwin/apple-sdk/default.nix
··· 176 176 setupHook = ./framework-setup-hook.sh; 177 177 178 178 # Not going to be more specific than this for now 179 - __propagatedImpureHostDeps = stdenv.lib.optionals (name != "Kernel") [ 179 + __propagatedImpureHostDeps = lib.optionals (name != "Kernel") [ 180 180 # The setup-hook ensures that everyone uses the impure CoreFoundation who uses these SDK frameworks, so let's expose it 181 181 "/System/Library/Frameworks/CoreFoundation.framework" 182 182 "/System/Library/Frameworks/${name}.framework" ··· 249 249 }; 250 250 251 251 overrides = super: { 252 - AppKit = stdenv.lib.overrideDerivation super.AppKit (drv: { 252 + AppKit = lib.overrideDerivation super.AppKit (drv: { 253 253 __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ 254 254 "/System/Library/PrivateFrameworks/" 255 255 ]; 256 256 }); 257 257 258 - Carbon = stdenv.lib.overrideDerivation super.Carbon (drv: { 258 + Carbon = lib.overrideDerivation super.Carbon (drv: { 259 259 extraTBDFiles = [ "Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering.tbd" ]; 260 260 }); 261 261 262 - CoreFoundation = stdenv.lib.overrideDerivation super.CoreFoundation (drv: { 262 + CoreFoundation = lib.overrideDerivation super.CoreFoundation (drv: { 263 263 setupHook = ./cf-setup-hook.sh; 264 264 }); 265 265 266 - CoreMedia = stdenv.lib.overrideDerivation super.CoreMedia (drv: { 266 + CoreMedia = lib.overrideDerivation super.CoreMedia (drv: { 267 267 __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ 268 268 "/System/Library/Frameworks/CoreImage.framework" 269 269 ]; 270 270 }); 271 271 272 - CoreMIDI = stdenv.lib.overrideDerivation super.CoreMIDI (drv: { 272 + CoreMIDI = lib.overrideDerivation super.CoreMIDI (drv: { 273 273 __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ 274 274 "/System/Library/PrivateFrameworks/" 275 275 ]; 276 276 setupHook = ./private-frameworks-setup-hook.sh; 277 277 }); 278 278 279 - IMServicePlugIn = stdenv.lib.overrideDerivation super.IMServicePlugIn (drv: { 279 + IMServicePlugIn = lib.overrideDerivation super.IMServicePlugIn (drv: { 280 280 extraTBDFiles = [ "Versions/A/Frameworks/IMServicePlugInSupport.framework/Versions/A/IMServicePlugInSupport.tbd" ]; 281 281 }); 282 282 283 - Security = stdenv.lib.overrideDerivation super.Security (drv: { 283 + Security = lib.overrideDerivation super.Security (drv: { 284 284 setupHook = ./security-setup-hook.sh; 285 285 }); 286 286 287 - QuartzCore = stdenv.lib.overrideDerivation super.QuartzCore (drv: { 287 + QuartzCore = lib.overrideDerivation super.QuartzCore (drv: { 288 288 installPhase = drv.installPhase + '' 289 289 f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h" 290 290 substituteInPlace "$f" \ ··· 292 292 ''; 293 293 }); 294 294 295 - MetalKit = stdenv.lib.overrideDerivation super.MetalKit (drv: { 295 + MetalKit = lib.overrideDerivation super.MetalKit (drv: { 296 296 installPhase = drv.installPhase + '' 297 297 mkdir -p $out/include/simd 298 298 cp ${lib.getDev sdk}/include/simd/*.h $out/include/simd/ 299 299 ''; 300 300 }); 301 301 302 - WebKit = stdenv.lib.overrideDerivation super.WebKit (drv: { 302 + WebKit = lib.overrideDerivation super.WebKit (drv: { 303 303 extraTBDFiles = [ 304 304 "Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore.tbd" 305 305 "Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy.tbd" ··· 307 307 }); 308 308 } // lib.genAttrs [ "ContactsPersistence" "UIFoundation" "GameCenter" ] (x: tbdOnlyFramework x {}); 309 309 310 - bareFrameworks = stdenv.lib.mapAttrs framework (import ./frameworks.nix { 310 + bareFrameworks = lib.mapAttrs framework (import ./frameworks.nix { 311 311 inherit frameworks libs; 312 312 inherit (pkgs.darwin) libobjc; 313 313 });
+2 -2
pkgs/os-specific/darwin/apple-sdk/print-reexports/default.nix
··· 1 - { stdenv, libyaml }: 1 + { lib, stdenv, libyaml }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "print-reexports"; 5 - src = stdenv.lib.sourceFilesBySuffices ./. [".c"]; 5 + src = lib.sourceFilesBySuffices ./. [".c"]; 6 6 7 7 buildInputs = [ libyaml ]; 8 8
+1 -1
pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix
··· 2 2 3 3 # Someday it'll make sense to split these out into their own packages, but today is not that day. 4 4 appleDerivation { 5 - srcs = stdenv.lib.attrValues IOKitSrcs; 5 + srcs = lib.attrValues IOKitSrcs; 6 6 sourceRoot = "."; 7 7 8 8 phases = [ "unpackPhase" "installPhase" ];
+3 -3
pkgs/os-specific/darwin/apple-source-releases/adv_cmds/boot.nix
··· 1 - { stdenv, appleDerivation, fetchzip, bsdmake, perl, flex, yacc 1 + { lib, stdenv, appleDerivation, fetchzip, bsdmake, perl, flex, yacc 2 2 }: 3 3 4 4 # this derivation sucks ··· 85 85 setOutputFlags = false; 86 86 87 87 meta = { 88 - platforms = stdenv.lib.platforms.darwin; 89 - maintainers = with stdenv.lib.maintainers; [ gridaphobe ]; 88 + platforms = lib.platforms.darwin; 89 + maintainers = with lib.maintainers; [ gridaphobe ]; 90 90 }; 91 91 }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/adv_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuild, ncurses, libutil }: 1 + { lib, stdenv, appleDerivation, xcbuild, ncurses, libutil }: 2 2 3 3 appleDerivation { 4 4 # We can't just run the root build, because https://github.com/facebook/xcbuild/issues/264 ··· 45 45 buildInputs = [ ncurses libutil ]; 46 46 47 47 meta = { 48 - platforms = stdenv.lib.platforms.darwin; 49 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 48 + platforms = lib.platforms.darwin; 49 + maintainers = with lib.maintainers; [ matthewbauer ]; 50 50 }; 51 51 }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/basic_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuildHook }: 1 + { lib, stdenv, appleDerivation, xcbuildHook }: 2 2 3 3 appleDerivation { 4 4 nativeBuildInputs = [ xcbuildHook ]; ··· 26 26 ''; 27 27 28 28 meta = { 29 - platforms = stdenv.lib.platforms.darwin; 30 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 29 + platforms = lib.platforms.darwin; 30 + maintainers = with lib.maintainers; [ matthewbauer ]; 31 31 }; 32 32 }
+2 -2
pkgs/os-specific/darwin/apple-source-releases/bootstrap_cmds/default.nix
··· 1 - { stdenv, appleDerivation, yacc, flex }: 1 + { lib, stdenv, appleDerivation, yacc, flex }: 2 2 3 3 appleDerivation { 4 4 nativeBuildInputs = [ yacc flex ]; ··· 44 44 ''; 45 45 46 46 meta = { 47 - platforms = stdenv.lib.platforms.darwin; 47 + platforms = lib.platforms.darwin; 48 48 }; 49 49 }
+2 -2
pkgs/os-specific/darwin/apple-source-releases/bsdmake/default.nix
··· 1 - { stdenv, appleDerivation, makeWrapper }: 1 + { lib, stdenv, appleDerivation, makeWrapper }: 2 2 3 3 appleDerivation { 4 4 nativeBuildInputs = [ makeWrapper ]; ··· 44 44 ''; 45 45 46 46 meta = { 47 - platforms = stdenv.lib.platforms.darwin; 47 + platforms = lib.platforms.darwin; 48 48 }; 49 49 }
+4 -4
pkgs/os-specific/darwin/apple-source-releases/default.nix
··· 1 - { stdenv, fetchurl, fetchzip, pkgs }: 1 + { lib, stdenv, fetchurl, fetchzip, pkgs }: 2 2 3 3 let 4 4 # This attrset can in theory be computed automatically, but for that to work nicely we need ··· 152 152 name = "${name}-${version}"; 153 153 enableParallelBuilding = true; 154 154 meta = { 155 - platforms = stdenv.lib.platforms.darwin; 155 + platforms = lib.platforms.darwin; 156 156 }; 157 157 } // (if attrs ? srcs then {} else { 158 158 src = fetchApple version sha256 name; ··· 160 160 161 161 applePackage = namePath: version: sha256: 162 162 let 163 - name = builtins.elemAt (stdenv.lib.splitString "/" namePath) 0; 163 + name = builtins.elemAt (lib.splitString "/" namePath) 0; 164 164 appleDerivation = appleDerivation_ name version sha256; 165 165 callPackage = pkgs.newScope (packages // pkgs.darwin // { inherit appleDerivation name version; }); 166 166 in callPackage (./. + "/${namePath}"); ··· 187 187 # There should be an IOVideo here, but they haven't released it :( 188 188 }; 189 189 190 - IOKitSrcs = stdenv.lib.mapAttrs (name: value: if stdenv.lib.isFunction value then value name else value) IOKitSpecs; 190 + IOKitSrcs = lib.mapAttrs (name: value: if lib.isFunction value then value name else value) IOKitSpecs; 191 191 192 192 # Only used for bootstrapping. It’s convenient because it was the last version to come with a real makefile. 193 193 adv_cmds-boot = applePackage "adv_cmds/boot.nix" "osx-10.5.8" "102ssayxbg9wb35mdmhswbnw0bg7js3pfd8fcbic83c5q3bqa6c6" {};
+3 -3
pkgs/os-specific/darwin/apple-source-releases/developer_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuildHook, llvmPackages }: 1 + { lib, stdenv, appleDerivation, xcbuildHook, llvmPackages }: 2 2 3 3 appleDerivation { 4 4 nativeBuildInputs = [ xcbuildHook ]; ··· 30 30 ''; 31 31 32 32 meta = { 33 - platforms = stdenv.lib.platforms.darwin; 34 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 33 + platforms = lib.platforms.darwin; 34 + maintainers = with lib.maintainers; [ matthewbauer ]; 35 35 }; 36 36 }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/diskdev_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuildHook 1 + { lib, stdenv, appleDerivation, xcbuildHook 2 2 , Libc, xnu, libutil }: 3 3 4 4 appleDerivation { ··· 32 32 ''; 33 33 34 34 meta = { 35 - platforms = stdenv.lib.platforms.darwin; 36 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 35 + platforms = lib.platforms.darwin; 36 + maintainers = with lib.maintainers; [ matthewbauer ]; 37 37 }; 38 38 }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/file_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuildHook, zlib, bzip2, lzma, ncurses, libutil }: 1 + { lib, stdenv, appleDerivation, xcbuildHook, zlib, bzip2, lzma, ncurses, libutil }: 2 2 3 3 appleDerivation { 4 4 nativeBuildInputs = [ xcbuildHook ]; ··· 32 32 ''; 33 33 34 34 meta = { 35 - platforms = stdenv.lib.platforms.darwin; 36 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 35 + platforms = lib.platforms.darwin; 36 + maintainers = with lib.maintainers; [ matthewbauer ]; 37 37 }; 38 38 }
+2 -2
pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix
··· 1 - { stdenv, appleDerivation, libdispatch, xnu }: 1 + { lib, stdenv, appleDerivation, libdispatch, xnu }: 2 2 3 3 appleDerivation { 4 4 propagatedBuildInputs = [ libdispatch xnu ]; ··· 16 16 ''; 17 17 18 18 meta = { 19 - platforms = stdenv.lib.platforms.darwin; 19 + platforms = lib.platforms.darwin; 20 20 }; 21 21 }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/network_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuildHook 1 + { lib, stdenv, appleDerivation, xcbuildHook 2 2 , openssl_1_0_2, Librpcsvc, xnu, libpcap, developer_cmds }: 3 3 4 4 appleDerivation { ··· 44 44 ''; 45 45 46 46 meta = { 47 - platforms = stdenv.lib.platforms.darwin; 48 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 47 + platforms = lib.platforms.darwin; 48 + maintainers = with lib.maintainers; [ matthewbauer ]; 49 49 }; 50 50 }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/shell_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuildHook }: 1 + { lib, stdenv, appleDerivation, xcbuildHook }: 2 2 3 3 appleDerivation { 4 4 nativeBuildInputs = [ xcbuildHook ]; ··· 44 44 ''; 45 45 46 46 meta = { 47 - platforms = stdenv.lib.platforms.darwin; 48 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 47 + platforms = lib.platforms.darwin; 48 + maintainers = with lib.maintainers; [ matthewbauer ]; 49 49 }; 50 50 }
+2 -2
pkgs/os-specific/darwin/apple-source-releases/system_cmds/default.nix
··· 98 98 ''; 99 99 100 100 meta = { 101 - platforms = stdenv.lib.platforms.darwin; 102 - maintainers = with stdenv.lib.maintainers; [ shlevy matthewbauer ]; 101 + platforms = lib.platforms.darwin; 102 + maintainers = with lib.maintainers; [ shlevy matthewbauer ]; 103 103 }; 104 104 }
+3 -3
pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix
··· 1 - { stdenv, appleDerivation, xcbuildHook, ncurses, bzip2, zlib, lzma }: 1 + { lib, stdenv, appleDerivation, xcbuildHook, ncurses, bzip2, zlib, lzma }: 2 2 3 3 appleDerivation { 4 4 nativeBuildInputs = [ xcbuildHook ]; ··· 21 21 ''; 22 22 23 23 meta = { 24 - platforms = stdenv.lib.platforms.darwin; 25 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 24 + platforms = lib.platforms.darwin; 25 + maintainers = with lib.maintainers; [ matthewbauer ]; 26 26 }; 27 27 }
+3 -3
pkgs/os-specific/darwin/binutils/default.nix
··· 1 - { stdenv, binutils-unwrapped, cctools, llvm }: 1 + { lib, stdenv, binutils-unwrapped, cctools, llvm }: 2 2 3 3 # Make sure both underlying packages claim to have prepended their binaries 4 4 # with the same targetPrefix. ··· 32 32 # - strip: the binutils one seems to break mach-o files 33 33 # - lipo: gcc build assumes it exists 34 34 # - nm: the gnu one doesn't understand many new load commands 35 - for i in ${stdenv.lib.concatStringsSep " " (builtins.map (e: targetPrefix + e) cmds)}; do 35 + for i in ${lib.concatStringsSep " " (builtins.map (e: targetPrefix + e) cmds)}; do 36 36 ln -sf "${cctools}/bin/$i" "$out/bin/$i" 37 37 done 38 38 ··· 56 56 }; 57 57 58 58 meta = { 59 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 59 + maintainers = with lib.maintainers; [ matthewbauer ]; 60 60 priority = 10; 61 61 }; 62 62 }
+9 -9
pkgs/os-specific/darwin/cctools/port.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool, autoreconfHook 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, autoreconfHook 2 2 , installShellFiles 3 3 , libcxxabi, libuuid 4 4 , libobjc ? null, maloader ? null ··· 9 9 10 10 # The targetPrefix prepended to binary names to allow multiple binuntils on the 11 11 # PATH to both be usable. 12 - targetPrefix = stdenv.lib.optionalString 12 + targetPrefix = lib.optionalString 13 13 (stdenv.targetPlatform != stdenv.hostPlatform) 14 14 "${stdenv.targetPlatform.config}-"; 15 15 in ··· 32 32 33 33 nativeBuildInputs = [ autoconf automake libtool autoreconfHook installShellFiles ]; 34 34 buildInputs = [ libuuid ] 35 - ++ stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ] 36 - ++ stdenv.lib.optional enableTapiSupport libtapi; 35 + ++ lib.optionals stdenv.isDarwin [ libcxxabi libobjc ] 36 + ++ lib.optional enableTapiSupport libtapi; 37 37 38 38 patches = [ ./ld-ignore-rpath-link.patch ./ld-rpath-nonfinal.patch ]; 39 39 ··· 47 47 48 48 # TODO(@Ericson2314): Always pass "--target" and always targetPrefix. 49 49 configurePlatforms = [ "build" "host" ] 50 - ++ stdenv.lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target"; 50 + ++ lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target"; 51 51 configureFlags = [ "--disable-clang-as" ] 52 - ++ stdenv.lib.optionals enableTapiSupport [ 52 + ++ lib.optionals enableTapiSupport [ 53 53 "--enable-tapi-support" 54 54 "--with-libtapi=${libtapi}" 55 55 ]; 56 56 57 - postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin '' 57 + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' 58 58 substituteInPlace cctools/Makefile.am --replace libobjc2 "" 59 59 '' + '' 60 60 sed -i -e 's/addStandardLibraryDirectories = true/addStandardLibraryDirectories = false/' cctools/ld64/src/ld/Options.cpp ··· 100 100 broken = !stdenv.targetPlatform.isDarwin; # Only supports darwin targets 101 101 homepage = "http://www.opensource.apple.com/source/cctools/"; 102 102 description = "MacOS Compiler Tools (cross-platform port)"; 103 - license = stdenv.lib.licenses.apsl20; 104 - maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 103 + license = lib.licenses.apsl20; 104 + maintainers = with lib.maintainers; [ matthewbauer ]; 105 105 }; 106 106 }
+2 -2
pkgs/os-specific/darwin/insert_dylib/default.nix
··· 1 - { stdenv, fetchFromGitHub, xcbuildHook }: 1 + { lib, stdenv, fetchFromGitHub, xcbuildHook }: 2 2 3 3 stdenv.mkDerivation 4 4 { name = "insert_dylib-2016.08.28"; ··· 14 14 mkdir -p $out/bin 15 15 install -m755 Products/Release/insert_dylib $out/bin 16 16 ''; 17 - meta.platforms = stdenv.lib.platforms.darwin; 17 + meta.platforms = lib.platforms.darwin; 18 18 }
+4 -4
pkgs/os-specific/darwin/lsusb/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation { 4 4 version = "1.0"; ··· 21 21 meta = { 22 22 homepage = "https://github.com/jlhonora/lsusb"; 23 23 description = "lsusb command for Mac OS X"; 24 - platforms = stdenv.lib.platforms.darwin; 25 - license = stdenv.lib.licenses.mit; 26 - maintainers = [ stdenv.lib.maintainers.varunpatro ]; 24 + platforms = lib.platforms.darwin; 25 + license = lib.licenses.mit; 26 + maintainers = [ lib.maintainers.varunpatro ]; 27 27 }; 28 28 }
+3 -3
pkgs/os-specific/darwin/maloader/default.nix
··· 1 - { stdenv, fetchgit, opencflite, clang, libcxx }: 1 + { lib, stdenv, fetchgit, opencflite, clang, libcxx }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "maloader-0git"; ··· 31 31 meta = { 32 32 description = "Mach-O loader for Linux"; 33 33 homepage = "https://github.com/shinh/maloader"; 34 - license = stdenv.lib.licenses.bsd2; 35 - platforms = stdenv.lib.platforms.linux; 34 + license = lib.licenses.bsd2; 35 + platforms = lib.platforms.linux; 36 36 broken = true; # 2018-09-08, no succesful build since 2017-08-21 37 37 }; 38 38 }
+2 -2
pkgs/os-specific/darwin/opencflite/default.nix
··· 1 - { stdenv, fetchurl, icu, libuuid, tzdata }: 1 + { lib, stdenv, fetchurl, icu, libuuid, tzdata }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "opencflite"; ··· 16 16 meta = { 17 17 description = "Cross platform port of the macOS CoreFoundation"; 18 18 homepage = "https://sourceforge.net/projects/opencflite/"; 19 - license = stdenv.lib.licenses.apsl20; 19 + license = lib.licenses.apsl20; 20 20 }; 21 21 }
+2 -2
pkgs/os-specific/darwin/stubs/default.nix
··· 1 - { stdenv, writeScriptBin, runtimeShell }: 1 + { lib, stdenv, writeScriptBin, runtimeShell }: 2 2 3 - let fake = name: stdenv.lib.overrideDerivation (writeScriptBin name '' 3 + let fake = name: lib.overrideDerivation (writeScriptBin name '' 4 4 #!${runtimeShell} 5 5 echo >&2 "Faking call to ${name} with arguments:" 6 6 echo >&2 "$@"
+2 -2
pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
··· 1 - { stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }: 1 + { lib, stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }: 2 2 3 3 let 4 4 # 10.12 adds a new sysdir.h that our version of CF in the main derivation depends on, but ··· 74 74 # Based on testing this issue seems to only occur with clang_7, so 75 75 # please remove this when updating the default llvm versions to 8 or 76 76 # later. 77 - buildPhase = stdenv.lib.optionalString true '' 77 + buildPhase = lib.optionalString true '' 78 78 for i in {1..512}; do 79 79 if ninja -j $NIX_BUILD_CORES; then 80 80 break
+3 -3
pkgs/os-specific/darwin/trash/default.nix
··· 1 - { stdenv, fetchFromGitHub, perl, AppKit, Cocoa, ScriptingBridge }: 1 + { lib, stdenv, fetchFromGitHub, perl, AppKit, Cocoa, ScriptingBridge }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.9.2"; ··· 28 28 homepage = "https://github.com/ali-rantakari/trash"; 29 29 description = "Small command-line program for OS X that moves files or 30 30 folders to the trash."; 31 - platforms = stdenv.lib.platforms.darwin; 32 - license = stdenv.lib.licenses.mit; 31 + platforms = lib.platforms.darwin; 32 + license = lib.licenses.mit; 33 33 }; 34 34 }
+2 -2
pkgs/os-specific/darwin/usr-include/default.nix
··· 1 - {stdenv, darwin}: 1 + {lib, stdenv, darwin}: 2 2 3 3 /* 4 4 * This is needed to build GCC on Darwin. ··· 19 19 ln -sf ${darwin.CF}/Library/Frameworks/CoreFoundation.framework/Headers/* CoreFoundation 20 20 ''; 21 21 22 - meta.platforms = stdenv.lib.platforms.darwin; 22 + meta.platforms = lib.platforms.darwin; 23 23 }
+4 -4
pkgs/os-specific/darwin/wifi-password/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.1.0"; ··· 19 19 meta = { 20 20 homepage = "https://github.com/rauchg/wifi-password"; 21 21 description = "Get the password of the wifi you're on"; 22 - platforms = stdenv.lib.platforms.darwin; 23 - license = stdenv.lib.licenses.mit; 24 - maintainers = [ stdenv.lib.maintainers.nikitavoloboev ]; 22 + platforms = lib.platforms.darwin; 23 + license = lib.licenses.mit; 24 + maintainers = [ lib.maintainers.nikitavoloboev ]; 25 25 }; 26 26 }
+4 -4
pkgs/os-specific/darwin/xcode/sdk-pkgs.nix
··· 37 37 bintools = binutils-unwrapped; 38 38 extraBuildCommands = '' 39 39 echo "-arch ${iosPlatformArch targetPlatform}" >> $out/nix-support/libc-ldflags 40 - '' + stdenv.lib.optionalString (sdk.platform == "iPhoneSimulator") '' 40 + '' + lib.optionalString (sdk.platform == "iPhoneSimulator") '' 41 41 echo "-platform_version ios-sim ${minSdkVersion} ${sdk.version}" >> $out/nix-support/libc-ldflags 42 - '' + stdenv.lib.optionalString (sdk.platform == "iPhoneOS") '' 42 + '' + lib.optionalString (sdk.platform == "iPhoneOS") '' 43 43 echo "-platform_version ios ${minSdkVersion} ${sdk.version}" >> $out/nix-support/libc-ldflags 44 44 ''; 45 45 }; ··· 54 54 mv cc-cflags.tmp $out/nix-support/cc-cflags 55 55 echo "-target ${targetPlatform.config} -arch ${iosPlatformArch targetPlatform}" >> $out/nix-support/cc-cflags 56 56 echo "-isystem ${sdk}/usr/include${lib.optionalString (lib.versionAtLeast "10" sdk.version) " -isystem ${sdk}/usr/include/c++/4.2.1/ -stdlib=libstdc++"}" >> $out/nix-support/cc-cflags 57 - '' + stdenv.lib.optionalString (sdk.platform == "iPhoneSimulator") '' 57 + '' + lib.optionalString (sdk.platform == "iPhoneSimulator") '' 58 58 echo "-mios-simulator-version-min=${minSdkVersion}" >> $out/nix-support/cc-cflags 59 - '' + stdenv.lib.optionalString (sdk.platform == "iPhoneOS") '' 59 + '' + lib.optionalString (sdk.platform == "iPhoneOS") '' 60 60 echo "-miphoneos-version-min=${minSdkVersion}" >> $out/nix-support/cc-cflags 61 61 ''; 62 62 }) // {
+1 -1
pkgs/os-specific/linux/acpi/default.nix
··· 18 18 battery and thermal information. 19 19 ''; 20 20 homepage = "https://sourceforge.net/projects/acpiclient/"; 21 - license = stdenv.lib.licenses.gpl2Plus; 21 + license = lib.licenses.gpl2Plus; 22 22 platforms = platforms.linux; 23 23 maintainers = [ ]; 24 24 };
+4 -4
pkgs/os-specific/linux/acpitool/default.nix
··· 1 - {stdenv, fetchurl, fetchpatch}: 1 + {lib, stdenv, fetchurl, fetchpatch}: 2 2 3 3 let 4 4 acpitool-patch-051-4 = params: fetchpatch rec { ··· 44 44 meta = { 45 45 description = "A small, convenient command-line ACPI client with a lot of features"; 46 46 homepage = "https://sourceforge.net/projects/acpitool/"; 47 - license = stdenv.lib.licenses.gpl2Plus; 48 - maintainers = [ stdenv.lib.maintainers.guibert ]; 49 - platforms = stdenv.lib.platforms.unix; 47 + license = lib.licenses.gpl2Plus; 48 + maintainers = [ lib.maintainers.guibert ]; 49 + platforms = lib.platforms.unix; 50 50 }; 51 51 }
+4 -4
pkgs/os-specific/linux/afuse/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, autoreconfHook, fuse }: 1 + { lib, stdenv, fetchurl, pkgconfig, autoreconfHook, fuse }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "afuse-0.4.1"; ··· 14 14 meta = { 15 15 description = "Automounter in userspace"; 16 16 homepage = "https://github.com/pcarrier/afuse"; 17 - license = stdenv.lib.licenses.gpl2; 18 - maintainers = [ stdenv.lib.maintainers.marcweber ]; 19 - platforms = stdenv.lib.platforms.linux; 17 + license = lib.licenses.gpl2; 18 + maintainers = [ lib.maintainers.marcweber ]; 19 + platforms = lib.platforms.linux; 20 20 }; 21 21 }
+3 -3
pkgs/os-specific/linux/alsa-firmware/default.nix
··· 1 - { stdenv, buildPackages, autoreconfHook, fetchurl, fetchpatch }: 1 + { lib, stdenv, buildPackages, autoreconfHook, fetchurl, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "alsa-firmware-1.2.1"; ··· 34 34 meta = { 35 35 homepage = "http://www.alsa-project.org/"; 36 36 description = "Soundcard firmwares from the alsa project"; 37 - license = stdenv.lib.licenses.gpl2Plus; 38 - platforms = stdenv.lib.platforms.linux; 37 + license = lib.licenses.gpl2Plus; 38 + platforms = lib.platforms.linux; 39 39 }; 40 40 }
+1 -1
pkgs/os-specific/linux/alsa-utils/default.nix
··· 17 17 installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ]; 18 18 19 19 postFixup = '' 20 - wrapProgram $out/bin/alsa-info.sh --prefix PATH : "${stdenv.lib.makeBinPath [ which pciutils ]}" 20 + wrapProgram $out/bin/alsa-info.sh --prefix PATH : "${lib.makeBinPath [ which pciutils ]}" 21 21 ''; 22 22 23 23 meta = with lib; {
+1 -1
pkgs/os-specific/linux/amdgpu-pro/default.nix
··· 7 7 8 8 assert (!libsOnly) -> kernel != null; 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 let 13 13
+1 -1
pkgs/os-specific/linux/anbox/default.nix
··· 115 115 116 116 postInstall = '' 117 117 wrapProgram $out/bin/anbox \ 118 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [libGL libglvnd]} \ 118 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [libGL libglvnd]} \ 119 119 --prefix PATH : ${git}/bin 120 120 121 121 mkdir -p $out/share/dbus-1/services
+10 -10
pkgs/os-specific/linux/apparmor/default.nix
··· 17 17 apparmor-patchver = "6"; 18 18 apparmor-version = apparmor-series + "." + apparmor-patchver; 19 19 20 - apparmor-meta = component: with stdenv.lib; { 20 + apparmor-meta = component: with lib; { 21 21 homepage = "https://apparmor.net/"; 22 22 description = "A mandatory access control system - ${component}"; 23 23 license = licenses.gpl2; ··· 39 39 substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man" 40 40 ''; 41 41 42 - patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [ 42 + patches = lib.optionals stdenv.hostPlatform.isMusl [ 43 43 (fetchpatch { 44 44 url = "https://git.alpinelinux.org/aports/plain/testing/apparmor/0003-Added-missing-typedef-definitions-on-parser.patch?id=74b8427cc21f04e32030d047ae92caa618105b53"; 45 45 name = "0003-Added-missing-typedef-definitions-on-parser.patch"; ··· 75 75 ]; 76 76 77 77 buildInputs = [] 78 - ++ stdenv.lib.optional withPerl perl 79 - ++ stdenv.lib.optional withPython python; 78 + ++ lib.optional withPerl perl 79 + ++ lib.optional withPython python; 80 80 81 81 # required to build apparmor-parser 82 82 dontDisableStatic = true; ··· 84 84 prePatch = prePatchCommon + '' 85 85 substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.am --replace install_vendor install_site 86 86 substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.in --replace install_vendor install_site 87 - substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${stdenv.lib.getDev stdenv.cc.libc}/include/netinet/in.h" 88 - substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${stdenv.lib.getDev stdenv.cc.libc}/include/netinet/in.h" 87 + substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${lib.getDev stdenv.cc.libc}/include/netinet/in.h" 88 + substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${lib.getDev stdenv.cc.libc}/include/netinet/in.h" 89 89 ''; 90 90 inherit patches; 91 91 92 92 postPatch = "cd ./libraries/libapparmor"; 93 93 # https://gitlab.com/apparmor/apparmor/issues/1 94 94 configureFlags = [ 95 - (stdenv.lib.withFeature withPerl "perl") 96 - (stdenv.lib.withFeature withPython "python") 95 + (lib.withFeature withPerl "perl") 96 + (lib.withFeature withPython "python") 97 97 ]; 98 98 99 - outputs = [ "out" ] ++ stdenv.lib.optional withPython "python"; 99 + outputs = [ "out" ] ++ lib.optional withPython "python"; 100 100 101 - postInstall = stdenv.lib.optionalString withPython '' 101 + postInstall = lib.optionalString withPython '' 102 102 mkdir -p $python/lib 103 103 mv $out/lib/python* $python/lib/ 104 104 '';
+1 -1
pkgs/os-specific/linux/ati-drivers/default.nix
··· 9 9 10 10 assert (!libsOnly) -> kernel != null; 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 # This derivation requires a maximum of gcc49, Linux kernel 4.1 and xorg.xserver 1.17 15 15 # and will not build or run using versions newer
+7 -7
pkgs/os-specific/linux/audit/default.nix
··· 1 1 { 2 - stdenv, buildPackages, fetchurl, fetchpatch, 2 + lib, stdenv, buildPackages, fetchurl, fetchpatch, 3 3 runCommand, 4 4 autoconf, automake, libtool, 5 5 enablePython ? false, python ? null, ··· 18 18 outputs = [ "bin" "dev" "out" "man" ]; 19 19 20 20 depsBuildBuild = [ buildPackages.stdenv.cc ]; 21 - nativeBuildInputs = stdenv.lib.optionals stdenv.hostPlatform.isMusl 21 + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isMusl 22 22 [ autoconf automake libtool ]; 23 - buildInputs = stdenv.lib.optional enablePython python; 23 + buildInputs = lib.optional enablePython python; 24 24 25 25 configureFlags = [ 26 26 # z/OS plugin is not useful on Linux, ··· 36 36 # TODO: Remove the musl patches when 37 37 # https://github.com/linux-audit/audit-userspace/pull/25 38 38 # is available with the next release. 39 - patches = stdenv.lib.optional stdenv.hostPlatform.isMusl [ 39 + patches = lib.optional stdenv.hostPlatform.isMusl [ 40 40 ( 41 41 let patch = fetchpatch { 42 42 url = "https://github.com/linux-audit/audit-userspace/commit/d579a08bb1cde71f939c13ac6b2261052ae9f77e.patch"; ··· 59 59 meta = { 60 60 description = "Audit Library"; 61 61 homepage = "https://people.redhat.com/sgrubb/audit/"; 62 - license = stdenv.lib.licenses.gpl2; 63 - platforms = stdenv.lib.platforms.linux; 64 - maintainers = with stdenv.lib.maintainers; [ ]; 62 + license = lib.licenses.gpl2; 63 + platforms = lib.platforms.linux; 64 + maintainers = with lib.maintainers; [ ]; 65 65 }; 66 66 }
+3 -3
pkgs/os-specific/linux/autofs/default.nix
··· 1 - { stdenv, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs 1 + { lib, stdenv, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs 2 2 , libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl, rpcsvc-proto }: 3 3 4 4 let ··· 44 44 meta = { 45 45 description = "Kernel-based automounter"; 46 46 homepage = "https://www.kernel.org/pub/linux/daemons/autofs/"; 47 - license = stdenv.lib.licenses.gpl2Plus; 47 + license = lib.licenses.gpl2Plus; 48 48 executables = [ "automount" ]; 49 - platforms = stdenv.lib.platforms.linux; 49 + platforms = lib.platforms.linux; 50 50 }; 51 51 }
+4 -4
pkgs/os-specific/linux/batman-adv/alfred.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gpsd, libcap, libnl }: 1 + { lib, stdenv, fetchurl, pkgconfig, gpsd, libcap, libnl }: 2 2 3 3 let cfg = import ./version.nix; in 4 4 ··· 21 21 meta = { 22 22 homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki"; 23 23 description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool"; 24 - license = stdenv.lib.licenses.gpl2; 25 - maintainers = with stdenv.lib.maintainers; [ fpletz ]; 26 - platforms = with stdenv.lib.platforms; linux; 24 + license = lib.licenses.gpl2; 25 + maintainers = with lib.maintainers; [ fpletz ]; 26 + platforms = with lib.platforms; linux; 27 27 }; 28 28 }
+4 -4
pkgs/os-specific/linux/batman-adv/batctl.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libnl }: 1 + { lib, stdenv, fetchurl, pkgconfig, libnl }: 2 2 3 3 let cfg = import ./version.nix; in 4 4 ··· 21 21 meta = { 22 22 homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki"; 23 23 description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool"; 24 - license = stdenv.lib.licenses.gpl2; 25 - maintainers = with stdenv.lib.maintainers; [ fpletz ]; 26 - platforms = with stdenv.lib.platforms; linux; 24 + license = lib.licenses.gpl2; 25 + maintainers = with lib.maintainers; [ fpletz ]; 26 + platforms = with lib.platforms; linux; 27 27 }; 28 28 }
+4 -4
pkgs/os-specific/linux/batman-adv/default.nix
··· 1 - { stdenv, fetchurl, kernel }: 1 + { lib, stdenv, fetchurl, kernel }: 2 2 3 3 let cfg = import ./version.nix; in 4 4 ··· 24 24 meta = { 25 25 homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki"; 26 26 description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2"; 27 - license = stdenv.lib.licenses.gpl2; 28 - maintainers = with stdenv.lib.maintainers; [ fpletz ]; 29 - platforms = with stdenv.lib.platforms; linux; 27 + license = lib.licenses.gpl2; 28 + maintainers = with lib.maintainers; [ fpletz ]; 29 + platforms = with lib.platforms; linux; 30 30 }; 31 31 }
+1 -1
pkgs/os-specific/linux/bcc/default.nix
··· 31 31 propagatedBuildInputs = [ python.pkgs.netaddr ]; 32 32 nativeBuildInputs = [ makeWrapper cmake flex bison ] 33 33 # libelf is incompatible with elfutils-libelf 34 - ++ stdenv.lib.filter (x: x != libelf) kernel.moduleBuildDependencies; 34 + ++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies; 35 35 36 36 cmakeFlags = [ 37 37 "-DBCC_KERNEL_MODULES_DIR=${kernel.dev}/lib/modules"
+3 -3
pkgs/os-specific/linux/blktrace/default.nix
··· 1 - { stdenv, fetchurl, libaio }: 1 + { lib, stdenv, fetchurl, libaio }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "blktrace-1.2.0"; ··· 18 18 19 19 meta = { 20 20 description = "Block layer IO tracing mechanism"; 21 - license = stdenv.lib.licenses.gpl2; 22 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.gpl2; 22 + platforms = lib.platforms.linux; 23 23 }; 24 24 }
+1 -1
pkgs/os-specific/linux/bolt/default.nix
··· 39 39 meson 40 40 ninja 41 41 pkgconfig 42 - ] ++ stdenv.lib.optional (!doCheck) python3; 42 + ] ++ lib.optional (!doCheck) python3; 43 43 44 44 buildInputs = [ 45 45 glib
+1 -1
pkgs/os-specific/linux/bpftrace/default.nix
··· 23 23 24 24 nativeBuildInputs = [ cmake pkgconfig flex bison ] 25 25 # libelf is incompatible with elfutils-libelf 26 - ++ stdenv.lib.filter (x: x != libelf) kernel.moduleBuildDependencies; 26 + ++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies; 27 27 28 28 # patch the source, *then* substitute on @NIX_KERNEL_SRC@ in the result. we could 29 29 # also in theory make this an environment variable around bpftrace, but this works
+3 -3
pkgs/os-specific/linux/bridge-utils/default.nix
··· 1 - { stdenv, fetchurl, autoreconfHook }: 1 + { lib, stdenv, fetchurl, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "bridge-utils-1.5"; ··· 25 25 meta = { 26 26 description = "https://sourceforge.net/projects/bridge/"; 27 27 homepage = "https://wiki.linuxfoundation.org/networking/bridge"; 28 - license = stdenv.lib.licenses.gpl2Plus; 29 - platforms = stdenv.lib.platforms.linux; 28 + license = lib.licenses.gpl2Plus; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+6 -6
pkgs/os-specific/linux/broadcom-sta/default.nix
··· 1 - { stdenv, fetchurl, kernel }: 1 + { lib, stdenv, fetchurl, kernel }: 2 2 3 3 let 4 4 version = "6.30.223.271"; ··· 7 7 x86_64-linux = "1gj485qqr190idilacpxwgqyw21il03zph2rddizgj7fbd6pfyaz"; 8 8 }; 9 9 10 - arch = stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "_64"; 11 - tarballVersion = stdenv.lib.replaceStrings ["."] ["_"] version; 10 + arch = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "_64"; 11 + tarballVersion = lib.replaceStrings ["."] ["_"] version; 12 12 tarball = "hybrid-v35${arch}-nodebug-pcoem-${tarballVersion}.tar.gz"; 13 13 in 14 14 stdenv.mkDerivation { ··· 62 62 meta = { 63 63 description = "Kernel module driver for some Broadcom's wireless cards"; 64 64 homepage = "http://www.broadcom.com/support/802.11/linux_sta.php"; 65 - license = stdenv.lib.licenses.unfreeRedistributable; 66 - maintainers = with stdenv.lib.maintainers; [ phreedom ]; 67 - platforms = stdenv.lib.platforms.linux; 65 + license = lib.licenses.unfreeRedistributable; 66 + maintainers = with lib.maintainers; [ phreedom ]; 67 + platforms = lib.platforms.linux; 68 68 }; 69 69 }
+1 -1
pkgs/os-specific/linux/busybox/default.nix
··· 64 64 65 65 patches = [ 66 66 ./busybox-in-store.patch 67 - ] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch; 67 + ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch; 68 68 69 69 postPatch = "patchShebangs ."; 70 70
+2 -2
pkgs/os-specific/linux/checkpolicy/default.nix
··· 1 - { stdenv, fetchurl, bison, flex, libsepol }: 1 + { lib, stdenv, fetchurl, bison, flex, libsepol }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "checkpolicy"; ··· 15 15 16 16 makeFlags = [ 17 17 "PREFIX=$(out)" 18 - "LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" 18 + "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a" 19 19 ]; 20 20 21 21 meta = removeAttrs libsepol.meta ["outputsToInstall"] // {
+1 -1
pkgs/os-specific/linux/checksec/default.nix
··· 17 17 nativeBuildInputs = [ makeWrapper ]; 18 18 19 19 installPhase = let 20 - path = stdenv.lib.makeBinPath [ 20 + path = lib.makeBinPath [ 21 21 findutils file binutils-unwrapped sysctl openssl 22 22 ]; 23 23 in ''
+1 -1
pkgs/os-specific/linux/cifs-utils/default.nix
··· 14 14 15 15 buildInputs = [ kerberos keyutils pam talloc ]; 16 16 17 - configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 17 + configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 18 18 # AC_FUNC_MALLOC is broken on cross builds. 19 19 "ac_cv_func_malloc_0_nonnull=yes" 20 20 "ac_cv_func_realloc_0_nonnull=yes"
+1 -1
pkgs/os-specific/linux/conky/default.nix
··· 64 64 assert weatherXoapSupport -> curlSupport && libxml2 != null; 65 65 assert journalSupport -> systemd != null; 66 66 67 - with stdenv.lib; 67 + with lib; 68 68 69 69 stdenv.mkDerivation rec { 70 70 pname = "conky";
+4 -4
pkgs/os-specific/linux/conspy/default.nix
··· 1 - {stdenv, fetchurl, autoconf, automake, ncurses}: 1 + {lib, stdenv, fetchurl, autoconf, automake, ncurses}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 30 30 meta = { 31 31 inherit (s) version; 32 32 description = "Linux text console viewer"; 33 - license = stdenv.lib.licenses.epl10 ; 34 - maintainers = [stdenv.lib.maintainers.raskin]; 35 - platforms = stdenv.lib.platforms.linux; 33 + license = lib.licenses.epl10 ; 34 + maintainers = [lib.maintainers.raskin]; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+3 -3
pkgs/os-specific/linux/cpuid/default.nix
··· 1 - { stdenv, fetchurl, perl }: 1 + { lib, stdenv, fetchurl, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cpuid"; ··· 42 42 ''; 43 43 44 44 platforms = [ "i686-linux" "x86_64-linux" ]; 45 - license = stdenv.lib.licenses.gpl2; 45 + license = lib.licenses.gpl2; 46 46 homepage = "http://etallen.com/cpuid.html"; 47 - maintainers = with stdenv.lib.maintainers; [ blitz ]; 47 + maintainers = with lib.maintainers; [ blitz ]; 48 48 }; 49 49 50 50 }
+1 -1
pkgs/os-specific/linux/cpupower/default.nix
··· 20 20 "LD=${stdenv.cc.targetPrefix}cc" 21 21 ]; 22 22 23 - installFlags = stdenv.lib.mapAttrsToList 23 + installFlags = lib.mapAttrsToList 24 24 (n: v: "${n}dir=${placeholder "out"}/${v}") { 25 25 bin = "bin"; 26 26 sbin = "sbin";
+3 -3
pkgs/os-specific/linux/cryptodev/default.nix
··· 1 - { fetchFromGitHub, stdenv, kernel ? false }: 1 + { fetchFromGitHub, lib, stdenv, kernel ? false }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cryptodev-linux-1.11"; ··· 20 20 meta = { 21 21 description = "Device that allows access to Linux kernel cryptographic drivers"; 22 22 homepage = "http://cryptodev-linux.org/"; 23 - license = stdenv.lib.licenses.gpl2Plus; 24 - platforms = stdenv.lib.platforms.linux; 23 + license = lib.licenses.gpl2Plus; 24 + platforms = lib.platforms.linux; 25 25 }; 26 26 }
+4 -4
pkgs/os-specific/linux/cryptsetup/default.nix
··· 1 - { stdenv, fetchurl, lvm2, json_c 1 + { lib, stdenv, fetchurl, lvm2, json_c 2 2 , openssl, libuuid, pkgconfig, popt }: 3 3 4 4 stdenv.mkDerivation rec { ··· 39 39 meta = { 40 40 homepage = "https://gitlab.com/cryptsetup/cryptsetup/"; 41 41 description = "LUKS for dm-crypt"; 42 - license = stdenv.lib.licenses.gpl2; 43 - maintainers = with stdenv.lib.maintainers; [ ]; 44 - platforms = with stdenv.lib.platforms; linux; 42 + license = lib.licenses.gpl2; 43 + maintainers = with lib.maintainers; [ ]; 44 + platforms = with lib.platforms; linux; 45 45 }; 46 46 }
+2 -2
pkgs/os-specific/linux/device-tree/default.nix
··· 1 - { stdenvNoCC, dtc, findutils }: 1 + { lib, stdenvNoCC, dtc, findutils }: 2 2 3 - with stdenvNoCC.lib; { 3 + with lib; { 4 4 applyOverlays = (base: overlays': stdenvNoCC.mkDerivation { 5 5 name = "device-tree-overlays"; 6 6 nativeBuildInputs = [ dtc findutils ];
+2 -2
pkgs/os-specific/linux/device-tree/raspberrypi.nix
··· 1 - { stdenvNoCC, raspberrypifw }: 1 + { lib, stdenvNoCC, raspberrypifw }: 2 2 3 3 stdenvNoCC.mkDerivation { 4 4 name = "raspberrypi-dtbs-${raspberrypifw.version}"; ··· 30 30 # Compatible overlays that may be used 31 31 overlays = "${raspberrypifw}/share/raspberrypi/boot/overlays"; 32 32 }; 33 - meta = with stdenvNoCC.lib; { 33 + meta = with lib; { 34 34 inherit (raspberrypifw.meta) homepage license; 35 35 description = "DTBs for the Raspberry Pi"; 36 36 };
+1 -1
pkgs/os-specific/linux/digimend/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, fetchpatch, kernel }: 2 2 3 - assert stdenv.lib.versionAtLeast kernel.version "3.5"; 3 + assert lib.versionAtLeast kernel.version "3.5"; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "digimend";
+3 -3
pkgs/os-specific/linux/disk-indicator/default.nix
··· 1 - { stdenv, fetchgit, libX11 }: 1 + { lib, stdenv, fetchgit, libX11 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "disk-indicator-2014-05-19"; ··· 34 34 Small program for Linux that will turn your Scroll, Caps or Num Lock LED 35 35 or LED on your ThinkPad laptop into a hard disk activity indicator. 36 36 ''; 37 - license = stdenv.lib.licenses.gpl3; 38 - platforms = stdenv.lib.platforms.linux; 37 + license = lib.licenses.gpl3; 38 + platforms = lib.platforms.linux; 39 39 }; 40 40 }
+6 -6
pkgs/os-specific/linux/dmraid/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, lvm2 }: 1 + { lib, stdenv, fetchurl, fetchpatch, lvm2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "dmraid-1.0.0.rc16"; ··· 9 9 }; 10 10 11 11 patches = [ ./hardening-format.patch ] 12 - ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [ 12 + ++ lib.optionals stdenv.hostPlatform.isMusl [ 13 13 (fetchpatch { 14 14 url = "https://raw.githubusercontent.com/void-linux/void-packages/fceed4b8e96b3c1da07babf6f67b6ed1588a28b2/srcpkgs/dmraid/patches/006-musl-libc.patch"; 15 15 sha256 = "1j8xda0fpz8lxjxnqdidy7qb866qrzwpbca56yjdg6vf4x21hx6w"; ··· 26 26 27 27 postPatch = '' 28 28 sed -i 's/\[\[[^]]*\]\]/[ "''$''${n##*.}" = "so" ]/' */lib/Makefile.in 29 - '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' 29 + '' + lib.optionalString stdenv.hostPlatform.isMusl '' 30 30 NIX_CFLAGS_COMPILE+=" -D_GNU_SOURCE" 31 31 ''; 32 32 ··· 42 42 its volumes. May be needed for rescuing an older system or nuking 43 43 the metadata when reformatting. 44 44 ''; 45 - maintainers = [ stdenv.lib.maintainers.raskin ]; 46 - platforms = stdenv.lib.platforms.linux; 47 - license = stdenv.lib.licenses.gpl2Plus; 45 + maintainers = [ lib.maintainers.raskin ]; 46 + platforms = lib.platforms.linux; 47 + license = lib.licenses.gpl2Plus; 48 48 }; 49 49 }
+3 -3
pkgs/os-specific/linux/e1000e/default.nix
··· 1 - { stdenv, fetchurl, kernel }: 1 + { lib, stdenv, fetchurl, kernel }: 2 2 3 - assert stdenv.lib.versionOlder kernel.version "4.10"; 3 + assert lib.versionOlder kernel.version "4.10"; 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "e1000e-${version}-${kernel.version}"; ··· 32 32 meta = { 33 33 description = "Linux kernel drivers for Intel Ethernet adapters and LOMs (LAN On Motherboard)"; 34 34 homepage = "http://e1000.sf.net/"; 35 - license = stdenv.lib.licenses.gpl2; 35 + license = lib.licenses.gpl2; 36 36 }; 37 37 }
+2 -2
pkgs/os-specific/linux/earlyoom/default.nix
··· 11 11 sha256 = "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"; 12 12 }; 13 13 14 - nativeBuildInputs = stdenv.lib.optionals withManpage [ pandoc installShellFiles ]; 14 + nativeBuildInputs = lib.optionals withManpage [ pandoc installShellFiles ]; 15 15 16 16 patches = [ ./fix-dbus-path.patch ]; 17 17 ··· 19 19 20 20 installPhase = '' 21 21 install -D earlyoom $out/bin/earlyoom 22 - '' + stdenv.lib.optionalString withManpage '' 22 + '' + lib.optionalString withManpage '' 23 23 installManPage earlyoom.1 24 24 ''; 25 25
+1 -1
pkgs/os-specific/linux/edac-utils/default.nix
··· 25 25 26 26 postInstall = '' 27 27 wrapProgram "$out/sbin/edac-ctl" \ 28 - --set PATH ${stdenv.lib.makeBinPath [ dmidecode kmod ]} 28 + --set PATH ${lib.makeBinPath [ dmidecode kmod ]} 29 29 ''; 30 30 31 31 meta = with lib; {
+4 -4
pkgs/os-specific/linux/eudev/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, glib, gperf, util-linux, kmod}: 1 + {lib, stdenv, fetchurl, pkgconfig, glib, gperf, util-linux, kmod}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 50 50 meta = { 51 51 inherit (s) version; 52 52 description = ''An udev fork by Gentoo''; 53 - license = stdenv.lib.licenses.gpl2Plus ; 54 - maintainers = [stdenv.lib.maintainers.raskin]; 55 - platforms = stdenv.lib.platforms.linux; 53 + license = lib.licenses.gpl2Plus ; 54 + maintainers = [lib.maintainers.raskin]; 55 + platforms = lib.platforms.linux; 56 56 homepage = ''https://www.gentoo.org/proj/en/eudev/''; 57 57 downloadPage = ''http://dev.gentoo.org/~blueness/eudev/''; 58 58 updateWalker = true;
+1 -1
pkgs/os-specific/linux/exfat/default.nix
··· 27 27 makeFlags = [ 28 28 "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 29 29 "ARCH=${stdenv.hostPlatform.platform.kernelArch}" 30 - ] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 30 + ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 31 31 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 32 32 ]; 33 33
+2 -2
pkgs/os-specific/linux/facetimehd/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, kernel }: 2 2 3 3 # facetimehd is not supported for kernels older than 3.19"; 4 - assert stdenv.lib.versionAtLeast kernel.version "3.19"; 4 + assert lib.versionAtLeast kernel.version "3.19"; 5 5 6 6 let 7 7 # Note: When updating this revision: ··· 14 14 # e. see if the module loads back (apps using the camera won't 15 15 # recover and will have to be restarted) and the camera 16 16 # still works. 17 - srcParams = if (stdenv.lib.versionAtLeast kernel.version "4.8") then 17 + srcParams = if (lib.versionAtLeast kernel.version "4.8") then 18 18 { # Use mainline branch 19 19 version = "unstable-2020-04-16"; 20 20 rev = "82626d4892eeb9eb704538bf0dc49a00725ff451";
+4 -4
pkgs/os-specific/linux/firejail/default.nix
··· 1 - {stdenv, fetchurl, fetchpatch, which, xdg-dbus-proxy, nixosTests}: 1 + {lib, stdenv, fetchurl, fetchpatch, which, xdg-dbus-proxy, nixosTests}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 81 81 meta = { 82 82 inherit (s) version; 83 83 description = ''Namespace-based sandboxing tool for Linux''; 84 - license = stdenv.lib.licenses.gpl2Plus ; 85 - maintainers = [stdenv.lib.maintainers.raskin]; 86 - platforms = stdenv.lib.platforms.linux; 84 + license = lib.licenses.gpl2Plus ; 85 + maintainers = [lib.maintainers.raskin]; 86 + platforms = lib.platforms.linux; 87 87 homepage = "https://firejail.wordpress.com/"; 88 88 downloadPage = "https://sourceforge.net/projects/firejail/files/firejail/"; 89 89 };
+3 -3
pkgs/os-specific/linux/firmware/b43-firmware-cutter/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "b43-fwcutter-019"; ··· 15 15 meta = { 16 16 description = "Firmware extractor for cards supported by the b43 kernel module"; 17 17 homepage = "http://wireless.kernel.org/en/users/Drivers/b43"; 18 - license = stdenv.lib.licenses.free; 19 - platforms = stdenv.lib.platforms.linux; 18 + license = lib.licenses.free; 19 + platforms = lib.platforms.linux; 20 20 }; 21 21 }
+2 -2
pkgs/os-specific/linux/firmware/b43-firmware/5.1.138.nix
··· 1 - { stdenv, fetchurl, b43FirmwareCutter }: 1 + { lib, stdenv, fetchurl, b43FirmwareCutter }: 2 2 3 3 let version = "5.100.138"; in 4 4 ··· 23 23 meta = { 24 24 description = "Firmware for cards supported by the b43 kernel module"; 25 25 homepage = "http://wireless.kernel.org/en/users/Drivers/b43"; 26 - license = stdenv.lib.licenses.unfree; 26 + license = lib.licenses.unfree; 27 27 }; 28 28 } 29 29
+1 -1
pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
··· 19 19 outputHashAlgo = "sha256"; 20 20 outputHash = "1p7vn2hfwca6w69jhw5zq70w44ji8mdnibm1z959aalax6ndy146"; 21 21 22 - meta = with stdenvNoCC.lib; { 22 + meta = with lib; { 23 23 description = "Binary firmware collection packaged by kernel.org"; 24 24 homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"; 25 25 license = licenses.unfreeRedistributableFirmware;
+8 -8
pkgs/os-specific/linux/firmware/fwupd/default.nix
··· 160 160 pango 161 161 tpm2-tss 162 162 efivar 163 - ] ++ stdenv.lib.optionals haveDell [ 163 + ] ++ lib.optionals haveDell [ 164 164 libsmbios 165 165 ]; 166 166 ··· 187 187 # Our builder only adds $lib/lib to rpath but some things link 188 188 # against libfwupdplugin which is in $out/lib. 189 189 "-Dc_link_args=-Wl,-rpath,${placeholder "out"}/lib" 190 - ] ++ stdenv.lib.optionals (!haveDell) [ 190 + ] ++ lib.optionals (!haveDell) [ 191 191 "-Dplugin_dell=false" 192 192 "-Dplugin_synaptics=false" 193 - ] ++ stdenv.lib.optionals (!haveRedfish) [ 193 + ] ++ lib.optionals (!haveRedfish) [ 194 194 "-Dplugin_redfish=false" 195 - ] ++ stdenv.lib.optionals haveFlashrom [ 195 + ] ++ lib.optionals haveFlashrom [ 196 196 "-Dplugin_flashrom=true" 197 197 ]; 198 198 ··· 250 250 efibootmgr 251 251 bubblewrap 252 252 tpm2-tools 253 - ] ++ stdenv.lib.optional haveFlashrom flashrom; 253 + ] ++ lib.optional haveFlashrom flashrom; 254 254 in '' 255 255 gappsWrapperArgs+=( 256 256 --prefix XDG_DATA_DIRS : "${shared-mime-info}/share" 257 257 # See programs reached with fu_common_find_program_in_path in source 258 - --prefix PATH : "${stdenv.lib.makeBinPath binPath}" 258 + --prefix PATH : "${lib.makeBinPath binPath}" 259 259 ) 260 260 ''; 261 261 ··· 291 291 "pki/fwupd-metadata/GPG-KEY-Linux-Foundation-Metadata" 292 292 "pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service" 293 293 "pki/fwupd-metadata/LVFS-CA.pem" 294 - ] ++ stdenv.lib.optionals haveDell [ 294 + ] ++ lib.optionals haveDell [ 295 295 "fwupd/remotes.d/dell-esrt.conf" 296 296 ]; 297 297 ··· 302 302 ]; 303 303 304 304 tests = let 305 - listToPy = list: "[${stdenv.lib.concatMapStringsSep ", " (f: "'${f}'") list}]"; 305 + listToPy = list: "[${lib.concatMapStringsSep ", " (f: "'${f}'") list}]"; 306 306 in { 307 307 installedTests = nixosTests.installed-tests.fwupd; 308 308
+1 -1
pkgs/os-specific/linux/firmware/raspberrypi/armstubs.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, cmake, pkgconfig }: 2 2 3 3 let 4 - inherit (stdenv.lib) optionals; 4 + inherit (lib) optionals; 5 5 in 6 6 stdenv.mkDerivation { 7 7 pname = "raspberrypi-armstubs";
+2 -2
pkgs/os-specific/linux/firmware/raspberrypi/default.nix
··· 1 - { stdenvNoCC, fetchFromGitHub }: 1 + { lib, stdenvNoCC, fetchFromGitHub }: 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 # NOTE: this should be updated with linux_rpi ··· 21 21 dontBuild = true; 22 22 dontFixup = true; 23 23 24 - meta = with stdenvNoCC.lib; { 24 + meta = with lib; { 25 25 description = "Firmware for the Raspberry Pi board"; 26 26 homepage = "https://github.com/raspberrypi/firmware"; 27 27 license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom
+1 -1
pkgs/os-specific/linux/firmware/rtl8192su-firmware/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub }: 2 - with stdenv.lib; 2 + with lib; 3 3 stdenv.mkDerivation { 4 4 name = "rtl8192su-unstable-2016-10-05"; 5 5
+1 -1
pkgs/os-specific/linux/firmware/rtl8723bs-firmware/default.nix
··· 1 1 { lib, stdenv, linuxPackages }: 2 - with stdenv.lib; 2 + with lib; 3 3 stdenv.mkDerivation { 4 4 name = "rtl8723bs-firmware-${linuxPackages.rtl8723bs.version}"; 5 5 inherit (linuxPackages.rtl8723bs) src;
+1 -1
pkgs/os-specific/linux/firmware/sof-firmware/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 pname = "sof-firmware"; 6 6 version = "1.6";
+2 -2
pkgs/os-specific/linux/firmware/zd1211/default.nix
··· 1 - { stdenv, fetchzip }: 1 + { lib, stdenv, fetchzip }: 2 2 3 3 let 4 4 pname = "zd1211-firmware"; ··· 19 19 description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip"; 20 20 homepage = "https://sourceforge.net/projects/zd1211/"; 21 21 license = "GPL"; 22 - platforms = stdenv.lib.platforms.linux; 22 + platforms = lib.platforms.linux; 23 23 }; 24 24 }
+4 -4
pkgs/os-specific/linux/forktty/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 29 29 meta = { 30 30 inherit (s) version; 31 31 description = ''Tool to detach from controlling TTY and attach to another''; 32 - license = stdenv.lib.licenses.gpl2 ; 33 - maintainers = [stdenv.lib.maintainers.raskin]; 34 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.gpl2 ; 33 + maintainers = [lib.maintainers.raskin]; 34 + platforms = lib.platforms.linux; 35 35 }; 36 36 }
+3 -3
pkgs/os-specific/linux/fswebcam/default.nix
··· 1 - { stdenv, fetchurl, libv4l, gd }: 1 + { lib, stdenv, fetchurl, libv4l, gd }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "fswebcam-20200725"; ··· 14 14 meta = { 15 15 description = "Neat and simple webcam app"; 16 16 homepage = "http://www.sanslogic.co.uk/fswebcam"; 17 - platforms = stdenv.lib.platforms.linux; 18 - license = stdenv.lib.licenses.gpl2; 17 + platforms = lib.platforms.linux; 18 + license = lib.licenses.gpl2; 19 19 }; 20 20 }
+4 -4
pkgs/os-specific/linux/fuse/common.nix
··· 8 8 }: 9 9 10 10 let 11 - isFuse3 = stdenv.lib.hasPrefix "3" version; 11 + isFuse3 = lib.hasPrefix "3" version; 12 12 in stdenv.mkDerivation rec { 13 13 pname = "fuse"; 14 14 inherit version; ··· 23 23 preAutoreconf = "touch config.rpath"; 24 24 25 25 patches = 26 - stdenv.lib.optional 26 + lib.optional 27 27 (!isFuse3 && stdenv.isAarch64) 28 28 (fetchpatch { 29 29 url = "https://github.com/libfuse/libfuse/commit/914871b20a901e3e1e981c92bc42b1c93b7ab81b.patch"; ··· 37 37 then [ meson ninja pkg-config ] 38 38 else [ autoreconfHook gettext ]; 39 39 40 - outputs = [ "out" ] ++ stdenv.lib.optional isFuse3 "common"; 40 + outputs = [ "out" ] ++ lib.optional isFuse3 "common"; 41 41 42 - mesonFlags = stdenv.lib.optionals isFuse3 [ 42 + mesonFlags = lib.optionals isFuse3 [ 43 43 "-Dudevrulesdir=/udev/rules.d" 44 44 "-Duseroot=false" 45 45 ];
+4 -4
pkgs/os-specific/linux/gfxtablet/default.nix
··· 1 - {stdenv, fetchFromGitHub, linuxHeaders}: 1 + {lib, stdenv, fetchFromGitHub, linuxHeaders}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.4"; ··· 26 26 27 27 meta = { 28 28 description = ''Uinput driver for Android GfxTablet tablet-as-input-device app''; 29 - license = stdenv.lib.licenses.mit ; 30 - maintainers = [stdenv.lib.maintainers.raskin]; 31 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.mit ; 30 + maintainers = [lib.maintainers.raskin]; 31 + platforms = lib.platforms.linux; 32 32 }; 33 33 }
+7 -7
pkgs/os-specific/linux/guvcview/default.nix
··· 39 39 intltool 40 40 pkgconfig 41 41 ] 42 - ++ stdenv.lib.optionals (useGtk) [ wrapGAppsHook ] 43 - ++ stdenv.lib.optionals (useQt) [ wrapQtAppsHook ] 42 + ++ lib.optionals (useGtk) [ wrapGAppsHook ] 43 + ++ lib.optionals (useQt) [ wrapQtAppsHook ] 44 44 ; 45 45 46 46 buildInputs = [ ··· 55 55 libpng 56 56 sfml 57 57 ] 58 - ++ stdenv.lib.optionals (pulseaudioSupport) [ libpulseaudio ] 59 - ++ stdenv.lib.optionals (useGtk) [ gtk3 ] 60 - ++ stdenv.lib.optionals (useQt) [ 58 + ++ lib.optionals (pulseaudioSupport) [ libpulseaudio ] 59 + ++ lib.optionals (useGtk) [ gtk3 ] 60 + ++ lib.optionals (useQt) [ 61 61 qtbase 62 62 ] 63 63 ; 64 64 configureFlags = [ 65 65 "--enable-sfml" 66 66 ] 67 - ++ stdenv.lib.optionals (useGtk) [ "--enable-gtk3" ] 68 - ++ stdenv.lib.optionals (useQt) [ "--enable-qt5" ] 67 + ++ lib.optionals (useGtk) [ "--enable-gtk3" ] 68 + ++ lib.optionals (useQt) [ "--enable-qt5" ] 69 69 ; 70 70 71 71 meta = with lib; {
+2 -2
pkgs/os-specific/linux/hdapsd/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 let version = "20141203"; in 4 4 stdenv.mkDerivation { ··· 11 11 12 12 postInstall = builtins.readFile ./postInstall.sh; 13 13 14 - meta = with stdenv.lib; 14 + meta = with lib; 15 15 { description = "Hard Drive Active Protection System Daemon"; 16 16 homepage = "http://hdaps.sf.net/"; 17 17 license = licenses.gpl2;
+5 -5
pkgs/os-specific/linux/hibernate/default.nix
··· 1 - { stdenv, fetchurl, gawk }: 1 + { lib, stdenv, fetchurl, gawk }: 2 2 3 3 let version = "2.0"; 4 4 in ··· 35 35 description = "The `hibernate' script for swsusp and Tux-on-Ice"; 36 36 longDescription = '' 37 37 This package provides the `hibernate' script, a command-line utility 38 - that saves the computer's state to disk and switches it off, turning 39 - it into "hibernation". It works both with Linux swsusp and Tux-on-Ice. 38 + that saves the computer's state to disk and switches it off, turning 39 + it into "hibernation". It works both with Linux swsusp and Tux-on-Ice. 40 40 ''; 41 41 42 - license = stdenv.lib.licenses.gpl2Plus; 42 + license = lib.licenses.gpl2Plus; 43 43 homepage = "http://www.tuxonice.net/"; 44 - platforms = stdenv.lib.platforms.linux; 44 + platforms = lib.platforms.linux; 45 45 }; 46 46 }
+1 -1
pkgs/os-specific/linux/hostapd/default.nix
··· 75 75 CONFIG_HS20=y 76 76 CONFIG_ACS=y 77 77 CONFIG_GETRANDOM=y 78 - '' + stdenv.lib.optionalString (sqlite != null) '' 78 + '' + lib.optionalString (sqlite != null) '' 79 79 CONFIG_SQLITE=y 80 80 ''; 81 81
+3 -3
pkgs/os-specific/linux/hwdata/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hwdata"; ··· 24 24 meta = { 25 25 homepage = "https://github.com/vcrhonek/hwdata"; 26 26 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards"; 27 - license = stdenv.lib.licenses.gpl2; 28 - platforms = stdenv.lib.platforms.linux; 27 + license = lib.licenses.gpl2; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+3 -3
pkgs/os-specific/linux/i810switch/default.nix
··· 1 - { stdenv, fetchurl, pciutils }: 1 + { lib, stdenv, fetchurl, pciutils }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "i810switch-0.6.5"; ··· 20 20 meta = { 21 21 description = "A utility for switching between the LCD and external VGA display on Intel graphics cards"; 22 22 homepage = "http://www16.plala.or.jp/mano-a-mano/i810switch.html"; 23 - license = stdenv.lib.licenses.gpl2; 24 - platforms = stdenv.lib.platforms.linux; 23 + license = lib.licenses.gpl2; 24 + platforms = lib.platforms.linux; 25 25 }; 26 26 }
+3 -3
pkgs/os-specific/linux/ifenslave/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ifenslave"; ··· 22 22 23 23 meta = { 24 24 description = "Utility for enslaving networking interfaces under a bond"; 25 - license = stdenv.lib.licenses.gpl2; 26 - platforms = stdenv.lib.platforms.linux; 25 + license = lib.licenses.gpl2; 26 + platforms = lib.platforms.linux; 27 27 }; 28 28 }
+4 -4
pkgs/os-specific/linux/ima-evm-utils/default.nix
··· 1 - { stdenv, fetchgit, autoreconfHook, pkgconfig, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }: 1 + { lib, stdenv, fetchgit, autoreconfHook, pkgconfig, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ima-evm-utils"; ··· 20 20 meta = { 21 21 description = "evmctl utility to manage digital signatures of the Linux kernel integrity subsystem (IMA/EVM)"; 22 22 homepage = "https://sourceforge.net/projects/linux-ima/"; 23 - license = stdenv.lib.licenses.gpl2; 24 - platforms = stdenv.lib.platforms.linux; 25 - maintainers = with stdenv.lib.maintainers; [ tstrobel ]; 23 + license = lib.licenses.gpl2; 24 + platforms = lib.platforms.linux; 25 + maintainers = with lib.maintainers; [ tstrobel ]; 26 26 }; 27 27 }
+1 -1
pkgs/os-specific/linux/intel-compute-runtime/default.nix
··· 40 40 ''; 41 41 42 42 postFixup = '' 43 - patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ intel-gmmlib intel-graphics-compiler libva stdenv.cc.cc.lib ]} \ 43 + patchelf --set-rpath ${lib.makeLibraryPath [ intel-gmmlib intel-graphics-compiler libva stdenv.cc.cc.lib ]} \ 44 44 $out/lib/intel-opencl/libigdrcl.so 45 45 ''; 46 46
+4 -4
pkgs/os-specific/linux/intel-ocl/default.nix
··· 1 - { stdenv, fetchzip, rpmextract, ncurses5, numactl, zlib }: 1 + { lib, stdenv, fetchzip, rpmextract, ncurses5, numactl, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "intel-ocl"; ··· 14 14 15 15 sourceRoot = "."; 16 16 17 - libPath = stdenv.lib.makeLibraryPath [ 17 + libPath = lib.makeLibraryPath [ 18 18 stdenv.cc.cc.lib 19 19 ncurses5 20 20 numactl ··· 66 66 meta = { 67 67 description = "Official OpenCL runtime for Intel CPUs"; 68 68 homepage = "https://software.intel.com/en-us/articles/opencl-drivers"; 69 - license = stdenv.lib.licenses.unfree; 69 + license = lib.licenses.unfree; 70 70 platforms = [ "x86_64-linux" ]; 71 - maintainers = [ stdenv.lib.maintainers.kierdavis ]; 71 + maintainers = [ lib.maintainers.kierdavis ]; 72 72 }; 73 73 }
+2 -2
pkgs/os-specific/linux/iptables/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, pruneLibtoolFiles, flex, bison 1 + { lib, stdenv, fetchurl, pkgconfig, pruneLibtoolFiles, flex, bison 2 2 , libmnl, libnetfilter_conntrack, libnfnetlink, libnftnl, libpcap 3 3 , nftablesCompat ? false 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 stdenv.mkDerivation rec { 9 9 version = "1.8.6";
+2 -2
pkgs/os-specific/linux/iputils/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch 1 + { lib, stdenv, fetchFromGitHub, fetchpatch 2 2 , meson, ninja, pkgconfig, gettext, libxslt, docbook_xsl_ns 3 3 , libcap, libidn2 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 let 9 9 version = "20200821";
+3 -3
pkgs/os-specific/linux/irqbalance/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "irqbalance"; ··· 29 29 meta = { 30 30 homepage = "https://github.com/Irqbalance/irqbalance"; 31 31 description = "A daemon to help balance the cpu load generated by interrupts across all of a systems cpus"; 32 - license = stdenv.lib.licenses.gpl2; 33 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.gpl2; 33 + platforms = lib.platforms.linux; 34 34 }; 35 35 }
+4 -4
pkgs/os-specific/linux/iw/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, libnl }: 1 + { lib, stdenv, fetchurl, pkg-config, libnl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "iw"; ··· 23 23 deprecated and it's strongly recommended to switch to iw and nl80211. 24 24 ''; 25 25 homepage = "https://wireless.wiki.kernel.org/en/users/Documentation/iw"; 26 - license = stdenv.lib.licenses.isc; 27 - maintainers = with stdenv.lib.maintainers; [ viric primeos ]; 28 - platforms = with stdenv.lib.platforms; linux; 26 + license = lib.licenses.isc; 27 + maintainers = with lib.maintainers; [ viric primeos ]; 28 + platforms = with lib.platforms; linux; 29 29 }; 30 30 }
+3 -3
pkgs/os-specific/linux/iwd/default.nix
··· 22 22 }; 23 23 24 24 outputs = [ "out" "man" ] 25 - ++ stdenv.lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "test"; 25 + ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "test"; 26 26 27 27 nativeBuildInputs = [ 28 28 autoreconfHook ··· 41 41 42 42 # wrapPython wraps the scripts in $test. They pull in gobject-introspection, 43 43 # which doesn't cross-compile. 44 - pythonPath = stdenv.lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ 44 + pythonPath = lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ 45 45 python3Packages.dbus-python 46 46 python3Packages.pygobject3 47 47 ]; ··· 67 67 mkdir -p $out/share 68 68 cp -a doc $out/share/ 69 69 cp -a README AUTHORS TODO $out/share/doc/ 70 - '' + stdenv.lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' 70 + '' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' 71 71 mkdir -p $test/bin 72 72 cp -a test/* $test/bin/ 73 73 '';
+1 -1
pkgs/os-specific/linux/jfbview/default.nix
··· 34 34 buildInputs = [ 35 35 freetype harfbuzz jbig2dec libjpeg libX11 mupdf_1_17 ncurses openjpeg 36 36 openssl 37 - ] ++ stdenv.lib.optionals imageSupport [ 37 + ] ++ lib.optionals imageSupport [ 38 38 imlib2 39 39 ]; 40 40
+3 -3
pkgs/os-specific/linux/jujuutils/default.nix
··· 1 - { stdenv, fetchurl, linuxHeaders }: 1 + { lib, stdenv, fetchurl, linuxHeaders }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "jujuutils-0.2"; ··· 13 13 meta = { 14 14 homepage = "https://github.com/cladisch/linux-firewire-utils"; 15 15 description = "Utilities around FireWire devices connected to a Linux computer"; 16 - license = stdenv.lib.licenses.gpl2; 17 - platforms = stdenv.lib.platforms.linux; 16 + license = lib.licenses.gpl2; 17 + platforms = lib.platforms.linux; 18 18 }; 19 19 }
+1 -1
pkgs/os-specific/linux/kbd/default.nix
··· 45 45 46 46 # We get a warning in armv5tel-linux and the fuloong2f, so we 47 47 # disable -Werror in it. 48 - ${stdenv.lib.optionalString (stdenv.isAarch32 || stdenv.hostPlatform.isMips) '' 48 + ${lib.optionalString (stdenv.isAarch32 || stdenv.hostPlatform.isMips) '' 49 49 sed -i s/-Werror// src/Makefile.am 50 50 ''} 51 51 '';
+4 -4
pkgs/os-specific/linux/kernel/common-config.nix
··· 10 10 # hardware problems with a new one. 11 11 12 12 # Configuration 13 - { stdenv, version 13 + { lib, stdenv, version 14 14 15 15 , features ? { grsecurity = false; xen_dom0 = false; } 16 16 }: 17 17 18 - with stdenv.lib; 19 - with stdenv.lib.kernel; 20 - with (stdenv.lib.kernel.whenHelpers version); 18 + with lib; 19 + with lib.kernel; 20 + with (lib.kernel.whenHelpers version); 21 21 22 22 let 23 23
+4 -6
pkgs/os-specific/linux/kernel/generic.nix
··· 6 6 , gmp ? null 7 7 , libmpc ? null 8 8 , mpfr ? null 9 + , lib 9 10 , stdenv 10 11 11 12 , # The kernel source tarball. ··· 66 67 assert stdenv.isLinux; 67 68 68 69 let 69 - 70 - lib = stdenv.lib; 71 - 72 70 # Combine the `features' attribute sets of all the kernel patches. 73 71 kernelFeatures = lib.fold (x: y: (x.features or {}) // y) ({ 74 72 iwlwifi = true; ··· 81 79 } // features) kernelPatches; 82 80 83 81 commonStructuredConfig = import ./common-config.nix { 84 - inherit stdenv version ; 82 + inherit lib stdenv version; 85 83 86 84 features = kernelFeatures; # Ensure we know of all extra patches, etc. 87 85 }; ··· 113 111 114 112 depsBuildBuild = [ buildPackages.stdenv.cc ]; 115 113 nativeBuildInputs = [ perl gmp libmpc mpfr ] 116 - ++ lib.optionals (stdenv.lib.versionAtLeast version "4.16") [ bison flex ]; 114 + ++ lib.optionals (lib.versionAtLeast version "4.16") [ bison flex ]; 117 115 118 116 platformName = stdenv.hostPlatform.platform.name; 119 117 # e.g. "defconfig" ··· 173 171 }; # end of configfile derivation 174 172 175 173 kernel = (callPackage ./manual-config.nix {}) { 176 - inherit version modDirVersion src kernelPatches randstructSeed stdenv extraMeta configfile; 174 + inherit version modDirVersion src kernelPatches randstructSeed lib stdenv extraMeta configfile; 177 175 178 176 config = { CONFIG_MODULES = "y"; CONFIG_FW_LOADER = "m"; }; 179 177 };
+4 -4
pkgs/os-specific/linux/kernel/hardened/config.nix
··· 8 8 # 9 9 # See also <nixos/modules/profiles/hardened.nix> 10 10 11 - { stdenv, version }: 11 + { lib, stdenv, version }: 12 12 13 - with stdenv.lib; 14 - with stdenv.lib.kernel; 15 - with (stdenv.lib.kernel.whenHelpers version); 13 + with lib; 14 + with lib.kernel; 15 + with (lib.kernel.whenHelpers version); 16 16 17 17 assert (versionAtLeast version "4.9"); 18 18
+2 -2
pkgs/os-specific/linux/kernel/linux-4.14.nix
··· 1 - { stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildLinux (args // rec { 6 6 version = "4.14.215";
+2 -2
pkgs/os-specific/linux/kernel/linux-4.19.nix
··· 1 - { stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildLinux (args // rec { 6 6 version = "4.19.167";
+2 -2
pkgs/os-specific/linux/kernel/linux-5.10.nix
··· 1 - { stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildLinux (args // rec { 6 6 version = "5.10.7";
+2 -2
pkgs/os-specific/linux/kernel/linux-5.4.nix
··· 1 - { stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildLinux (args // rec { 6 6 version = "5.4.89";
+2 -2
pkgs/os-specific/linux/kernel/linux-5.9.nix
··· 1 - { stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildLinux (args // rec { 6 6 version = "5.9.16";
+2 -2
pkgs/os-specific/linux/kernel/linux-lqx.nix
··· 1 - { stdenv, fetchFromGitHub, buildLinux, linux_zen, ... } @ args: 1 + { lib, stdenv, fetchFromGitHub, buildLinux, linux_zen, ... } @ args: 2 2 3 3 let 4 4 version = "5.10.6"; ··· 18 18 19 19 extraMeta = { 20 20 branch = "5.10/master"; 21 - maintainers = with stdenv.lib.maintainers; [ atemu ]; 21 + maintainers = with lib.maintainers; [ atemu ]; 22 22 description = linux_zen.meta.description + " (Same as linux_zen but less aggressive release schedule)"; 23 23 }; 24 24
+4 -4
pkgs/os-specific/linux/kernel/linux-mptcp-95.nix
··· 1 - { stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args: 2 2 let 3 3 mptcpVersion = "0.95"; 4 4 modDirVersion = "4.19.55"; ··· 9 9 10 10 extraMeta = { 11 11 branch = "4.19"; 12 - maintainers = with stdenv.lib.maintainers; [ teto layus ]; 12 + maintainers = with lib.maintainers; [ teto layus ]; 13 13 }; 14 14 15 15 src = fetchFromGitHub { ··· 19 19 sha256 = "04a66iq5vsiz8mkpszfxmqknz7y4w3lsckrcz6q1syjpk0pdyiyw"; 20 20 }; 21 21 22 - structuredExtraConfig = stdenv.lib.mkMerge [ 23 - (import ./mptcp-config.nix { inherit stdenv; }) 22 + structuredExtraConfig = lib.mkMerge [ 23 + (import ./mptcp-config.nix { inherit lib; }) 24 24 structuredExtraConfig 25 25 ]; 26 26
+2 -2
pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix
··· 1 - { stdenv, buildPackages, fetchFromGitHub, fetchpatch, perl, buildLinux, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchFromGitHub, fetchpatch, perl, buildLinux, ... } @ args: 2 2 3 3 buildLinux (args // { 4 4 version = "5.9.0-2020.11.20"; ··· 16 16 extraMeta = { 17 17 branch = "master"; 18 18 hydraPlatforms = []; # Should the testing kernels ever be built on Hydra? 19 - maintainers = with stdenv.lib.maintainers; [ davidak chiiruno ]; 19 + maintainers = with lib.maintainers; [ davidak chiiruno ]; 20 20 platforms = [ "x86_64-linux" ]; 21 21 }; 22 22
+2 -2
pkgs/os-specific/linux/kernel/linux-testing.nix
··· 1 - { stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 1 + { lib, stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildLinux (args // rec { 6 6 version = "5.11-rc3";
+2 -2
pkgs/os-specific/linux/kernel/linux-zen.nix
··· 1 - { stdenv, fetchFromGitHub, buildLinux, ... } @ args: 1 + { lib, stdenv, fetchFromGitHub, buildLinux, ... } @ args: 2 2 3 3 let 4 4 version = "5.10.6"; ··· 18 18 19 19 extraMeta = { 20 20 branch = "5.10/master"; 21 - maintainers = with stdenv.lib.maintainers; [ atemu andresilva ]; 21 + maintainers = with lib.maintainers; [ atemu andresilva ]; 22 22 description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads."; 23 23 }; 24 24
+20 -19
pkgs/os-specific/linux/kernel/manual-config.nix
··· 1 - { buildPackages, runCommand, nettools, bc, bison, flex, perl, rsync, gmp, libmpc, mpfr, openssl 1 + { lib, buildPackages, runCommand, nettools, bc, bison, flex, perl, rsync, gmp, libmpc, mpfr, openssl 2 2 , libelf, cpio, elfutils, zstd, gawk 3 3 , writeTextFile 4 4 }: ··· 14 14 echo "}" >> $out 15 15 '').outPath; 16 16 in { 17 + lib, 17 18 # Allow overriding stdenv on each buildLinux call 18 19 stdenv, 19 20 # The kernel version ··· 28 29 configfile, 29 30 # Manually specified nixexpr representing the config 30 31 # If unspecified, this will be autodetected from the .config 31 - config ? stdenv.lib.optionalAttrs allowImportFromDerivation (readConfig configfile), 32 + config ? lib.optionalAttrs allowImportFromDerivation (readConfig configfile), 32 33 # Custom seed used for CONFIG_GCC_PLUGIN_RANDSTRUCT if enabled. This is 33 34 # automatically extended with extra per-version and per-config values. 34 35 randstructSeed ? "", ··· 48 49 }: 49 50 50 51 let 51 - inherit (stdenv.lib) 52 + inherit (lib) 52 53 hasAttr getAttr optional optionals optionalString optionalAttrs maintainers platforms; 53 54 54 55 # Dependencies that are required to build kernel modules 55 - moduleBuildDependencies = optional (stdenv.lib.versionAtLeast version "4.14") libelf; 56 + moduleBuildDependencies = optional (lib.versionAtLeast version "4.14") libelf; 56 57 57 58 installkernel = writeTextFile { name = "installkernel"; executable=true; text = '' 58 59 #!${stdenv.shell} -e ··· 63 64 64 65 commonMakeFlags = [ 65 66 "O=$(buildRoot)" 66 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform.platform ? kernelMakeFlags) 67 + ] ++ lib.optionals (stdenv.hostPlatform.platform ? kernelMakeFlags) 67 68 stdenv.hostPlatform.platform.kernelMakeFlags; 68 69 69 70 drvAttrs = config_: platform: kernelPatches: configfile: ··· 88 89 89 90 installsFirmware = (config.isEnabled "FW_LOADER") && 90 91 (isModular || (config.isDisabled "FIRMWARE_IN_KERNEL")) && 91 - (stdenv.lib.versionOlder version "4.14"); 92 + (lib.versionOlder version "4.14"); 92 93 in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // { 93 94 passthru = { 94 95 inherit version modDirVersion config kernelPatches configfile 95 96 moduleBuildDependencies stdenv; 96 97 inherit isXen isZen isHardened isLibre; 97 - kernelOlder = stdenv.lib.versionOlder version; 98 - kernelAtLeast = stdenv.lib.versionAtLeast version; 98 + kernelOlder = lib.versionOlder version; 99 + kernelAtLeast = lib.versionAtLeast version; 99 100 }; 100 101 101 102 inherit src; ··· 103 104 patches = 104 105 map (p: p.patch) kernelPatches 105 106 # Required for deterministic builds along with some postPatch magic. 106 - ++ optional (stdenv.lib.versionAtLeast version "4.13") ./randstruct-provide-seed.patch 107 + ++ optional (lib.versionAtLeast version "4.13") ./randstruct-provide-seed.patch 107 108 # Fixes determinism by normalizing metadata for the archive of kheaders 108 - ++ optional (stdenv.lib.versionAtLeast version "5.2" && stdenv.lib.versionOlder version "5.4") ./gen-kheaders-metadata.patch; 109 + ++ optional (lib.versionAtLeast version "5.2" && lib.versionOlder version "5.4") ./gen-kheaders-metadata.patch; 109 110 110 111 prePatch = '' 111 112 for mf in $(find -name Makefile -o -name Makefile.include -o -name install.sh); do ··· 282 283 "The Linux kernel" + 283 284 (if kernelPatches == [] then "" else 284 285 " (with patches: " 285 - + stdenv.lib.concatStringsSep ", " (map (x: x.name) kernelPatches) 286 + + lib.concatStringsSep ", " (map (x: x.name) kernelPatches) 286 287 + ")"); 287 - license = stdenv.lib.licenses.gpl2; 288 + license = lib.licenses.gpl2; 288 289 homepage = "https://www.kernel.org/"; 289 290 repositories.git = "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"; 290 291 maintainers = [ ··· 296 297 }; 297 298 in 298 299 299 - assert (stdenv.lib.versionAtLeast version "4.14" && stdenv.lib.versionOlder version "5.8") -> libelf != null; 300 - assert stdenv.lib.versionAtLeast version "5.8" -> elfutils != null; 300 + assert (lib.versionAtLeast version "4.14" && lib.versionOlder version "5.8") -> libelf != null; 301 + assert lib.versionAtLeast version "5.8" -> elfutils != null; 301 302 302 303 stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.platform kernelPatches configfile) // { 303 304 pname = "linux"; ··· 308 309 depsBuildBuild = [ buildPackages.stdenv.cc ]; 309 310 nativeBuildInputs = [ perl bc nettools openssl rsync gmp libmpc mpfr gawk zstd ] 310 311 ++ optional (stdenv.hostPlatform.platform.kernelTarget == "uImage") buildPackages.ubootTools 311 - ++ optional (stdenv.lib.versionAtLeast version "4.14" && stdenv.lib.versionOlder version "5.8") libelf 312 + ++ optional (lib.versionAtLeast version "4.14" && lib.versionOlder version "5.8") libelf 312 313 # Removed util-linuxMinimal since it should not be a dependency. 313 - ++ optionals (stdenv.lib.versionAtLeast version "4.16") [ bison flex ] 314 - ++ optional (stdenv.lib.versionAtLeast version "5.2") cpio 315 - ++ optional (stdenv.lib.versionAtLeast version "5.8") elfutils 314 + ++ optionals (lib.versionAtLeast version "4.16") [ bison flex ] 315 + ++ optional (lib.versionAtLeast version "5.2") cpio 316 + ++ optional (lib.versionAtLeast version "5.8") elfutils 316 317 ; 317 318 318 319 hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" "pie" ]; ··· 322 323 "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" 323 324 "HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc" 324 325 "ARCH=${stdenv.hostPlatform.platform.kernelArch}" 325 - ] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 326 + ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 326 327 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 327 328 ]; 328 329
+2 -2
pkgs/os-specific/linux/kernel/mptcp-config.nix
··· 1 - { stdenv }: 2 - with stdenv.lib.kernel; 1 + { lib }: 2 + with lib.kernel; 3 3 { 4 4 # DRM_AMDGPU = yes; 5 5
+3 -3
pkgs/os-specific/linux/kernel/perf.nix
··· 41 41 buildInputs = [ 42 42 elfutils newt slang libunwind libbfd zlib openssl systemtap.stapBuild numactl 43 43 libopcodes python3 perl 44 - ] ++ stdenv.lib.optional withGtk gtk2 44 + ] ++ lib.optional withGtk gtk2 45 45 ++ (if (versionAtLeast kernel.version "4.19") then [ python3 ] else [ python2 ]); 46 46 47 47 # Note: we don't add elfutils to buildInputs, since it provides a ··· 72 72 meta = { 73 73 homepage = "https://perf.wiki.kernel.org/"; 74 74 description = "Linux tools to profile with performance counters"; 75 - maintainers = with stdenv.lib.maintainers; [viric]; 76 - platforms = with stdenv.lib.platforms; linux; 75 + maintainers = with lib.maintainers; [viric]; 76 + platforms = with lib.platforms; linux; 77 77 }; 78 78 }
+1 -1
pkgs/os-specific/linux/keyutils/default.nix
··· 23 23 ./conf-symlink.patch 24 24 ]; 25 25 26 - makeFlags = stdenv.lib.optionals stdenv.hostPlatform.isStatic "NO_SOLIB=1"; 26 + makeFlags = lib.optionals stdenv.hostPlatform.isStatic "NO_SOLIB=1"; 27 27 28 28 BUILDDATE = "1970-01-01"; 29 29 outputs = [ "out" "lib" "dev" ];
+2 -2
pkgs/os-specific/linux/klibc/default.nix
··· 29 29 "KLIBCKERNELSRC=${linuxHeaders}" 30 30 ] # TODO(@Ericson2314): We now can get the ABI from 31 31 # `stdenv.hostPlatform.parsed.abi`, is this still a good idea? 32 - ++ stdenv.lib.optional (stdenv.hostPlatform.platform.kernelArch == "arm") "CONFIG_AEABI=y" 33 - ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "CROSS_COMPILE=${stdenv.cc.targetPrefix}"; 32 + ++ lib.optional (stdenv.hostPlatform.platform.kernelArch == "arm") "CONFIG_AEABI=y" 33 + ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "CROSS_COMPILE=${stdenv.cc.targetPrefix}"; 34 34 35 35 # Install static binaries as well. 36 36 postInstall = ''
+4 -4
pkgs/os-specific/linux/latencytop/default.nix
··· 1 - { stdenv, fetchurl, ncurses, glib, pkgconfig, gtk2 }: 1 + { lib, stdenv, fetchurl, ncurses, glib, pkgconfig, gtk2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "latencytop-0.5"; ··· 18 18 meta = { 19 19 homepage = "http://latencytop.org"; 20 20 description = "Tool to show kernel reports on latencies (LATENCYTOP option)"; 21 - license = stdenv.lib.licenses.gpl2; 22 - maintainers = [ stdenv.lib.maintainers.viric ]; 23 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.gpl2; 22 + maintainers = [ lib.maintainers.viric ]; 23 + platforms = lib.platforms.linux; 24 24 }; 25 25 }
+3 -3
pkgs/os-specific/linux/ldm/default.nix
··· 1 - { stdenv, fetchgit, udev, util-linux, mountPath ? "/media/" }: 1 + { lib, stdenv, fetchgit, udev, util-linux, mountPath ? "/media/" }: 2 2 3 3 assert mountPath != ""; 4 4 ··· 35 35 36 36 meta = { 37 37 description = "A lightweight device mounter, with libudev as only dependency"; 38 - license = stdenv.lib.licenses.mit; 38 + license = lib.licenses.mit; 39 39 40 - platforms = stdenv.lib.platforms.linux; 40 + platforms = lib.platforms.linux; 41 41 repositories.git = git; 42 42 }; 43 43 }
+5 -5
pkgs/os-specific/linux/libaio/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch }: 1 + { lib, stdenv, fetchurl, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.3.112"; ··· 21 21 "prefix=${placeholder ''out''}" 22 22 ]; 23 23 24 - hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector"; 24 + hardeningDisable = lib.optional (stdenv.isi686) "stackprotector"; 25 25 26 26 checkTarget = "partcheck"; # "check" needs root 27 27 28 28 meta = { 29 29 description = "Library for asynchronous I/O in Linux"; 30 30 homepage = "http://lse.sourceforge.net/io/aio.html"; 31 - platforms = stdenv.lib.platforms.linux; 32 - license = stdenv.lib.licenses.lgpl21; 33 - maintainers = with stdenv.lib.maintainers; [ ]; 31 + platforms = lib.platforms.linux; 32 + license = lib.licenses.lgpl21; 33 + maintainers = with lib.maintainers; [ ]; 34 34 }; 35 35 }
+2 -2
pkgs/os-specific/linux/libcap-ng/default.nix
··· 1 - { stdenv, fetchurl, swig ? null, python2 ? null, python3 ? null }: 1 + { lib, stdenv, fetchurl, swig ? null, python2 ? null, python3 ? null }: 2 2 3 3 assert python2 != null || python3 != null -> swig != null; 4 4 ··· 30 30 (if python3 != null then "--with-python3" else "--without-python3") 31 31 ]; 32 32 33 - meta = let inherit (stdenv.lib) platforms licenses; in { 33 + meta = let inherit (lib) platforms licenses; in { 34 34 description = "Library for working with POSIX capabilities"; 35 35 homepage = "https://people.redhat.com/sgrubb/libcap-ng/"; 36 36 platforms = platforms.linux;
+3 -3
pkgs/os-specific/linux/libcap/default.nix
··· 55 55 ${lib.optionalString (!isStatic) ''rm "$lib"/lib/*.a''} 56 56 mkdir -p "$doc/share/doc/${pname}-${version}" 57 57 cp License "$doc/share/doc/${pname}-${version}/" 58 - '' + stdenv.lib.optionalString usePam '' 58 + '' + lib.optionalString usePam '' 59 59 mkdir -p "$pam/lib/security" 60 60 mv "$lib"/lib/security "$pam/lib" 61 61 ''; ··· 63 63 meta = { 64 64 description = "Library for working with POSIX capabilities"; 65 65 homepage = "https://sites.google.com/site/fullycapable"; 66 - platforms = stdenv.lib.platforms.linux; 67 - license = stdenv.lib.licenses.bsd3; 66 + platforms = lib.platforms.linux; 67 + license = lib.licenses.bsd3; 68 68 }; 69 69 }
+4 -4
pkgs/os-specific/linux/libcgroup/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, pam, yacc, flex }: 1 + { lib, stdenv, fetchurl, fetchpatch, pam, yacc, flex }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libcgroup"; ··· 27 27 meta = { 28 28 description = "Library and tools to manage Linux cgroups"; 29 29 homepage = "http://libcg.sourceforge.net/"; 30 - license = stdenv.lib.licenses.lgpl2; 31 - platforms = stdenv.lib.platforms.linux; 32 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 30 + license = lib.licenses.lgpl2; 31 + platforms = lib.platforms.linux; 32 + maintainers = [ lib.maintainers.thoughtpolice ]; 33 33 }; 34 34 }
+3 -3
pkgs/os-specific/linux/libselinux/default.nix
··· 1 - { stdenv, fetchurl, pcre, pkgconfig, libsepol 1 + { lib, stdenv, fetchurl, pcre, pkgconfig, libsepol 2 2 , enablePython ? true, swig ? null, python3 ? null 3 3 , fts 4 4 }: 5 5 6 6 assert enablePython -> swig != null && python3 != null; 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "libselinux"; ··· 40 40 "SBINDIR=$(bin)/sbin" 41 41 "SHLIBDIR=$(out)/lib" 42 42 43 - "LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" 43 + "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a" 44 44 ]; 45 45 46 46 preInstall = ''
+3 -3
pkgs/os-specific/linux/libsemanage/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, bison, flex, libsepol, libselinux, bzip2, audit 1 + { lib, stdenv, fetchurl, pkgconfig, bison, flex, libsepol, libselinux, bzip2, audit 2 2 , enablePython ? true, swig ? null, python ? null 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "libsemanage"; ··· 34 34 35 35 meta = removeAttrs libsepol.meta ["outputsToInstall"] // { 36 36 description = "Policy management tools for SELinux"; 37 - license = stdenv.lib.licenses.lgpl21; 37 + license = lib.licenses.lgpl21; 38 38 }; 39 39 }
+1 -1
pkgs/os-specific/linux/libsepol/default.nix
··· 34 34 homepage = "http://userspace.selinuxproject.org"; 35 35 platforms = platforms.linux; 36 36 maintainers = [ maintainers.phreedom ]; 37 - license = stdenv.lib.licenses.gpl2; 37 + license = lib.licenses.gpl2; 38 38 }; 39 39 }
+4 -4
pkgs/os-specific/linux/light/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, coreutils }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, coreutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.2.2"; ··· 24 24 meta = { 25 25 description = "GNU/Linux application to control backlights"; 26 26 homepage = "https://haikarainen.github.io/light/"; 27 - license = stdenv.lib.licenses.gpl3; 28 - maintainers = with stdenv.lib.maintainers; [ puffnfresh dtzWill ]; 29 - platforms = stdenv.lib.platforms.linux; 27 + license = lib.licenses.gpl3; 28 + maintainers = with lib.maintainers; [ puffnfresh dtzWill ]; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+4 -4
pkgs/os-specific/linux/lightum/default.nix
··· 1 - { stdenv, fetchgit, libX11, libXScrnSaver, libXext, glib, dbus, pkgconfig, systemd }: 1 + { lib, stdenv, fetchgit, libX11, libXScrnSaver, libXext, glib, dbus, pkgconfig, systemd }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "lightum-2014-06-07"; ··· 31 31 meta = { 32 32 description = "MacBook automatic light sensor daemon"; 33 33 homepage = "https://github.com/poliva/lightum"; 34 - license = stdenv.lib.licenses.gpl2; 35 - maintainers = with stdenv.lib.maintainers; [ puffnfresh ]; 36 - platforms = stdenv.lib.platforms.linux; 34 + license = lib.licenses.gpl2; 35 + maintainers = with lib.maintainers; [ puffnfresh ]; 36 + platforms = lib.platforms.linux; 37 37 }; 38 38 }
+3 -3
pkgs/os-specific/linux/lm-sensors/default.nix
··· 7 7 stdenv.mkDerivation rec { 8 8 pname = "lm-sensors"; 9 9 version = "3.6.0"; 10 - dashedVersion = stdenv.lib.replaceStrings ["."] ["-"] version; 10 + dashedVersion = lib.replaceStrings ["."] ["-"] version; 11 11 12 12 src = fetchzip { 13 13 url = "https://github.com/lm-sensors/lm-sensors/archive/V${dashedVersion}.tar.gz"; ··· 16 16 17 17 nativeBuildInputs = [ bison flex which ]; 18 18 buildInputs = [ perl ] 19 - ++ stdenv.lib.optional sensord rrdtool; 19 + ++ lib.optional sensord rrdtool; 20 20 21 21 makeFlags = [ 22 22 "PREFIX=${placeholder "out"}" 23 23 "ETCDIR=${placeholder "out"}/etc" 24 24 "CC=${stdenv.cc.targetPrefix}cc" 25 25 "AR=${stdenv.cc.targetPrefix}ar" 26 - ] ++ stdenv.lib.optional sensord "PROG_EXTRA=sensord"; 26 + ] ++ lib.optional sensord "PROG_EXTRA=sensord"; 27 27 28 28 meta = with lib; { 29 29 homepage = "https://hwmon.wiki.kernel.org/lm_sensors";
+4 -4
pkgs/os-specific/linux/lockdep/default.nix
··· 1 - { stdenv, fetchurl, bash, flex, bison, valgrind }: 1 + { lib, stdenv, fetchurl, bash, flex, bison, valgrind }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lockdep"; ··· 54 54 meta = { 55 55 description = "Userspace locking validation tool built on the Linux kernel"; 56 56 homepage = "https://kernel.org/"; 57 - license = stdenv.lib.licenses.gpl2; 58 - platforms = stdenv.lib.platforms.linux; 59 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 57 + license = lib.licenses.gpl2; 58 + platforms = lib.platforms.linux; 59 + maintainers = [ lib.maintainers.thoughtpolice ]; 60 60 }; 61 61 }
+5 -5
pkgs/os-specific/linux/lsiutil/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 let 4 4 ··· 8 8 name = "lsiutil-${version}.zip"; 9 9 url = "http://www.lsi.com/DistributionSystem/AssetDocument/support/downloads/hbas/fibre_channel/hardware_drivers/LSIUtil%20Kit_${version}.zip"; 10 10 sha256 = "1d4337faa56e24f7d98db87b9de94d6e2c17ab671f4e301b93833eea08b9e426"; 11 - }; 11 + }; 12 12 13 13 in 14 14 15 15 stdenv.mkDerivation { 16 16 pname = "lsiutils"; 17 17 inherit version; 18 - 18 + 19 19 srcs = [ src "Source/lsiutil.tar.gz" ]; 20 20 21 21 buildInputs = [ unzip ]; ··· 32 32 ''; 33 33 34 34 installPhase = "true"; 35 - 35 + 36 36 meta = { 37 37 homepage = "http://www.lsi.com/"; 38 38 description = "LSI Logic Fusion MPT command line management tool"; 39 - license = stdenv.lib.licenses.unfree; 39 + license = lib.licenses.unfree; 40 40 }; 41 41 }
+11 -11
pkgs/os-specific/linux/lvm2/default.nix
··· 15 15 assert enableDmeventd -> enableCmdlib; 16 16 17 17 stdenv.mkDerivation rec { 18 - pname = "lvm2" + stdenv.lib.optionalString enableDmeventd "with-dmeventd"; 18 + pname = "lvm2" + lib.optionalString enableDmeventd "with-dmeventd"; 19 19 version = "2.03.10"; 20 20 21 21 src = fetchurl { ··· 32 32 "--with-default-locking-dir=/run/lock/lvm" 33 33 "--with-default-run-dir=/run/lvm" 34 34 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" 35 - ] ++ stdenv.lib.optionals (!enableCmdlib) [ 35 + ] ++ lib.optionals (!enableCmdlib) [ 36 36 "--bindir=${placeholder "bin"}/bin" 37 37 "--sbindir=${placeholder "bin"}/bin" 38 38 "--libdir=${placeholder "lib"}/lib" 39 - ] ++ stdenv.lib.optional enableCmdlib "--enable-cmdlib" 40 - ++ stdenv.lib.optionals enableDmeventd [ 39 + ] ++ lib.optional enableCmdlib "--enable-cmdlib" 40 + ++ lib.optionals enableDmeventd [ 41 41 "--enable-dmeventd" 42 42 "--with-dmeventd-pidfile=/run/dmeventd/pid" 43 43 "--with-default-dm-run-dir=/run/dmeventd" 44 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 44 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 45 45 "ac_cv_func_malloc_0_nonnull=yes" 46 46 "ac_cv_func_realloc_0_nonnull=yes" 47 47 ] ++ 48 - stdenv.lib.optionals (udev != null) [ 48 + lib.optionals (udev != null) [ 49 49 "--enable-udev_rules" 50 50 "--enable-udev_sync" 51 51 ]; ··· 68 68 ''; 69 69 70 70 71 - patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [ 71 + patches = lib.optionals stdenv.hostPlatform.isMusl [ 72 72 (fetchpatch { 73 73 name = "fix-stdio-usage.patch"; 74 74 url = "https://git.alpinelinux.org/aports/plain/main/lvm2/fix-stdio-usage.patch?h=3.7-stable&id=31bd4a8c2dc00ae79a821f6fe0ad2f23e1534f50"; ··· 88 88 89 89 doCheck = false; # requires root 90 90 91 - makeFlags = stdenv.lib.optionals (udev != null) [ 91 + makeFlags = lib.optionals (udev != null) [ 92 92 "SYSTEMD_GENERATOR_DIR=$(out)/lib/systemd/system-generators" 93 93 ]; 94 94 ··· 96 96 installFlags = [ "OWNER=" "GROUP=" "confdir=$(out)/etc" ]; 97 97 98 98 # Install systemd stuff. 99 - installTargets = [ "install" ] ++ stdenv.lib.optionals (udev != null) [ 99 + installTargets = [ "install" ] ++ lib.optionals (udev != null) [ 100 100 "install_systemd_generators" 101 101 "install_systemd_units" 102 102 "install_tmpfiles_configuration" ··· 107 107 "out" 108 108 "dev" 109 109 "man" 110 - ] ++ stdenv.lib.optionals (enableCmdlib != true) [ 110 + ] ++ lib.optionals (enableCmdlib != true) [ 111 111 "bin" 112 112 "lib" 113 113 ]; 114 114 115 - postInstall = stdenv.lib.optionalString (enableCmdlib != true) '' 115 + postInstall = lib.optionalString (enableCmdlib != true) '' 116 116 moveToOutput lib/libdevmapper.so $lib 117 117 ''; 118 118
+2 -2
pkgs/os-specific/linux/lxc/default.nix
··· 1 - { stdenv, fetchurl, autoreconfHook, pkgconfig, perl, docbook2x 1 + { lib, stdenv, fetchurl, autoreconfHook, pkgconfig, perl, docbook2x 2 2 , docbook_xml_dtd_45, python3Packages, pam 3 3 4 4 # Optional Dependencies ··· 6 6 , libcap ? null, systemd ? null 7 7 }: 8 8 9 - with stdenv.lib; 9 + with lib; 10 10 stdenv.mkDerivation rec { 11 11 pname = "lxc"; 12 12 version = "4.0.5";
+3 -3
pkgs/os-specific/linux/lxcfs/default.nix
··· 1 - { config, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse 1 + { config, lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse 2 2 , util-linux, makeWrapper 3 3 , enableDebugBuild ? config.lxcfs.enableDebugBuild or false }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 stdenv.mkDerivation rec { 7 7 pname = "lxcfs"; 8 8 version = "4.0.6"; ··· 17 17 nativeBuildInputs = [ pkgconfig help2man autoreconfHook ]; 18 18 buildInputs = [ fuse makeWrapper ]; 19 19 20 - preConfigure = stdenv.lib.optionalString enableDebugBuild '' 20 + preConfigure = lib.optionalString enableDebugBuild '' 21 21 sed -i 's,#AM_CFLAGS += -DDEBUG,AM_CFLAGS += -DDEBUG,' Makefile.am 22 22 ''; 23 23
+1 -1
pkgs/os-specific/linux/mdadm/default.nix
··· 15 15 "SYSTEMD_DIR=$(out)/lib/systemd/system" 16 16 "MANDIR=$(out)/share/man" "RUN_DIR=/dev/.mdadm" 17 17 "STRIP=" 18 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 18 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 19 19 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 20 20 ]; 21 21
+1 -1
pkgs/os-specific/linux/multipath-tools/default.nix
··· 16 16 ]; 17 17 18 18 postPatch = '' 19 - substituteInPlace libmultipath/Makefile --replace /usr/include/libdevmapper.h ${stdenv.lib.getDev lvm2}/include/libdevmapper.h 19 + substituteInPlace libmultipath/Makefile --replace /usr/include/libdevmapper.h ${lib.getDev lvm2}/include/libdevmapper.h 20 20 sed -i -re ' 21 21 s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'", 22 22 ' libmultipath/defaults.h
+2 -2
pkgs/os-specific/linux/mwprocapture/default.nix
··· 1 - { stdenv, fetchurl, kernel, alsaLib }: 1 + { lib, stdenv, fetchurl, kernel, alsaLib }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 # The Magewell Pro Capture drivers are not supported for kernels older than 3.2 6 6 assert versionAtLeast kernel.version "3.2.0";
+2 -2
pkgs/os-specific/linux/ndiswrapper/default.nix
··· 1 - { stdenv, fetchurl, kernel, perl, kmod, libelf }: 1 + { lib, stdenv, fetchurl, kernel, perl, kmod, libelf }: 2 2 let 3 3 version = "1.63"; 4 4 in ··· 41 41 homepage = "https://sourceforge.net/projects/ndiswrapper"; 42 42 license = "GPL"; 43 43 platforms = [ "i686-linux" "x86_64-linux" ]; 44 - broken = stdenv.lib.versionAtLeast kernel.version "5.8"; 44 + broken = lib.versionAtLeast kernel.version "5.8"; 45 45 }; 46 46 }
+3 -3
pkgs/os-specific/linux/net-tools/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "net-tools"; ··· 29 29 meta = { 30 30 homepage = "http://net-tools.sourceforge.net/"; 31 31 description = "A set of tools for controlling the network subsystem in Linux"; 32 - license = stdenv.lib.licenses.gpl2Plus; 33 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.gpl2Plus; 33 + platforms = lib.platforms.linux; 34 34 }; 35 35 }
+4 -4
pkgs/os-specific/linux/netatop/default.nix
··· 1 - { stdenv, fetchurl, kernel, zlib }: 1 + { lib, stdenv, fetchurl, kernel, zlib }: 2 2 3 3 let 4 4 version = "3.1"; ··· 36 36 meta = { 37 37 description = "Network monitoring module for atop"; 38 38 homepage = "https://www.atoptool.nl/downloadnetatop.php"; 39 - license = stdenv.lib.licenses.gpl2; 40 - platforms = stdenv.lib.platforms.linux; 41 - maintainers = with stdenv.lib.maintainers; [viric]; 39 + license = lib.licenses.gpl2; 40 + platforms = lib.platforms.linux; 41 + maintainers = with lib.maintainers; [viric]; 42 42 }; 43 43 }
+2 -2
pkgs/os-specific/linux/nftables/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, bison, file, flex 1 + { lib, stdenv, fetchurl, pkgconfig, bison, file, flex 2 2 , asciidoc, libxslt, findXMLCatalogs, docbook_xml_dtd_45, docbook_xsl 3 3 , libmnl, libnftnl, libpcap 4 4 , gmp, jansson, readline ··· 7 7 , withXtables ? false , iptables 8 8 }: 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 stdenv.mkDerivation rec { 13 13 version = "0.9.7";
+1 -1
pkgs/os-specific/linux/nvidia-x11/default.nix
··· 94 94 ''; 95 95 in applyPatches [ "fix-typos" ]; 96 96 patches = maybePatch_drm_legacy; 97 - broken = stdenv.lib.versionAtLeast kernel.version "4.18"; 97 + broken = lib.versionAtLeast kernel.version "4.18"; 98 98 }; 99 99 }
+1 -1
pkgs/os-specific/linux/nvidia-x11/generic.nix
··· 27 27 disable32Bit ? false 28 28 }: 29 29 30 - with stdenv.lib; 30 + with lib; 31 31 32 32 assert !libsOnly -> kernel != null; 33 33 assert versionOlder version "391" -> sha256_32bit != null;
+3 -3
pkgs/os-specific/linux/open-isns/default.nix
··· 1 - { stdenv, openssl, fetchFromGitHub }: 1 + { lib, stdenv, openssl, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "open-isns"; ··· 22 22 23 23 meta = { 24 24 description = "iSNS server and client for Linux"; 25 - license = stdenv.lib.licenses.lgpl21; 25 + license = lib.licenses.lgpl21; 26 26 homepage = "https://github.com/gonzoleeman/open-isns"; 27 - platforms = stdenv.lib.platforms.linux; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+2 -2
pkgs/os-specific/linux/opengl/xorg-sys/default.nix
··· 6 6 # Of course, use of the driver in /usr/lib is highly impure. But it 7 7 # might actually work ;-) 8 8 9 - {stdenv, xorg, expat, libdrm}: 9 + {lib, stdenv, xorg, expat, libdrm}: 10 10 11 11 stdenv.mkDerivation { 12 12 name = "xorg-sys-opengl-3"; ··· 15 15 [xorg.libXxf86vm xorg.libXext expat libdrm stdenv.cc.cc]; 16 16 17 17 meta = { 18 - platforms = stdenv.lib.platforms.linux; 18 + platforms = lib.platforms.linux; 19 19 }; 20 20 }
+1 -1
pkgs/os-specific/linux/openvswitch/default.nix
··· 2 2 , procps, libcap_ng, openssl, python3 , perl 3 3 , kernel ? null }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 let 8 8 _kernel = kernel;
+1 -1
pkgs/os-specific/linux/openvswitch/lts.nix
··· 2 2 , procps, libcap_ng, openssl, python2, iproute , perl 3 3 , automake, autoconf, libtool, kernel ? null }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 let 8 8 _kernel = kernel;
+3 -3
pkgs/os-specific/linux/otpw/default.nix
··· 1 - { stdenv, fetchurl, pam }: 1 + { lib, stdenv, fetchurl, pam }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "otpw-1.3"; ··· 29 29 meta = { 30 30 homepage = "http://www.cl.cam.ac.uk/~mgk25/otpw.html"; 31 31 description = "A one-time password login package"; 32 - license = stdenv.lib.licenses.gpl2Plus; 33 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.gpl2Plus; 33 + platforms = lib.platforms.linux; 34 34 }; 35 35 }
+2 -2
pkgs/os-specific/linux/pam/default.nix
··· 11 11 sha256 = "sha256-IB1AcwsRNbGzzeoJ8sKKxjTXMYHM0Bcs7d7jZJxXkvw="; 12 12 }; 13 13 14 - patches = stdenv.lib.optionals (stdenv.hostPlatform.libc == "musl") [ 14 + patches = lib.optionals (stdenv.hostPlatform.libc == "musl") [ 15 15 (fetchpatch { 16 16 url = "https://git.alpinelinux.org/aports/plain/main/linux-pam/fix-compat.patch?id=05a62bda8ec255d7049a2bd4cf0fdc4b32bdb2cc"; 17 17 sha256 = "1h5yp5h2mqp1fcwiwwklyfpa69a3i03ya32pivs60fd7g5bqa7sf"; ··· 46 46 # which is done by dlopening $out/lib/security/pam_foo.so 47 47 # $out/etc was also missed: pam_env(login:session): Unable to open config file 48 48 49 - preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform.libc == "musl") '' 49 + preConfigure = lib.optionalString (stdenv.hostPlatform.libc == "musl") '' 50 50 # export ac_cv_search_crypt=no 51 51 # (taken from Alpine linux, apparently insecure but also doesn't build O:)) 52 52 # disable insecure modules
+3 -3
pkgs/os-specific/linux/pam_ssh_agent_auth/default.nix
··· 1 - { stdenv, fetchpatch, fetchFromGitHub, pam, openssl, perl }: 1 + { lib, stdenv, fetchpatch, fetchFromGitHub, pam, openssl, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pam_ssh_agent_auth"; ··· 49 49 meta = { 50 50 homepage = "https://github.com/jbeverly/pam_ssh_agent_auth"; 51 51 description = "PAM module for authentication through the SSH agent"; 52 - maintainers = [ stdenv.lib.maintainers.eelco ]; 53 - platforms = stdenv.lib.platforms.linux; 52 + maintainers = [ lib.maintainers.eelco ]; 53 + platforms = lib.platforms.linux; 54 54 }; 55 55 }
+3 -3
pkgs/os-specific/linux/pam_usb/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, dbus, libxml2, pam, pkgconfig, pmount, pythonPackages, writeScript, runtimeShell }: 1 + { lib, stdenv, fetchurl, makeWrapper, dbus, libxml2, pam, pkgconfig, pmount, pythonPackages, writeScript, runtimeShell }: 2 2 3 3 let 4 4 ··· 70 70 meta = { 71 71 homepage = "http://pamusb.org/"; 72 72 description = "Authentication using USB Flash Drives"; 73 - license = stdenv.lib.licenses.gpl2; 74 - platforms = stdenv.lib.platforms.linux; 73 + license = lib.licenses.gpl2; 74 + platforms = lib.platforms.linux; 75 75 }; 76 76 }
+2 -2
pkgs/os-specific/linux/pcmciautils/default.nix
··· 49 49 the PCMCIA subsystem to behave (almost) as every other 50 50 hotpluggable bus system. 51 51 "; 52 - license = stdenv.lib.licenses.gpl2; 53 - platforms = stdenv.lib.platforms.linux; 52 + license = lib.licenses.gpl2; 53 + platforms = lib.platforms.linux; 54 54 }; 55 55 }
+2 -2
pkgs/os-specific/linux/phc-intel/default.nix
··· 1 1 { lib, stdenv, fetchurl, kernel, which }: 2 2 3 3 # Don't bother with older versions, though some might even work: 4 - assert stdenv.lib.versionAtLeast kernel.version "4.10"; 4 + assert lib.versionAtLeast kernel.version "4.10"; 5 5 6 6 let 7 7 release = "0.4.0"; ··· 48 48 downloadPage = "http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267"; 49 49 license = licenses.gpl2; 50 50 platforms = [ "x86_64-linux" "i686-linux" ]; 51 - broken = stdenv.lib.versionAtLeast kernel.version "4.18"; 51 + broken = lib.versionAtLeast kernel.version "4.18"; 52 52 }; 53 53 }
+2 -2
pkgs/os-specific/linux/pktgen/default.nix
··· 16 16 17 17 buildInputs = 18 18 [ dpdk libbsd libpcap lua5_3 numactl which ] 19 - ++ stdenv.lib.optionals withGtk [gtk2]; 19 + ++ lib.optionals withGtk [gtk2]; 20 20 21 21 RTE_SDK = dpdk; 22 - GUI = stdenv.lib.optionalString withGtk "true"; 22 + GUI = lib.optionalString withGtk "true"; 23 23 24 24 NIX_CFLAGS_COMPILE = "-msse3"; 25 25
+1 -1
pkgs/os-specific/linux/ply/default.nix
··· 1 1 { lib, stdenv, kernel, fetchFromGitHub, autoreconfHook, yacc, flex, p7zip, rsync }: 2 2 3 - assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "4.0"; 3 + assert kernel != null -> lib.versionAtLeast kernel.version "4.0"; 4 4 5 5 let 6 6 version = "1.0.beta1-9e810b1";
+5 -5
pkgs/os-specific/linux/pm-utils/default.nix
··· 1 - { stdenv, fetchurl, coreutils, gnugrep, util-linux, kmod 1 + { lib, stdenv, fetchurl, coreutils, gnugrep, util-linux, kmod 2 2 , procps, kbd, dbus }: 3 3 4 4 let 5 5 6 - binPath = stdenv.lib.makeBinPath 6 + binPath = lib.makeBinPath 7 7 [ coreutils gnugrep util-linux kmod procps kbd dbus ]; 8 8 9 - sbinPath = stdenv.lib.makeSearchPathOutput "bin" "sbin" 9 + sbinPath = lib.makeSearchPathOutput "bin" "sbin" 10 10 [ procps ]; 11 11 12 12 in ··· 49 49 meta = { 50 50 homepage = "https://pm-utils.freedesktop.org/wiki/"; 51 51 description = "A small collection of scripts that handle suspend and resume on behalf of HAL"; 52 - license = stdenv.lib.licenses.gpl2; 53 - platforms = stdenv.lib.platforms.linux; 52 + license = lib.licenses.gpl2; 53 + platforms = lib.platforms.linux; 54 54 }; 55 55 }
+4 -4
pkgs/os-specific/linux/pmount/default.nix
··· 1 - { stdenv, fetchurl, intltool, ntfs3g, util-linux 1 + { lib, stdenv, fetchurl, intltool, ntfs3g, util-linux 2 2 , mediaDir ? "/media/" 3 3 , lockDir ? "/var/lock/pmount" 4 4 , whiteList ? "/etc/pmount.allow" 5 5 }: 6 6 7 7 # constraint mention in the configure.ac 8 - assert stdenv.lib.hasSuffix "/" mediaDir; 8 + assert lib.hasSuffix "/" mediaDir; 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "pmount"; ··· 39 39 meta = { 40 40 homepage = "https://bazaar.launchpad.net/~fourmond/pmount/main/files"; 41 41 description = "Mount removable devices as normal user"; 42 - license = stdenv.lib.licenses.gpl2; 43 - platforms = stdenv.lib.platforms.linux; 42 + license = lib.licenses.gpl2; 43 + platforms = lib.platforms.linux; 44 44 }; 45 45 }
+2 -2
pkgs/os-specific/linux/pommed-light/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , pciutils 4 4 , libconfuse ··· 60 60 ''; 61 61 homepage = "https://github.com/bytbox/pommed-light"; 62 62 platforms = [ "x86_64-linux" ]; 63 - license = stdenv.lib.licenses.gpl2; 63 + license = lib.licenses.gpl2; 64 64 }; 65 65 }
+1 -1
pkgs/os-specific/linux/powertop/default.nix
··· 14 14 nativeBuildInputs = [ pkgconfig ]; 15 15 buildInputs = [ gettext libnl ncurses pciutils zlib ]; 16 16 17 - patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ( 17 + patches = lib.optional stdenv.hostPlatform.isMusl ( 18 18 fetchpatch { 19 19 name = "strerror_r.patch"; 20 20 url = "https://git.alpinelinux.org/aports/plain/main/powertop/strerror_r.patch?id=3b9214d436f1611f297b01f72469d66bfe729d6e";
+2 -2
pkgs/os-specific/linux/pps-tools/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "pps-tools"; ··· 24 24 rm -rf $out/usr/ 25 25 ''; 26 26 27 - meta = with stdenv.lib;{ 27 + meta = with lib;{ 28 28 description = "User-space tools for LinuxPPS"; 29 29 homepage = "http://linuxpps.org/"; 30 30 license = licenses.gpl2Plus;
+1 -1
pkgs/os-specific/linux/prl-tools/default.nix
··· 64 64 ''; 65 65 66 66 libPath = with xorg; 67 - stdenv.lib.makeLibraryPath ([ stdenv.cc.cc libXrandr libXext libX11 libXcomposite libXinerama ] 67 + lib.makeLibraryPath ([ stdenv.cc.cc libXrandr libXext libX11 libXcomposite libXinerama ] 68 68 ++ lib.optionals (!libsOnly) [ libXi glib dbus-glib zlib ]); 69 69 70 70
+1 -1
pkgs/os-specific/linux/psmisc/default.nix
··· 14 14 nativeBuildInputs = [ autoconf automake gettext ]; 15 15 buildInputs = [ ncurses ]; 16 16 17 - preConfigure = stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 17 + preConfigure = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 18 18 # Goes past the rpl_malloc linking failure 19 19 export ac_cv_func_malloc_0_nonnull=yes 20 20 export ac_cv_func_realloc_0_nonnull=yes
+6 -4
pkgs/os-specific/linux/r8125/default.nix
··· 4 4 pname = "r8125"; 5 5 # On update please verify (using `diff -r`) that the source matches the 6 6 # realtek version. 7 - version = "9.003.05"; 7 + version = "9.004.01"; 8 8 9 9 # This is a mirror. The original website[1] doesn't allow non-interactive 10 10 # downloads, instead emailing you a download link. 11 11 # [1] https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software 12 12 src = fetchFromGitHub { 13 - owner = "ibmibmibm"; 13 + owner = "louistakepillz"; 14 14 repo = "r8125"; 15 15 rev = version; 16 - sha256 = "016vh997xjs01si0zzs572vgflq3czxd0v4m7h1m3qxcv2cvq7i0"; 16 + sha256 = "0h2y4mzydhc7var5281bk2jj1knig6i64k11ii4b94az3g9dbq24"; 17 17 }; 18 18 19 19 hardeningDisable = [ "pic" ]; ··· 32 32 buildFlags = [ "modules" ]; 33 33 34 34 meta = with lib; { 35 - homepage = "https://github.com/ibmibmibm/r8125"; 35 + homepage = "https://github.com/louistakepillz/r8125"; 36 36 downloadPage = "https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software"; 37 37 description = "Realtek r8125 driver"; 38 38 longDescription = '' 39 39 A kernel module for Realtek 8125 2.5G network cards. 40 40 ''; 41 + # r8125 has been integrated into the kernel as of v5.9.1 42 + broken = lib.versionAtLeast kernel.version "5.9.1"; 41 43 license = licenses.gpl2Plus; 42 44 platforms = platforms.linux; 43 45 maintainers = with maintainers; [ peelz ];
+3 -3
pkgs/os-specific/linux/roccat-tools/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, gettext 1 + { lib, stdenv, fetchurl, cmake, pkgconfig, gettext 2 2 , dbus, dbus-glib, libgaminggear, libgudev, lua 3 3 , harfbuzz 4 4 }: ··· 36 36 meta = { 37 37 description = "Tools to configure ROCCAT devices"; 38 38 homepage = "http://roccat.sourceforge.net/"; 39 - platforms = stdenv.lib.platforms.linux; 40 - license = stdenv.lib.licenses.gpl2Plus; 39 + platforms = lib.platforms.linux; 40 + license = lib.licenses.gpl2Plus; 41 41 }; 42 42 }
+2 -2
pkgs/os-specific/linux/rtl8192eu/default.nix
··· 34 34 meta = { 35 35 description = "Realtek rtl8192eu driver"; 36 36 homepage = "https://github.com/Mange/rtl8192eu-linux-driver"; 37 - license = stdenv.lib.licenses.gpl2; 38 - platforms = stdenv.lib.platforms.linux; 37 + license = lib.licenses.gpl2; 38 + platforms = lib.platforms.linux; 39 39 maintainers = with maintainers; [ troydm ]; 40 40 }; 41 41 }
+4 -4
pkgs/os-specific/linux/rtl8723bs/default.nix
··· 1 - { stdenv, fetchFromGitHub, nukeReferences, kernel }: 2 - with stdenv.lib; 1 + { lib, stdenv, fetchFromGitHub, nukeReferences, kernel }: 2 + with lib; 3 3 stdenv.mkDerivation rec { 4 4 name = "rtl8723bs-${kernel.version}-${version}"; 5 5 version = "2017-04-06"; ··· 33 33 meta = { 34 34 description = "Realtek SDIO Wi-Fi driver"; 35 35 homepage = "https://github.com/hadess/rtl8723bs"; 36 - license = stdenv.lib.licenses.gpl2; 37 - platforms = stdenv.lib.platforms.linux; 36 + license = lib.licenses.gpl2; 37 + platforms = lib.platforms.linux; 38 38 broken = (! versionOlder kernel.version "4.12"); # Now in kernel staging drivers 39 39 maintainers = with maintainers; [ elitak ]; 40 40 };
+1 -1
pkgs/os-specific/linux/rtl8812au/default.nix
··· 28 28 "KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 29 29 ("CONFIG_PLATFORM_I386_PC=" + (if (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) then "y" else "n")) 30 30 ("CONFIG_PLATFORM_ARM_RPI=" + (if (stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64) then "y" else "n")) 31 - ] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 31 + ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 32 32 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 33 33 ]; 34 34
+1 -1
pkgs/os-specific/linux/rtlwifi_new/default.nix
··· 33 33 meta = { 34 34 description = "The newest Realtek rtlwifi codes"; 35 35 inherit (src.meta) homepage; 36 - license = stdenv.lib.licenses.gpl2; 36 + license = lib.licenses.gpl2; 37 37 platforms = with platforms; linux; 38 38 maintainers = with maintainers; [ tvorog ]; 39 39 priority = -1;
+2 -2
pkgs/os-specific/linux/s6-linux-utils/default.nix
··· 1 - { stdenv, skawarePackages }: 1 + { lib, stdenv, skawarePackages }: 2 2 3 3 with skawarePackages; 4 4 ··· 8 8 sha256 = "0wbv02zxaami88xbj2zg63kspz05bbplswg0c6ncb5g9khf52wa4"; 9 9 10 10 description = "A set of minimalistic Linux-specific system utilities"; 11 - platforms = stdenv.lib.platforms.linux; 11 + platforms = lib.platforms.linux; 12 12 13 13 outputs = [ "bin" "dev" "doc" "out" ]; 14 14
+2 -2
pkgs/os-specific/linux/sch_cake/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, kernel }: 2 2 3 - assert stdenv.lib.versionAtLeast kernel.version "4.4"; 3 + assert lib.versionAtLeast kernel.version "4.4"; 4 4 5 5 stdenv.mkDerivation { 6 6 name = "sch_cake-2017-07-16"; ··· 30 30 license = with licenses; [ bsd3 gpl2 ]; 31 31 maintainers = with maintainers; [ fpletz ]; 32 32 platforms = platforms.linux; 33 - broken = !stdenv.lib.versionOlder kernel.version "4.13"; 33 + broken = !lib.versionOlder kernel.version "4.13"; 34 34 }; 35 35 }
+3 -3
pkgs/os-specific/linux/selinux-python/default.nix
··· 1 - { stdenv, fetchurl, python3 1 + { lib, stdenv, fetchurl, python3 2 2 , libselinux, libsemanage, libsepol, setools }: 3 3 4 4 # this is python3 only because setools only supports python3 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 with python3.pkgs; 8 8 9 9 stdenv.mkDerivation rec { ··· 33 33 "BASHCOMPLETIONDIR=$(out)/share/bash-completion/completions" 34 34 "PYTHON=python" 35 35 "PYTHONLIBDIR=$(out)/${python.sitePackages}" 36 - "LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" 36 + "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a" 37 37 ]; 38 38 39 39
+2 -3
pkgs/os-specific/linux/selinux-sandbox/default.nix
··· 1 - { stdenv, fetchurl, bash, coreutils, python3 1 + { lib, stdenv, fetchurl, bash, coreutils, python3 2 2 , libcap_ng, policycoreutils, selinux-python, dbus 3 3 , xorgserver, openbox, xmodmap }: 4 4 5 5 # this is python3 only as it depends on selinux-python 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 with python3.pkgs; 9 9 10 10 stdenv.mkDerivation rec { ··· 58 58 platforms = platforms.linux; 59 59 }; 60 60 } 61 -
+1 -1
pkgs/os-specific/linux/semodule-utils/default.nix
··· 15 15 16 16 makeFlags = [ 17 17 "PREFIX=$(out)" 18 - "LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" 18 + "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a" 19 19 ]; 20 20 21 21 meta = with lib; {
+3 -3
pkgs/os-specific/linux/setools/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3 1 + { lib, stdenv, fetchFromGitHub, python3 2 2 , libsepol, libselinux, checkpolicy 3 3 , withGraphics ? false 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 with python3.pkgs; 8 8 9 9 buildPythonApplication rec { ··· 30 30 setupPyBuildFlags = [ "-i" ]; 31 31 32 32 preBuild = '' 33 - export SEPOL="${stdenv.lib.getLib libsepol}/lib/libsepol.a" 33 + export SEPOL="${lib.getLib libsepol}/lib/libsepol.a" 34 34 ''; 35 35 36 36 meta = {
+4 -4
pkgs/os-specific/linux/seturgent/default.nix
··· 1 - { stdenv, fetchurl, libX11, xorgproto, unzip }: 1 + { lib, stdenv, fetchurl, libX11, xorgproto, unzip }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "seturgent-2012-08-17"; ··· 18 18 ''; 19 19 20 20 meta = { 21 - platforms = stdenv.lib.platforms.linux; 21 + platforms = lib.platforms.linux; 22 22 description = "Set an application's urgency hint (or not)"; 23 - maintainers = [ stdenv.lib.maintainers.yarr ]; 23 + maintainers = [ lib.maintainers.yarr ]; 24 24 homepage = "https://github.com/hiltjo/seturgent"; 25 - license = stdenv.lib.licenses.mit; 25 + license = lib.licenses.mit; 26 26 }; 27 27 }
+3 -3
pkgs/os-specific/linux/shadow/default.nix
··· 28 28 sha256 = "13407r6qwss00504qy740jghb2dzd561la7dhp47rg8w3g8jarpn"; 29 29 }; 30 30 31 - buildInputs = stdenv.lib.optional (pam != null && stdenv.isLinux) pam; 31 + buildInputs = lib.optional (pam != null && stdenv.isLinux) pam; 32 32 nativeBuildInputs = [autoreconfHook libxslt libxml2 33 33 docbook_xml_dtd_45 docbook_xsl flex bison itstool 34 34 ]; ··· 59 59 configureFlags = [ 60 60 "--enable-man" 61 61 "--with-group-name-max-length=32" 62 - ] ++ stdenv.lib.optional (stdenv.hostPlatform.libc != "glibc") "--disable-nscd"; 62 + ] ++ lib.optional (stdenv.hostPlatform.libc != "glibc") "--disable-nscd"; 63 63 64 - preBuild = stdenv.lib.optionalString (stdenv.hostPlatform.libc == "glibc") 64 + preBuild = lib.optionalString (stdenv.hostPlatform.libc == "glibc") 65 65 '' 66 66 substituteInPlace lib/nscd.c --replace /usr/sbin/nscd ${glibc.bin}/bin/nscd 67 67 '';
+8 -8
pkgs/os-specific/linux/sinit/default.nix
··· 1 - {stdenv, fetchgit, rcinit ? null, rcshutdown ? null, rcreboot ? null}: 1 + {lib, stdenv, fetchgit, rcinit ? null, rcshutdown ? null, rcreboot ? null}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 10 10 rev = "refs/tags/v${version}"; 11 11 }; 12 12 buildInputs = [ 13 - (stdenv.lib.getOutput "static" stdenv.cc.libc) 13 + (lib.getOutput "static" stdenv.cc.libc) 14 14 ]; 15 15 in 16 16 stdenv.mkDerivation { ··· 21 21 }; 22 22 makeFlags = ["PREFIX=$(out)"]; 23 23 preConfigure = "" 24 - + (stdenv.lib.optionalString (rcinit != null) ''sed -re 's@(rcinitcmd[^"]*")[^"]*"@\1${rcinit}"@' -i config.def.h; '') 25 - + (stdenv.lib.optionalString (rcshutdown != null) ''sed -re 's@(rc(reboot|poweroff)cmd[^"]*")[^"]*"@\1${rcshutdown}"@' -i config.def.h; '') 26 - + (stdenv.lib.optionalString (rcreboot != null) ''sed -re 's@(rc(reboot)cmd[^"]*")[^"]*"@\1${rcreboot}"@' -i config.def.h; '') 24 + + (lib.optionalString (rcinit != null) ''sed -re 's@(rcinitcmd[^"]*")[^"]*"@\1${rcinit}"@' -i config.def.h; '') 25 + + (lib.optionalString (rcshutdown != null) ''sed -re 's@(rc(reboot|poweroff)cmd[^"]*")[^"]*"@\1${rcshutdown}"@' -i config.def.h; '') 26 + + (lib.optionalString (rcreboot != null) ''sed -re 's@(rc(reboot)cmd[^"]*")[^"]*"@\1${rcreboot}"@' -i config.def.h; '') 27 27 ; 28 28 meta = { 29 29 inherit (s) version; 30 30 description = "A very minimal Linux init implementation from suckless.org"; 31 - license = stdenv.lib.licenses.mit ; 32 - maintainers = [stdenv.lib.maintainers.raskin]; 33 - platforms = stdenv.lib.platforms.linux; 31 + license = lib.licenses.mit ; 32 + maintainers = [lib.maintainers.raskin]; 33 + platforms = lib.platforms.linux; 34 34 homepage = "https://tools.suckless.org/sinit"; 35 35 downloadPage = "https://git.suckless.org/sinit"; 36 36 };
+1 -1
pkgs/os-specific/linux/sssd/default.nix
··· 55 55 --with-ldb-lib-dir=$out/modules/ldb 56 56 --with-nscd=${glibc.bin}/sbin/nscd 57 57 ) 58 - '' + stdenv.lib.optionalString withSudo '' 58 + '' + lib.optionalString withSudo '' 59 59 configureFlagsArray+=("--with-sudo") 60 60 ''; 61 61
+2 -2
pkgs/os-specific/linux/sysdig/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, kernel, installShellFiles 1 + { lib, stdenv, fetchFromGitHub, cmake, kernel, installShellFiles 2 2 , luajit, zlib, ncurses, perl, jsoncpp, libb64, openssl, curl, jq, gcc, elfutils, tbb, c-ares, protobuf, grpc 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 stdenv.mkDerivation rec { 7 7 pname = "sysdig"; 8 8 version = "0.27.1";
+3 -3
pkgs/os-specific/linux/sysfsutils/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "sysfsutils-2.1.0"; ··· 16 16 filesystem in Linux kernel versions 2.5+ that exposes a system's 17 17 device tree. 18 18 ''; 19 - license = with stdenv.lib.licenses; [ gpl2 lgpl21 ]; 20 - platforms = stdenv.lib.platforms.linux; 19 + license = with lib.licenses; [ gpl2 lgpl21 ]; 20 + platforms = lib.platforms.linux; 21 21 }; 22 22 }
+1 -1
pkgs/os-specific/linux/syslinux/default.nix
··· 79 79 "PERL=perl" 80 80 "HEXDATE=0x00000000" 81 81 ] 82 - ++ stdenv.lib.optionals stdenv.hostPlatform.isi686 [ "bios" "efi32" ]; 82 + ++ lib.optionals stdenv.hostPlatform.isi686 [ "bios" "efi32" ]; 83 83 84 84 doCheck = false; # fails. some fail in a sandbox, others require qemu 85 85
+4 -4
pkgs/os-specific/linux/sysstat/default.nix
··· 1 - { stdenv, fetchurl, gettext, bzip2 }: 1 + { lib, stdenv, fetchurl, gettext, bzip2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "sysstat-12.3.2"; ··· 25 25 meta = { 26 26 homepage = "http://sebastien.godard.pagesperso-orange.fr/"; 27 27 description = "A collection of performance monitoring tools for Linux (such as sar, iostat and pidstat)"; 28 - license = stdenv.lib.licenses.gpl2Plus; 29 - platforms = stdenv.lib.platforms.linux; 30 - maintainers = [ stdenv.lib.maintainers.eelco ]; 28 + license = lib.licenses.gpl2Plus; 29 + platforms = lib.platforms.linux; 30 + maintainers = [ lib.maintainers.eelco ]; 31 31 }; 32 32 }
+1 -1
pkgs/os-specific/linux/systemd/default.nix
··· 320 320 "-Dgcrypt=${lib.boolToString (libgcrypt != null)}" 321 321 "-Dimportd=${lib.boolToString withImportd}" 322 322 "-Dlz4=${lib.boolToString withCompression}" 323 - "-Dhomed=${stdenv.lib.boolToString withHomed}" 323 + "-Dhomed=${lib.boolToString withHomed}" 324 324 "-Dlogind=${lib.boolToString withLogind}" 325 325 "-Dlocaled=${lib.boolToString withLocaled}" 326 326 "-Dhostnamed=${lib.boolToString withHostnamed}"
+4 -4
pkgs/os-specific/linux/sysvinit/default.nix
··· 1 - { stdenv, fetchurl, withoutInitTools ? false }: 1 + { lib, stdenv, fetchurl, withoutInitTools ? false }: 2 2 3 3 let version = "2.97"; in 4 4 ··· 26 26 mv $out/sbin/killall5 $out/bin 27 27 ln -sf killall5 $out/bin/pidof 28 28 '' 29 - + stdenv.lib.optionalString withoutInitTools 29 + + lib.optionalString withoutInitTools 30 30 '' 31 31 shopt -s extglob 32 32 rm -rf $out/sbin/!(sulogin) ··· 39 39 meta = { 40 40 homepage = "https://www.nongnu.org/sysvinit/"; 41 41 description = "Utilities related to booting and shutdown"; 42 - platforms = stdenv.lib.platforms.linux; 43 - license = stdenv.lib.licenses.gpl2Plus; 42 + platforms = lib.platforms.linux; 43 + license = lib.licenses.gpl2Plus; 44 44 }; 45 45 }
+2 -2
pkgs/os-specific/linux/target-isns/default.nix
··· 1 - { stdenv, cmake, fetchFromGitHub, fetchpatch } : 1 + { lib, stdenv, cmake, fetchFromGitHub, fetchpatch } : 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "target-isns"; ··· 26 26 27 27 nativeBuildInputs = [ cmake ]; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "iSNS client for the Linux LIO iSCSI target"; 31 31 homepage = "https://github.com/open-iscsi/target-isns"; 32 32 maintainers = [ maintainers.markuskowa ];
+1 -1
pkgs/os-specific/linux/tbs/default.nix
··· 58 58 license = licenses.gpl2; 59 59 maintainers = with maintainers; [ ck3d ]; 60 60 priority = -1; 61 - broken = stdenv.lib.versionAtLeast kernel.version "4.18"; 61 + broken = lib.versionAtLeast kernel.version "4.18"; 62 62 }; 63 63 }
+3 -3
pkgs/os-specific/linux/tcp-wrappers/default.nix
··· 1 - { fetchurl, stdenv, libnsl }: 1 + { fetchurl, lib, stdenv, libnsl }: 2 2 3 3 let 4 4 vanillaVersion = "7.6.q"; ··· 28 28 # Fix __BEGIN_DECLS usage (even if it wasn't non-standard, this doesn't include sys/cdefs.h) 29 29 patches = [ ./cdecls.patch ]; 30 30 31 - postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' 31 + postPatch = lib.optionalString stdenv.hostPlatform.isMusl '' 32 32 substituteInPlace Makefile \ 33 33 --replace '-DNETGROUP' '-DUSE_GETDOMAIN' 34 34 ''; ··· 70 70 71 71 homepage = "ftp://ftp.porcupine.org/pub/security/index.html"; 72 72 license = "BSD-style"; 73 - platforms = stdenv.lib.platforms.linux; 73 + platforms = lib.platforms.linux; 74 74 }; 75 75 }
+4 -4
pkgs/os-specific/linux/thunderbolt/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , boost 3 3 , cmake 4 4 , fetchFromGitHub ··· 26 26 27 27 meta = { 28 28 description = "Thunderbolt(TM) user-space components"; 29 - license = stdenv.lib.licenses.bsd3; 30 - maintainers = [ stdenv.lib.maintainers.ryantrinkle ]; 29 + license = lib.licenses.bsd3; 30 + maintainers = [ lib.maintainers.ryantrinkle ]; 31 31 homepage = "https://01.org/thunderbolt-sw"; 32 - platforms = stdenv.lib.platforms.linux; 32 + platforms = lib.platforms.linux; 33 33 }; 34 34 }
+1 -1
pkgs/os-specific/linux/tp_smapi/default.nix
··· 40 40 meta = { 41 41 description = "IBM ThinkPad hardware functions driver"; 42 42 homepage = "https://github.com/evgeni/tp_smapi"; 43 - license = stdenv.lib.licenses.gpl2; 43 + license = lib.licenses.gpl2; 44 44 maintainers = [ ]; 45 45 # driver is only ment for linux thinkpads i think bellow platforms should cover it. 46 46 platforms = [ "x86_64-linux" "i686-linux" ];
+4 -4
pkgs/os-specific/linux/tpacpi-bat/default.nix
··· 1 - { stdenv, fetchFromGitHub, perl, kmod, coreutils }: 1 + { lib, stdenv, fetchFromGitHub, perl, kmod, coreutils }: 2 2 3 3 # Requires the acpi_call kernel module in order to run. 4 4 stdenv.mkDerivation rec { ··· 26 26 ''; 27 27 28 28 meta = { 29 - maintainers = [stdenv.lib.maintainers.orbekk]; 30 - platforms = stdenv.lib.platforms.linux; 29 + maintainers = [lib.maintainers.orbekk]; 30 + platforms = lib.platforms.linux; 31 31 description = "Tool to set battery charging thesholds on Lenovo Thinkpad"; 32 - license = stdenv.lib.licenses.gpl3Plus; 32 + license = lib.licenses.gpl3Plus; 33 33 }; 34 34 }
+3 -3
pkgs/os-specific/linux/tunctl/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "tunctl-1.5"; ··· 16 16 meta = { 17 17 homepage = "http://tunctl.sourceforge.net/"; 18 18 description = "Utility to set up and maintain TUN/TAP network interfaces"; 19 - license = stdenv.lib.licenses.gpl2; 20 - platforms = stdenv.lib.platforms.linux; 19 + license = lib.licenses.gpl2; 20 + platforms = lib.platforms.linux; 21 21 }; 22 22 }
+2 -2
pkgs/os-specific/linux/uclibc/default.nix
··· 39 39 UCLIBC_SUSV4_LEGACY y 40 40 UCLIBC_HAS_THREADS_NATIVE y 41 41 KERNEL_HEADERS "${linuxHeaders}/include" 42 - '' + stdenv.lib.optionalString (stdenv.isAarch32 && stdenv.buildPlatform != stdenv.hostPlatform) '' 42 + '' + lib.optionalString (stdenv.isAarch32 && stdenv.buildPlatform != stdenv.hostPlatform) '' 43 43 CONFIG_ARM_EABI y 44 44 ARCH_WANTS_BIG_ENDIAN n 45 45 ARCH_BIG_ENDIAN n ··· 83 83 makeFlags = [ 84 84 "ARCH=${stdenv.hostPlatform.parsed.cpu.name}" 85 85 "VERBOSE=1" 86 - ] ++ stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 86 + ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 87 87 "CROSS=${stdenv.cc.targetPrefix}" 88 88 ]; 89 89
+4 -4
pkgs/os-specific/linux/udisks-glue/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, automake, autoconf, udisks1, dbus-glib, glib, libconfuse }: 1 + { lib, stdenv, fetchurl, pkgconfig, automake, autoconf, udisks1, dbus-glib, glib, libconfuse }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "udisks-glue-1.3.5"; ··· 16 16 meta = { 17 17 homepage = "https://github.com/fernandotcl/udisks-glue"; 18 18 description = "A tool to associate udisks events to user-defined actions"; 19 - platforms = stdenv.lib.platforms.linux; 20 - maintainers = with stdenv.lib.maintainers; [pSub]; 21 - license = stdenv.lib.licenses.bsd2; 19 + platforms = lib.platforms.linux; 20 + maintainers = with lib.maintainers; [pSub]; 21 + license = lib.licenses.bsd2; 22 22 broken = true; 23 23 hydraPlatforms = []; 24 24 };
+4 -4
pkgs/os-specific/linux/udisks/2-default.nix
··· 16 16 sha256 = "01wx2x8xyal595dhdih7rva2bz7gqzgwdp56gi0ikjdzayx17wcf"; 17 17 }; 18 18 19 - outputs = [ "out" "man" "dev" ] ++ stdenv.lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "devdoc"; 19 + outputs = [ "out" "man" "dev" ] ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "devdoc"; 20 20 21 21 patches = [ 22 22 (substituteAll { ··· 32 32 }) 33 33 (substituteAll { 34 34 src = ./force-path.patch; 35 - path = stdenv.lib.makeBinPath [ 35 + path = lib.makeBinPath [ 36 36 btrfs-progs coreutils dosfstools e2fsprogs exfat f2fs-tools nilfs-utils 37 37 xfsprogs ntfs3g parted util-linux 38 38 ]; ··· 50 50 gtk-doc libxslt docbook_xml_dtd_412 docbook_xml_dtd_43 docbook_xsl 51 51 ]; 52 52 53 - postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' 53 + postPatch = lib.optionalString stdenv.hostPlatform.isMusl '' 54 54 substituteInPlace udisks/udisksclient.c \ 55 55 --replace 'defined( __GNUC_PREREQ)' 1 \ 56 56 --replace '__GNUC_PREREQ(4,6)' 1 ··· 63 63 preConfigure = "NOCONFIGURE=1 ./autogen.sh"; 64 64 65 65 configureFlags = [ 66 - (stdenv.lib.enableFeature (stdenv.buildPlatform == stdenv.hostPlatform) "gtk-doc") 66 + (lib.enableFeature (stdenv.buildPlatform == stdenv.hostPlatform) "gtk-doc") 67 67 "--localstatedir=/var" 68 68 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 69 69 "--with-udevdir=$(out)/lib/udev"
+1 -1
pkgs/os-specific/linux/upower/default.nix
··· 39 39 udev 40 40 systemd 41 41 ] 42 - ++ stdenv.lib.optional useIMobileDevice libimobiledevice 42 + ++ lib.optional useIMobileDevice libimobiledevice 43 43 ; 44 44 45 45 propagatedBuildInputs = [
+3 -3
pkgs/os-specific/linux/usermount/default.nix
··· 1 - { stdenv, fetchgit, pkgconfig, dbus, libnotify, udisks2, gdk-pixbuf }: 1 + { lib, stdenv, fetchgit, pkgconfig, dbus, libnotify, udisks2, gdk-pixbuf }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "usermount-0.1"; ··· 22 22 meta = { 23 23 homepage = "https://github.com/tom5760/usermount"; 24 24 description = "A simple tool to automatically mount removable drives using UDisks2 and D-Bus"; 25 - license = stdenv.lib.licenses.mit; 26 - platforms = stdenv.lib.platforms.linux; 25 + license = lib.licenses.mit; 26 + platforms = lib.platforms.linux; 27 27 }; 28 28 }
+2 -2
pkgs/os-specific/linux/wireguard/default.nix
··· 1 1 { lib, stdenv, fetchzip, kernel, perl, wireguard-tools, bc }: 2 2 3 3 # module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements 4 - assert stdenv.lib.versionAtLeast kernel.version "3.10"; 4 + assert lib.versionAtLeast kernel.version "3.10"; 5 5 # wireguard upstreamed since 5.6 https://lists.zx2c4.com/pipermail/wireguard/2019-December/004704.html 6 - assert stdenv.lib.versionOlder kernel.version "5.6"; 6 + assert lib.versionOlder kernel.version "5.6"; 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "wireguard";
+3 -3
pkgs/os-specific/linux/wireless-tools/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "wireless-tools"; ··· 18 18 ]; 19 19 20 20 meta = { 21 - platforms = stdenv.lib.platforms.linux; 22 - license = stdenv.lib.licenses.gpl2; 21 + platforms = lib.platforms.linux; 22 + license = lib.licenses.gpl2; 23 23 }; 24 24 }
+3 -3
pkgs/os-specific/linux/wpa_supplicant/default.nix
··· 2 2 , dbus, readline ? null, pcsclite ? null 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 stdenv.mkDerivation rec { 7 7 version = "2.9"; 8 8 ··· 81 81 cat -n .config 82 82 substituteInPlace Makefile --replace /usr/local $out 83 83 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE \ 84 - -I$(echo "${stdenv.lib.getDev libnl}"/include/libnl*/) \ 85 - -I${stdenv.lib.getDev pcsclite}/include/PCSC/" 84 + -I$(echo "${lib.getDev libnl}"/include/libnl*/) \ 85 + -I${lib.getDev pcsclite}/include/PCSC/" 86 86 ''; 87 87 88 88 buildInputs = [ openssl libnl dbus readline pcsclite ];
+4 -4
pkgs/os-specific/linux/x86info/default.nix
··· 1 - {stdenv, fetchurl, pciutils, python}: 1 + {lib, stdenv, fetchurl, pciutils, python}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.30"; ··· 30 30 x86info will identify all Intel/AMD/Centaur/Cyrix/VIA CPUs. It leverages 31 31 the cpuid kernel module where possible. it supports parsing model specific 32 32 registers (MSRs) via the msr kernel module. it will approximate processor 33 - frequency, and identify the cache sizes and layout. 33 + frequency, and identify the cache sizes and layout. 34 34 ''; 35 35 platforms = [ "i686-linux" "x86_64-linux" ]; 36 - license = stdenv.lib.licenses.gpl2; 36 + license = lib.licenses.gpl2; 37 37 homepage = "http://codemonkey.org.uk/projects/x86info/"; 38 - maintainers = with stdenv.lib.maintainers; [jcumming]; 38 + maintainers = with lib.maintainers; [jcumming]; 39 39 }; 40 40 }
+3 -3
pkgs/os-specific/linux/zfs/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch 1 + { lib, stdenv, fetchFromGitHub, fetchpatch 2 2 , autoreconfHook269, util-linux, nukeReferences, coreutils 3 3 , perl, buildPackages 4 4 , configFile ? "all" ··· 16 16 , enablePython ? true 17 17 }: 18 18 19 - with stdenv.lib; 19 + with lib; 20 20 let 21 21 buildKernel = any (n: n == configFile) [ "kernel" "all" ]; 22 22 buildUser = any (n: n == configFile) [ "user" "all" ]; ··· 32 32 versionAtLeast kernel.version incompatibleKernelVersion then 33 33 throw '' 34 34 Linux v${kernel.version} is not yet supported by zfsonlinux v${version}. 35 - ${stdenv.lib.optionalString (!isUnstable) "Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable."} 35 + ${lib.optionalString (!isUnstable) "Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable."} 36 36 '' 37 37 else stdenv.mkDerivation { 38 38 name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
+1 -1
pkgs/os-specific/windows/cygwin-setup/default.nix
··· 2 2 , zlib, bzip2, lzma, libgcrypt 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "cygwin-setup";
+2 -2
pkgs/os-specific/windows/default.nix
··· 1 - { stdenv, buildPackages 1 + { lib, stdenv, buildPackages 2 2 , newScope, overrideCC, crossLibcStdenv, libcCross 3 3 }: 4 4 5 - stdenv.lib.makeScope newScope (self: with self; { 5 + lib.makeScope newScope (self: with self; { 6 6 7 7 cygwinSetup = callPackage ./cygwin-setup { }; 8 8
+2 -2
pkgs/os-specific/windows/jom/default.nix
··· 19 19 20 20 # cmakeFlags = [ "-DWIN32=1" "-DCMAKE_SYSTEM_NAME=Windows" "-DCMAKE_RC_COMPILER=${stdenv.cc.targetPrefix}windres" ]; 21 21 22 - preBuild = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 22 + preBuild = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 23 23 export NIX_CROSS_CFLAGS_COMPILE=-fpermissive 24 24 ''; 25 25 26 26 meta = { 27 27 homepage = "http://qt-project.org/wiki/jom"; 28 28 description = "Clone of nmake supporting multiple independent commands in parallel"; 29 - license = stdenv.lib.licenses.gpl2Plus; # Explicitly, GPLv2 or GPLv3, but not later. 29 + license = lib.licenses.gpl2Plus; # Explicitly, GPLv2 or GPLv3, but not later. 30 30 }; 31 31 }
+1 -1
pkgs/os-specific/windows/libgnurx/default.nix
··· 11 11 }; 12 12 13 13 meta = { 14 - platforms = stdenv.lib.platforms.windows; 14 + platforms = lib.platforms.windows; 15 15 }; 16 16 }
+1 -1
pkgs/os-specific/windows/mingw-w64/default.nix
··· 25 25 hardeningDisable = [ "stackprotector" "fortify" ]; 26 26 27 27 meta = { 28 - platforms = stdenv.lib.platforms.windows; 28 + platforms = lib.platforms.windows; 29 29 }; 30 30 }
+1 -1
pkgs/os-specific/windows/wxMSW-2.8/default.nix
··· 30 30 passthru = {inherit compat24 compat26 unicode;}; 31 31 32 32 meta = { 33 - platforms = stdenv.lib.platforms.windows; 33 + platforms = lib.platforms.windows; 34 34 35 35 broken = true; 36 36 };
-40
pkgs/servers/elasticmq/default.nix
··· 1 - { lib, stdenv, fetchurl, jre, makeWrapper, which }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "elasticmq-0.5"; 5 - 6 - src = fetchurl { 7 - url = "https://github.com/downloads/adamw/elasticmq/${name}.tar.gz"; 8 - sha256 = "1zpv3vzairprh4x9fia82qqr14kf5hpxq1r90mn4ww7ighbv9pf1"; 9 - }; 10 - 11 - buildInputs = [ makeWrapper ]; 12 - 13 - installPhase = 14 - '' 15 - mkdir -p $out/bin 16 - cp -prd lib conf $out/ 17 - 18 - cp bin/run.sh $out/bin/elasticmq 19 - substituteInPlace $out/bin/elasticmq --replace '-DBASEDIR=$BASEDIR' '-DBASEDIR=''${ELASTICMQ_DATA_PREFIX:-.}' 20 - 21 - wrapProgram $out/bin/elasticmq --prefix PATH : "${lib.makeBinPath [ which jre ]}" 22 - ''; 23 - 24 - meta = { 25 - homepage = "https://github.com/adamw/elasticmq"; 26 - description = "Message queueing system with Java, Scala and Amazon SQS-compatible interfaces"; 27 - longDescription = 28 - '' 29 - ElasticMQ is a message queueing system with Java, Scala and 30 - Amazon SQS-compatible interfaces. You should set the 31 - environment ELASTICMQ_DATA_PREFIX to a writable directory 32 - where ElasticMQ will store its data and log files. It also 33 - looks for its configuration file in 34 - $ELASTICMQ_DATA_PREFIX/conf/Default.scala. You can use the 35 - Default.scala included in the distribution as a template. 36 - ''; 37 - license = lib.licenses.asl20; 38 - platforms = lib.platforms.unix; 39 - }; 40 - }
+4 -4
pkgs/servers/home-assistant/component-packages.nix
··· 13 13 "ads" = ps: with ps; [ pyads ]; 14 14 "advantage_air" = ps: with ps; [ advantage-air ]; 15 15 "aftership" = ps: with ps; [ pyaftership ]; 16 - "agent_dvr" = ps: with ps; [ ]; # missing inputs: agent-py 16 + "agent_dvr" = ps: with ps; [ agent-py ]; 17 17 "air_quality" = ps: with ps; [ ]; 18 18 "airly" = ps: with ps; [ airly ]; 19 19 "airvisual" = ps: with ps; [ pyairvisual ]; 20 20 "aladdin_connect" = ps: with ps; [ ]; # missing inputs: aladdin_connect 21 21 "alarm_control_panel" = ps: with ps; [ ]; 22 - "alarmdecoder" = ps: with ps; [ ]; # missing inputs: adext 22 + "alarmdecoder" = ps: with ps; [ adext ]; 23 23 "alert" = ps: with ps; [ ]; 24 24 "alexa" = ps: with ps; [ aiohttp-cors ]; 25 25 "almond" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pyalmond ··· 77 77 "binary_sensor" = ps: with ps; [ ]; 78 78 "bitcoin" = ps: with ps; [ blockchain ]; 79 79 "bizkaibus" = ps: with ps; [ ]; # missing inputs: bizkaibus 80 - "blackbird" = ps: with ps; [ ]; # missing inputs: pyblackbird 80 + "blackbird" = ps: with ps; [ pyblackbird ]; 81 81 "blebox" = ps: with ps; [ ]; # missing inputs: blebox_uniapi 82 82 "blink" = ps: with ps; [ ]; # missing inputs: blinkpy 83 83 "blinksticklight" = ps: with ps; [ BlinkStick ]; ··· 682 682 "rmvtransport" = ps: with ps; [ PyRMVtransport ]; 683 683 "rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API 684 684 "roku" = ps: with ps; [ ]; # missing inputs: rokuecp 685 - "roomba" = ps: with ps; [ ]; # missing inputs: roombapy 685 + "roomba" = ps: with ps; [ roombapy ]; 686 686 "roon" = ps: with ps; [ ]; # missing inputs: roonapi 687 687 "route53" = ps: with ps; [ boto3 ]; 688 688 "rova" = ps: with ps; [ ]; # missing inputs: rova
+26
pkgs/servers/matrix-corporal/default.nix
··· 1 + { lib, fetchFromGitHub, buildGoModule }: 2 + 3 + buildGoModule rec { 4 + pname = "matrix-corporal"; 5 + version = "2.0.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "devture"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1n8yjmy3j0spgwpxgc26adhpl52fm3d2xbmkf5n9dwzw29grv68r"; 12 + }; 13 + 14 + buildFlagsArray = [ 15 + "-ldflags=-s -w -X main.GitCommit=${version} -X main.GitBranch=${version} -X main.GitState=nixpkgs -X main.GitSummary=${version} -X main.Version=${version}" 16 + ]; 17 + 18 + vendorSha256 = "1gi6mff6h0fkgfq5yybd1qcy2qwrvc4kzi11x7arfl9nr0d24rb2"; 19 + 20 + meta = with lib; { 21 + homepage = "https://github.com/devture/matrix-corporal"; 22 + description = "Reconciliator and gateway for a managed Matrix server"; 23 + maintainers = with maintainers; [ dandellion ]; 24 + license = licenses.agpl3Only; 25 + }; 26 + }
+41
pkgs/servers/monitoring/grafana-agent/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub, systemd }: 2 + 3 + buildGoModule rec { 4 + pname = "grafana-agent"; 5 + version = "0.10.0"; 6 + 7 + src = fetchFromGitHub { 8 + rev = "v${version}"; 9 + owner = "grafana"; 10 + repo = "agent"; 11 + sha256 = "1kliq6d3hg4bx9s5crdagirf2h3ljl0ikcyz0x0wb2ack6cgjsvm"; 12 + }; 13 + 14 + vendorSha256 = null; 15 + 16 + # uses go-systemd, which uses libsystemd headers 17 + # https://github.com/coreos/go-systemd/issues/351 18 + NIX_CFLAGS_COMPILE = [ "-I${lib.getDev systemd}/include" ]; 19 + 20 + # tries to access /sys: https://github.com/grafana/agent/issues/333 21 + preBuild = '' 22 + rm pkg/integrations/node_exporter/node_exporter_test.go 23 + ''; 24 + 25 + # go-systemd uses libsystemd under the hood, which does dlopen(libsystemd) at 26 + # runtime. 27 + # Add to RUNPATH so it can be found. 28 + postFixup = '' 29 + patchelf \ 30 + --set-rpath "${lib.makeLibraryPath [ (lib.getDev systemd) ]}:$(patchelf --print-rpath $out/bin/agent)" \ 31 + $out/bin/agent 32 + ''; 33 + 34 + meta = with lib; { 35 + description = "A lightweight subset of Prometheus and more, optimized for Grafana Cloud"; 36 + license = licenses.asl20; 37 + homepage = "https://grafana.com/products/cloud"; 38 + maintainers = with maintainers; [ flokli ]; 39 + platforms = platforms.linux; 40 + }; 41 + }
+53
pkgs/tools/networking/evillimiter/default.nix
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitHub 4 + , colorama 5 + , iproute2 6 + , iptables 7 + , netaddr 8 + , netifaces 9 + , scapy 10 + , terminaltables 11 + , tqdm 12 + }: 13 + 14 + buildPythonApplication rec { 15 + pname = "evillimiter"; 16 + version = "1.5.0"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "bitbrute"; 20 + repo = pname; 21 + rev = "v${version}"; 22 + sha256 = "1l0acd4a36wzz1gyc6mcw3zpagyi2mc425c6d4c6anq3jxwm3847"; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + colorama 27 + iproute2 28 + iptables 29 + netaddr 30 + netifaces 31 + scapy 32 + terminaltables 33 + tqdm 34 + ]; 35 + 36 + # no tests present 37 + doCheck = false; 38 + 39 + pythonImportsCheck = [ "evillimiter.evillimiter" ]; 40 + 41 + meta = with lib; { 42 + description = "Tool that monitors, analyzes and limits the bandwidth"; 43 + longDescription = '' 44 + A tool to monitor, analyze and limit the bandwidth (upload/download) of 45 + devices on your local network without physical or administrative access. 46 + evillimiter employs ARP spoofing and traffic shaping to throttle the 47 + bandwidth of hosts on the network. 48 + ''; 49 + homepage = "https://github.com/bitbrute/evillimiter"; 50 + license = with licenses; [ mit ]; 51 + maintainers = with maintainers; [ fab ]; 52 + }; 53 + }
+45
pkgs/tools/security/aiodnsbrute/default.nix
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitHub 4 + , aiodns 5 + , click 6 + , tqdm 7 + , uvloop 8 + }: 9 + 10 + buildPythonApplication rec { 11 + pname = "aiodnsbrute"; 12 + version = "0.3.2"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "blark"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "0fs8544kx7vwvc97zpg4rs3lmvnb4vwika5g952rv3bfx4rv3bpg"; 19 + }; 20 + 21 + # https://github.com/blark/aiodnsbrute/pull/8 22 + prePatch = '' 23 + substituteInPlace setup.py --replace " 'asyncio', " "" 24 + ''; 25 + 26 + propagatedBuildInputs = [ 27 + aiodns 28 + click 29 + tqdm 30 + uvloop 31 + ]; 32 + 33 + # no tests present 34 + doCheck = false; 35 + 36 + pythonImportsCheck = [ "aiodnsbrute.cli" ]; 37 + 38 + meta = with lib; { 39 + description = "DNS brute force utility"; 40 + homepage = "https://github.com/blark/aiodnsbrute"; 41 + # https://github.com/blark/aiodnsbrute/issues/5 42 + license = with licenses; [ gpl3Only ]; 43 + maintainers = with maintainers; [ fab ]; 44 + }; 45 + }
+6 -6
pkgs/tools/system/smartmontools/default.nix
··· 1 1 { lib, stdenv, fetchurl, autoreconfHook 2 2 , mailutils, inetutils 3 - , IOKit ? null , ApplicationServices ? null }: 3 + , IOKit, ApplicationServices }: 4 4 5 5 let 6 - version = "7.1"; 6 + version = "7.2"; 7 7 8 - dbrev = "5062"; 9 - drivedbBranch = "RELEASE_7_0_DRIVEDB"; 8 + dbrev = "5164"; 9 + drivedbBranch = "RELEASE_7_2_DRIVEDB"; 10 10 driverdb = fetchurl { 11 11 url = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/branches/${drivedbBranch}/smartmontools/drivedb.h?format=raw"; 12 - sha256 = "0gggl55h9gq0z846ndhyd7xrpxh8lqfbidblx0598q2wlh9rvlww"; 12 + sha256 = "1vj0sv3bgcd0lwk5x450brfyxksa5fn1mjgvmj994ab8spmicc43"; 13 13 name = "smartmontools-drivedb.h"; 14 14 }; 15 15 ··· 19 19 20 20 src = fetchurl { 21 21 url = "mirror://sourceforge/smartmontools/${pname}-${version}.tar.gz"; 22 - sha256 = "0imqb7ka4ia5573w8rnpck571pjjc9698pdjcapy9cfyk4n4swrz"; 22 + sha256 = "1mlc25sd5rgj5xmzcllci47inmfdw7cp185fday6hc9rwqkqmnaw"; 23 23 }; 24 24 25 25 patches = [ ./smartmontools.patch ];
+1
pkgs/top-level/aliases.nix
··· 139 139 draftsight = throw "draftsight has been removed, no longer available as freeware"; # added 2020-08-14 140 140 dvb_apps = throw "dvb_apps has been removed."; # added 2020-11-03 141 141 dwarf_fortress = dwarf-fortress; # added 2016-01-23 142 + elasticmq = throw "elasticmq has been removed in favour of elasticmq-server-bin"; # added 2021-01-17 142 143 emacsPackagesGen = emacsPackagesFor; # added 2018-08-18 143 144 emacsPackagesNgGen = emacsPackagesFor; # added 2018-08-18 144 145 emacsPackagesNgFor = emacsPackagesFor; # added 2019-08-07
+24 -7
pkgs/top-level/all-packages.nix
··· 697 697 698 698 aide = callPackage ../tools/security/aide { }; 699 699 700 + aiodnsbrute = python3Packages.callPackage ../tools/security/aiodnsbrute { }; 701 + 700 702 aircrack-ng = callPackage ../tools/networking/aircrack-ng { }; 701 703 702 704 airfield = callPackage ../tools/networking/airfield { }; ··· 3891 3893 3892 3894 eventstat = callPackage ../os-specific/linux/eventstat { }; 3893 3895 3896 + evillimiter = python3Packages.callPackage ../tools/networking/evillimiter { }; 3897 + 3894 3898 evtest = callPackage ../applications/misc/evtest { }; 3895 3899 3896 3900 evtest-qt = libsForQt5.callPackage ../applications/misc/evtest-qt { }; ··· 5590 5594 5591 5595 matrix-appservice-discord = callPackage ../servers/matrix-appservice-discord { }; 5592 5596 5597 + matrix-corporal = callPackage ../servers/matrix-corporal { }; 5598 + 5593 5599 mautrix-telegram = recurseIntoAttrs (callPackage ../servers/mautrix-telegram { }); 5594 5600 5595 5601 mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp { }; ··· 5795 5801 libipfix = callPackage ../development/libraries/libipfix { }; 5796 5802 5797 5803 libircclient = callPackage ../development/libraries/libircclient { }; 5804 + 5805 + libiscsi = callPackage ../development/libraries/libiscsi { }; 5798 5806 5799 5807 libisds = callPackage ../development/libraries/libisds { }; 5800 5808 ··· 10633 10641 cargo-raze = callPackage ../development/tools/rust/cargo-raze { 10634 10642 inherit (darwin.apple_sdk.frameworks) Security; 10635 10643 }; 10644 + cargo-readme = callPackage ../development/tools/rust/cargo-readme {}; 10636 10645 cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { }; 10637 10646 cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {}; 10638 10647 cargo-udeps = callPackage ../development/tools/rust/cargo-udeps { ··· 15784 15793 }; 15785 15794 openal = openalSoft; 15786 15795 15787 - openbabel = callPackage ../development/libraries/openbabel { }; 15796 + openbabel = openbabel3; 15797 + 15798 + openbabel2 = callPackage ../development/libraries/openbabel/2.nix { }; 15799 + 15800 + openbabel3 = callPackages ../development/libraries/openbabel { }; 15788 15801 15789 15802 opencascade = callPackage ../development/libraries/opencascade { 15790 15803 inherit (darwin.apple_sdk.frameworks) OpenCL Cocoa; ··· 17481 17494 17482 17495 biboumi = callPackage ../servers/xmpp/biboumi { }; 17483 17496 17484 - elasticmq = callPackage ../servers/elasticmq { 17485 - jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 17486 - }; 17487 - 17488 17497 elasticmq-server-bin = callPackage ../servers/elasticmq-server-bin { 17489 17498 jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 17490 17499 jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 ··· 17527 17536 17528 17537 grafana = callPackage ../servers/monitoring/grafana { }; 17529 17538 grafanaPlugins = dontRecurseIntoAttrs (callPackage ../servers/monitoring/grafana/plugins { }); 17539 + 17540 + grafana-agent = callPackage ../servers/monitoring/grafana-agent { }; 17530 17541 17531 17542 grafana-loki = callPackage ../servers/monitoring/loki { }; 17532 17543 ··· 19147 19158 19148 19159 linuxPackages_custom = { version, src, configfile, allowImportFromDerivation ? true }: 19149 19160 recurseIntoAttrs (linuxPackagesFor (pkgs.linuxManualConfig { 19150 - inherit version src configfile stdenv allowImportFromDerivation; 19161 + inherit version src configfile lib stdenv allowImportFromDerivation; 19151 19162 })); 19152 19163 19153 19164 # This serves as a test for linuxPackages_custom ··· 19178 19189 kernel = (if kernel' == pkgs.linux_latest then linux_latest_for_hardened else kernel').override overrides; 19179 19190 in linuxPackagesFor (kernel.override { 19180 19191 structuredExtraConfig = import ../os-specific/linux/kernel/hardened/config.nix { 19181 - inherit stdenv; 19192 + inherit lib stdenv; 19182 19193 inherit (kernel) version; 19183 19194 }; 19184 19195 kernelPatches = kernel.kernelPatches ++ [ ··· 26770 26781 26771 26782 stardust = callPackage ../games/stardust {}; 26772 26783 26784 + starspace = callPackage ../applications/science/machine-learning/starspace { }; 26785 + 26773 26786 stockfish = callPackage ../games/stockfish { }; 26774 26787 26775 26788 steamPackages = dontRecurseIntoAttrs (callPackage ../games/steam { ··· 27070 27083 mpris-indicator-button = callPackage ../desktops/gnome-3/extensions/mpris-indicator-button { }; 27071 27084 night-theme-switcher = callPackage ../desktops/gnome-3/extensions/night-theme-switcher { }; 27072 27085 no-title-bar = callPackage ../desktops/gnome-3/extensions/no-title-bar { }; 27086 + noannoyance = callPackage ../desktops/gnome-3/extensions/noannoyance { }; 27073 27087 paperwm = callPackage ../desktops/gnome-3/extensions/paperwm { }; 27074 27088 pidgin-im-integration = callPackage ../desktops/gnome-3/extensions/pidgin-im-integration { }; 27075 27089 remove-dropdown-arrows = callPackage ../desktops/gnome-3/extensions/remove-dropdown-arrows { }; ··· 27135 27149 ### SCIENCE/CHEMISTY 27136 27150 27137 27151 avogadro = callPackage ../applications/science/chemistry/avogadro { 27152 + openbabel = openbabel2; 27138 27153 eigen = eigen2; 27139 27154 }; 27140 27155 ··· 27880 27895 pcb = callPackage ../applications/science/electronics/pcb { }; 27881 27896 27882 27897 qucs = callPackage ../applications/science/electronics/qucs { }; 27898 + 27899 + qucs-s = callPackage ../applications/science/electronics/qucs-s { }; 27883 27900 27884 27901 xcircuit = callPackage ../applications/science/electronics/xcircuit { }; 27885 27902
+14
pkgs/top-level/python-packages.nix
··· 174 174 175 175 addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { }; 176 176 177 + adext = callPackage ../development/python-modules/adext { }; 178 + 177 179 adguardhome = callPackage ../development/python-modules/adguardhome { }; 178 180 179 181 advantage-air = callPackage ../development/python-modules/advantage-air { }; ··· 193 195 agate-excel = callPackage ../development/python-modules/agate-excel { }; 194 196 195 197 agate-sql = callPackage ../development/python-modules/agate-sql { }; 198 + 199 + agent-py = callPackage ../development/python-modules/agent-py { }; 196 200 197 201 aioamqp = callPackage ../development/python-modules/aioamqp { }; 198 202 ··· 1914 1918 dominate = callPackage ../development/python-modules/dominate { }; 1915 1919 1916 1920 dopy = callPackage ../development/python-modules/dopy { }; 1921 + 1922 + dotty-dict = callPackage ../development/python-modules/dotty-dict { }; 1917 1923 1918 1924 dot2tex = callPackage ../development/python-modules/dot2tex { inherit (pkgs) graphviz; }; 1919 1925 ··· 4466 4472 4467 4473 openapi-spec-validator = callPackage ../development/python-modules/openapi-spec-validator { }; 4468 4474 4475 + openbabel-bindings = callPackage ../development/python-modules/openbabel-bindings { 4476 + openbabel = (callPackage ../development/libraries/openbabel { python = self.python; }); 4477 + }; 4478 + 4469 4479 opencv3 = toPythonModule (pkgs.opencv3.override { 4470 4480 enablePython = true; 4471 4481 pythonPackages = self; ··· 5138 5148 pybind11 = callPackage ../development/python-modules/pybind11 { }; 5139 5149 5140 5150 pybindgen = callPackage ../development/python-modules/pybindgen { }; 5151 + 5152 + pyblackbird = callPackage ../development/python-modules/pyblackbird { }; 5141 5153 5142 5154 pyblake2 = callPackage ../development/python-modules/pyblake2 { }; 5143 5155 ··· 6725 6737 roku = callPackage ../development/python-modules/roku { }; 6726 6738 6727 6739 roman = callPackage ../development/python-modules/roman { }; 6740 + 6741 + roombapy = callPackage ../development/python-modules/roombapy { }; 6728 6742 6729 6743 rope = callPackage ../development/python-modules/rope { }; 6730 6744