pkgs/applications: stdenv.lib -> lib

+1160 -1154
+2 -2
pkgs/applications/display-managers/lightdm/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , nix-update-script 4 4 , substituteAll ··· 31 31 , yelp-tools 32 32 }: 33 33 34 - with stdenv.lib; 34 + with lib; 35 35 36 36 stdenv.mkDerivation rec { 37 37 pname = "lightdm";
+1 -1
pkgs/applications/display-managers/lightdm/gtk-greeter.nix
··· 40 40 "--sysconfdir=/etc" 41 41 "--disable-indicator-services-command" 42 42 "--sbindir=${placeholder "out"}/bin" # for wrapGAppsHook to wrap automatically 43 - ] ++ stdenv.lib.optional useGTK2 "--with-gtk2"; 43 + ] ++ lib.optional useGTK2 "--with-gtk2"; 44 44 45 45 preConfigure = '' 46 46 configureFlagsArray+=( --enable-at-spi-command="${at-spi2-core}/libexec/at-spi-bus-launcher --launch-immediately" )
+3 -3
pkgs/applications/misc/1password/default.nix
··· 19 19 sha256 = "0pycia75vdfh6gxfd2hr32cxrryfxydid804n0v76l2fpr9v9v3d"; 20 20 }; 21 21 22 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ xar cpio ]; 22 + buildInputs = lib.optionals stdenv.isDarwin [ xar cpio ]; 23 23 24 - unpackPhase = stdenv.lib.optionalString stdenv.isDarwin '' 24 + unpackPhase = lib.optionalString stdenv.isDarwin '' 25 25 xar -xf $src 26 26 zcat Payload | cpio -i 27 27 ''; ··· 32 32 33 33 dontStrip = stdenv.isDarwin; 34 34 35 - nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 35 + nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 36 36 37 37 doInstallCheck = true; 38 38
+4 -4
pkgs/applications/misc/abook/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, pkgconfig, ncurses, readline, autoreconfHook }: 1 + { lib, stdenv, fetchurl, fetchpatch, pkgconfig, ncurses, readline, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "abook-0.6.1"; ··· 22 22 meta = { 23 23 homepage = "http://abook.sourceforge.net/"; 24 24 description = "Text-based addressbook program designed to use with mutt mail client"; 25 - license = stdenv.lib.licenses.gpl2; 26 - maintainers = [ stdenv.lib.maintainers.edwtjo ]; 27 - platforms = with stdenv.lib.platforms; linux; 25 + license = lib.licenses.gpl2; 26 + maintainers = [ lib.maintainers.edwtjo ]; 27 + platforms = with lib.platforms; linux; 28 28 }; 29 29 }
+3 -3
pkgs/applications/misc/adobe-reader/default.nix
··· 1 - { stdenv, fetchurl, libX11, cups, zlib, libxml2, pango, atk, gtk2, glib 1 + { lib, stdenv, fetchurl, libX11, cups, zlib, libxml2, pango, atk, gtk2, glib 2 2 , gdk-pixbuf, gdk-pixbuf-xlib }: 3 3 4 4 assert stdenv.hostPlatform.system == "i686-linux"; ··· 19 19 # We should probably remove those and use the regular Nixpkgs 20 20 # versions. 21 21 22 - libPath = stdenv.lib.makeLibraryPath 22 + libPath = lib.makeLibraryPath 23 23 [ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk-pixbuf gdk-pixbuf-xlib ]; 24 24 25 25 passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux"; ··· 27 27 meta = { 28 28 description = "Adobe Reader, a viewer for PDF documents"; 29 29 homepage = "http://www.adobe.com/products/reader"; 30 - license = stdenv.lib.licenses.unfree; 30 + license = lib.licenses.unfree; 31 31 knownVulnerabilities = [ 32 32 "Numerous unresolved vulnerabilities" 33 33 "See: https://www.cvedetails.com/product/497/Adobe-Acrobat-Reader.html?vendor_id=53"
+1 -1
pkgs/applications/misc/almanah/default.nix
··· 27 27 version = "0.12.2"; 28 28 29 29 src = fetchurl { 30 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 31 sha256 = "IWYOnOu0C9uQ9k1dgWkJ6Kv+o/jY+6Llfsi4PusHE24="; 32 32 }; 33 33
+2 -2
pkgs/applications/misc/ape/apeclex.nix
··· 1 - { stdenv, attemptoClex, callPackage }: 1 + { lib, stdenv, attemptoClex, callPackage }: 2 2 3 3 callPackage ./. { 4 4 pname = "ape-clex"; 5 5 lexiconPath = "${attemptoClex}/clex_lexicon.pl"; 6 6 description = "Parser for Attempto Controlled English (ACE) with a large lexicon (~100,000 entries)"; 7 - license = with stdenv.lib; [ licenses.lgpl3 licenses.gpl3 ]; 7 + license = with lib; [ licenses.lgpl3 licenses.gpl3 ]; 8 8 }
+1 -1
pkgs/applications/misc/apvlv/default.nix
··· 54 54 cp ../Startup.pdf $out/share/doc/apvlv/Startup.pdf 55 55 cp ../main_menubar.glade $out/share/doc/apvlv/main_menubar.glade 56 56 '' 57 - + stdenv.lib.optionalString (!stdenv.isDarwin) '' 57 + + lib.optionalString (!stdenv.isDarwin) '' 58 58 install -D ../apvlv.desktop $out/share/applications/apvlv.desktop 59 59 ''; 60 60
+1 -1
pkgs/applications/misc/audio/sox/default.nix
··· 14 14 , enableLibpulseaudio ? true, libpulseaudio ? null 15 15 }: 16 16 17 - with stdenv.lib; 17 + with lib; 18 18 19 19 stdenv.mkDerivation rec { 20 20 name = "sox-14.4.2";
+3 -3
pkgs/applications/misc/audio/soxr/default.nix
··· 1 - { stdenv, fetchurl, cmake }: 1 + { lib, stdenv, fetchurl, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "soxr-0.1.3"; ··· 21 21 meta = { 22 22 description = "An audio resampling library"; 23 23 homepage = "http://soxr.sourceforge.net"; 24 - license = stdenv.lib.licenses.lgpl21Plus; 25 - platforms = stdenv.lib.platforms.unix; 24 + license = lib.licenses.lgpl21Plus; 25 + platforms = lib.platforms.unix; 26 26 }; 27 27 }
+3 -3
pkgs/applications/misc/audio/wavesurfer/default.nix
··· 1 - { stdenv, fetchurl, snack, tcl, tk, makeWrapper }: 1 + { lib, stdenv, fetchurl, snack, tcl, tk, makeWrapper }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "wavesurfer-1.8.5"; ··· 17 17 ln -s $out/{nix-support,bin}/wavesurfer.tcl 18 18 wrapProgram "$out/nix-support/wavesurfer.tcl" \ 19 19 --set TCLLIBPATH "${snack}/lib" \ 20 - --prefix PATH : "${stdenv.lib.makeBinPath [ tcl tk ]}" 20 + --prefix PATH : "${lib.makeBinPath [ tcl tk ]}" 21 21 ''; 22 22 23 23 meta = { 24 24 description = "Tool for recording, playing, editing, viewing and labeling of audio"; 25 25 homepage = "http://www.speech.kth.se/wavesurfer/"; 26 - license = stdenv.lib.licenses.bsd0; 26 + license = lib.licenses.bsd0; 27 27 }; 28 28 }
+2 -2
pkgs/applications/misc/avrdudess/default.nix
··· 20 20 21 21 cat >> "$out/bin/avrdudess" << __EOF__ 22 22 #!${runtimeShell} 23 - export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk2 mono]}" 23 + export LD_LIBRARY_PATH="${lib.makeLibraryPath [gtk2 mono]}" 24 24 # We need PATH from user env for xdg-open to find its tools, which 25 25 # typically depend on the currently running desktop environment. 26 - export PATH="${stdenv.lib.makeBinPath [ avrdude xdg_utils ]}:\$PATH" 26 + export PATH="${lib.makeBinPath [ avrdude xdg_utils ]}:\$PATH" 27 27 28 28 # avrdudess must have its resource files in its current working directory 29 29 cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
+4 -4
pkgs/applications/misc/azuredatastudio/default.nix
··· 49 49 ${gnutar}/bin/tar xf $src --strip 1 -C ${targetPath} 50 50 ''; 51 51 52 - sqltoolsserviceRpath = stdenv.lib.makeLibraryPath [ 52 + sqltoolsserviceRpath = lib.makeLibraryPath [ 53 53 stdenv.cc.cc 54 54 libunwind 55 55 libuuid ··· 62 62 # this will most likely need to be updated when azuredatastudio's version changes 63 63 sqltoolsservicePath = "${targetPath}/resources/app/extensions/mssql/sqltoolsservice/Linux/2.0.0-release.56"; 64 64 65 - rpath = stdenv.lib.concatStringsSep ":" [ 65 + rpath = lib.concatStringsSep ":" [ 66 66 atomEnv.libPath 67 67 ( 68 - stdenv.lib.makeLibraryPath [ 68 + lib.makeLibraryPath [ 69 69 libuuid 70 70 at-spi2-core 71 71 at-spi2-atk ··· 107 107 ''; 108 108 109 109 meta = { 110 - maintainers = with stdenv.lib.maintainers; [ xavierzwirtz ]; 110 + maintainers = with lib.maintainers; [ xavierzwirtz ]; 111 111 description = "A data management tool that enables working with SQL Server, Azure SQL DB and SQL DW"; 112 112 homepage = "https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio"; 113 113 license = lib.licenses.unfreeRedistributable;
+5 -5
pkgs/applications/misc/barrier/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, curl, xorg, avahi, qtbase, mkDerivation, 1 + { lib, stdenv, fetchFromGitHub, cmake, curl, xorg, avahi, qtbase, mkDerivation, 2 2 openssl, wrapGAppsHook, 3 3 avahiWithLibdnssdCompat ? avahi.override { withLibdnssdCompat = true; } 4 4 }: ··· 23 23 ''; 24 24 25 25 qtWrapperArgs = [ 26 - ''--prefix PATH : ${stdenv.lib.makeBinPath [ openssl ]}'' 26 + ''--prefix PATH : ${lib.makeBinPath [ openssl ]}'' 27 27 ]; 28 28 29 29 meta = { ··· 35 35 ''; 36 36 homepage = "https://github.com/debauchee/barrier"; 37 37 downloadPage = "https://github.com/debauchee/barrier/releases"; 38 - license = stdenv.lib.licenses.gpl2; 39 - maintainers = [ stdenv.lib.maintainers.phryneas ]; 40 - platforms = stdenv.lib.platforms.linux; 38 + license = lib.licenses.gpl2; 39 + maintainers = [ lib.maintainers.phryneas ]; 40 + platforms = lib.platforms.linux; 41 41 }; 42 42 }
+1 -1
pkgs/applications/misc/bemenu/default.nix
··· 29 29 ++ lib.optional waylandSupport "wayland" 30 30 ++ lib.optional x11Support "x11"; 31 31 32 - buildInputs = with stdenv.lib; [ 32 + buildInputs = with lib; [ 33 33 cairo 34 34 fribidi 35 35 harfbuzz
+4 -4
pkgs/applications/misc/bibletime/default.nix
··· 1 - { mkDerivation, stdenv, fetchurl, cmake, pkgconfig, sword, boost, clucene_core 1 + { lib, mkDerivation, stdenv, fetchurl, cmake, pkgconfig, sword, boost, clucene_core 2 2 , qtbase, qttools, qtsvg, qtwebkit 3 3 }: 4 4 ··· 29 29 meta = { 30 30 description = "A Qt4 Bible study tool"; 31 31 homepage = "http://www.bibletime.info/"; 32 - platforms = stdenv.lib.platforms.linux; 33 - license = stdenv.lib.licenses.gpl2; 34 - maintainers = [ stdenv.lib.maintainers.piotr ]; 32 + platforms = lib.platforms.linux; 33 + license = lib.licenses.gpl2; 34 + maintainers = [ lib.maintainers.piotr ]; 35 35 }; 36 36 }
+4 -4
pkgs/applications/misc/cli-visualizer/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, fftw, ncurses5, libpulseaudio, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, cmake, fftw, ncurses5, libpulseaudio, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.8"; ··· 29 29 meta = { 30 30 homepage = "https://github.com/dpayne/cli-visualizer"; 31 31 description = "CLI based audio visualizer"; 32 - license = stdenv.lib.licenses.mit; 33 - maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; 34 - platforms = with stdenv.lib.platforms; linux; 32 + license = lib.licenses.mit; 33 + maintainers = [ lib.maintainers.matthiasbeyer ]; 34 + platforms = with lib.platforms; linux; 35 35 }; 36 36 }
+1 -1
pkgs/applications/misc/clipit/default.nix
··· 22 22 buildInputs = [ gtk3 libayatana-appindicator ]; 23 23 24 24 gappsWrapperArgs = [ 25 - "--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ xdotool which ]}" 25 + "--prefix" "PATH" ":" "${lib.makeBinPath [ xdotool which ]}" 26 26 ]; 27 27 28 28 meta = with lib; {
+4 -4
pkgs/applications/misc/confclerk/default.nix
··· 1 - { stdenv, fetchurl, qt4, qmake4Hook }: 1 + { lib, stdenv, fetchurl, qt4, qmake4Hook }: 2 2 3 3 let version = "0.6.4"; in 4 4 stdenv.mkDerivation { ··· 22 22 meta = { 23 23 description = "Offline conference schedule viewer"; 24 24 homepage = "http://www.toastfreeware.priv.at/confclerk"; 25 - license = stdenv.lib.licenses.gpl2; 26 - maintainers = with stdenv.lib.maintainers; [ ehmry ]; 27 - platforms = stdenv.lib.platforms.linux; 25 + license = lib.licenses.gpl2; 26 + maintainers = with lib.maintainers; [ ehmry ]; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+1 -1
pkgs/applications/misc/corectrl/default.nix
··· 51 51 ]; 52 52 53 53 runtimeDeps = [ mesa-demos vulkan-tools ]; 54 - binPath = stdenv.lib.makeBinPath runtimeDeps; 54 + binPath = lib.makeBinPath runtimeDeps; 55 55 56 56 dontWrapQtApps = true; 57 57
+1 -1
pkgs/applications/misc/cpu-x/default.nix
··· 19 19 20 20 postInstall = '' 21 21 wrapProgram $out/bin/cpu-x \ 22 - --prefix PATH : ${stdenv.lib.makeBinPath [ stdenv.cc ]} 22 + --prefix PATH : ${lib.makeBinPath [ stdenv.cc ]} 23 23 ''; 24 24 25 25 meta = with lib; {
+3 -2
pkgs/applications/misc/crow-translate/default.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , mkDerivation 3 4 , fetchFromGitHub 4 5 , substituteAll ··· 64 65 65 66 buildInputs = [ leptonica tesseract4 qtmultimedia qtx11extras ]; 66 67 67 - meta = with stdenv.lib; { 68 + meta = with lib; { 68 69 description = "A simple and lightweight translator that allows to translate and speak text using Google, Yandex and Bing"; 69 70 homepage = "https://crow-translate.github.io/"; 70 71 license = licenses.gpl3Plus;
+2 -2
pkgs/applications/misc/crumbs/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "crumbs"; ··· 23 23 cp crumbs-completion.fish $out/share/fish/vendor_completions.d/crumbs.fish 24 24 ''; 25 25 26 - meta = with stdenv.lib; 26 + meta = with lib; 27 27 { description = "Bookmarks for the command line"; 28 28 homepage = "https://github.com/fasseg/crumbs"; 29 29 license = licenses.wtfpl;
+1 -1
pkgs/applications/misc/dbeaver/default.nix
··· 46 46 47 47 makeWrapper $out/dbeaver/dbeaver $out/bin/dbeaver \ 48 48 --prefix PATH : ${jdk}/bin \ 49 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk3 libXtst ])} \ 49 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk3 libXtst ])} \ 50 50 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 51 51 52 52 # Create desktop item.
+3 -3
pkgs/applications/misc/dfilemanager/default.nix
··· 1 - { stdenv, mkDerivation, fetchFromGitHub, cmake, file, qtbase, qttools, solid }: 1 + { lib, stdenv, mkDerivation, fetchFromGitHub, cmake, file, qtbase, qttools, solid }: 2 2 3 3 mkDerivation { 4 4 pname = "dfilemanager"; ··· 19 19 meta = { 20 20 homepage = "http://dfilemanager.sourceforge.net/"; 21 21 description = "File manager written in Qt/C++"; 22 - license = stdenv.lib.licenses.gpl2; 23 - platforms = stdenv.lib.platforms.unix; 22 + license = lib.licenses.gpl2; 23 + platforms = lib.platforms.unix; 24 24 }; 25 25 }
+4 -4
pkgs/applications/misc/diffpdf/default.nix
··· 1 - { stdenv, mkDerivation, fetchurl, fetchpatch, qmake, qttools, qtbase, poppler }: 1 + { lib, stdenv, mkDerivation, fetchurl, fetchpatch, qmake, qttools, qtbase, poppler }: 2 2 3 3 mkDerivation rec { 4 4 version = "2.1.3"; ··· 51 51 meta = { 52 52 homepage = "http://www.qtrac.eu/diffpdfc.html"; 53 53 description = "Tool for diffing pdf files visually or textually"; 54 - license = stdenv.lib.licenses.gpl2Plus; 55 - maintainers = with stdenv.lib.maintainers; [ tstrobel ]; 56 - platforms = with stdenv.lib.platforms; linux; 54 + license = lib.licenses.gpl2Plus; 55 + maintainers = with lib.maintainers; [ tstrobel ]; 56 + platforms = with lib.platforms; linux; 57 57 inherit version; 58 58 }; 59 59 }
+1 -1
pkgs/applications/misc/ding/default.nix
··· 42 42 cp -v ding.png $out/share/pixmaps/ 43 43 cp -v ding.desktop $out/share/applications/ 44 44 45 - wrapProgram $out/bin/ding --prefix PATH : ${stdenv.lib.makeBinPath [ gnugrep aspellEnv tk fortune ]} --prefix ASPELL_CONF : "\"prefix ${aspellEnv};\"" 45 + wrapProgram $out/bin/ding --prefix PATH : ${lib.makeBinPath [ gnugrep aspellEnv tk fortune ]} --prefix ASPELL_CONF : "\"prefix ${aspellEnv};\"" 46 46 ''; 47 47 48 48 meta = with lib; {
+1 -1
pkgs/applications/misc/doomseeker/default.nix
··· 16 16 nativeBuildInputs = [ cmake qttools pkgconfig xxd ]; 17 17 buildInputs = [ qtbase qtmultimedia zlib bzip2 ]; 18 18 19 - hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; 19 + hardeningDisable = lib.optional stdenv.isDarwin "format"; 20 20 21 21 meta = with lib; { 22 22 homepage = "http://doomseeker.drdteam.org/";
+3 -3
pkgs/applications/misc/dozenal/default.nix
··· 1 - { stdenv, fetchFromGitHub, ncurses, hdate, lua5_2 }: 1 + { lib, stdenv, fetchFromGitHub, ncurses, hdate, lua5_2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "12010904"; ··· 55 55 Defaults to dozenal Roman numerals. 56 56 ''; 57 57 homepage = "https://github.com/dgoodmaniii/dozenal/"; 58 - maintainers = with stdenv.lib.maintainers; [ CharlesHD ]; 59 - license = stdenv.lib.licenses.gpl3; 58 + maintainers = with lib.maintainers; [ CharlesHD ]; 59 + license = lib.licenses.gpl3; 60 60 }; 61 61 }
+4 -4
pkgs/applications/misc/electrum/default.nix
··· 58 58 cp -ar ${tests} $sourceRoot/electrum/tests 59 59 ''; 60 60 61 - nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ]; 61 + nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ]; 62 62 63 63 propagatedBuildInputs = with python3.pkgs; [ 64 64 aiohttp ··· 81 81 keepkey 82 82 trezor 83 83 btchip 84 - ] ++ stdenv.lib.optionals enableQt [ pyqt5 qdarkstyle ]; 84 + ] ++ lib.optionals enableQt [ pyqt5 qdarkstyle ]; 85 85 86 86 preBuild = '' 87 87 sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py ··· 94 94 sed -i '/qdarkstyle/d' contrib/requirements/requirements.txt 95 95 ''); 96 96 97 - postInstall = stdenv.lib.optionalString stdenv.isLinux '' 97 + postInstall = lib.optionalString stdenv.isLinux '' 98 98 # Despite setting usr_share above, these files are installed under 99 99 # $out/nix ... 100 100 mv $out/${python3.sitePackages}/nix/store"/"*/share $out ··· 108 108 109 109 ''; 110 110 111 - postFixup = stdenv.lib.optionalString enableQt '' 111 + postFixup = lib.optionalString enableQt '' 112 112 wrapQtApp $out/bin/electrum 113 113 ''; 114 114
+1 -1
pkgs/applications/misc/elogind/default.nix
··· 25 25 , enableSystemd ? false 26 26 }: 27 27 28 - with stdenv.lib; 28 + with lib; 29 29 30 30 stdenv.mkDerivation rec { 31 31 pname = "elogind";
+1 -1
pkgs/applications/misc/evtest/default.nix
··· 15 15 16 16 meta = with lib; { 17 17 description = "Simple tool for input event debugging"; 18 - license = stdenv.lib.licenses.gpl2; 18 + license = lib.licenses.gpl2; 19 19 platforms = platforms.linux; 20 20 maintainers = [ maintainers.bjornfor ]; 21 21 };
+3 -2
pkgs/applications/misc/expenses/default.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , buildGoModule 3 4 , fetchFromGitHub 4 5 , sqlite ··· 26 27 "-ldflags=-s -w -X github.com/manojkarthick/expenses/cmd.Version=${version}" 27 28 ]; 28 29 29 - meta = with stdenv.lib; { 30 + meta = with lib; { 30 31 description = "An interactive command line expense logger"; 31 32 license = licenses.mit; 32 33 maintainers = [ maintainers.manojkarthick ];
+4 -4
pkgs/applications/misc/far2l/default.nix
··· 23 23 nativeBuildInputs = [ cmake pkgconfig m4 makeWrapper imagemagick ]; 24 24 25 25 buildInputs = [ wxGTK30 glib pcre ] 26 - ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa; 26 + ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa; 27 27 28 - postPatch = stdenv.lib.optionalString stdenv.isLinux '' 28 + postPatch = lib.optionalString stdenv.isLinux '' 29 29 substituteInPlace far2l/bootstrap/trash.sh \ 30 30 --replace 'gvfs-trash' '${gvfs}/bin/gvfs-trash' 31 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 31 + '' + lib.optionalString stdenv.isDarwin '' 32 32 substituteInPlace far2l/CMakeLists.txt \ 33 33 --replace "-framework System" -lSystem 34 34 '' + '' ··· 70 70 mkdir -p $out/share/icons/hicolor/$size/apps 71 71 convert -size $size ../far2l/DE/icons/hicolor/$size/apps/far2l.svg $out/share/icons/hicolor/$size/apps/far2l.png 72 72 done 73 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 73 + '' + lib.optionalString stdenv.isDarwin '' 74 74 wrapProgram $out/bin/far2l --argv0 $out/bin/far2l 75 75 ''; 76 76
+1 -1
pkgs/applications/misc/fbreader/default.nix
··· 6 6 , AppKit, Cocoa 7 7 }: 8 8 9 - with stdenv.lib; 9 + with lib; 10 10 11 11 assert elem uiTarget [ "desktop" "macosx" ]; 12 12 assert elem uiType [ "qt4" "gtk" "cocoa" ];
+4 -4
pkgs/applications/misc/fetchmail/default.nix
··· 1 - { stdenv, fetchurl, openssl }: 1 + { lib, stdenv, fetchurl, openssl }: 2 2 3 3 let 4 4 version = "6.4.14"; ··· 28 28 IPSEC. 29 29 ''; 30 30 31 - platforms = stdenv.lib.platforms.unix; 32 - maintainers = [ stdenv.lib.maintainers.peti ]; 33 - license = stdenv.lib.licenses.gpl2Plus; 31 + platforms = lib.platforms.unix; 32 + maintainers = [ lib.maintainers.peti ]; 33 + license = lib.licenses.gpl2Plus; 34 34 }; 35 35 }
+1 -1
pkgs/applications/misc/fff/default.nix
··· 11 11 sha256 = "14ymdw6l6phnil0xf1frd5kgznaiwppcic0v4hb61s1zpf4wrshg"; 12 12 }; 13 13 14 - pathAdd = stdenv.lib.makeSearchPath "bin" ([ xdg_utils file coreutils w3m xdotool ]); 14 + pathAdd = lib.makeSearchPath "bin" ([ xdg_utils file coreutils w3m xdotool ]); 15 15 16 16 nativeBuildInputs = [ makeWrapper ]; 17 17 buildInputs = [ bashInteractive ];
+1 -1
pkgs/applications/misc/firestarter/default.nix
··· 2 2 withCuda ? true 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 stdenv.mkDerivation rec { 7 7 pname = "firestarter"; 8 8 version = "1.7.4";
+1 -1
pkgs/applications/misc/fsv/default.nix
··· 7 7 pname = "gtkglarea"; 8 8 version = "2.1.0"; 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "1pl2vdj6l64j864ilhkq1bcggb3hrlxjwk5m029i7xfjfxc587lf"; 12 12 }; 13 13 nativeBuildInputs = [ pkgconfig ];
+2 -2
pkgs/applications/misc/gammu/default.nix
··· 1 - { stdenv, fetchFromGitHub, python, pkgconfig, cmake, bluez, libusb1, curl 1 + { lib, stdenv, fetchFromGitHub, python, pkgconfig, cmake, bluez, libusb1, curl 2 2 , libiconv, gettext, sqlite 3 3 , dbiSupport ? false, libdbi ? null, libdbiDrivers ? null 4 4 , postgresSupport ? false, postgresql ? null 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "gammu";
+3 -3
pkgs/applications/misc/garmin-plugin/default.nix
··· 1 - { stdenv, fetchurl, garmintools, libgcrypt, libusb-compat-0_1, pkgconfig, tinyxml, zlib }: 1 + { lib, stdenv, fetchurl, garmintools, libgcrypt, libusb-compat-0_1, pkgconfig, tinyxml, zlib }: 2 2 stdenv.mkDerivation { 3 3 name = "garmin-plugin-0.3.26"; 4 4 src = fetchurl { ··· 19 19 ''; 20 20 meta = { 21 21 homepage = "http://www.andreas-diesner.de/garminplugin"; 22 - license = stdenv.lib.licenses.gpl3; 22 + license = lib.licenses.gpl3; 23 23 maintainers = [ ]; 24 - platforms = stdenv.lib.platforms.linux; 24 + platforms = lib.platforms.linux; 25 25 }; 26 26 }
+4 -4
pkgs/applications/misc/gcal/default.nix
··· 1 - { stdenv, fetchurl, ncurses, fetchpatch }: 1 + { lib, stdenv, fetchurl, ncurses, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gcal"; ··· 29 29 also displays holiday lists for many countries around the globe. 30 30 ''; 31 31 homepage = "https://www.gnu.org/software/gcal/"; 32 - license = stdenv.lib.licenses.gpl3Plus; 33 - platforms = stdenv.lib.platforms.unix; 34 - maintainers = [ stdenv.lib.maintainers.romildo ]; 32 + license = lib.licenses.gpl3Plus; 33 + platforms = lib.platforms.unix; 34 + maintainers = [ lib.maintainers.romildo ]; 35 35 }; 36 36 }
+2 -2
pkgs/applications/misc/get_iplayer/default.nix
··· 1 - {stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg_3, makeWrapper, perl, perlPackages, rtmpdump}: 1 + { lib, stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg_3, makeWrapper, perl, perlPackages, rtmpdump}: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 perlPackages.buildPerlPackage rec { 6 6 pname = "get_iplayer";
+2 -2
pkgs/applications/misc/gkrellm/default.nix
··· 1 - { fetchurl, stdenv, gettext, pkgconfig, glib, gtk2, libX11, libSM, libICE, which 1 + { lib, fetchurl, stdenv, gettext, pkgconfig, glib, gtk2, libX11, libSM, libICE, which 2 2 , IOKit ? null }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "gkrellm-2.3.11";
+4 -4
pkgs/applications/misc/gksu/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk2, gnome2, gnome3, libgksu, 1 + { lib, stdenv, fetchurl, pkgconfig, gtk2, gnome2, gnome3, libgksu, 2 2 intltool, libstartup_notification, gtk-doc, wrapGAppsHook 3 3 }: 4 4 ··· 46 46 as another user. 47 47 ''; 48 48 homepage = "https://www.nongnu.org/gksu/"; 49 - license = stdenv.lib.licenses.gpl2; 50 - maintainers = [ stdenv.lib.maintainers.romildo ]; 51 - platforms = stdenv.lib.platforms.linux; 49 + license = lib.licenses.gpl2; 50 + maintainers = [ lib.maintainers.romildo ]; 51 + platforms = lib.platforms.linux; 52 52 }; 53 53 }
+1 -1
pkgs/applications/misc/glava/default.nix
··· 3 3 , enableGlfw ? false, glfw, runtimeShell }: 4 4 5 5 let 6 - inherit (stdenv.lib) optional makeLibraryPath; 6 + inherit (lib) optional makeLibraryPath; 7 7 8 8 wrapperScript = writeScript "glava" '' 9 9 #!${runtimeShell}
+2 -2
pkgs/applications/misc/glom/default.nix
··· 54 54 outputs = [ "out" "lib" "dev" "doc" "devdoc" ]; 55 55 56 56 src = fetchurl { 57 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 57 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 58 58 sha256 = "1wcd4kd3crwqjv0jfp73jkyyf5ws8mvykg37kqxmcb58piz21gsk"; 59 59 }; 60 60 ··· 101 101 preConfigure = "NOCONFIGURE=1 ./autogen.sh"; 102 102 103 103 configureFlags = [ 104 - "--with-boost-python=boost_python${stdenv.lib.versions.major python3.version}${stdenv.lib.versions.minor python3.version}" 104 + "--with-boost-python=boost_python${lib.versions.major python3.version}${lib.versions.minor python3.version}" 105 105 ]; 106 106 107 107 makeFlags = [
+3 -3
pkgs/applications/misc/gmtp/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libmtp, libid3tag, flac, libvorbis, gtk3 1 + { lib, stdenv, fetchurl, pkgconfig, libmtp, libid3tag, flac, libvorbis, gtk3 2 2 , gsettings-desktop-schemas, wrapGAppsHook 3 3 }: 4 4 ··· 25 25 meta = { 26 26 description = "A simple MP3 and Media player client for UNIX and UNIX like systems"; 27 27 homepage = "https://gmtp.sourceforge.io"; 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 maintainers = [ ]; 30 - license = stdenv.lib.licenses.bsd3; 30 + license = lib.licenses.bsd3; 31 31 }; 32 32 }
+1 -1
pkgs/applications/misc/gnome-multi-writer/default.nix
··· 22 22 version = "3.32.1"; 23 23 24 24 src = fetchurl { 25 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 26 sha256 = "1apdd8yi12zagf82k376a9wmdm27wzwdxpm2wf2pnwkaf786rmdw"; 27 27 }; 28 28
+1 -1
pkgs/applications/misc/gnome-recipes/default.nix
··· 26 26 name = "${pname}-${version}"; 27 27 28 28 src = fetchurl { 29 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 29 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 30 30 sha256 = "1yymii3yf823d9x28fbhqdqm1wa30s40j94x0am9fjj0nzyd5s8v"; 31 31 }; 32 32
+1 -1
pkgs/applications/misc/gnome-usage/default.nix
··· 22 22 version = "3.38.0"; 23 23 24 24 src = fetchurl { 25 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 26 sha256 = "0mqs39yi2cqwkzlmmgzrszsva5hbdpws6zk4lbi4w2cjzl185mcl"; 27 27 }; 28 28
+11 -11
pkgs/applications/misc/goldendict/default.nix
··· 21 21 22 22 patches = [ 23 23 ./0001-dont-check-for-updates.patch 24 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 24 + ] ++ lib.optionals stdenv.isDarwin [ 25 25 ./0001-dont-use-maclibs.patch 26 26 ]; 27 27 28 28 postPatch = '' 29 29 substituteInPlace goldendict.pro \ 30 - --replace "hunspell-1.6.1" "hunspell-${stdenv.lib.versions.majorMinor hunspell.version}" 30 + --replace "hunspell-1.6.1" "hunspell-${lib.versions.majorMinor hunspell.version}" 31 31 ''; 32 32 33 33 nativeBuildInputs = [ pkgconfig qmake ]; 34 34 buildInputs = [ 35 35 qtbase qtsvg qtwebkit qttools 36 36 libvorbis hunspell xz lzo 37 - ] ++ stdenv.lib.optionals stdenv.isLinux [ qtx11extras libXtst ] 38 - ++ stdenv.lib.optionals stdenv.isDarwin [ bzip2 libiconv ] 39 - ++ stdenv.lib.optional withCC opencc 40 - ++ stdenv.lib.optional withEpwing libeb 41 - ++ stdenv.lib.optional withExtraTiff libtiff 42 - ++ stdenv.lib.optionals withFFmpeg [ libao ffmpeg_3 ] 43 - ++ stdenv.lib.optional withZim zstd; 37 + ] ++ lib.optionals stdenv.isLinux [ qtx11extras libXtst ] 38 + ++ lib.optionals stdenv.isDarwin [ bzip2 libiconv ] 39 + ++ lib.optional withCC opencc 40 + ++ lib.optional withEpwing libeb 41 + ++ lib.optional withExtraTiff libtiff 42 + ++ lib.optionals withFFmpeg [ libao ffmpeg_3 ] 43 + ++ lib.optional withZim zstd; 44 44 45 - qmakeFlags = with stdenv.lib; [ 45 + qmakeFlags = with lib; [ 46 46 "goldendict.pro" 47 47 (optional withCC "CONFIG+=chinese_conversion_support") 48 48 (optional (!withCC) "CONFIG+=no_chinese_conversion_support") ··· 53 53 (optional withZim "CONFIG+=zim_support") 54 54 ]; 55 55 56 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 56 + postInstall = lib.optionalString stdenv.isDarwin '' 57 57 mkdir -p $out/Applications 58 58 mv GoldenDict.app $out/Applications 59 59 wrapQtApp $out/Applications/GoldenDict.app/Contents/MacOS/GoldenDict
+2 -2
pkgs/applications/misc/gollum/default.nix
··· 19 19 in '' 20 20 mkdir -p $out/bin 21 21 makeWrapper ${env}/bin/gollum $out/bin/gollum \ 22 - --prefix PATH ":" ${stdenv.lib.makeBinPath [ git ]} 22 + --prefix PATH ":" ${lib.makeBinPath [ git ]} 23 23 makeWrapper ${env}/bin/gollum-migrate-tags $out/bin/gollum-migrate-tags \ 24 - --prefix PATH ":" ${stdenv.lib.makeBinPath [ git ]} 24 + --prefix PATH ":" ${lib.makeBinPath [ git ]} 25 25 ''; 26 26 27 27 passthru.updateScript = bundlerUpdateScript "gollum";
+1 -1
pkgs/applications/misc/gollum/gemset.nix
··· 463 463 }; 464 464 version = "0.16.10"; 465 465 }; 466 - } 466 + }
+1 -1
pkgs/applications/misc/googleearth/default.nix
··· 12 12 then "0dwnppn5snl5bwkdrgj4cyylnhngi0g66fn2k41j3dvis83x24k6" 13 13 else "0gndbxrj3kgc2dhjqwjifr3cl85hgpm695z0wi01wvwzhrjqs0l2"; 14 14 version = "7.1.8.3036"; 15 - fullPath = stdenv.lib.makeLibraryPath [ 15 + fullPath = lib.makeLibraryPath [ 16 16 glibc 17 17 glib 18 18 stdenv.cc.cc
+2 -2
pkgs/applications/misc/gpg-mdp/default.nix
··· 1 - { fetchurl, stdenv, ncurses, gnupg }: 1 + { fetchurl, lib, stdenv, ncurses, gnupg }: 2 2 3 3 let version = "0.7.4"; 4 4 in stdenv.mkDerivation { ··· 7 7 inherit version; 8 8 meta = { 9 9 homepage = "https://tamentis.com/projects/mdp/"; 10 - license = [stdenv.lib.licenses.isc]; 10 + license = [lib.licenses.isc]; 11 11 description = "Manage your passwords with GnuPG and a text editor"; 12 12 }; 13 13 src = fetchurl {
+1 -1
pkgs/applications/misc/gpsbabel/default.nix
··· 32 32 configureFlags = [ "--with-zlib=system" ] 33 33 # Floating point behavior on i686 causes test failures. Preventing 34 34 # extended precision fixes this problem. 35 - ++ stdenv.lib.optionals stdenv.isi686 [ 35 + ++ lib.optionals stdenv.isi686 [ 36 36 "CFLAGS=-ffloat-store" "CXXFLAGS=-ffloat-store" 37 37 ]; 38 38
+1 -1
pkgs/applications/misc/gpsbabel/gui.nix
··· 29 29 ''; 30 30 31 31 qtWrapperArgs = [ 32 - "--prefix PATH : ${stdenv.lib.makeBinPath [ gpsbabel ]}" 32 + "--prefix PATH : ${lib.makeBinPath [ gpsbabel ]}" 33 33 ]; 34 34 35 35 postInstall = ''
+4 -4
pkgs/applications/misc/gpx/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gpx"; ··· 16 16 meta = { 17 17 description = "Gcode to x3g conversion postprocessor"; 18 18 homepage = "https://github.com/markwal/GPX/"; 19 - license = stdenv.lib.licenses.gpl2; 20 - platforms = stdenv.lib.platforms.unix; 21 - maintainers = [ stdenv.lib.maintainers.leo60228 ]; 19 + license = lib.licenses.gpl2; 20 + platforms = lib.platforms.unix; 21 + maintainers = [ lib.maintainers.leo60228 ]; 22 22 }; 23 23 }
+3 -3
pkgs/applications/misc/gramps/default.nix
··· 15 15 nativeBuildInputs = [ wrapGAppsHook intltool gettext ]; 16 16 buildInputs = [ gtk3 gobject-introspection pango gexiv2 ] 17 17 # Map support 18 - ++ stdenv.lib.optional enableOSM osm-gps-map 18 + ++ lib.optional enableOSM osm-gps-map 19 19 # Graphviz support 20 - ++ stdenv.lib.optional enableGraphviz graphviz 20 + ++ lib.optional enableGraphviz graphviz 21 21 # Ghostscript support 22 - ++ stdenv.lib.optional enableGhostscript ghostscript 22 + ++ lib.optional enableGhostscript ghostscript 23 23 ; 24 24 25 25 src = fetchFromGitHub {
+4 -4
pkgs/applications/misc/grip/default.nix
··· 1 - { stdenv, fetchurl, gtk2, glib, pkgconfig, libgnome, libgnomeui, vte 1 + { lib, stdenv, fetchurl, gtk2, glib, pkgconfig, libgnome, libgnomeui, vte 2 2 , curl, cdparanoia, libid3tag, ncurses, libtool }: 3 3 4 4 stdenv.mkDerivation rec { ··· 21 21 meta = { 22 22 description = "GTK-based audio CD player/ripper"; 23 23 homepage = "http://nostatic.org/grip"; 24 - license = stdenv.lib.licenses.gpl2; 24 + license = lib.licenses.gpl2; 25 25 26 - maintainers = with stdenv.lib.maintainers; [ marcweber peti ]; 27 - platforms = stdenv.lib.platforms.linux; 26 + maintainers = with lib.maintainers; [ marcweber peti ]; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+4 -4
pkgs/applications/misc/gsimplecal/default.nix
··· 1 - { stdenv, fetchurl, automake, autoconf, pkgconfig, gtk3 }: 1 + { lib, stdenv, fetchurl, automake, autoconf, pkgconfig, gtk3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gsimplecal"; ··· 35 35 Also, you can configure it to not only show the calendar, but also 36 36 display multiple clocks for different world time zones. 37 37 ''; 38 - license = stdenv.lib.licenses.bsd3; 39 - maintainers = [ stdenv.lib.maintainers.romildo ]; 40 - platforms = stdenv.lib.platforms.linux; 38 + license = lib.licenses.bsd3; 39 + maintainers = [ lib.maintainers.romildo ]; 40 + platforms = lib.platforms.linux; 41 41 }; 42 42 }
+4 -4
pkgs/applications/misc/gummi/default.nix
··· 1 - { stdenv, pkgs 1 + { lib, stdenv, pkgs 2 2 , glib, gnome3, gtk3, gtksourceview3, gtkspell3, poppler, texlive 3 3 , pkgconfig, intltool, autoreconfHook, wrapGAppsHook 4 4 }: ··· 29 29 meta = { 30 30 homepage = "https://gummi.app"; 31 31 description = "Simple LaTex editor for GTK users"; 32 - license = stdenv.lib.licenses.mit; 33 - maintainers = with stdenv.lib.maintainers; [ flokli ]; 34 - platforms = with stdenv.lib.platforms; linux; 32 + license = lib.licenses.mit; 33 + maintainers = with lib.maintainers; [ flokli ]; 34 + platforms = with lib.platforms; linux; 35 35 inherit version; 36 36 }; 37 37 }
+5 -5
pkgs/applications/misc/gv/default.nix
··· 1 - { stdenv, fetchurl, Xaw3d, ghostscriptX, perl, pkgconfig, libiconv }: 1 + { lib, stdenv, fetchurl, Xaw3d, ghostscriptX, perl, pkgconfig, libiconv }: 2 2 3 3 let 4 4 name = "gv-3.7.4"; ··· 11 11 sha256 = "0q8s43z14vxm41pfa8s5h9kyyzk1fkwjhkiwbf2x70alm6rv6qi1"; 12 12 }; 13 13 14 - configureFlags = stdenv.lib.optionals stdenv.isDarwin [ 14 + configureFlags = lib.optionals stdenv.isDarwin [ 15 15 "--enable-SIGCHLD-fallback" 16 16 ]; 17 17 ··· 20 20 ghostscriptX 21 21 perl 22 22 pkgconfig 23 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 23 + ] ++ lib.optionals stdenv.isDarwin [ 24 24 libiconv 25 25 ]; 26 26 ··· 41 41 interface for the Ghostscript interpreter. 42 42 ''; 43 43 44 - license = stdenv.lib.licenses.gpl3Plus; 44 + license = lib.licenses.gpl3Plus; 45 45 maintainers = [ ]; 46 - platforms = stdenv.lib.platforms.unix; 46 + platforms = lib.platforms.unix; 47 47 }; 48 48 }
+4 -4
pkgs/applications/misc/gxmessage/default.nix
··· 1 - { stdenv, fetchurl, gtk3, intltool, pkgconfig, texinfo }: 1 + { lib, stdenv, fetchurl, gtk3, intltool, pkgconfig, texinfo }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gxmessage"; ··· 15 15 meta = { 16 16 description = "A GTK enabled dropin replacement for xmessage"; 17 17 homepage = "http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"; 18 - license = stdenv.lib.licenses.gpl3; 19 - maintainers = with stdenv.lib.maintainers; [jfb]; 20 - platforms = with stdenv.lib.platforms; linux; 18 + license = lib.licenses.gpl3; 19 + maintainers = with lib.maintainers; [jfb]; 20 + platforms = with lib.platforms; linux; 21 21 }; 22 22 }
+3 -3
pkgs/applications/misc/hdate/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.6.02"; ··· 10 10 meta = { 11 11 description = "Hebrew calendar and solar astronomical times library and utilities"; 12 12 homepage = "https://sourceforge.net/projects/libhdate/"; 13 - license = stdenv.lib.licenses.gpl3; 14 - maintainers = with stdenv.lib.maintainers; [ CharlesHD ]; 13 + license = lib.licenses.gpl3; 14 + maintainers = with lib.maintainers; [ CharlesHD ]; 15 15 }; 16 16 }
+3 -3
pkgs/applications/misc/hello-unfree/default.nix
··· 1 - { stdenv, runtimeShell }: 1 + { lib, stdenv, runtimeShell }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "example-unfree-package"; ··· 17 17 18 18 meta = { 19 19 description = "An example package with unfree license (for testing)"; 20 - license = stdenv.lib.licenses.unfree; 21 - maintainers = [ stdenv.lib.maintainers.oxij ]; 20 + license = lib.licenses.unfree; 21 + maintainers = [ lib.maintainers.oxij ]; 22 22 }; 23 23 }
+5 -5
pkgs/applications/misc/houdini/runtime.nix
··· 1 - { stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, libGLU, libGL, alsaLib, dbus, xkeyboardconfig, bc, addOpenGLRunpath }: 1 + { lib, stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, libGLU, libGL, alsaLib, dbus, xkeyboardconfig, bc, addOpenGLRunpath }: 2 2 3 3 let 4 4 ld_library_path = builtins.concatStringsSep ":" [ 5 5 "${stdenv.cc.cc.lib}/lib64" 6 - (stdenv.lib.makeLibraryPath [ 6 + (lib.makeLibraryPath [ 7 7 libGLU 8 8 libGL 9 9 xorg.libXmu ··· 79 79 meta = { 80 80 description = "3D animation application software"; 81 81 homepage = "https://www.sidefx.com"; 82 - license = stdenv.lib.licenses.unfree; 83 - platforms = stdenv.lib.platforms.linux; 84 - maintainers = [ stdenv.lib.maintainers.canndrew ]; 82 + license = lib.licenses.unfree; 83 + platforms = lib.platforms.linux; 84 + maintainers = [ lib.maintainers.canndrew ]; 85 85 }; 86 86 } 87 87
+4 -4
pkgs/applications/misc/hstr/default.nix
··· 1 - { stdenv, fetchFromGitHub, readline, ncurses 1 + { lib, stdenv, fetchFromGitHub, readline, ncurses 2 2 , autoreconfHook, pkgconfig, gettext }: 3 3 4 4 stdenv.mkDerivation rec { ··· 20 20 meta = { 21 21 homepage = "https://github.com/dvorka/hstr"; 22 22 description = "Shell history suggest box - easily view, navigate, search and use your command history"; 23 - license = stdenv.lib.licenses.asl20; 24 - maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; 25 - platforms = with stdenv.lib.platforms; linux ++ darwin; 23 + license = lib.licenses.asl20; 24 + maintainers = [ lib.maintainers.matthiasbeyer ]; 25 + platforms = with lib.platforms; linux ++ darwin; 26 26 }; 27 27 28 28 }
+1 -1
pkgs/applications/misc/hubstaff/default.nix
··· 9 9 10 10 inherit (data) version url sha256; 11 11 12 - rpath = stdenv.lib.makeLibraryPath 12 + rpath = lib.makeLibraryPath 13 13 [ libX11 zlib libSM libICE libXext freetype libXrender fontconfig libXft 14 14 libXinerama stdenv.cc.cc.lib libnotify glib gtk3 libappindicator-gtk3 15 15 curl libXfixes libXScrnSaver ];
+1 -1
pkgs/applications/misc/icesl/default.nix
··· 1 1 { stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM, libXext, dialog, makeWrapper }: 2 2 let 3 - lpath = stdenv.lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext ]; 3 + lpath = lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext ]; 4 4 in 5 5 stdenv.mkDerivation rec { 6 6 pname = "iceSL";
+4 -6
pkgs/applications/misc/ikiwiki/default.nix
··· 1 - { stdenv, fetchurl, perlPackages, gettext, makeWrapper, PerlMagick, which, highlight 1 + { lib, stdenv, fetchurl, perlPackages, gettext, makeWrapper, PerlMagick, which, highlight 2 2 , gitSupport ? false, git ? null 3 3 , docutilsSupport ? false, python ? null, docutils ? null 4 4 , monotoneSupport ? false, monotone ? null ··· 20 20 let 21 21 name = "ikiwiki"; 22 22 version = "3.20200202.3"; 23 - 24 - lib = stdenv.lib; 25 23 in 26 24 stdenv.mkDerivation { 27 25 name = "${name}-${version}"; ··· 85 83 meta = { 86 84 description = "Wiki compiler, storing pages and history in a RCS"; 87 85 homepage = "http://ikiwiki.info/"; 88 - license = stdenv.lib.licenses.gpl2Plus; 89 - platforms = stdenv.lib.platforms.linux; 90 - maintainers = [ stdenv.lib.maintainers.peti ]; 86 + license = lib.licenses.gpl2Plus; 87 + platforms = lib.platforms.linux; 88 + maintainers = [ lib.maintainers.peti ]; 91 89 }; 92 90 }
+1 -1
pkgs/applications/misc/imag/default.nix
··· 23 23 24 24 nativeBuildInputs = [ installShellFiles pkg-config ]; 25 25 buildInputs = [ openssl ] 26 - ++ stdenv.lib.optional stdenv.isDarwin Security; 26 + ++ lib.optional stdenv.isDarwin Security; 27 27 checkInputs = [ gitMinimal util-linuxMinimal ]; 28 28 29 29 LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
+1 -1
pkgs/applications/misc/ipmicfg/default.nix
··· 16 16 17 17 patchelf \ 18 18 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 19 - --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}" \ 19 + --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc ]}" \ 20 20 "$out/opt/ipmicfg/IPMICFG-Linux.x86_64" 21 21 22 22 ln -s "$out/opt/ipmicfg/IPMICFG-Linux.x86_64" "$out/bin/ipmicfg"
+3 -3
pkgs/applications/misc/ipmiview/default.nix
··· 29 29 else throw "IPMIView is not supported on this platform"; 30 30 in 31 31 '' 32 - patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ libX11 libXext libXrender libXtst libXi ]}" ./jre/lib/amd64/libawt_xawt.so 33 - patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ freetype ]}" ./jre/lib/amd64/libfontmanager.so 32 + patchelf --set-rpath "${lib.makeLibraryPath [ libX11 libXext libXrender libXtst libXi ]}" ./jre/lib/amd64/libawt_xawt.so 33 + patchelf --set-rpath "${lib.makeLibraryPath [ freetype ]}" ./jre/lib/amd64/libfontmanager.so 34 34 patchelf --set-rpath "${gcc.cc}/lib:$out/jre/lib/amd64/jli" --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./jre/bin/java 35 35 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./BMCSecurity/${stunnelBinary} 36 36 ''; ··· 54 54 # WORK_DIR: unfortunately the ikvm related binaries are loaded from 55 55 # and user configuration is written to files in the CWD 56 56 makeWrapper $out/jre/bin/java $out/bin/IPMIView \ 57 - --set LD_LIBRARY_PATH "${stdenv.lib.makeLibraryPath [ fontconfig gcc-unwrapped.lib ]}" \ 57 + --set LD_LIBRARY_PATH "${lib.makeLibraryPath [ fontconfig gcc-unwrapped.lib ]}" \ 58 58 --prefix PATH : "$out/jre/bin:${iputils}/bin:${psmisc}/bin" \ 59 59 --add-flags "-jar $out/IPMIView20.jar" \ 60 60 --run 'WORK_DIR=''${XDG_DATA_HOME:-~/.local/share}/ipmiview
+2 -2
pkgs/applications/misc/jbidwatcher/default.nix
··· 1 - { stdenv, fetchurl, java, runtimeShell }: 1 + { lib, stdenv, fetchurl, java, runtimeShell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jbidwatcher"; ··· 42 42 binary. 43 43 ''; 44 44 45 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 45 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 46 46 }; 47 47 }
+1 -1
pkgs/applications/misc/jekyll/basic/gemset.nix
··· 421 421 }; 422 422 version = "2.4.2"; 423 423 }; 424 - } 424 + }
+2 -2
pkgs/applications/misc/jgmenu/default.nix
··· 38 38 xorg.libXinerama 39 39 xorg.libXrandr 40 40 python3Packages.python 41 - ] ++ stdenv.lib.optionals enableXfcePanelApplet [ 41 + ] ++ lib.optionals enableXfcePanelApplet [ 42 42 gtk3 43 43 xfce.libxfce4util 44 44 xfce.xfce4-panel ··· 46 46 47 47 configureFlags = [ 48 48 ] 49 - ++ stdenv.lib.optionals enableXfcePanelApplet [ 49 + ++ lib.optionals enableXfcePanelApplet [ 50 50 "--with-xfce4-panel-applet" 51 51 ]; 52 52
+3 -3
pkgs/applications/misc/jigdo/default.nix
··· 1 - { stdenv, fetchurl, db, gtk2, bzip2 }: 1 + { lib, stdenv, fetchurl, db, gtk2, bzip2 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "jigdo-0.7.3"; ··· 24 24 meta = { 25 25 description = "Download utility that can fetch files from several sources simultaneously"; 26 26 homepage = "http://atterer.net/jigdo/"; 27 - license = stdenv.lib.licenses.gpl2; 28 - platforms = stdenv.lib.platforms.unix; 27 + license = lib.licenses.gpl2; 28 + platforms = lib.platforms.unix; 29 29 }; 30 30 }
+1 -1
pkgs/applications/misc/josm/default.nix
··· 23 23 24 24 dontUnpack = true; 25 25 26 - buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ jre makeWrapper ]; 26 + buildInputs = lib.optionals (!stdenv.isDarwin) [ jre makeWrapper ]; 27 27 28 28 installPhase = 29 29 if stdenv.isDarwin then ''
+1 -1
pkgs/applications/misc/k2pdfopt/default.nix
··· 8 8 , enableTesseract ? true, leptonica, tesseract4 9 9 }: 10 10 11 - with stdenv.lib; 11 + with lib; 12 12 13 13 # k2pdfopt is a pain to package. It requires modified versions of mupdf, 14 14 # leptonica, and tesseract. Instead of shipping patches for these upstream
+4 -4
pkgs/applications/misc/kdbplus/default.nix
··· 1 - { stdenv, requireFile, unzip, rlwrap, bash, zlib }: 1 + { lib, stdenv, requireFile, unzip, rlwrap, bash, zlib }: 2 2 3 3 assert (stdenv.hostPlatform.system == "i686-linux"); 4 4 5 5 let 6 - libPath = stdenv.lib.makeLibraryPath 6 + libPath = lib.makeLibraryPath 7 7 [ stdenv.cc.libc stdenv.cc.cc zlib ]; 8 8 in 9 9 stdenv.mkDerivation rec { ··· 68 68 meta = { 69 69 description = "Analytics and time-series database"; 70 70 homepage = "http://www.kx.com/"; 71 - license = stdenv.lib.licenses.unfree; 71 + license = lib.licenses.unfree; 72 72 platforms = [ "i686-linux" ]; 73 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 73 + maintainers = [ lib.maintainers.thoughtpolice ]; 74 74 }; 75 75 }
+3 -3
pkgs/applications/misc/keepass-plugins/keeagent/default.nix
··· 1 - { stdenv, buildEnv, fetchzip, mono }: 1 + { lib, stdenv, buildEnv, fetchzip, mono }: 2 2 3 3 let 4 4 version = "0.12.0"; ··· 15 15 meta = { 16 16 description = "KeePass plugin to allow other programs to access SSH keys stored in a KeePass database for authentication"; 17 17 homepage = "http://lechnology.com/software/keeagent"; 18 - platforms = with stdenv.lib.platforms; linux; 19 - license = stdenv.lib.licenses.gpl2; 18 + platforms = with lib.platforms; linux; 19 + license = lib.licenses.gpl2; 20 20 maintainers = [ ]; 21 21 }; 22 22
+3 -3
pkgs/applications/misc/keepass-plugins/keepasshttp/default.nix
··· 1 - { stdenv, buildEnv, fetchFromGitHub, mono }: 1 + { lib, stdenv, buildEnv, fetchFromGitHub, mono }: 2 2 3 3 let 4 4 version = "1.8.4.2"; ··· 18 18 meta = { 19 19 description = "KeePass plugin to expose password entries securely (256bit AES/CBC) over HTTP"; 20 20 homepage = "https://github.com/pfn/keepasshttp"; 21 - platforms = with stdenv.lib.platforms; linux; 22 - license = stdenv.lib.licenses.gpl3; 21 + platforms = with lib.platforms; linux; 22 + license = lib.licenses.gpl3; 23 23 }; 24 24 25 25 pluginFilename = "KeePassHttp.plgx";
+4 -4
pkgs/applications/misc/keepass-plugins/otpkeyprov/default.nix
··· 1 - { stdenv, buildEnv, fetchzip, mono }: 1 + { lib, stdenv, buildEnv, fetchzip, mono }: 2 2 3 3 let 4 4 version = "2.6"; ··· 15 15 meta = { 16 16 description = "OtpKeyProv is a key provider based on one-time passwords"; 17 17 homepage = "https://keepass.info/plugins.html#otpkeyprov"; 18 - platforms = with stdenv.lib.platforms; linux; 19 - license = stdenv.lib.licenses.gpl2; 20 - maintainers = [ stdenv.lib.maintainers.ente ]; 18 + platforms = with lib.platforms; linux; 19 + license = lib.licenses.gpl2; 20 + maintainers = [ lib.maintainers.ente ]; 21 21 }; 22 22 23 23 pluginFilename = "OtpKeyProv.plgx";
+5 -5
pkgs/applications/misc/keepass/default.nix
··· 69 69 desktopName = "Keepass"; 70 70 genericName = "Password manager"; 71 71 categories = "Utility;"; 72 - mimeType = stdenv.lib.concatStringsSep ";" [ 72 + mimeType = lib.concatStringsSep ";" [ 73 73 "application/x-keepass2" 74 74 "" 75 75 ]; ··· 85 85 # is found and does not pollute output path. 86 86 binPaths = lib.concatStrings (lib.intersperse ":" (map (x: x + "/bin") plugins)); 87 87 88 - dynlibPath = stdenv.lib.makeLibraryPath [ gtk2 ]; 88 + dynlibPath = lib.makeLibraryPath [ gtk2 ]; 89 89 90 90 postInstall = 91 91 let ··· 111 111 meta = { 112 112 description = "GUI password manager with strong cryptography"; 113 113 homepage = "http://www.keepass.info/"; 114 - maintainers = with stdenv.lib.maintainers; [ amorsillo obadz jraygauthier ]; 115 - platforms = with stdenv.lib.platforms; all; 116 - license = stdenv.lib.licenses.gpl2; 114 + maintainers = with lib.maintainers; [ amorsillo obadz jraygauthier ]; 115 + platforms = with lib.platforms; all; 116 + license = lib.licenses.gpl2; 117 117 }; 118 118 }
+4 -4
pkgs/applications/misc/keepassx/2.0.nix
··· 1 - { stdenv, fetchurl, cmake, libgcrypt, qt4, xorg }: 1 + { lib, stdenv, fetchurl, cmake, libgcrypt, qt4, xorg }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "keepassx2"; ··· 15 15 meta = { 16 16 description = "Qt password manager compatible with its Win32 and Pocket PC versions"; 17 17 homepage = "https://www.keepassx.org/"; 18 - license = stdenv.lib.licenses.gpl2; 19 - maintainers = with stdenv.lib.maintainers; [ qknight ]; 20 - platforms = with stdenv.lib.platforms; linux; 18 + license = lib.licenses.gpl2; 19 + maintainers = with lib.maintainers; [ qknight ]; 20 + platforms = with lib.platforms; linux; 21 21 }; 22 22 }
+8 -8
pkgs/applications/misc/keepassx/community.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , fetchpatch 4 4 , cmake ··· 36 36 , withKeePassFDOSecrets ? true 37 37 }: 38 38 39 - with stdenv.lib; 39 + with lib; 40 40 41 41 stdenv.mkDerivation rec { 42 42 pname = "keepassxc"; ··· 49 49 sha256 = "032dzywvwpclhsl3n1pq2m9gyxqpg0gkci6axbvbs7bn82wznc4h"; 50 50 }; 51 51 52 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang [ 52 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang [ 53 53 "-Wno-old-style-cast" 54 54 "-Wno-error" 55 55 "-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}" 56 56 ]; 57 57 58 - postPatch = stdenv.lib.optionalString stdenv.isDarwin '' 58 + postPatch = lib.optionalString stdenv.isDarwin '' 59 59 substituteInPlace CMakeLists.txt \ 60 60 --replace "/usr/local/bin" "../bin" \ 61 61 --replace "/usr/local/share/man" "../share/man" 62 62 ''; 63 - NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib"; 63 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib"; 64 64 65 65 patches = [ 66 66 ./darwin.patch ··· 111 111 yubikey-personalization 112 112 zlib 113 113 ] 114 - ++ stdenv.lib.optional withKeePassKeeShareSecure quazip 115 - ++ stdenv.lib.optional stdenv.isDarwin qtmacextras 116 - ++ stdenv.lib.optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication; 114 + ++ lib.optional withKeePassKeeShareSecure quazip 115 + ++ lib.optional stdenv.isDarwin qtmacextras 116 + ++ lib.optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication; 117 117 118 118 preFixup = optionalString stdenv.isDarwin '' 119 119 # Make it work without Qt in PATH.
+4 -4
pkgs/applications/misc/keepassx/default.nix
··· 1 - { stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xorgproto, libXtst }: 1 + { lib, stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xorgproto, libXtst }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "keepassx"; ··· 18 18 meta = { 19 19 description = "Qt password manager compatible with its Win32 and Pocket PC versions"; 20 20 homepage = "https://www.keepassx.org/"; 21 - license = stdenv.lib.licenses.gpl2; 22 - maintainers = with stdenv.lib.maintainers; [ qknight ]; 23 - platforms = with stdenv.lib.platforms; linux; 21 + license = lib.licenses.gpl2; 22 + maintainers = with lib.maintainers; [ qknight ]; 23 + platforms = with lib.platforms; linux; 24 24 }; 25 25 }
+4 -4
pkgs/applications/misc/keystore-explorer/default.nix
··· 1 - { fetchzip, stdenv, jdk8, runtimeShell }: 1 + { fetchzip, lib, stdenv, jdk8, runtimeShell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "5.4.4"; ··· 33 33 34 34 meta = { 35 35 description = "Open source GUI replacement for the Java command-line utilities keytool and jarsigner"; 36 - license = stdenv.lib.licenses.gpl3Only; 37 - maintainers = [ stdenv.lib.maintainers.numinit ]; 38 - platforms = stdenv.lib.platforms.unix; 36 + license = lib.licenses.gpl3Only; 37 + maintainers = [ lib.maintainers.numinit ]; 38 + platforms = lib.platforms.unix; 39 39 }; 40 40 }
+3 -3
pkgs/applications/misc/khard/default.nix
··· 1 - { stdenv, glibcLocales, python3 }: 1 + { lib, stdenv, glibcLocales, python3 }: 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 4 version = "0.17.0"; ··· 30 30 meta = { 31 31 homepage = "https://github.com/scheibler/khard"; 32 32 description = "Console carddav client"; 33 - license = stdenv.lib.licenses.gpl3; 34 - maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ]; 33 + license = lib.licenses.gpl3; 34 + maintainers = with lib.maintainers; [ matthiasbeyer ]; 35 35 }; 36 36 }
+2 -2
pkgs/applications/misc/kiwix/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, pkg-config 1 + { lib, stdenv, fetchurl, makeWrapper, pkg-config 2 2 , zip, python, zlib, which, icu, libmicrohttpd, lzma, aria2, wget, bc 3 3 , libuuid, libX11, libXext, libXt, libXrender, glib, dbus, dbus-glib 4 4 , gtk2, gdk-pixbuf, pango, cairo, freetype, fontconfig, alsaLib, atk, cmake 5 5 , xapian, ctpp2, zimlib 6 6 }: 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 10 10 let 11 11 xulrunner64_tar = fetchurl {
+1 -1
pkgs/applications/misc/koreader/default.nix
··· 37 37 done 38 38 ln -s "${font-droid}/share/fonts/opentype/NerdFonts/Droid Sans Mono Nerd Font Complete Mono.otf" $out/lib/koreader/fonts/droid/DroidSansMono.ttf 39 39 wrapProgram $out/bin/koreader --prefix LD_LIBRARY_PATH : ${ 40 - stdenv.lib.makeLibraryPath [ gtk3-x11 SDL2 glib ] 40 + lib.makeLibraryPath [ gtk3-x11 SDL2 glib ] 41 41 } 42 42 ''; 43 43
+1 -1
pkgs/applications/misc/masterpdfeditor4/default.nix
··· 34 34 runHook postInstall 35 35 ''; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 description = "Master PDF Editor - version 4, without watermark"; 39 39 homepage = "https://code-industry.net/free-pdf-editor/"; 40 40 license = licenses.unfreeRedistributable;
+4 -4
pkgs/applications/misc/memo/default.nix
··· 1 - { fetchFromGitHub, silver-searcher, tree, man, stdenv, 1 + { fetchFromGitHub, silver-searcher, tree, man, lib, stdenv, 2 2 git, 3 3 pandocSupport ? true, pandoc ? null 4 4 , ... }: ··· 45 45 ''; 46 46 homepage = "http://palovandalo.com/memo/"; 47 47 downloadPage = "https://github.com/mrVanDalo/memo/releases"; 48 - license = stdenv.lib.licenses.gpl3; 49 - maintainers = [ stdenv.lib.maintainers.mrVanDalo ]; 50 - platforms = stdenv.lib.platforms.all; 48 + license = lib.licenses.gpl3; 49 + maintainers = [ lib.maintainers.mrVanDalo ]; 50 + platforms = lib.platforms.all; 51 51 }; 52 52 }
+4 -4
pkgs/applications/misc/milu/default.nix
··· 1 - { stdenv, fetchFromGitHub, unzip, pkgconfig, glib, llvmPackages }: 1 + { lib, stdenv, fetchFromGitHub, unzip, pkgconfig, glib, llvmPackages }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "milu-nightly"; ··· 32 32 meta = { 33 33 description = "Higher Order Mutation Testing Tool for C and C++ programs"; 34 34 homepage = "https://github.com/yuejia/Milu"; 35 - license = stdenv.lib.licenses.bsd2; 36 - platforms = stdenv.lib.platforms.linux; 37 - maintainers = [ stdenv.lib.maintainers.vrthra ]; 35 + license = lib.licenses.bsd2; 36 + platforms = lib.platforms.linux; 37 + maintainers = [ lib.maintainers.vrthra ]; 38 38 }; 39 39 } 40 40
+1 -1
pkgs/applications/misc/minergate-cli/default.nix
··· 19 19 interpreter=${stdenv.glibc}/lib/ld-linux-x86-64.so.2 20 20 patchelf --set-interpreter "$interpreter" $pgm 21 21 22 - wrapProgram $pgm --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ openssl stdenv.cc.cc ]} 22 + wrapProgram $pgm --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ openssl stdenv.cc.cc ]} 23 23 24 24 rm $out/usr/bin/minergate-cli 25 25 mkdir -p $out/bin
+1 -1
pkgs/applications/misc/minergate/default.nix
··· 19 19 interpreter=${stdenv.glibc}/lib/ld-linux-x86-64.so.2 20 20 patchelf --set-interpreter "$interpreter" $pgm 21 21 22 - wrapProgram $pgm --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ fontconfig freetype openssl stdenv.cc.cc xorg.libX11 xorg.libxcb ]} --prefix "QT_XKB_CONFIG_ROOT" ":" "${xkeyboard_config}/share/X11/xkb" 22 + wrapProgram $pgm --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype openssl stdenv.cc.cc xorg.libX11 xorg.libxcb ]} --prefix "QT_XKB_CONFIG_ROOT" ":" "${xkeyboard_config}/share/X11/xkb" 23 23 24 24 rm $out/usr/bin/minergate 25 25 mkdir -p $out/bin
+3 -3
pkgs/applications/misc/mkgmap/default.nix
··· 41 41 cp ${fastutil} lib/compile/${fastutil.name} 42 42 cp ${osmpbf} lib/compile/${osmpbf.name} 43 43 cp ${protobuf} lib/compile/${protobuf.name} 44 - '' + stdenv.lib.optionalString doCheck '' 44 + '' + lib.optionalString doCheck '' 45 45 mkdir -p lib/test 46 46 cp ${fastutil} lib/test/${fastutil.name} 47 47 cp ${osmpbf} lib/test/${osmpbf.name} ··· 51 51 cp ${hamcrest-core} lib/test/${hamcrest-core.name} 52 52 53 53 mkdir -p test/resources/in/img 54 - ${stdenv.lib.concatMapStringsSep "\n" (res: '' 54 + ${lib.concatMapStringsSep "\n" (res: '' 55 55 cp ${res} test/resources/in/${builtins.replaceStrings [ "__" ] [ "/" ] res.name} 56 56 '') testInputs} 57 57 ''; ··· 70 70 cp -r dist/lib/ $out/share/java/mkgmap/ 71 71 makeWrapper ${jre}/bin/java $out/bin/mkgmap \ 72 72 --add-flags "-jar $out/share/java/mkgmap/mkgmap.jar" 73 - '' + stdenv.lib.optionalString withExamples '' 73 + '' + lib.optionalString withExamples '' 74 74 mkdir -p $out/share/mkgmap 75 75 cp -r dist/examples $out/share/mkgmap/ 76 76 '';
+2 -2
pkgs/applications/misc/mkgmap/splitter/default.nix
··· 41 41 cp ${osmpbf} lib/compile/${osmpbf.name} 42 42 cp ${protobuf} lib/compile/${protobuf.name} 43 43 cp ${xpp3} lib/compile/${xpp3.name} 44 - '' + stdenv.lib.optionalString doCheck '' 44 + '' + lib.optionalString doCheck '' 45 45 mkdir -p lib/test 46 46 cp ${junit} lib/test/${junit.name} 47 47 cp ${hamcrest-core} lib/test/${hamcrest-core.name} 48 48 49 49 mkdir -p test/resources/in/osm 50 - ${stdenv.lib.concatMapStringsSep "\n" (res: '' 50 + ${lib.concatMapStringsSep "\n" (res: '' 51 51 cp ${res} test/resources/in/${builtins.replaceStrings [ "__" ] [ "/" ] res.name} 52 52 '') testInputs} 53 53 '';
+1 -1
pkgs/applications/misc/multibootusb/default.nix
··· 98 98 --prefix "PYTHONPATH" ":" "$out/lib/${python36Packages.python.libPrefix}/site-packages" 99 99 100 100 # Add some runtime dependencies 101 - --prefix "PATH" ":" "${stdenv.lib.makeBinPath runTimeDeps}" 101 + --prefix "PATH" ":" "${lib.makeBinPath runTimeDeps}" 102 102 103 103 # Finally, move to directory that contains data 104 104 --run "cd $out/share/${pname}"
+2 -2
pkgs/applications/misc/mupdf/1.17.nix
··· 23 23 24 24 patches = 25 25 # Use shared libraries to decrease size 26 - stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.14-shared_libs.patch 27 - ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch 26 + lib.optional (!stdenv.isDarwin) ./mupdf-1.14-shared_libs.patch 27 + ++ lib.optional stdenv.isDarwin ./darwin.patch 28 28 ; 29 29 30 30 postPatch = ''
+1 -1
pkgs/applications/misc/mupdf/default.nix
··· 23 23 }; 24 24 25 25 patches = 26 - stdenv.lib.optional stdenv.isDarwin ./darwin.patch ++ [ 26 + lib.optional stdenv.isDarwin ./darwin.patch ++ [ 27 27 (fetchpatch { 28 28 name = "pdfocr.patch"; 29 29 url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=a507b139adf37d2c742e039815601cdc2aa00a84";
+3 -3
pkgs/applications/misc/nanoblogger/default.nix
··· 1 - { fetchurl, stdenv, bash }: 1 + { fetchurl, lib, stdenv, bash }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.5-rc1"; ··· 24 24 meta = { 25 25 description = "Small weblog engine written in Bash for the command line"; 26 26 homepage = "http://nanoblogger.sourceforge.net/"; 27 - license = stdenv.lib.licenses.gpl2; 28 - platforms = stdenv.lib.platforms.unix; 27 + license = lib.licenses.gpl2; 28 + platforms = lib.platforms.unix; 29 29 }; 30 30 }
+4 -4
pkgs/applications/misc/navipowm/default.nix
··· 1 - { stdenv, fetchurl, qt4, qmake4Hook }: 1 + { lib, stdenv, fetchurl, qt4, qmake4Hook }: 2 2 stdenv.mkDerivation rec { 3 3 name = "navipowm-0.2.4"; 4 4 ··· 24 24 meta = { 25 25 homepage = "http://navipowm.sourceforge.net/"; 26 26 description = "Car navigation system"; 27 - license = stdenv.lib.licenses.gpl2; 28 - maintainers = with stdenv.lib.maintainers; [ ]; 29 - platforms = with stdenv.lib.platforms; linux; 27 + license = lib.licenses.gpl2; 28 + maintainers = with lib.maintainers; [ ]; 29 + platforms = with lib.platforms; linux; 30 30 }; 31 31 }
+3 -3
pkgs/applications/misc/navit/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, gtk2, fontconfig, freetype, imlib2 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, gtk2, fontconfig, freetype, imlib2 2 2 , SDL_image, libGLU, libGL, libXmu, freeglut, pcre, dbus, dbus-glib, glib 3 3 , librsvg, freeimage, libxslt, cairo, gdk-pixbuf, pango 4 4 , atk, patchelf, fetchurl, bzip2, python, gettext, quesoglc ··· 15 15 16 16 assert speechdSupport -> speechd != null; 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 stdenv.mkDerivation rec { 20 20 pname = "navit"; 21 21 version = "0.5.3"; ··· 68 68 ''; 69 69 70 70 # TODO: fix upstream? 71 - libPath = stdenv.lib.makeLibraryPath ([ stdenv.cc.libc ] ++ buildInputs ); 71 + libPath = lib.makeLibraryPath ([ stdenv.cc.libc ] ++ buildInputs ); 72 72 postFixup = 73 73 '' 74 74 find "$out/lib" -type f -name "*.so" -exec patchelf --set-rpath $libPath {} \;
+2 -2
pkgs/applications/misc/nnn/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, ncurses, readline, conf ? null }: 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, ncurses, readline, conf ? null }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "nnn";
+2 -2
pkgs/applications/misc/noice/default.nix
··· 1 - { stdenv, fetchgit, ncurses, conf ? null }: 1 + { lib, stdenv, fetchgit, ncurses, conf ? null }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "noice";
+1 -1
pkgs/applications/misc/nrsc5/default.nix
··· 45 45 meta = with lib; { 46 46 homepage = "https://github.com/theori-io/nrsc5"; 47 47 description = "HD-Radio decoder for RTL-SDR"; 48 - platforms = stdenv.lib.platforms.linux; 48 + platforms = lib.platforms.linux; 49 49 license = licenses.gpl3; 50 50 maintainers = with maintainers; [ markuskowa ]; 51 51 };
+1 -1
pkgs/applications/misc/obinskit/default.nix
··· 51 51 postFixup = '' 52 52 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 53 53 --add-flags $out/opt/obinskit/resources/app.asar \ 54 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib libxkbcommon (lib.getLib systemd) xorg.libXt ]}" 54 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib libxkbcommon (lib.getLib systemd) xorg.libXt ]}" 55 55 ''; 56 56 57 57 meta = with lib; {
+1 -1
pkgs/applications/misc/ocropus/default.nix
··· 33 33 34 34 enableParallelBuilding = true; 35 35 36 - preConfigure = with stdenv.lib; '' 36 + preConfigure = with lib; '' 37 37 ${concatStrings (map (x: "cp -R ${x.src} models/`basename ${x.name}`;") 38 38 models)} 39 39
+1 -1
pkgs/applications/misc/onboard/default.nix
··· 77 77 udev 78 78 xorg.libXtst 79 79 xorg.libxkbfile 80 - ] ++ stdenv.lib.optional atspiSupport at-spi2-core; 80 + ] ++ lib.optional atspiSupport at-spi2-core; 81 81 82 82 propagatedBuildInputs = with python3.pkgs; [ 83 83 dbus-python
+4 -4
pkgs/applications/misc/openbox-menu/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, glib, gtk2, menu-cache }: 1 + { lib, stdenv, fetchurl, pkgconfig, glib, gtk2, menu-cache }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "openbox-menu"; ··· 24 24 dynamic menu listing installed applications. Most of the work is done by 25 25 the LXDE library menu-cache. 26 26 ''; 27 - license = stdenv.lib.licenses.gpl3; 28 - maintainers = [ stdenv.lib.maintainers.romildo ]; 29 - platforms = stdenv.lib.platforms.unix; 27 + license = lib.licenses.gpl3; 28 + maintainers = [ lib.maintainers.romildo ]; 29 + platforms = lib.platforms.unix; 30 30 }; 31 31 }
+2 -2
pkgs/applications/misc/openbrf/default.nix
··· 28 28 install -Dm644 reference.brf $out/share/openBrf/reference.brf 29 29 30 30 patchelf \ 31 - --set-rpath "${stdenv.lib.makeLibraryPath [ qtbase glew stdenv.cc.cc libGLU libGL ]}" \ 31 + --set-rpath "${lib.makeLibraryPath [ qtbase glew stdenv.cc.cc libGLU libGL ]}" \ 32 32 $out/share/openBrf/openBrf 33 33 34 34 mkdir -p "$out/bin" ··· 40 40 meta = with lib; { 41 41 description = "A tool to edit resource files (BRF)"; 42 42 homepage = "https://github.com/cfcohen/openbrf"; 43 - maintainers = with stdenv.lib.maintainers; [ abbradar ]; 43 + maintainers = with lib.maintainers; [ abbradar ]; 44 44 license = licenses.free; 45 45 platforms = platforms.linux; 46 46 };
+3 -3
pkgs/applications/misc/opencpn/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkg-config, cmake, gtk2, wxGTK30, libpulseaudio, curl, 1 + { lib, stdenv, fetchFromGitHub, pkg-config, cmake, gtk2, wxGTK30, libpulseaudio, curl, 2 2 gettext, glib, portaudio }: 3 3 4 4 stdenv.mkDerivation rec { ··· 23 23 24 24 meta = { 25 25 description = "A concise ChartPlotter/Navigator"; 26 - maintainers = [ stdenv.lib.maintainers.kragniz ]; 26 + maintainers = [ lib.maintainers.kragniz ]; 27 27 platforms = [ "x86_64-linux" ]; 28 - license = stdenv.lib.licenses.gpl2; 28 + license = lib.licenses.gpl2; 29 29 homepage = "https://opencpn.org/"; 30 30 }; 31 31 }
+4 -4
pkgs/applications/misc/openjump/default.nix
··· 1 - { stdenv, fetchurl, unzip, makeWrapper 1 + { lib, stdenv, fetchurl, unzip, makeWrapper 2 2 , coreutils, gawk, which, gnugrep, findutils 3 3 , jdk 4 4 }: ··· 32 32 meta = { 33 33 description = "Open source Geographic Information System (GIS) written in the Java programming language"; 34 34 homepage = "http://www.openjump.org/index.html"; 35 - license = stdenv.lib.licenses.gpl2; 36 - maintainers = [stdenv.lib.maintainers.marcweber]; 37 - platforms = stdenv.lib.platforms.linux; 35 + license = lib.licenses.gpl2; 36 + maintainers = [lib.maintainers.marcweber]; 37 + platforms = lib.platforms.linux; 38 38 }; 39 39 }
+1 -1
pkgs/applications/misc/orca/default.nix
··· 40 40 format = "other"; 41 41 42 42 src = fetchurl { 43 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 43 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 44 44 sha256 = "UAX/LhHdH3E/WswZA6JwEZvFjDD9uMn4K8rHFJfGwjw="; 45 45 }; 46 46
+1 -1
pkgs/applications/misc/osm2xmap/default.nix
··· 28 28 description = "Converter from OpenStreetMap data format to OpenOrienteering Mapper format"; 29 29 license = licenses.gpl3; 30 30 maintainers = [ maintainers.mpickering ]; 31 - platforms = with stdenv.lib.platforms; linux; 31 + platforms = with lib.platforms; linux; 32 32 }; 33 33 }
+4 -4
pkgs/applications/misc/pass-secret-service/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3, dbus, gnupg }: 1 + { lib, stdenv, fetchFromGitHub, python3, dbus, gnupg }: 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 4 pname = "pass-secret-service"; ··· 54 54 meta = { 55 55 description = "Libsecret D-Bus API with pass as the backend"; 56 56 homepage = "https://github.com/mdellweg/pass_secret_service/"; 57 - license = stdenv.lib.licenses.gpl3Only; 58 - platforms = stdenv.lib.platforms.all; 59 - maintainers = with stdenv.lib.maintainers; [ jluttine ]; 57 + license = lib.licenses.gpl3Only; 58 + platforms = lib.platforms.all; 59 + maintainers = with lib.maintainers; [ jluttine ]; 60 60 }; 61 61 }
+1 -1
pkgs/applications/misc/pastel/default.nix
··· 13 13 14 14 cargoSha256 = "1ji64h0f8f2sq12cx33kymypzar9swhaj903gclf3jdwgna77326"; 15 15 16 - buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 16 + buildInputs = lib.optional stdenv.isDarwin Security; 17 17 18 18 meta = with lib; { 19 19 description = "A command-line tool to generate, analyze, convert and manipulate colors";
+1 -1
pkgs/applications/misc/pcmanfm/default.nix
··· 4 4 let 5 5 libfm' = libfm.override { inherit withGtk3; }; 6 6 gtk = if withGtk3 then gtk3 else gtk2; 7 - inherit (stdenv.lib) optional; 7 + inherit (lib) optional; 8 8 in 9 9 stdenv.mkDerivation rec { 10 10 name = "pcmanfm-1.3.1";
+1 -1
pkgs/applications/misc/pdfmod/default.nix
··· 8 8 version = "0.9.1"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 12 sha256 = "eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9"; 13 13 }; 14 14
+1 -1
pkgs/applications/misc/pdfpc/default.nix
··· 33 33 json-glib 34 34 ]; 35 35 36 - cmakeFlags = stdenv.lib.optional stdenv.isDarwin "-DMOVIES=OFF"; 36 + cmakeFlags = lib.optional stdenv.isDarwin "-DMOVIES=OFF"; 37 37 38 38 meta = with lib; { 39 39 description = "A presenter console with multi-monitor support for PDF files";
+4 -4
pkgs/applications/misc/phwmon/default.nix
··· 1 - { stdenv, fetchFromGitLab, pythonPackages }: 1 + { lib, stdenv, fetchFromGitLab, pythonPackages }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "phwmon"; ··· 33 33 meta = { 34 34 homepage = "https://gitlab.com/o9000/phwmon"; 35 35 description = "Hardware monitor (CPU, memory, network and disk I/O) for the system tray"; 36 - license = stdenv.lib.licenses.gpl2; 37 - platforms = stdenv.lib.platforms.unix; 38 - maintainers = [ stdenv.lib.maintainers.romildo ]; 36 + license = lib.licenses.gpl2; 37 + platforms = lib.platforms.unix; 38 + maintainers = [ lib.maintainers.romildo ]; 39 39 }; 40 40 }
+2 -2
pkgs/applications/misc/playonlinux/default.nix
··· 27 27 let 28 28 version = "4.4"; 29 29 30 - binpath = stdenv.lib.makeBinPath [ 30 + binpath = lib.makeBinPath [ 31 31 cabextract 32 32 python 33 33 gettext ··· 52 52 else if stdenv.hostPlatform.system == "i686-linux" then "${stdenv.cc}/nix-support/dynamic-linker" 53 53 else throw "Unsupported platform for PlayOnLinux: ${stdenv.hostPlatform.system}"; 54 54 ld64 = "${stdenv.cc}/nix-support/dynamic-linker"; 55 - libs = pkgs: stdenv.lib.makeLibraryPath [ xorg.libX11 libGL ]; 55 + libs = pkgs: lib.makeLibraryPath [ xorg.libX11 libGL ]; 56 56 57 57 python = python2.withPackages(ps: with ps; [ 58 58 wxPython
+3 -3
pkgs/applications/misc/polar-bookshelf/default.nix
··· 82 82 meta = { 83 83 homepage = "https://getpolarized.io/"; 84 84 description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation"; 85 - license = stdenv.lib.licenses.gpl3; 86 - platforms = stdenv.lib.platforms.linux; 87 - maintainers = [ stdenv.lib.maintainers.noneucat ]; 85 + license = lib.licenses.gpl3; 86 + platforms = lib.platforms.linux; 87 + maintainers = [ lib.maintainers.noneucat ]; 88 88 }; 89 89 90 90 }
+1 -1
pkgs/applications/misc/pt/gemset.nix
··· 270 270 }; 271 271 version = "1.0.5"; 272 272 }; 273 - } 273 + }
+4 -4
pkgs/applications/misc/qpdfview/default.nix
··· 1 - {stdenv, mkDerivation, fetchurl, qmake, qtbase, qtsvg, pkgconfig, poppler, djvulibre, libspectre, cups 1 + {lib, stdenv, mkDerivation, fetchurl, qmake, qtbase, qtsvg, pkgconfig, poppler, djvulibre, libspectre, cups 2 2 , file, ghostscript 3 3 }: 4 4 let ··· 40 40 meta = { 41 41 inherit (s) version; 42 42 description = "A tabbed document viewer"; 43 - license = stdenv.lib.licenses.gpl2; 44 - maintainers = [stdenv.lib.maintainers.raskin]; 45 - platforms = stdenv.lib.platforms.linux; 43 + license = lib.licenses.gpl2; 44 + maintainers = [lib.maintainers.raskin]; 45 + platforms = lib.platforms.linux; 46 46 homepage = "https://launchpad.net/qpdfview"; 47 47 updateWalker = true; 48 48 };
+1 -1
pkgs/applications/misc/qt-video-wlr/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, pkg-config, meson, ninja, wayland, pixman, cairo, librsvg, wayland-protocols, wlroots, libxkbcommon, gst_all_1, wrapQtAppsHook, qtbase, qtmultimedia }: 2 2 let 3 - gstreamerPath = with gst_all_1; stdenv.lib.makeSearchPath "lib/gstreamer-1.0" [ 3 + gstreamerPath = with gst_all_1; lib.makeSearchPath "lib/gstreamer-1.0" [ 4 4 gstreamer 5 5 gst-plugins-base 6 6 gst-plugins-good
+4 -4
pkgs/applications/misc/quicksynergy/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, gtk2, synergy}: 1 + {lib, stdenv, fetchurl, pkgconfig, gtk2, synergy}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "quicksynergy"; ··· 30 30 Remember to open port 24800 (used by synergys program) if you want to 31 31 host mouse and keyboard."; 32 32 homepage = "https://sourceforge.net/projects/quicksynergy/"; 33 - license = stdenv.lib.licenses.gpl2; 34 - maintainers = [ stdenv.lib.maintainers.spinus ]; 35 - platforms = stdenv.lib.platforms.linux; 33 + license = lib.licenses.gpl2; 34 + maintainers = [ lib.maintainers.spinus ]; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+2 -2
pkgs/applications/misc/ranger/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, python3Packages, file, less, highlight 2 2 , imagePreviewSupport ? true, w3m ? null}: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 assert imagePreviewSupport -> w3m != null; 7 7 ··· 36 36 --replace "/bin/echo" "echo" 37 37 38 38 substituteInPlace ranger/__init__.py \ 39 - --replace "DEFAULT_PAGER = 'less'" "DEFAULT_PAGER = '${stdenv.lib.getBin less}/bin/less'" 39 + --replace "DEFAULT_PAGER = 'less'" "DEFAULT_PAGER = '${lib.getBin less}/bin/less'" 40 40 41 41 for i in ranger/config/rc.conf doc/config/rc.conf ; do 42 42 substituteInPlace $i --replace /usr/share $out/share
+3 -3
pkgs/applications/misc/reddsaver/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , rustPlatform 4 4 , openssl ··· 21 21 22 22 nativeBuildInputs = [ pkg-config ]; 23 23 buildInputs = [ openssl ] 24 - ++ stdenv.lib.optional stdenv.isDarwin Security; 24 + ++ lib.optional stdenv.isDarwin Security; 25 25 26 26 # package does not contain tests as of v0.2.2 27 27 docCheck = false; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "CLI tool to download saved images from Reddit"; 31 31 homepage = "https://github.com/manojkarthick/reddsaver"; 32 32 license = with licenses; [ mit /* or */ asl20 ];
+10 -10
pkgs/applications/misc/redshift/default.nix
··· 19 19 stdenv.mkDerivation rec { 20 20 inherit pname version src meta; 21 21 22 - patches = stdenv.lib.optionals (pname != "gammastep") [ 22 + patches = lib.optionals (pname != "gammastep") [ 23 23 # https://github.com/jonls/redshift/pull/575 24 24 ./575.patch 25 25 ]; ··· 41 41 "--enable-drm=${if withDrm then "yes" else "no"}" 42 42 "--enable-quartz=${if withQuartz then "yes" else "no"}" 43 43 "--enable-corelocation=${if withCoreLocation then "yes" else "no"}" 44 - ] ++ stdenv.lib.optionals (pname == "gammastep") [ 44 + ] ++ lib.optionals (pname == "gammastep") [ 45 45 "--with-systemduserunitdir=${placeholder "out"}/share/systemd/user/" 46 46 "--enable-apparmor" 47 47 ]; ··· 50 50 gobject-introspection 51 51 gtk3 52 52 python 53 - ] ++ stdenv.lib.optional withRandr libxcb 54 - ++ stdenv.lib.optional withGeoclue geoclue 55 - ++ stdenv.lib.optional withDrm libdrm 56 - ++ stdenv.lib.optional withQuartz ApplicationServices 57 - ++ stdenv.lib.optionals withCoreLocation [ CoreLocation Foundation Cocoa ] 58 - ++ stdenv.lib.optional withAppIndicator (if (pname != "gammastep") 53 + ] ++ lib.optional withRandr libxcb 54 + ++ lib.optional withGeoclue geoclue 55 + ++ lib.optional withDrm libdrm 56 + ++ lib.optional withQuartz ApplicationServices 57 + ++ lib.optionals withCoreLocation [ CoreLocation Foundation Cocoa ] 58 + ++ lib.optional withAppIndicator (if (pname != "gammastep") 59 59 then libappindicator 60 60 else libayatana-appindicator) 61 61 ; ··· 144 144 meta = redshift.meta // { 145 145 name = "${pname}-${version}"; 146 146 longDescription = "Gammastep" 147 - + stdenv.lib.removePrefix "Redshift" redshift.meta.longDescription; 147 + + lib.removePrefix "Redshift" redshift.meta.longDescription; 148 148 homepage = "https://gitlab.com/chinstrap/gammastep"; 149 - maintainers = [ stdenv.lib.maintainers.primeos ] ++ redshift.meta.maintainers; 149 + maintainers = [ lib.maintainers.primeos ] ++ redshift.meta.maintainers; 150 150 }; 151 151 }; 152 152 }
+4 -4
pkgs/applications/misc/robo3t/default.nix
··· 1 - { stdenv, fetchurl, zlib, glib, xorg, dbus, fontconfig, libGL, 1 + { lib, stdenv, fetchurl, zlib, glib, xorg, dbus, fontconfig, libGL, 2 2 freetype, xkeyboard_config, makeDesktopItem, makeWrapper }: 3 3 4 4 stdenv.mkDerivation rec { ··· 28 28 29 29 nativeBuildInputs = [makeWrapper]; 30 30 31 - ldLibraryPath = stdenv.lib.makeLibraryPath [ 31 + ldLibraryPath = lib.makeLibraryPath [ 32 32 stdenv.cc.cc 33 33 zlib 34 34 glib ··· 73 73 homepage = "https://robomongo.org/"; 74 74 description = "Query GUI for mongodb"; 75 75 platforms = [ "x86_64-linux" ]; 76 - license = stdenv.lib.licenses.gpl3; 77 - maintainers = [ stdenv.lib.maintainers.eperuffo ]; 76 + license = lib.licenses.gpl3; 77 + maintainers = [ lib.maintainers.eperuffo ]; 78 78 }; 79 79 }
+4 -4
pkgs/applications/misc/robomongo/default.nix
··· 27 27 28 28 nativeBuildInputs = [makeWrapper]; 29 29 30 - ldLibraryPath = stdenv.lib.makeLibraryPath [ 30 + ldLibraryPath = lib.makeLibraryPath [ 31 31 stdenv.cc.cc 32 32 zlib 33 33 glib ··· 70 70 meta = { 71 71 homepage = "https://robomongo.org/"; 72 72 description = "Query GUI for mongodb"; 73 - platforms = stdenv.lib.intersectLists stdenv.lib.platforms.linux stdenv.lib.platforms.x86_64; 74 - license = stdenv.lib.licenses.gpl3; 75 - maintainers = [ stdenv.lib.maintainers.eperuffo ]; 73 + platforms = lib.intersectLists lib.platforms.linux lib.platforms.x86_64; 74 + license = lib.licenses.gpl3; 75 + maintainers = [ lib.maintainers.eperuffo ]; 76 76 }; 77 77 }
+2 -2
pkgs/applications/misc/sbagen/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "sbagen-1.4.4"; ··· 24 24 meta = { 25 25 description = "Binaural sound generator"; 26 26 homepage = "http://uazu.net/sbagen"; 27 - license = stdenv.lib.licenses.gpl2; 27 + license = lib.licenses.gpl2; 28 28 platforms = [ "i686-linux" ]; 29 29 }; 30 30 }
+3 -3
pkgs/applications/misc/sequelpro/default.nix
··· 1 - { stdenv, fetchurl, undmg }: 1 + { lib, stdenv, fetchurl, undmg }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "sequel-pro"; ··· 19 19 meta = { 20 20 description = "MySQL database management for macOS"; 21 21 homepage = "http://www.sequelpro.com/"; 22 - license = stdenv.lib.licenses.mit; 23 - platforms = stdenv.lib.platforms.darwin; 22 + license = lib.licenses.mit; 23 + platforms = lib.platforms.darwin; 24 24 }; 25 25 }
+3 -3
pkgs/applications/misc/signumone-ks/default.nix
··· 1 - { stdenv, fetchurl, dpkg, autoPatchelfHook, makeWrapper, 1 + { lib, stdenv, fetchurl, dpkg, autoPatchelfHook, makeWrapper, 2 2 atk, ffmpeg, gdk-pixbuf, glibc, gtk3, libav_0_8, libXtst }: 3 3 4 4 stdenv.mkDerivation rec { ··· 24 24 libav_0_8 gtk3 libXtst 25 25 ]; 26 26 27 - libPath = stdenv.lib.makeLibraryPath buildInputs; 27 + libPath = lib.makeLibraryPath buildInputs; 28 28 29 29 unpackPhase = '' 30 30 dpkg-deb -x ${src} ./ ··· 45 45 --prefix LD_LIBRARY_PATH : ${libPath} 46 46 ''; 47 47 48 - meta = with stdenv.lib; { 48 + meta = with lib; { 49 49 description = "Digital signature tool for Costa Rican electronic invoicing"; 50 50 homepage = "https://signum.one/download.html"; 51 51 license = licenses.unfree;
+1 -1
pkgs/applications/misc/simplenote/default.nix
··· 88 88 89 89 postFixup = '' 90 90 makeWrapper $out/opt/Simplenote/simplenote $out/bin/simplenote \ 91 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ] }" \ 91 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ] }" \ 92 92 "''${gappsWrapperArgs[@]}" 93 93 ''; 94 94 };
+1 -1
pkgs/applications/misc/sleepyhead/default.nix
··· 33 33 cp sleepyhead/SleepyHead $out/bin 34 34 ''; 35 35 36 - postFixup = stdenv.lib.optionalString stdenv.isDarwin '' 36 + postFixup = lib.optionalString stdenv.isDarwin '' 37 37 wrapQtApp "$out/Applications/SleepyHead.app/Contents/MacOS/SleepyHead" 38 38 ''; 39 39
+4 -4
pkgs/applications/misc/slmenu/default.nix
··· 1 - {stdenv, fetchhg}: 1 + {lib, stdenv, fetchhg}: 2 2 let 3 3 s = 4 4 rec { ··· 23 23 meta = { 24 24 inherit (s) version; 25 25 description = ''A console dmenu-like tool''; 26 - license = stdenv.lib.licenses.mit; 27 - maintainers = [stdenv.lib.maintainers.raskin]; 28 - platforms = stdenv.lib.platforms.linux; 26 + license = lib.licenses.mit; 27 + maintainers = [lib.maintainers.raskin]; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+2 -2
pkgs/applications/misc/slstatus/default.nix
··· 1 - { stdenv, fetchgit, pkgconfig, writeText, libX11, conf ? null, patches ? [] }: 1 + { lib, stdenv, fetchgit, pkgconfig, writeText, libX11, conf ? null, patches ? [] }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "slstatus";
+1 -1
pkgs/applications/misc/snowsql/default.nix
··· 18 18 19 19 nativeBuildInputs = [ rpmextract makeWrapper ]; 20 20 21 - libPath = stdenv.lib.makeLibraryPath [ openssl ]; 21 + libPath = lib.makeLibraryPath [ openssl ]; 22 22 23 23 buildCommand = '' 24 24 mkdir -p $out/bin/
+2 -2
pkgs/applications/misc/spacefm/default.nix
··· 1 - { pkgs, fetchFromGitHub, stdenv, gtk3, udev, desktop-file-utils 1 + { pkgs, fetchFromGitHub, lib, stdenv, gtk3, udev, desktop-file-utils 2 2 , shared-mime-info, intltool, pkgconfig, wrapGAppsHook, ffmpegthumbnailer 3 3 , jmtpfs, ifuseSupport ? false, ifuse ? null, lsof, udisks2 }: 4 4 ··· 40 40 # Introduced because ifuse doesn't build due to CVEs in libplist 41 41 # Revert when libplist builds again… 42 42 43 - meta = with stdenv.lib; { 43 + meta = with lib; { 44 44 description = "A multi-panel tabbed file manager"; 45 45 longDescription = '' 46 46 Multi-panel tabbed file and desktop manager for Linux
+4 -4
pkgs/applications/misc/stag/default.nix
··· 1 - { stdenv, fetchgit, curses }: 1 + { lib, stdenv, fetchgit, curses }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "stag-1.0"; ··· 18 18 meta = { 19 19 homepage = "https://github.com/seenaburns/stag"; 20 20 description = "Terminal streaming bar graph passed through stdin"; 21 - license = stdenv.lib.licenses.bsdOriginal; 22 - maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; 23 - platforms = stdenv.lib.platforms.unix; 21 + license = lib.licenses.bsdOriginal; 22 + maintainers = [ lib.maintainers.matthiasbeyer ]; 23 + platforms = lib.platforms.unix; 24 24 }; 25 25 }
+6 -6
pkgs/applications/misc/sweethome3d/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 inherit pname version src description; 20 - exec = stdenv.lib.toLower module; 20 + exec = lib.toLower module; 21 21 sweethome3dItem = makeDesktopItem { 22 22 inherit exec desktopName; 23 23 name = pname; ··· 67 67 homepage = "http://www.sweethome3d.com/index.jsp"; 68 68 inherit description; 69 69 inherit license; 70 - maintainers = [ stdenv.lib.maintainers.edwtjo ]; 71 - platforms = stdenv.lib.platforms.linux; 70 + maintainers = [ lib.maintainers.edwtjo ]; 71 + platforms = lib.platforms.linux; 72 72 }; 73 73 }; 74 74 75 - d2u = stdenv.lib.replaceChars ["."] ["_"]; 75 + d2u = lib.replaceChars ["."] ["_"]; 76 76 77 77 in { 78 78 79 79 application = mkSweetHome3D rec { 80 - pname = stdenv.lib.toLower module + "-application"; 80 + pname = lib.toLower module + "-application"; 81 81 version = "6.4.2"; 82 82 module = "SweetHome3D"; 83 83 description = "Design and visualize your future home"; 84 - license = stdenv.lib.licenses.gpl2Plus; 84 + license = lib.licenses.gpl2Plus; 85 85 src = fetchsvn { 86 86 url = "https://svn.code.sf.net/p/sweethome3d/code/tags/V_" + d2u version + "/SweetHome3D/"; 87 87 sha256 = "13rczayakwb5246hqnp8lnw61p0p7ywr2294bnlp4zwsrz1in9z4";
+7 -7
pkgs/applications/misc/sweethome3d/editors.nix
··· 1 - { stdenv, fetchcvs, makeWrapper, makeDesktopItem, jdk, jre, ant 1 + { lib, stdenv, fetchcvs, makeWrapper, makeDesktopItem, jdk, jre, ant 2 2 , gtk3, gsettings-desktop-schemas, sweethome3dApp }: 3 3 4 4 let 5 5 6 - sweetExec = with stdenv.lib; 6 + sweetExec = with lib; 7 7 m: "sweethome3d-" 8 8 + removeSuffix "libraryeditor" (toLower m) 9 9 + "-editor"; ··· 50 50 homepage = "http://www.sweethome3d.com/index.jsp"; 51 51 inherit description; 52 52 inherit license; 53 - maintainers = [ stdenv.lib.maintainers.edwtjo ]; 54 - platforms = stdenv.lib.platforms.linux; 53 + maintainers = [ lib.maintainers.edwtjo ]; 54 + platforms = lib.platforms.linux; 55 55 }; 56 56 57 57 }; 58 58 59 - d2u = stdenv.lib.replaceChars ["."] ["_"]; 59 + d2u = lib.replaceChars ["."] ["_"]; 60 60 61 61 in { 62 62 ··· 65 65 module = "TexturesLibraryEditor"; 66 66 pname = module; 67 67 description = "Easily create SH3T files and edit the properties of the texture images it contain"; 68 - license = stdenv.lib.licenses.gpl2Plus; 68 + license = lib.licenses.gpl2Plus; 69 69 src = fetchcvs { 70 70 cvsRoot = ":pserver:anonymous@sweethome3d.cvs.sourceforge.net:/cvsroot/sweethome3d"; 71 71 sha256 = "15wxdns3hc8yq362x0rj53bcxran2iynxznfcb9js85psd94zq7h"; ··· 80 80 module = "FurnitureLibraryEditor"; 81 81 pname = module; 82 82 description = "Quickly create SH3F files and edit the properties of the 3D models it contain"; 83 - license = stdenv.lib.licenses.gpl2; 83 + license = lib.licenses.gpl2; 84 84 src = fetchcvs { 85 85 cvsRoot = ":pserver:anonymous@sweethome3d.cvs.sourceforge.net:/cvsroot/sweethome3d"; 86 86 sha256 = "0rr4nqil1mngak3ds5vz7f1whrgcgzpk6fb0qcr5ljms0jx0ylvs";
+1 -1
pkgs/applications/misc/taskjuggler/2.x/default.nix
··· 61 61 62 62 meta = { 63 63 homepage = "http://www.taskjuggler.org"; 64 - license = stdenv.lib.licenses.gpl2; 64 + license = lib.licenses.gpl2; 65 65 description = "Project management tool"; 66 66 longDescription = '' 67 67 TaskJuggler is a modern and powerful, Open Source project management
+1 -1
pkgs/applications/misc/taskjuggler/gemset.nix
··· 52 52 }; 53 53 version = "1.20.2"; 54 54 }; 55 - } 55 + }
+1 -1
pkgs/applications/misc/taskopen/default.nix
··· 28 28 description = "Script for taking notes and open urls with taskwarrior"; 29 29 homepage = "https://github.com/ValiValpas/taskopen"; 30 30 platforms = platforms.linux; 31 - license = stdenv.lib.licenses.free ; 31 + license = lib.licenses.free ; 32 32 maintainers = [ maintainers.winpat ]; 33 33 }; 34 34 }
+1 -1
pkgs/applications/misc/terminal-typeracer/default.nix
··· 21 21 22 22 cargoSha256 = "VSwku0rtQECirCHx2CXe72gCA+p3DdPC4YYwEYu8WfM="; 23 23 24 - buildInputs = [ openssl sqlite ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]; 24 + buildInputs = [ openssl sqlite ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 25 25 nativeBuildInputs = [ pkg-config ]; 26 26 27 27 meta = with lib; {
+4 -4
pkgs/applications/misc/teseq/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 let 4 4 version = "1.1.1"; ··· 15 15 meta = { 16 16 homepage = "https://www.gnu.org/software/teseq/"; 17 17 description = "Escape sequence illuminator"; 18 - license = stdenv.lib.licenses.gpl3; 18 + license = lib.licenses.gpl3; 19 19 20 - platforms = stdenv.lib.platforms.unix; 21 - maintainers = [ stdenv.lib.maintainers.vaibhavsagar ]; 20 + platforms = lib.platforms.unix; 21 + maintainers = [ lib.maintainers.vaibhavsagar ]; 22 22 }; 23 23 }
+1 -1
pkgs/applications/misc/tomboy/default.nix
··· 37 37 homepage = "https://wiki.gnome.org/Apps/Tomboy"; 38 38 description = "A simple note-taking application with synchronization"; 39 39 platforms = platforms.linux; 40 - license = stdenv.lib.licenses.lgpl2; 40 + license = lib.licenses.lgpl2; 41 41 maintainers = with maintainers; [ stesie ]; 42 42 }; 43 43 }
+4 -4
pkgs/applications/misc/tpmmanager/default.nix
··· 1 - { stdenv, fetchgit, qt4, qmake4Hook, trousers }: 1 + { lib, stdenv, fetchgit, qt4, qmake4Hook, trousers }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.8.1"; ··· 33 33 meta = { 34 34 homepage = "https://projects.sirrix.com/trac/tpmmanager"; 35 35 description = "Tool for managing the TPM"; 36 - license = stdenv.lib.licenses.gpl2; 37 - maintainers = with stdenv.lib.maintainers; [ tstrobel ]; 38 - platforms = with stdenv.lib.platforms; linux; 36 + license = lib.licenses.gpl2; 37 + maintainers = with lib.maintainers; [ tstrobel ]; 38 + platforms = with lib.platforms; linux; 39 39 inherit version; 40 40 }; 41 41 }
+1 -1
pkgs/applications/misc/translate-shell/default.nix
··· 17 17 18 18 postInstall = '' 19 19 wrapProgram $out/bin/trans \ 20 - --prefix PATH : ${stdenv.lib.makeBinPath [ 20 + --prefix PATH : ${lib.makeBinPath [ 21 21 gawk 22 22 curl 23 23 ncurses
+3 -3
pkgs/applications/misc/udevil/default.nix
··· 1 - { stdenv, fetchurl, intltool, glib, pkgconfig, udev, util-linux, acl }: 1 + { lib, stdenv, fetchurl, intltool, glib, pkgconfig, udev, util-linux, acl }: 2 2 stdenv.mkDerivation { 3 3 name = "udevil-0.4.4"; 4 4 src = fetchurl { ··· 23 23 meta = { 24 24 description = "A command line Linux program which mounts and unmounts removable devices without a password, shows device info, and monitors device changes"; 25 25 homepage = "https://ignorantguru.github.io/udevil/"; 26 - platforms = stdenv.lib.platforms.linux; 27 - license = stdenv.lib.licenses.gpl3; 26 + platforms = lib.platforms.linux; 27 + license = lib.licenses.gpl3; 28 28 }; 29 29 }
+1 -1
pkgs/applications/misc/ulauncher/default.nix
··· 100 100 ''; 101 101 102 102 preFixup = '' 103 - gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ wmctrl ]}") 103 + gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ wmctrl ]}") 104 104 ''; 105 105 106 106 passthru = {
+1 -1
pkgs/applications/misc/upwork/default.nix
··· 29 29 libXtst nspr nss libxcb pango systemd libXScrnSaver 30 30 ]; 31 31 32 - libPath = stdenv.lib.makeLibraryPath buildInputs; 32 + libPath = lib.makeLibraryPath buildInputs; 33 33 34 34 unpackPhase = '' 35 35 dpkg-deb -x ${src} ./
+2 -2
pkgs/applications/misc/valentina/default.nix
··· 1 - { mkDerivation, stdenv, fetchhg 1 + { mkDerivation, lib, stdenv, fetchhg 2 2 , qmake, qttools 3 3 , qtbase, qtsvg, qtxmlpatterns 4 4 , poppler_utils 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 mkDerivation rec { 10 10 pname = "valentina";
+2 -2
pkgs/applications/misc/veracrypt/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, pkgconfig, makeself, yasm, fuse, wxGTK, lvm2 }: 1 + { lib, stdenv, fetchurl, fetchpatch, pkgconfig, makeself, yasm, fuse, wxGTK, lvm2 }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "veracrypt";
+10 -10
pkgs/applications/misc/viking/default.nix
··· 28 28 nativeBuildInputs = [ pkgconfig ]; 29 29 buildInputs = [ makeWrapper intltool gettext gtk2 expat curl gpsd bc file gnome-doc-utils 30 30 libexif libxml2 libxslt scrollkeeper docbook_xml_dtd_412 gexiv2 31 - ] ++ stdenv.lib.optional withMapnik mapnik 32 - ++ stdenv.lib.optional withGeoClue geoclue2 33 - ++ stdenv.lib.optional withMd5Hash nettle 34 - ++ stdenv.lib.optional withOAuth liboauth 35 - ++ stdenv.lib.optional withMBTiles sqlite; 31 + ] ++ lib.optional withMapnik mapnik 32 + ++ lib.optional withGeoClue geoclue2 33 + ++ lib.optional withMd5Hash nettle 34 + ++ lib.optional withOAuth liboauth 35 + ++ lib.optional withMBTiles sqlite; 36 36 37 37 configureFlags = [ 38 38 "--disable-scrollkeeper" 39 - (stdenv.lib.enableFeature withMapnik "mapnik") 40 - (stdenv.lib.enableFeature withGeoClue "geoclue") 41 - (stdenv.lib.enableFeature withMd5Hash "nettle") 42 - (stdenv.lib.enableFeature withOAuth "oauth") 43 - (stdenv.lib.enableFeature withMBTiles "mbtiles") 39 + (lib.enableFeature withMapnik "mapnik") 40 + (lib.enableFeature withGeoClue "geoclue") 41 + (lib.enableFeature withMd5Hash "nettle") 42 + (lib.enableFeature withOAuth "oauth") 43 + (lib.enableFeature withMBTiles "mbtiles") 44 44 ]; 45 45 46 46 preBuild = ''
+4 -4
pkgs/applications/misc/vue/default.nix
··· 1 - { stdenv, fetchurl, jre, runtimeShell }: 1 + { lib, stdenv, fetchurl, jre, runtimeShell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "vue"; ··· 20 20 21 21 meta = { 22 22 description = "Visual Understanding Environment - mind mapping software"; 23 - maintainers = with stdenv.lib.maintainers; [ raskin ]; 24 - platforms = with stdenv.lib.platforms; linux; 25 - license = stdenv.lib.licenses.free; # Apache License fork, actually 23 + maintainers = with lib.maintainers; [ raskin ]; 24 + platforms = with lib.platforms; linux; 25 + license = lib.licenses.free; # Apache License fork, actually 26 26 }; 27 27 }
+5 -5
pkgs/applications/misc/waybar/default.nix
··· 22 22 23 23 nativeBuildInputs = [ 24 24 meson ninja pkgconfig scdoc wrapGAppsHook cmake 25 - ] ++ stdenv.lib.optional withMediaPlayer gobject-introspection; 25 + ] ++ lib.optional withMediaPlayer gobject-introspection; 26 26 27 - propagatedBuildInputs = stdenv.lib.optionals withMediaPlayer [ 27 + propagatedBuildInputs = lib.optionals withMediaPlayer [ 28 28 glib 29 29 playerctl 30 30 python38Packages.pygobject3 31 31 ]; 32 32 strictDeps = false; 33 33 34 - buildInputs = with stdenv.lib; 34 + buildInputs = with lib; 35 35 [ wayland wlroots gtkmm3 libsigcxx jsoncpp fmt spdlog gtk-layer-shell howard-hinnant-date ] 36 36 ++ optional traySupport libdbusmenu-gtk3 37 37 ++ optional pulseSupport libpulseaudio ··· 40 40 ++ optional swaySupport sway 41 41 ++ optional mpdSupport mpd_clientlib; 42 42 43 - mesonFlags = (stdenv.lib.mapAttrsToList 43 + mesonFlags = (lib.mapAttrsToList 44 44 (option: enable: "-D${option}=${if enable then "enabled" else "disabled"}") 45 45 { 46 46 dbusmenu-gtk = traySupport; ··· 54 54 "-Dsystemd=disabled" 55 55 ]; 56 56 57 - preFixup = stdenv.lib.optional withMediaPlayer '' 57 + preFixup = lib.optional withMediaPlayer '' 58 58 cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py 59 59 60 60 wrapProgram $out/bin/waybar-mediaplayer.py \
+2 -2
pkgs/applications/misc/wego/default.nix
··· 1 - { stdenv, buildGoPackage, fetchgit }: 1 + { lib, stdenv, buildGoPackage, fetchgit }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "wego"; ··· 16 16 goDeps = ./deps.nix; 17 17 18 18 meta = { 19 - license = stdenv.lib.licenses.isc; 19 + license = lib.licenses.isc; 20 20 homepage = "https://github.com/schachmat/wego"; 21 21 description = "Weather app for the terminal"; 22 22 };
+4 -4
pkgs/applications/misc/wikicurses/default.nix
··· 1 - { stdenv, fetchFromGitHub, pythonPackages }: 1 + { lib, stdenv, fetchFromGitHub, pythonPackages }: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 version = "1.4"; ··· 26 26 meta = { 27 27 description = "A simple curses interface for MediaWiki sites such as Wikipedia"; 28 28 homepage = "https://github.com/ids1024/wikicurses/"; 29 - license = stdenv.lib.licenses.mit; 30 - platforms = stdenv.lib.platforms.unix; 31 - maintainers = with stdenv.lib.maintainers; [ pSub ]; 29 + license = lib.licenses.mit; 30 + platforms = lib.platforms.unix; 31 + maintainers = with lib.maintainers; [ pSub ]; 32 32 }; 33 33 34 34 }
+3 -3
pkgs/applications/misc/with-shell/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 stdenv.mkDerivation { 3 3 name = "with-2016-08-20"; 4 4 src = fetchFromGitHub { ··· 14 14 meta = { 15 15 homepage = "https://github.com/mchav/With"; 16 16 description = "Command prefixing for continuous workflow using a single tool"; 17 - license = stdenv.lib.licenses.asl20; 18 - platforms = stdenv.lib.platforms.unix; 17 + license = lib.licenses.asl20; 18 + platforms = lib.platforms.unix; 19 19 }; 20 20 }
+3 -3
pkgs/applications/misc/wmname/default.nix
··· 1 - { stdenv, fetchurl, libX11 }: 1 + { lib, stdenv, fetchurl, libX11 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "wmname-0.1"; ··· 15 15 meta = { 16 16 description = "Prints or set the window manager name property of the root window"; 17 17 homepage = "https://tools.suckless.org/wmname"; 18 - license = stdenv.lib.licenses.mit; 19 - platforms = stdenv.lib.platforms.unix; 18 + license = lib.licenses.mit; 19 + platforms = lib.platforms.unix; 20 20 }; 21 21 }
+3 -3
pkgs/applications/misc/wordnet/default.nix
··· 1 - { stdenv, fetchurl, tcl, tk, Cocoa, xlibsWrapper, makeWrapper }: 1 + { lib, stdenv, fetchurl, tcl, tk, Cocoa, xlibsWrapper, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.0"; ··· 9 9 }; 10 10 11 11 buildInputs = [ tcl tk xlibsWrapper makeWrapper ] 12 - ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ]; 12 + ++ lib.optionals stdenv.isDarwin [ Cocoa ]; 13 13 14 14 hardeningDisable = [ "format" ]; 15 15 ··· 48 48 url = "https://wordnet.princeton.edu/license-and-commercial-use"; 49 49 }; 50 50 maintainers = [ ]; 51 - platforms = with stdenv.lib.platforms; linux ++ darwin; 51 + platforms = with lib.platforms; linux ++ darwin; 52 52 }; 53 53 }
+1 -1
pkgs/applications/misc/workrave/default.nix
··· 11 11 12 12 src = fetchFromGitHub { 13 13 sha256 = "0v2mx2idaxlsyv5w66b7pknlill9j9i2gqcs3vq54gak7ix9fj1p"; 14 - rev = with stdenv.lib; 14 + rev = with lib; 15 15 "v" + concatStringsSep "_" (splitVersion version); 16 16 repo = "workrave"; 17 17 owner = "rcaelers";
+3 -3
pkgs/applications/misc/xautoclick/default.nix
··· 18 18 19 19 nativeBuildInputs = [ cmake pkg-config ]; 20 20 buildInputs = [ libevdev xorg.libXtst ] 21 - ++ stdenv.lib.optionals gtkSupport [ gtk3 pcre glib wrapGAppsHook ] 22 - ++ stdenv.lib.optionals fltkSupport [ fltk ] 23 - ++ stdenv.lib.optionals qtSupport [ qt5.qtbase qt5.wrapQtAppsHook ]; 21 + ++ lib.optionals gtkSupport [ gtk3 pcre glib wrapGAppsHook ] 22 + ++ lib.optionals fltkSupport [ fltk ] 23 + ++ lib.optionals qtSupport [ qt5.qtbase qt5.wrapQtAppsHook ]; 24 24 25 25 meta = with lib; { 26 26 description = "Autoclicker application, which enables you to automatically click the left mousebutton";
+3 -3
pkgs/applications/misc/xfe/default.nix
··· 1 - { stdenv, fetchurl, fox, pkgconfig, gettext, xlibsWrapper, gcc, intltool, file, libpng }: 1 + { lib, stdenv, fetchurl, fox, pkgconfig, gettext, xlibsWrapper, gcc, intltool, file, libpng }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "xfe-1.42"; ··· 25 25 Xfe aims to be the filemanager of choice for all the Unix addicts! 26 26 ''; 27 27 homepage = "https://sourceforge.net/projects/xfe/"; 28 - license = stdenv.lib.licenses.gpl2; 28 + license = lib.licenses.gpl2; 29 29 maintainers = []; 30 - platforms = stdenv.lib.platforms.linux; 30 + platforms = lib.platforms.linux; 31 31 }; 32 32 }
+4 -4
pkgs/applications/misc/xfontsel/default.nix
··· 2 2 # at https://www.x.org/releases/individual/. 3 3 # That is why this expression is not inside pkgs.xorg 4 4 5 - {stdenv, fetchurl, makeWrapper, libX11, pkgconfig, libXaw}: 5 + {lib, stdenv, fetchurl, makeWrapper, libX11, pkgconfig, libXaw}: 6 6 stdenv.mkDerivation rec { 7 7 name = "xfontsel-1.0.6"; 8 8 ··· 29 29 meta = { 30 30 homepage = "https://www.x.org/"; 31 31 description = "Allows testing the fonts available in an X server"; 32 - license = stdenv.lib.licenses.free; 33 - maintainers = with stdenv.lib.maintainers; [viric]; 34 - platforms = with stdenv.lib.platforms; linux ++ darwin; 32 + license = lib.licenses.free; 33 + maintainers = with lib.maintainers; [viric]; 34 + platforms = with lib.platforms; linux ++ darwin; 35 35 }; 36 36 }
+6 -6
pkgs/applications/misc/xpdf/default.nix
··· 22 22 # Fix "No known features for CXX compiler", see 23 23 # https://cmake.org/pipermail/cmake/2016-December/064733.html and the note at 24 24 # https://cmake.org/cmake/help/v3.10/command/cmake_minimum_required.html 25 - patches = stdenv.lib.optional stdenv.isDarwin ./cmake_version.patch; 25 + patches = lib.optional stdenv.isDarwin ./cmake_version.patch; 26 26 27 27 nativeBuildInputs = 28 28 [ cmake ] 29 - ++ stdenv.lib.optional enableGUI wrapQtAppsHook; 29 + ++ lib.optional enableGUI wrapQtAppsHook; 30 30 31 31 cmakeFlags = ["-DSYSTEM_XPDFRC=/etc/xpdfrc" "-DA4_PAPER=ON" "-DOPI_SUPPORT=ON"] 32 - ++ stdenv.lib.optional (!enablePrinting) "-DXPDFWIDGET_PRINTING=OFF"; 32 + ++ lib.optional (!enablePrinting) "-DXPDFWIDGET_PRINTING=OFF"; 33 33 34 34 buildInputs = [ zlib libpng ] ++ 35 - stdenv.lib.optional enableGUI qtbase ++ 36 - stdenv.lib.optional enablePrinting cups ++ 37 - stdenv.lib.optional enablePDFtoPPM freetype; 35 + lib.optional enableGUI qtbase ++ 36 + lib.optional enablePrinting cups ++ 37 + lib.optional enablePDFtoPPM freetype; 38 38 39 39 hardeningDisable = [ "format" ]; 40 40
+2 -2
pkgs/applications/misc/xrandr-invert-colors/default.nix
··· 18 18 19 19 meta = with lib; { 20 20 description = "Inverts the colors of your screen"; 21 - license = stdenv.lib.licenses.gpl3Plus; 21 + license = lib.licenses.gpl3Plus; 22 22 homepage = "https://github.com/zoltanp/xrandr-invert-colors"; 23 - maintainers = [stdenv.lib.maintainers.magnetophon ]; 23 + maintainers = [lib.maintainers.magnetophon ]; 24 24 platforms = platforms.linux; 25 25 }; 26 26 }
+5 -5
pkgs/applications/misc/xrq/default.nix
··· 1 - { stdenv, fetchFromGitHub, libX11}: 1 + { lib, stdenv, fetchFromGitHub, libX11}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "xrq-unstable-2016-01-15"; 5 5 6 6 src = fetchFromGitHub { 7 - owner = "arianon"; 8 - repo = "xrq"; 7 + owner = "arianon"; 8 + repo = "xrq"; 9 9 rev = "d5dc19c63881ebdd1287a02968e3a1447dde14a9"; 10 10 sha256 = "1bxf6h3fjw3kjraz7028m7p229l423y1ngy88lqvf0xl1g3dhp36"; 11 11 }; ··· 21 21 meta = { 22 22 description = "X utility for querying xrdb"; 23 23 homepage = "https://github.com/arianon/xrq"; 24 - license = stdenv.lib.licenses.mit; 25 - platforms = with stdenv.lib.platforms; unix; 24 + license = lib.licenses.mit; 25 + platforms = with lib.platforms; unix; 26 26 }; 27 27 }
+6 -6
pkgs/applications/misc/xxkb/default.nix
··· 1 - { stdenv, fetchurl, libX11, libXt, libXext, libXpm, imake, gccmakedep 1 + { lib, stdenv, fetchurl, libX11, libXt, libXext, libXpm, imake, gccmakedep 2 2 , svgSupport ? false, librsvg, glib, gdk-pixbuf, pkgconfig 3 3 }: 4 4 ··· 16 16 nativeBuildInputs = [ imake gccmakedep ]; 17 17 buildInputs = [ 18 18 libX11 libXt libXext libXpm 19 - ] ++ stdenv.lib.optionals svgSupport [ librsvg glib gdk-pixbuf pkgconfig ]; 19 + ] ++ lib.optionals svgSupport [ librsvg glib gdk-pixbuf pkgconfig ]; 20 20 21 21 outputs = [ "out" "man" ]; 22 22 23 - imakeFlags = stdenv.lib.optionalString svgSupport "-DWITH_SVG_SUPPORT"; 23 + imakeFlags = lib.optionalString svgSupport "-DWITH_SVG_SUPPORT"; 24 24 25 25 makeFlags = [ 26 26 "BINDIR=${placeholder "out"}/bin" ··· 34 34 meta = { 35 35 description = "A keyboard layout indicator and switcher"; 36 36 homepage = "http://xxkb.sourceforge.net/"; 37 - license = stdenv.lib.licenses.artistic2; 38 - maintainers = with stdenv.lib.maintainers; [ rasendubi ]; 39 - platforms = stdenv.lib.platforms.linux; 37 + license = lib.licenses.artistic2; 38 + maintainers = with lib.maintainers; [ rasendubi ]; 39 + platforms = lib.platforms.linux; 40 40 }; 41 41 }
+1 -1
pkgs/applications/misc/xygrib/default.nix
··· 14 14 nativeBuildInputs = [ cmake qttools wrapQtAppsHook ]; 15 15 buildInputs = [ bzip2 qtbase libnova proj openjpeg libpng ]; 16 16 cmakeFlags = [ "-DOPENJPEG_INCLUDE_DIR=${openjpeg.dev}/include/openjpeg-2.3" ] 17 - ++ stdenv.lib.optionals stdenv.isDarwin [ "-DLIBNOVA_LIBRARY=${libnova}/lib/libnova.dylib" ]; 17 + ++ lib.optionals stdenv.isDarwin [ "-DLIBNOVA_LIBRARY=${libnova}/lib/libnova.dylib" ]; 18 18 19 19 postInstall = if stdenv.isDarwin then '' 20 20 mkdir -p "$out/Applications" "$out/XyGrib/XyGrib.app/Contents/Resources"
+2 -2
pkgs/applications/misc/yubioath-desktop/default.nix
··· 39 39 --prefix PYTHONPATH : "$program_PYTHONPATH" \ 40 40 --prefix QML2_IMPORT_PATH : "${pyotherside}/${qtbase.qtQmlPrefix}" \ 41 41 --prefix LD_PRELOAD : "${yubikey-personalization}/lib/libykpers-1.so" \ 42 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.getLib pcsclite}/lib:${yubikey-personalization}/lib" 42 + --prefix LD_LIBRARY_PATH : "${lib.getLib pcsclite}/lib:${yubikey-personalization}/lib" 43 43 44 44 mkdir -p $out/share/applications 45 45 cp resources/com.yubico.yubioath.desktop \ ··· 63 63 downloadPage = "https://developers.yubico.com/yubioath-desktop/Releases/"; 64 64 changelog = "https://developers.yubico.com/yubioath-desktop/Release_Notes.html"; 65 65 66 - license = stdenv.lib.licenses.bsd2; 66 + license = lib.licenses.bsd2; 67 67 maintainers = with maintainers; [ mic92 risson ]; 68 68 }; 69 69 }
+2 -2
pkgs/applications/misc/zathura/core/default.nix
··· 1 - { stdenv, fetchurl, meson, ninja, wrapGAppsHook, pkgconfig 1 + { lib, stdenv, fetchurl, meson, ninja, wrapGAppsHook, pkgconfig 2 2 , appstream-glib, desktop-file-utils, python3 3 3 , gtk, girara, gettext, libxml2, check 4 4 , sqlite, glib, texlive, libintl, libseccomp ··· 6 6 , gtk-mac-integration 7 7 }: 8 8 9 - with stdenv.lib; 9 + with lib; 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "zathura";
+4 -4
pkgs/applications/misc/zk-shell/default.nix
··· 1 - { stdenv, fetchFromGitHub, pythonPackages }: 1 + { lib, stdenv, fetchFromGitHub, pythonPackages }: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 version = "1.0.0"; ··· 21 21 meta = { 22 22 description = "A powerful & scriptable shell for Apache ZooKeeper"; 23 23 homepage = "https://github.com/rgs1/zk_shell"; 24 - license = stdenv.lib.licenses.asl20; 25 - maintainers = [ stdenv.lib.maintainers.mahe ]; 26 - platforms = stdenv.lib.platforms.all; 24 + license = lib.licenses.asl20; 25 + maintainers = [ lib.maintainers.mahe ]; 26 + platforms = lib.platforms.all; 27 27 }; 28 28 }
+1 -1
pkgs/applications/misc/zola/default.nix
··· 15 15 16 16 nativeBuildInputs = [ cmake pkg-config ]; 17 17 buildInputs = [ openssl oniguruma ] 18 - ++ stdenv.lib.optional stdenv.isDarwin CoreServices; 18 + ++ lib.optional stdenv.isDarwin CoreServices; 19 19 20 20 RUSTONIG_SYSTEM_LIBONIG = true; 21 21
+1 -1
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 172 172 desktopName = "${desktopName}${nameSuffix}${lib.optionalString forceWayland " (Wayland)"}"; 173 173 genericName = "Web Browser"; 174 174 categories = "Network;WebBrowser;"; 175 - mimeType = stdenv.lib.concatStringsSep ";" [ 175 + mimeType = lib.concatStringsSep ";" [ 176 176 "text/html" 177 177 "text/xml" 178 178 "application/xhtml+xml"
+2 -2
pkgs/applications/networking/browsers/google-chrome/default.nix
··· 1 - { stdenv, patchelf, makeWrapper 1 + { lib, stdenv, patchelf, makeWrapper 2 2 3 3 # Linked dynamic libraries. 4 4 , glib, fontconfig, freetype, pango, cairo, libX11, libXi, atk, gconf, nss, nspr ··· 41 41 , gnome3 42 42 }: 43 43 44 - with stdenv.lib; 44 + with lib; 45 45 46 46 let 47 47 opusWithCustomModes = libopus.override {
+3 -3
pkgs/applications/networking/browsers/lynx/default.nix
··· 26 26 "--enable-default-colors" 27 27 "--enable-widec" 28 28 "--enable-ipv6" 29 - ] ++ stdenv.lib.optional sslSupport "--with-ssl"; 29 + ] ++ lib.optional sslSupport "--with-ssl"; 30 30 31 31 depsBuildBuild = [ buildPackages.stdenv.cc ]; 32 32 nativeBuildInputs = [ nukeReferences ] 33 - ++ stdenv.lib.optional sslSupport pkgconfig; 33 + ++ lib.optional sslSupport pkgconfig; 34 34 35 - buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl.dev; 35 + buildInputs = [ ncurses gzip ] ++ lib.optional sslSupport openssl.dev; 36 36 37 37 # cfg_defs.h captures lots of references to build-only dependencies, derived 38 38 # from config.cache.
+4 -4
pkgs/applications/networking/browsers/w3m/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch 1 + { lib, stdenv, fetchFromGitHub, fetchpatch 2 2 , ncurses, boehmgc, gettext, zlib 3 3 , sslSupport ? true, openssl ? null 4 4 , graphicsSupport ? !stdenv.isDarwin, imlib2 ? null ··· 12 12 assert x11Support -> graphicsSupport && libX11 != null; 13 13 assert mouseSupport -> gpm-ncurses != null; 14 14 15 - with stdenv.lib; 15 + with lib; 16 16 17 17 let 18 18 mktable = buildPackages.stdenv.mkDerivation { ··· 94 94 homepage = "http://w3m.sourceforge.net/"; 95 95 description = "A text-mode web browser"; 96 96 maintainers = [ maintainers.cstrahan ]; 97 - platforms = stdenv.lib.platforms.unix; 98 - license = stdenv.lib.licenses.mit; 97 + platforms = lib.platforms.unix; 98 + license = lib.licenses.mit; 99 99 }; 100 100 }
+1 -1
pkgs/applications/networking/cawbird/default.nix
··· 73 73 homepage = "https://ibboard.co.uk/cawbird/"; 74 74 license = licenses.gpl3; 75 75 platforms = platforms.linux; 76 - maintainers = with stdenv.lib.maintainers; [ jonafato schmittlauch ]; 76 + maintainers = with lib.maintainers; [ jonafato schmittlauch ]; 77 77 }; 78 78 }
+1 -1
pkgs/applications/networking/cluster/click/default.nix
··· 15 15 16 16 cargoSha256 = "1f9yn4pvp58laylngdrfdkwygisnzkhkm7pndf6l33k3aqxhz5mm"; 17 17 18 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; 18 + buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; 19 19 20 20 meta = with lib; { 21 21 description = ''The "Command Line Interactive Controller for Kubernetes"'';
+5 -5
pkgs/applications/networking/cluster/hadoop/default.nix
··· 13 13 inherit sha256; 14 14 }; 15 15 16 - postUnpack = stdenv.lib.optionalString (tomcat != null) '' 16 + postUnpack = lib.optionalString (tomcat != null) '' 17 17 install -D ${tomcat.src} $sourceRoot/hadoop-hdfs-project/hadoop-hdfs-httpfs/downloads/apache-tomcat-${tomcat.version}.tar.gz 18 18 install -D ${tomcat.src} $sourceRoot/hadoop-common-project/hadoop-kms/downloads/apache-tomcat-${tomcat.version}.tar.gz 19 19 ''; ··· 59 59 # 'maven.repo.local' must be writable 60 60 mvn package --offline -Dmaven.repo.local=$(cp -dpR ${fetched-maven-deps}/.m2 ./ && chmod +w -R .m2 && pwd)/.m2 ${mavenFlags} 61 61 # remove runtime dependency on $jdk/jre/lib/amd64/server/libjvm.so 62 - patchelf --set-rpath ${stdenv.lib.makeLibraryPath [glibc]} hadoop-dist/target/hadoop-${version}/lib/native/libhadoop.so.1.0.0 63 - patchelf --set-rpath ${stdenv.lib.makeLibraryPath [glibc]} hadoop-dist/target/hadoop-${version}/lib/native/libhdfs.so.0.0.0 62 + patchelf --set-rpath ${lib.makeLibraryPath [glibc]} hadoop-dist/target/hadoop-${version}/lib/native/libhadoop.so.1.0.0 63 + patchelf --set-rpath ${lib.makeLibraryPath [glibc]} hadoop-dist/target/hadoop-${version}/lib/native/libhdfs.so.0.0.0 64 64 ''; 65 65 installPhase = "mv hadoop-dist/target/hadoop-${version} $out"; 66 66 }; ··· 86 86 if [ -f "$n" ]; then # only regular files 87 87 mv $n $out/bin.wrapped/ 88 88 makeWrapper $out/bin.wrapped/$(basename $n) $n \ 89 - --prefix PATH : "${stdenv.lib.makeBinPath [ which jre bash coreutils ]}" \ 90 - --prefix JAVA_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ opensslPkg snappy zlib bzip2 ]}" \ 89 + --prefix PATH : "${lib.makeBinPath [ which jre bash coreutils ]}" \ 90 + --prefix JAVA_LIBRARY_PATH : "${lib.makeLibraryPath [ opensslPkg snappy zlib bzip2 ]}" \ 91 91 --set JAVA_HOME "${jre}" \ 92 92 --set HADOOP_PREFIX "$out" 93 93 fi
+4 -4
pkgs/applications/networking/cluster/kanif/default.nix
··· 1 - { stdenv, fetchurl, perl , taktuk}: 1 + { lib, stdenv, fetchurl, perl , taktuk}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.2.2"; ··· 26 26 remote files or directories locally ('kaget' command). It relies on TakTuk 27 27 for efficiency and scalability.''; 28 28 homepage = "http://taktuk.gforge.inria.fr/kanif"; 29 - license = stdenv.lib.licenses.gpl2; 30 - maintainers = [ stdenv.lib.maintainers.bzizou ]; 31 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.gpl2; 30 + maintainers = [ lib.maintainers.bzizou ]; 31 + platforms = lib.platforms.linux; 32 32 }; 33 33 34 34 }
+1 -1
pkgs/applications/networking/cluster/kubelogin/default.nix
··· 16 16 buildFlagsArray = '' 17 17 -ldflags= 18 18 -X main.version=${version} 19 - -X main.goVersion=${stdenv.lib.getVersion go} 19 + -X main.goVersion=${lib.getVersion go} 20 20 ''; 21 21 22 22 meta = with lib; {
+3 -3
pkgs/applications/networking/cluster/node-problem-detector/default.nix
··· 20 20 # Linux-only feature. See 'ENABLE_JOURNALD' upstream: 21 21 # https://github.com/kubernetes/node-problem-detector/blob/master/Makefile 22 22 subPackages = [ "cmd/nodeproblemdetector" ] ++ 23 - stdenv.lib.optionals stdenv.isLinux [ "cmd/logcounter" ]; 23 + lib.optionals stdenv.isLinux [ "cmd/logcounter" ]; 24 24 25 25 preBuild = '' 26 26 export CGO_ENABLED=${if stdenv.isLinux then "1" else "0"} 27 27 ''; 28 28 29 - buildInputs = stdenv.lib.optionals stdenv.isLinux [ systemd ]; 29 + buildInputs = lib.optionals stdenv.isLinux [ systemd ]; 30 30 31 31 buildFlags = "-mod vendor" + 32 - stdenv.lib.optionalString stdenv.isLinux " -tags journald"; 32 + lib.optionalString stdenv.isLinux " -tags journald"; 33 33 34 34 buildFlagsArray = [ 35 35 "-ldflags="
+1 -1
pkgs/applications/networking/cluster/openshift/default.nix
··· 10 10 11 11 let 12 12 version = "4.1.0"; 13 - ver = stdenv.lib.elemAt (stdenv.lib.splitVersion version); 13 + ver = lib.elemAt (lib.splitVersion version); 14 14 versionMajor = ver 0; 15 15 versionMinor = ver 1; 16 16 versionPatch = ver 2;
+1 -1
pkgs/applications/networking/cluster/pig/default.nix
··· 21 21 22 22 for n in $out/{bin,sbin}"/"*; do 23 23 wrapProgram $n \ 24 - --prefix PATH : "${stdenv.lib.makeBinPath [ jre bash ]}" \ 24 + --prefix PATH : "${lib.makeBinPath [ jre bash ]}" \ 25 25 --set JAVA_HOME "${jre}" --set HADOOP_PREFIX "${hadoop}" 26 26 done 27 27 '';
+1 -1
pkgs/applications/networking/cluster/spacegun/node-composition.nix
··· 14 14 import ./node-packages.nix { 15 15 inherit (pkgs) fetchurl fetchgit; 16 16 inherit nodeEnv; 17 - } 17 + }
+1 -1
pkgs/applications/networking/cluster/spacegun/node-packages.nix
··· 11474 11474 bypassCache = true; 11475 11475 reconstructLock = true; 11476 11476 }; 11477 - } 11477 + }
+4 -4
pkgs/applications/networking/cluster/spark/default.nix
··· 1 - { stdenv, fetchzip, makeWrapper, jre, pythonPackages, coreutils, hadoop 1 + { lib, stdenv, fetchzip, makeWrapper, jre, pythonPackages, coreutils, hadoop 2 2 , RSupport? true, R 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 8 ··· 47 47 meta = { 48 48 description = "Apache Spark is a fast and general engine for large-scale data processing"; 49 49 homepage = "http://spark.apache.org"; 50 - license = stdenv.lib.licenses.asl20; 51 - platforms = stdenv.lib.platforms.all; 50 + license = lib.licenses.asl20; 51 + platforms = lib.platforms.all; 52 52 maintainers = with maintainers; [ thoughtpolice offline kamilchm ]; 53 53 repositories.git = "git://git.apache.org/spark.git"; 54 54 };
+4 -4
pkgs/applications/networking/cluster/taktuk/default.nix
··· 1 - { stdenv, fetchurl, perl }: 1 + { lib, stdenv, fetchurl, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.7.7"; ··· 26 26 require any specific software on the nodes thanks to a self-propagation 27 27 algorithm.''; 28 28 homepage = "http://taktuk.gforge.inria.fr/"; 29 - license = stdenv.lib.licenses.gpl2; 30 - maintainers = [ stdenv.lib.maintainers.bzizou ]; 31 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.gpl2; 30 + maintainers = [ lib.maintainers.bzizou ]; 31 + platforms = lib.platforms.linux; 32 32 }; 33 33 } 34 34
+1 -1
pkgs/applications/networking/cluster/terraform-landscape/gemset.nix
··· 58 58 }; 59 59 version = "1.6.10"; 60 60 }; 61 - } 61 + }
+4 -4
pkgs/applications/networking/enhanced-ctorrent/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch }: 1 + { lib, stdenv, fetchurl, fetchpatch }: 2 2 3 3 stdenv.mkDerivation { 4 4 version = "3.3.2"; ··· 28 28 performance enhancements. 29 29 ''; 30 30 homepage = "http://www.rahul.net/dholmes/ctorrent/"; 31 - license = stdenv.lib.licenses.gpl2Plus; 32 - platforms = stdenv.lib.platforms.unix; 33 - maintainers = [ stdenv.lib.maintainers.devhell ]; 31 + license = lib.licenses.gpl2Plus; 32 + platforms = lib.platforms.unix; 33 + maintainers = [ lib.maintainers.devhell ]; 34 34 }; 35 35 }
+1 -1
pkgs/applications/networking/esniper/default.nix
··· 17 17 18 18 postInstall = '' 19 19 sed <"frontends/snipe" >"$out/bin/snipe" \ 20 - -e "2i export PATH=\"$out/bin:${stdenv.lib.makeBinPath [ coreutils gawk bash which ]}:\$PATH\"" 20 + -e "2i export PATH=\"$out/bin:${lib.makeBinPath [ coreutils gawk bash which ]}:\$PATH\"" 21 21 chmod 555 "$out/bin/snipe" 22 22 ''; 23 23
+4 -4
pkgs/applications/networking/feedreaders/canto-curses/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages, readline, ncurses, canto-daemon }: 1 + { lib, stdenv, fetchFromGitHub, python3Packages, readline, ncurses, canto-daemon }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 version = "0.9.9"; ··· 25 25 and extensibility using the excellent Python programming language. 26 26 ''; 27 27 homepage = "https://codezen.org/canto-ng/"; 28 - license = stdenv.lib.licenses.gpl2; 29 - platforms = stdenv.lib.platforms.linux; 30 - maintainers = [ stdenv.lib.maintainers.devhell ]; 28 + license = lib.licenses.gpl2; 29 + platforms = lib.platforms.linux; 30 + maintainers = [ lib.maintainers.devhell ]; 31 31 }; 32 32 }
+8 -8
pkgs/applications/networking/feedreaders/newsboat/default.nix
··· 18 18 substituteInPlace Makefile --replace "|| true" "" 19 19 '' 20 20 # TODO: Check if that's still needed 21 - + stdenv.lib.optionalString stdenv.isDarwin '' 21 + + lib.optionalString stdenv.isDarwin '' 22 22 # Allow other ncurses versions on Darwin 23 23 substituteInPlace config.sh \ 24 24 --replace "ncurses5.4" "ncurses" ··· 29 29 pkg-config 30 30 asciidoctor 31 31 gettext 32 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ makeWrapper ncurses ]; 32 + ] ++ lib.optionals stdenv.isDarwin [ makeWrapper ncurses ]; 33 33 34 34 buildInputs = [ stfl sqlite curl libxml2 json_c ncurses ] 35 - ++ stdenv.lib.optionals stdenv.isDarwin [ Security Foundation libiconv gettext ]; 35 + ++ lib.optionals stdenv.isDarwin [ Security Foundation libiconv gettext ]; 36 36 37 37 postBuild = '' 38 38 make prefix="$out" 39 39 ''; 40 40 41 41 # TODO: Check if that's still needed 42 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin " -Wno-error=format-security"; 42 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin " -Wno-error=format-security"; 43 43 44 44 # https://github.com/NixOS/nixpkgs/pull/98471#issuecomment-703100014 . We set 45 45 # these for all platforms, since upstream's gettext crate behavior might 46 46 # change in the future. 47 - GETTEXT_LIB_DIR = "${stdenv.lib.getLib gettext}/lib"; 48 - GETTEXT_INCLUDE_DIR = "${stdenv.lib.getDev gettext}/include"; 49 - GETTEXT_BIN_DIR = "${stdenv.lib.getBin gettext}/bin"; 47 + GETTEXT_LIB_DIR = "${lib.getLib gettext}/lib"; 48 + GETTEXT_INCLUDE_DIR = "${lib.getDev gettext}/include"; 49 + GETTEXT_BIN_DIR = "${lib.getBin gettext}/bin"; 50 50 51 51 doCheck = true; 52 52 ··· 57 57 postInstall = '' 58 58 make prefix="$out" install 59 59 cp -r contrib $out 60 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 60 + '' + lib.optionalString stdenv.isDarwin '' 61 61 for prog in $out/bin/*; do 62 62 wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${stfl}/lib" 63 63 done
+1 -1
pkgs/applications/networking/feedreaders/rsstail/default.nix
··· 11 11 owner = "flok99"; 12 12 }; 13 13 14 - buildInputs = [ libmrss ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; 14 + buildInputs = [ libmrss ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 15 15 checkInputs = [ cppcheck ]; 16 16 17 17 postPatch = ''
+4 -4
pkgs/applications/networking/ids/daq/default.nix
··· 1 - {stdenv, fetchurl, flex, bison, libpcap, libdnet, libnfnetlink, libnetfilter_queue}: 1 + { lib, stdenv, fetchurl, flex, bison, libpcap, libdnet, libnfnetlink, libnetfilter_queue}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "daq-2.2.2"; ··· 20 20 meta = { 21 21 description = "Data AcQuisition library (DAQ), for packet I/O"; 22 22 homepage = "https://www.snort.org"; 23 - maintainers = with stdenv.lib.maintainers; [ aycanirican ]; 24 - license = stdenv.lib.licenses.gpl2; 25 - platforms = with stdenv.lib.platforms; linux; 23 + maintainers = with lib.maintainers; [ aycanirican ]; 24 + license = lib.licenses.gpl2; 25 + platforms = with lib.platforms; linux; 26 26 }; 27 27 }
+4 -4
pkgs/applications/networking/ids/snort/default.nix
··· 1 - {stdenv, pkgconfig, luajit, openssl, fetchurl, libpcap, pcre, libdnet, daq, zlib, flex, bison, makeWrapper 1 + {lib, stdenv, pkgconfig, luajit, openssl, fetchurl, libpcap, pcre, libdnet, daq, zlib, flex, bison, makeWrapper 2 2 , libtirpc 3 3 }: 4 4 ··· 32 32 meta = { 33 33 description = "Network intrusion prevention and detection system (IDS/IPS)"; 34 34 homepage = "https://www.snort.org"; 35 - maintainers = with stdenv.lib.maintainers; [ aycanirican ]; 36 - license = stdenv.lib.licenses.gpl2; 37 - platforms = with stdenv.lib.platforms; linux; 35 + maintainers = with lib.maintainers; [ aycanirican ]; 36 + license = lib.licenses.gpl2; 37 + platforms = with lib.platforms; linux; 38 38 }; 39 39 }
+2 -2
pkgs/applications/networking/ids/zeek/default.nix
··· 30 30 31 31 nativeBuildInputs = [ cmake flex bison file ]; 32 32 buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python swig ] 33 - ++ stdenv.lib.optionals stdenv.isDarwin [ gettext ]; 33 + ++ lib.optionals stdenv.isDarwin [ gettext ]; 34 34 35 35 #see issue https://github.com/zeek/zeek/issues/804 to modify hardlinking duplicate files. 36 36 inherit preConfigure; 37 37 38 - patches = stdenv.lib.optionals stdenv.cc.isClang [ 38 + patches = lib.optionals stdenv.cc.isClang [ 39 39 # Fix pybind c++17 build with Clang. See: https://github.com/pybind/pybind11/issues/1604 40 40 (fetchpatch { 41 41 url = "https://github.com/pybind/pybind11/commit/759221f5c56939f59d8f342a41f8e2d2cacbc8cf.patch";
+6 -6
pkgs/applications/networking/instant-messengers/baresip/default.nix
··· 1 - {stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig, gst_all_1 1 + { lib, stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig, gst_all_1 2 2 , cairo, mpg123, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg_3 3 3 , gsm, speex, portaudio, spandsp, libuuid, libvpx 4 4 }: ··· 33 33 "USE_BV32=" "USE_COREAUDIO=" "USE_G711=1" "USE_G722=1" "USE_G722_1=" 34 34 "USE_ILBC=" "USE_OPUS=" "USE_SILK=" 35 35 ] 36 - ++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}" 37 - ++ stdenv.lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.cc.libc}" 36 + ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}" 37 + ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.cc.libc}" 38 38 ; 39 39 40 40 NIX_CFLAGS_COMPILE='' -I${librem}/include/rem -I${gsm}/include/gsm ··· 42 42 -D__need_timeval -D__need_timespec -D__need_time_t ''; 43 43 meta = { 44 44 homepage = "http://www.creytiv.com/baresip.html"; 45 - platforms = with stdenv.lib.platforms; linux; 46 - maintainers = with stdenv.lib.maintainers; [raskin]; 47 - license = stdenv.lib.licenses.bsd3; 45 + platforms = with lib.platforms; linux; 46 + maintainers = with lib.maintainers; [raskin]; 47 + license = lib.licenses.bsd3; 48 48 inherit version; 49 49 downloadPage = "http://www.creytiv.com/pub/"; 50 50 updateWalker = true;
+3 -3
pkgs/applications/networking/instant-messengers/bitlbee-discord/default.nix
··· 1 - { fetchFromGitHub, stdenv, bitlbee, autoreconfHook, pkgconfig, glib }: 1 + { lib, fetchFromGitHub, stdenv, bitlbee, autoreconfHook, pkgconfig, glib }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 pname = "bitlbee-discord"; 6 6 version = "0.4.3"; ··· 27 27 homepage = "https://github.com/sm00th/bitlbee-discord"; 28 28 license = licenses.gpl2Plus; 29 29 maintainers = with maintainers; [ lassulus jb55 ]; 30 - platforms = stdenv.lib.platforms.linux; 30 + platforms = lib.platforms.linux; 31 31 }; 32 32 }
+3 -3
pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix
··· 1 - { fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkgconfig, glib, json-glib }: 1 + { lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkgconfig, glib, json-glib }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 pname = "bitlbee-facebook"; 6 6 version = "1.2.1"; ··· 26 26 27 27 homepage = "https://github.com/bitlbee/bitlbee-facebook"; 28 28 license = licenses.gpl2Plus; 29 - platforms = stdenv.lib.platforms.linux; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+3 -3
pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix
··· 1 - { fetchgit, stdenv, bitlbee, autoreconfHook, pkgconfig, glib }: 1 + { lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkgconfig, glib }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 pname = "bitlbee-mastodon"; 6 6 version = "1.4.4"; ··· 24 24 homepage = "https://alexschroeder.ch/cgit/bitlbee-mastodon/about"; 25 25 license = licenses.gpl2Plus; 26 26 maintainers = with maintainers; [ jpotier ]; 27 - platforms = stdenv.lib.platforms.linux; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+3 -3
pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix
··· 1 - { fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkgconfig, glib, libgcrypt }: 1 + { lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkgconfig, glib, libgcrypt }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 version = "1.4.2"; 6 6 pname = "bitlbee-steam"; ··· 25 25 26 26 homepage = "https://github.com/jgeboski/bitlbee-steam"; 27 27 license = licenses.gpl2Plus; 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+2 -2
pkgs/applications/networking/instant-messengers/bitlbee/default.nix
··· 1 - { fetchurl, fetchpatch, stdenv, gnutls, glib, pkgconfig, check, libotr, python 1 + { lib, fetchurl, fetchpatch, stdenv, gnutls, glib, pkgconfig, check, libotr, python 2 2 , enableLibPurple ? false, pidgin ? null 3 3 , enablePam ? false, pam ? null 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 stdenv.mkDerivation rec { 8 8 name = "bitlbee-3.6"; 9 9
+2 -2
pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix
··· 1 - { stdenv, bitlbee }: 1 + { lib, stdenv, bitlbee }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 plugins: 6 6
+1 -1
pkgs/applications/networking/instant-messengers/bluejeans/default.nix
··· 50 50 nativeBuildInputs = [ rpmextract makeWrapper ]; 51 51 52 52 libPath = 53 - stdenv.lib.makeLibraryPath 53 + lib.makeLibraryPath 54 54 [ 55 55 libnotify 56 56 libuuid
+4 -4
pkgs/applications/networking/instant-messengers/centerim/default.nix
··· 1 - {stdenv, fetchurl, gnused, openssl, curl, ncurses, libjpeg 1 + { lib, stdenv, fetchurl, gnused, openssl, curl, ncurses, libjpeg 2 2 , withGpg ? true, gpgme ? null}: 3 3 4 4 stdenv.mkDerivation rec { ··· 13 13 CXXFLAGS = "-std=gnu++98"; 14 14 15 15 buildInputs = [ openssl curl ncurses libjpeg ] 16 - ++ stdenv.lib.optional withGpg gpgme; 16 + ++ lib.optional withGpg gpgme; 17 17 18 18 preConfigure = '' 19 19 ${gnused}/bin/sed -i '1,1i#include <stdio.h>' libicq2000/libicq2000/sigslot.h ··· 26 26 meta = { 27 27 homepage = "http://www.centerim.org/"; 28 28 description = "Fork of CenterICQ, a curses instant messaging program"; 29 - license = stdenv.lib.licenses.gpl2Plus; 30 - platforms = with stdenv.lib.platforms; linux; 29 + license = lib.licenses.gpl2Plus; 30 + platforms = with lib.platforms; linux; 31 31 }; 32 32 }
+1 -1
pkgs/applications/networking/instant-messengers/discord/base.nix
··· 29 29 30 30 dontWrapGApps = true; 31 31 32 - libPath = stdenv.lib.makeLibraryPath [ 32 + libPath = lib.makeLibraryPath [ 33 33 libcxx systemd libpulseaudio 34 34 stdenv.cc.cc alsaLib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype 35 35 gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid
+3 -3
pkgs/applications/networking/instant-messengers/element/element-web.nix
··· 32 32 meta = { 33 33 description = "A glossy Matrix collaboration client for the web"; 34 34 homepage = "https://element.io/"; 35 - maintainers = stdenv.lib.teams.matrix.members; 36 - license = stdenv.lib.licenses.asl20; 37 - platforms = stdenv.lib.platforms.all; 35 + maintainers = lib.teams.matrix.members; 36 + license = lib.licenses.asl20; 37 + platforms = lib.platforms.all; 38 38 hydraPlatforms = []; 39 39 }; 40 40 }
+1 -1
pkgs/applications/networking/instant-messengers/gitter/default.nix
··· 6 6 , pango, systemd }: 7 7 8 8 let gitterDirectorySuffix = "opt/gitter"; 9 - libPath = stdenv.lib.makeLibraryPath [ 9 + libPath = lib.makeLibraryPath [ 10 10 alsaLib 11 11 atk 12 12 at-spi2-core
+3 -3
pkgs/applications/networking/instant-messengers/gtmess/default.nix
··· 1 - {stdenv, fetchurl, ncurses, openssl, tcl, tk}: 1 + {lib, stdenv, fetchurl, ncurses, openssl, tcl, tk}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gtmess-0.97"; ··· 13 13 meta = { 14 14 description = "Console MSN Messenger client for Linux and other unix systems"; 15 15 homepage = "http://gtmess.sourceforge.net/"; 16 - license = stdenv.lib.licenses.gpl2Plus; 17 - platforms = with stdenv.lib.platforms; linux; 16 + license = lib.licenses.gpl2Plus; 17 + platforms = with lib.platforms; linux; 18 18 }; 19 19 }
+1 -1
pkgs/applications/networking/instant-messengers/hipchat/default.nix
··· 5 5 let 6 6 version = "4.30.5.1682"; 7 7 8 - rpath = stdenv.lib.makeLibraryPath [ 8 + rpath = lib.makeLibraryPath [ 9 9 xdg_utils 10 10 xorg.libXext 11 11 xorg.libSM
+1 -1
pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix
··· 47 47 postFixup = '' 48 48 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 49 49 --add-flags $out/share/${pname}/resources/app.asar \ 50 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}" 50 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ]}" 51 51 ''; 52 52 53 53 meta = with lib; {
+2 -3
pkgs/applications/networking/instant-messengers/matrix-recorder/composition.nix
··· 6 6 7 7 let 8 8 nodeEnv = import ./node-env.nix { 9 - inherit (pkgs) stdenv python2 util-linux runCommand writeTextFile; 9 + inherit (pkgs) lib stdenv python2 util-linux runCommand writeTextFile; 10 10 inherit nodejs; 11 11 libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; 12 12 }; 13 - locpkgs = 14 - import ./node-packages.nix { 13 + locpkgs = import ./node-packages.nix { 15 14 inherit (pkgs) fetchurl fetchgit; 16 15 inherit nodeEnv; 17 16 globalBuildInputs = [
+3 -3
pkgs/applications/networking/instant-messengers/matrix-recorder/default.nix
··· 1 - { stdenv, pkgs }: 1 + { lib, stdenv, pkgs }: 2 2 (import ./composition.nix { 3 3 inherit pkgs; 4 4 inherit (stdenv.hostPlatform) system; ··· 21 21 meta = { 22 22 description = "Matrix message recorder"; 23 23 homepage = "https://gitlab.com/argit/matrix-recorder/"; 24 - license = stdenv.lib.licenses.mit; 25 - maintainers = [ stdenv.lib.maintainers.raskin ]; 24 + license = lib.licenses.mit; 25 + maintainers = [ lib.maintainers.raskin ]; 26 26 }; 27 27 }
+23 -23
pkgs/applications/networking/instant-messengers/matrix-recorder/node-env.nix
··· 1 1 # This file originates from node2nix 2 2 3 - {stdenv, nodejs, python2, util-linux, libtool, runCommand, writeTextFile}: 3 + {lib, stdenv, nodejs, python2, util-linux, libtool, runCommand, writeTextFile}: 4 4 5 5 let 6 6 python = if nodejs ? python then nodejs.python else python2; ··· 38 38 }; 39 39 40 40 includeDependencies = {dependencies}: 41 - stdenv.lib.optionalString (dependencies != []) 42 - (stdenv.lib.concatMapStrings (dependency: 41 + lib.optionalString (dependencies != []) 42 + (lib.concatMapStrings (dependency: 43 43 '' 44 44 # Bundle the dependencies of the package 45 45 mkdir -p node_modules ··· 100 100 cd "$DIR/${packageName}" 101 101 ${includeDependencies { inherit dependencies; }} 102 102 cd .. 103 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 103 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 104 104 ''; 105 105 106 106 pinpointDependencies = {dependencies, production}: ··· 161 161 '' 162 162 node ${pinpointDependenciesFromPackageJSON} ${if production then "production" else "development"} 163 163 164 - ${stdenv.lib.optionalString (dependencies != []) 164 + ${lib.optionalString (dependencies != []) 165 165 '' 166 166 if [ -d node_modules ] 167 167 then 168 168 cd node_modules 169 - ${stdenv.lib.concatMapStrings (dependency: pinpointDependenciesOfPackage dependency) dependencies} 169 + ${lib.concatMapStrings (dependency: pinpointDependenciesOfPackage dependency) dependencies} 170 170 cd .. 171 171 fi 172 172 ''} ··· 183 183 cd "${packageName}" 184 184 ${pinpointDependencies { inherit dependencies production; }} 185 185 cd .. 186 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 186 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 187 187 fi 188 188 ''; 189 189 ··· 344 344 cd "${packageName}" 345 345 runHook preRebuild 346 346 347 - ${stdenv.lib.optionalString bypassCache '' 348 - ${stdenv.lib.optionalString reconstructLock '' 347 + ${lib.optionalString bypassCache '' 348 + ${lib.optionalString reconstructLock '' 349 349 if [ -f package-lock.json ] 350 350 then 351 351 echo "WARNING: Reconstruct lock option enabled, but a lock file already exists!" ··· 361 361 node ${addIntegrityFieldsScript} 362 362 ''} 363 363 364 - npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild 364 + npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${lib.optionalString production "--production"} rebuild 365 365 366 366 if [ "$dontNpmInstall" != "1" ] 367 367 then 368 368 # NPM tries to download packages even when they already exist if npm-shrinkwrap is used. 369 369 rm -f npm-shrinkwrap.json 370 370 371 - npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install 371 + npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${lib.optionalString production "--production"} install 372 372 fi 373 373 ''; 374 374 ··· 396 396 stdenv.mkDerivation ({ 397 397 name = "node_${name}-${version}"; 398 398 buildInputs = [ tarWrapper python nodejs ] 399 - ++ stdenv.lib.optional (stdenv.isLinux) util-linux 400 - ++ stdenv.lib.optional (stdenv.isDarwin) libtool 399 + ++ lib.optional (stdenv.isLinux) util-linux 400 + ++ lib.optional (stdenv.isDarwin) libtool 401 401 ++ buildInputs; 402 402 403 403 inherit dontStrip; # Stripping may fail a build for some package deployments ··· 468 468 name = "node-dependencies-${name}-${version}"; 469 469 470 470 buildInputs = [ tarWrapper python nodejs ] 471 - ++ stdenv.lib.optional (stdenv.isLinux) util-linux 472 - ++ stdenv.lib.optional (stdenv.isDarwin) libtool 471 + ++ lib.optional (stdenv.isLinux) util-linux 472 + ++ lib.optional (stdenv.isDarwin) libtool 473 473 ++ buildInputs; 474 474 475 475 inherit dontStrip; # Stripping may fail a build for some package deployments ··· 489 489 # Create fake package.json to make the npm commands work properly 490 490 cp ${src}/package.json . 491 491 chmod 644 package.json 492 - ${stdenv.lib.optionalString bypassCache '' 492 + ${lib.optionalString bypassCache '' 493 493 if [ -f ${src}/package-lock.json ] 494 494 then 495 495 cp ${src}/package-lock.json . ··· 498 498 499 499 # Go to the parent folder to make sure that all packages are pinpointed 500 500 cd .. 501 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 501 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 502 502 503 503 ${prepareAndInvokeNPM { inherit packageName bypassCache reconstructLock npmFlags production; }} 504 504 505 505 # Expose the executables that were installed 506 506 cd .. 507 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 507 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 508 508 509 509 mv ${packageName} lib 510 510 ln -s $out/lib/node_modules/.bin $out/bin ··· 514 514 stdenv.mkDerivation { 515 515 name = "node-shell-${name}-${version}"; 516 516 517 - buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) util-linux ++ buildInputs; 517 + buildInputs = [ python nodejs ] ++ lib.optional (stdenv.isLinux) util-linux ++ buildInputs; 518 518 buildCommand = '' 519 519 mkdir -p $out/bin 520 520 cat > $out/bin/shell <<EOF ··· 527 527 528 528 # Provide the dependencies in a development shell through the NODE_PATH environment variable 529 529 inherit nodeDependencies; 530 - shellHook = stdenv.lib.optionalString (dependencies != []) '' 530 + shellHook = lib.optionalString (dependencies != []) '' 531 531 export NODE_PATH=$nodeDependencies/lib/node_modules 532 532 export PATH="$nodeDependencies/bin:$PATH" 533 533 ''; 534 534 }; 535 535 in 536 536 { 537 - buildNodeSourceDist = stdenv.lib.makeOverridable buildNodeSourceDist; 538 - buildNodePackage = stdenv.lib.makeOverridable buildNodePackage; 539 - buildNodeShell = stdenv.lib.makeOverridable buildNodeShell; 537 + buildNodeSourceDist = lib.makeOverridable buildNodeSourceDist; 538 + buildNodePackage = lib.makeOverridable buildNodePackage; 539 + buildNodeShell = lib.makeOverridable buildNodeShell; 540 540 }
+7 -7
pkgs/applications/networking/instant-messengers/matrixcli/default.nix
··· 1 - { stdenv, fetchgit 1 + { lib, stdenv, fetchgit 2 2 , buildPythonApplication, buildPythonPackage 3 3 , pygobject3, pytestrunner, requests, responses, pytest, python-olm 4 4 , canonicaljson, olm ··· 15 15 name = "${pname}-${version}"; 16 16 pname = "matrix-python-sdk-matrixcli"; 17 17 version = "0.0.2019-08-15"; 18 - 18 + 19 19 src = "${mainsrc}/matrix-python-sdk/"; 20 20 21 21 propagatedBuildInputs = [ ··· 27 27 doInstallCheck = false; 28 28 29 29 meta = { 30 - license = stdenv.lib.licenses.asl20; 30 + license = lib.licenses.asl20; 31 31 description = "Fork of Matrix Python SDK"; 32 - platforms = stdenv.lib.platforms.linux; 32 + platforms = lib.platforms.linux; 33 33 }; 34 34 }; 35 35 ··· 45 45 46 46 meta = { 47 47 description = "CLI client for Matrix"; 48 - license = stdenv.lib.licenses.gpl3; 49 - maintainers = [stdenv.lib.maintainers.raskin]; 50 - platforms = stdenv.lib.platforms.linux; 48 + license = lib.licenses.gpl3; 49 + maintainers = [lib.maintainers.raskin]; 50 + platforms = lib.platforms.linux; 51 51 homepage = "https://github.com/saadnpq/matrixcli"; 52 52 }; 53 53 }
+1 -1
pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix
··· 5 5 hicolor-icon-theme, libuuid, at-spi2-core, at-spi2-atk }: 6 6 7 7 let 8 - rpath = stdenv.lib.makeLibraryPath [ 8 + rpath = lib.makeLibraryPath [ 9 9 alsaLib 10 10 at-spi2-atk 11 11 at-spi2-core
+1 -1
pkgs/applications/networking/instant-messengers/mikutter/gemset.nix
··· 419 419 }; 420 420 version = "3.7.6"; 421 421 }; 422 - } 422 + }
+2 -2
pkgs/applications/networking/instant-messengers/pidgin-plugins/msn-pecan/default.nix
··· 1 - { stdenv, fetchurl, pidgin} : 1 + { lib, stdenv, fetchurl, pidgin} : 2 2 3 3 stdenv.mkDerivation { 4 4 name = "pidgin-msn-pecan-0.1.4"; ··· 10 10 meta = { 11 11 description = "Alternative MSN protocol plug-in for Pidgin IM"; 12 12 homepage = "https://github.com/felipec/msn-pecan"; 13 - platforms = stdenv.lib.platforms.linux; 13 + platforms = lib.platforms.linux; 14 14 }; 15 15 16 16 makeFlags = [
+1 -1
pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix
··· 20 20 ''; 21 21 22 22 passthru = { 23 - wrapArgs = "--prefix PATH ':' ${stdenv.lib.makeBinPath [ texLive imagemagick ]}"; 23 + wrapArgs = "--prefix PATH ':' ${lib.makeBinPath [ texLive imagemagick ]}"; 24 24 }; 25 25 26 26 meta = with lib; {
+3 -3
pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-mra/default.nix
··· 1 - { stdenv, fetchgit, pkgconfig, pidgin } : 1 + { lib, stdenv, fetchgit, pkgconfig, pidgin } : 2 2 3 3 let 4 4 version = "54b2992"; ··· 29 29 meta = { 30 30 homepage = "https://github.com/dreadatour/pidgin-mra"; 31 31 description = "Mail.ru Agent plugin for Pidgin / libpurple"; 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 }
+3 -3
pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-vk-plugin/default.nix
··· 1 - { stdenv, fetchhg, pidgin, cmake, libxml2 } : 1 + { lib, stdenv, fetchhg, pidgin, cmake, libxml2 } : 2 2 3 3 let 4 4 version = "40ddb6d"; ··· 25 25 meta = { 26 26 homepage = "https://bitbucket.org/olegoandreev/purple-vk-plugin"; 27 27 description = "Vk (russian social network) plugin for Pidgin / libpurple"; 28 - license = stdenv.lib.licenses.gpl3; 29 - platforms = stdenv.lib.platforms.linux; 28 + license = lib.licenses.gpl3; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+3 -3
pkgs/applications/networking/instant-messengers/pidgin-plugins/skype4pidgin/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, pidgin, libnotify, gdk-pixbuf, glib, dbus 1 + { lib, stdenv, fetchurl, pkgconfig, pidgin, libnotify, gdk-pixbuf, glib, dbus 2 2 , dbus-glib }: 3 3 4 4 stdenv.mkDerivation rec { ··· 34 34 35 35 meta = { 36 36 homepage = "https://github.com/novas0x2a/skype4pidgin"; 37 - license = stdenv.lib.licenses.gpl3Plus; 37 + license = lib.licenses.gpl3Plus; 38 38 description = "Plugin to use a running skype account through pidgin"; 39 - platforms = stdenv.lib.platforms.linux; 39 + platforms = lib.platforms.linux; 40 40 }; 41 41 }
+6 -6
pkgs/applications/networking/instant-messengers/pond/default.nix
··· 1 - { stdenv, buildGoPackage, trousers, dclxvi, wrapGAppsHook, pkgconfig, gtk3, gtkspell3, 1 + { lib, stdenv, buildGoPackage, trousers, dclxvi, wrapGAppsHook, pkgconfig, gtk3, gtkspell3, 2 2 fetchgit }: 3 3 4 4 let ··· 6 6 in 7 7 buildGoPackage rec { 8 8 pname = "pond"; 9 - version = "20150830-${stdenv.lib.strings.substring 0 7 rev}"; 9 + version = "20150830-${lib.strings.substring 0 7 rev}"; 10 10 rev = "bce6e0dc61803c23699c749e29a83f81da3c41b2"; 11 11 12 12 goPackagePath = "github.com/agl/pond"; ··· 21 21 22 22 nativeBuildInputs = [ pkgconfig ]; 23 23 buildInputs = [ trousers gtk3 gtkspell3 ] 24 - ++ stdenv.lib.optional stdenv.hostPlatform.isx86_64 dclxvi 25 - ++ stdenv.lib.optionals gui [ wrapGAppsHook ]; 26 - buildFlags = stdenv.lib.optionals (!gui) [ "-tags" "nogui" ]; 24 + ++ lib.optional stdenv.hostPlatform.isx86_64 dclxvi 25 + ++ lib.optionals gui [ wrapGAppsHook ]; 26 + buildFlags = lib.optionals (!gui) [ "-tags" "nogui" ]; 27 27 excludedPackages = "\\(appengine\\|bn256cgo\\)"; 28 - postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isx86_64 '' 28 + postPatch = lib.optionalString stdenv.hostPlatform.isx86_64 '' 29 29 grep -r 'bn256' | awk -F: '{print $1}' | xargs sed -i \ 30 30 -e "s,golang.org/x/crypto/bn256,github.com/agl/pond/bn256cgo,g" \ 31 31 -e "s,bn256\.,bn256cgo.,g"
+2 -2
pkgs/applications/networking/instant-messengers/profanity/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, openssl 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, openssl 2 2 , glibcLocales, expect, ncurses, libotr, curl, readline, libuuid 3 3 , cmocka, libmicrohttpd, expat, sqlite, libmesode, autoconf-archive 4 4 ··· 17 17 assert pythonPluginSupport -> python != null; 18 18 assert omemoSupport -> libsignal-protocol-c != null && libgcrypt != null; 19 19 20 - with stdenv.lib; 20 + with lib; 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "profanity";
+2 -2
pkgs/applications/networking/instant-messengers/qtox/default.nix
··· 22 22 qtbase qtsvg qttranslations 23 23 ffmpeg_3 filter-audio libexif libopus libsodium 24 24 libvpx openal pcre qrencode sqlcipher 25 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ AVFoundation] ; 25 + ] ++ lib.optionals stdenv.isDarwin [ AVFoundation] ; 26 26 27 27 nativeBuildInputs = [ cmake pkg-config qttools ] 28 - ++ stdenv.lib.optionals stdenv.isDarwin [ perl ]; 28 + ++ lib.optionals stdenv.isDarwin [ perl ]; 29 29 30 30 cmakeFlags = [ 31 31 "-DGIT_DESCRIBE=v${version}"
+2 -2
pkgs/applications/networking/instant-messengers/ratox/default.nix
··· 1 - { stdenv, fetchgit, libtoxcore 1 + { lib, stdenv, fetchgit, libtoxcore 2 2 , conf ? null }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 let 7 7 configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf);
+1 -1
pkgs/applications/networking/instant-messengers/ring-daemon/default.nix
··· 62 62 ]; 63 63 }; 64 64 65 - pjsip' = stdenv.lib.overrideDerivation pjsip (old: { 65 + pjsip' = lib.overrideDerivation pjsip (old: { 66 66 patches = [ 67 67 "${patchdir}/pjproject/gnutls.patch" 68 68 ./notestsapps.patch # this one had to be modified
+1 -1
pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
··· 113 113 114 114 preFixup = '' 115 115 gappsWrapperArgs+=( 116 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ] }" 116 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ] }" 117 117 ${customLanguageWrapperArgs} 118 118 ) 119 119
+6 -6
pkgs/applications/networking/instant-messengers/silc-client/default.nix
··· 1 - { stdenv, fetchurl, perl, pkgconfig, glib, ncurses 1 + { lib, stdenv, fetchurl, perl, pkgconfig, glib, ncurses 2 2 , enablePlugin ? false }: 3 3 4 4 # Enabling the plugin and using it with a recent irssi, segafults on join: ··· 8 8 basename = "silc-client-1.1.11"; 9 9 in 10 10 stdenv.mkDerivation { 11 - name = basename + stdenv.lib.optionalString enablePlugin "-irssi-plugin"; 11 + name = basename + lib.optionalString enablePlugin "-irssi-plugin"; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://sourceforge/silc/silc/client/sources/${basename}.tar.bz2"; ··· 23 23 24 24 configureFlags = [ "--with-ncurses=${ncurses.dev}" ]; 25 25 26 - preConfigure = stdenv.lib.optionalString enablePlugin '' 26 + preConfigure = lib.optionalString enablePlugin '' 27 27 configureFlags="$configureFlags --with-silc-plugin=$out/lib/irssi" 28 28 ''; 29 29 ··· 33 33 meta = { 34 34 homepage = "http://silcnet.org/"; 35 35 description = "Secure Internet Live Conferencing server"; 36 - license = stdenv.lib.licenses.gpl2; 37 - maintainers = with stdenv.lib.maintainers; [viric]; 38 - platforms = with stdenv.lib.platforms; linux; 36 + license = lib.licenses.gpl2; 37 + maintainers = with lib.maintainers; [viric]; 38 + platforms = with lib.platforms; linux; 39 39 }; 40 40 }
+2 -2
pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
··· 9 9 # source of the latter disappears much faster. 10 10 version = "8.66.0.74"; 11 11 12 - rpath = stdenv.lib.makeLibraryPath [ 12 + rpath = lib.makeLibraryPath [ 13 13 alsaLib 14 14 atk 15 15 at-spi2-atk ··· 118 118 description = "Linux client for skype"; 119 119 homepage = "https://www.skype.com"; 120 120 license = licenses.unfree; 121 - maintainers = with stdenv.lib.maintainers; [ panaeon jraygauthier ]; 121 + maintainers = with lib.maintainers; [ panaeon jraygauthier ]; 122 122 platforms = [ "x86_64-linux" ]; 123 123 }; 124 124 }
+1 -1
pkgs/applications/networking/instant-messengers/slack/default.nix
··· 78 78 79 79 passthru.updateScript = ./update.sh; 80 80 81 - rpath = stdenv.lib.makeLibraryPath [ 81 + rpath = lib.makeLibraryPath [ 82 82 alsaLib 83 83 at-spi2-atk 84 84 at-spi2-core
+1 -1
pkgs/applications/networking/instant-messengers/stride/default.nix
··· 1 1 { lib, stdenv, fetchurl, dpkg, alsaLib, atk, cairo, cups, dbus, expat, fontconfig 2 2 , freetype, gdk-pixbuf, glib, gnome2, nspr, nss, pango, udev, xorg }: 3 3 let 4 - fullPath = stdenv.lib.makeLibraryPath [ 4 + fullPath = lib.makeLibraryPath [ 5 5 alsaLib 6 6 atk 7 7 cairo
+1 -1
pkgs/applications/networking/instant-messengers/teamspeak/client.nix
··· 63 63 patchelf --replace-needed libquazip.so ${quazip}/lib/libquazip5.so ts3client 64 64 patchelf \ 65 65 --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 66 - --set-rpath ${stdenv.lib.makeLibraryPath deps}:$(cat $NIX_CC/nix-support/orig-cc)/${libDir} \ 66 + --set-rpath ${lib.makeLibraryPath deps}:$(cat $NIX_CC/nix-support/orig-cc)/${libDir} \ 67 67 --force-rpath \ 68 68 ts3client 69 69 '';
+1 -1
pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix
··· 23 23 homepage = "https://telepathy.freedesktop.org/components/telepathy-gabble/"; 24 24 description = "Jabber/XMPP connection manager for the Telepathy framework"; 25 25 license = licenses.lgpl21Plus; 26 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 26 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 27 27 }; 28 28 }
+2 -2
pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, pidgin, telepathy-glib, glib, dbus-glib, pkgconfig, libxslt }: 1 + { lib, stdenv, fetchurl, fetchpatch, pidgin, telepathy-glib, glib, dbus-glib, pkgconfig, libxslt }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "telepathy-haze"; ··· 24 24 25 25 meta = { 26 26 description = "A Telepathy connection manager based on libpurple"; 27 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # Random choice 27 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # Random choice 28 28 }; 29 29 }
+5 -5
pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix
··· 1 - { stdenv, fetchurl, glib, dconf, pkgconfig, dbus-glib, telepathy-glib, libxslt, makeWrapper }: 1 + { lib, stdenv, fetchurl, glib, dconf, pkgconfig, dbus-glib, telepathy-glib, libxslt, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "telepathy-idle"; ··· 10 10 }; 11 11 12 12 nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ glib telepathy-glib dbus-glib libxslt telepathy-glib.python (stdenv.lib.getLib dconf) makeWrapper ]; 13 + buildInputs = [ glib telepathy-glib dbus-glib libxslt telepathy-glib.python (lib.getLib dconf) makeWrapper ]; 14 14 15 15 preFixup = '' 16 16 wrapProgram "$out/libexec/telepathy-idle" \ 17 - --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" 17 + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" 18 18 ''; 19 19 20 20 meta = { 21 21 description = "IRC connection manager for the Telepathy framework"; 22 - license = stdenv.lib.licenses.lgpl21; 23 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 22 + license = lib.licenses.lgpl21; 23 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 24 24 }; 25 25 }
+1 -1
pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix
··· 22 22 23 23 preFixup = '' 24 24 wrapProgram "$out/libexec/telepathy-logger" \ 25 - --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \ 25 + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \ 26 26 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 27 27 ''; 28 28
+1 -1
pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix
··· 39 39 40 40 preFixup = '' 41 41 wrapProgram "$lib/libexec/mission-control-5" \ 42 - --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \ 42 + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \ 43 43 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 44 44 ''; 45 45
+1 -1
pkgs/applications/networking/instant-messengers/toxic/default.nix
··· 18 18 19 19 buildInputs = [ 20 20 libtoxcore libsodium ncurses curl gdk-pixbuf libnotify 21 - ] ++ stdenv.lib.optionals (!stdenv.isAarch32) [ 21 + ] ++ lib.optionals (!stdenv.isAarch32) [ 22 22 openal libopus libvpx freealut qrencode 23 23 ]; 24 24 nativeBuildInputs = [ pkgconfig libconfig ];
+1 -1
pkgs/applications/networking/instant-messengers/turses/default.nix
··· 1 1 { lib, stdenv, fetchpatch, python3Packages }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 with python3Packages; 5 5 6 6 buildPythonPackage rec {
+4 -4
pkgs/applications/networking/instant-messengers/viber/default.nix
··· 1 - {fetchurl, stdenv, dpkg, makeWrapper, 1 + {fetchurl, lib, stdenv, dpkg, makeWrapper, 2 2 alsaLib, cups, curl, dbus, expat, fontconfig, freetype, glib, gst_all_1, 3 3 harfbuzz, libcap, libGL, libGLU, libpulseaudio, libxkbcommon, libxml2, libxslt, 4 4 nspr, nss, openssl, systemd, wayland, xorg, zlib, ... ··· 17 17 18 18 dontUnpack = true; 19 19 20 - libPath = stdenv.lib.makeLibraryPath [ 20 + libPath = lib.makeLibraryPath [ 21 21 alsaLib 22 22 cups 23 23 curl ··· 98 98 meta = { 99 99 homepage = "http://www.viber.com"; 100 100 description = "An instant messaging and Voice over IP (VoIP) app"; 101 - license = stdenv.lib.licenses.unfree; 101 + license = lib.licenses.unfree; 102 102 platforms = [ "x86_64-linux" ]; 103 - maintainers = with stdenv.lib.maintainers; [ jagajaga ]; 103 + maintainers = with lib.maintainers; [ jagajaga ]; 104 104 }; 105 105 106 106 }
+1 -1
pkgs/applications/networking/instant-messengers/wavebox/default.nix
··· 3 3 , xorg 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 let 9 9 bits = "x86_64";
+1 -1
pkgs/applications/networking/instant-messengers/xmpp-client/default.nix
··· 2 2 3 3 buildGoPackage rec { 4 4 pname = "xmpp-client"; 5 - version = "20160916-${stdenv.lib.strings.substring 0 7 rev}"; 5 + version = "20160916-${lib.strings.substring 0 7 rev}"; 6 6 rev = "abbf9020393e8caae3e8996a16ce48446e31cf0e"; 7 7 8 8 goPackagePath = "github.com/agl/xmpp-client";
+4 -4
pkgs/applications/networking/instant-messengers/ytalk/default.nix
··· 1 - { stdenv, fetchurl, ncurses }: 1 + { lib, stdenv, fetchurl, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ytalk"; ··· 14 14 meta = { 15 15 homepage = "http://ytalk.ourproject.org"; 16 16 description = "A terminal based talk client"; 17 - platforms = stdenv.lib.platforms.unix; 18 - maintainers = with stdenv.lib.maintainers; [ taeer ]; 19 - license = stdenv.lib.licenses.gpl2Plus; 17 + platforms = lib.platforms.unix; 18 + maintainers = with lib.maintainers; [ taeer ]; 19 + license = lib.licenses.gpl2Plus; 20 20 }; 21 21 }
+4 -4
pkgs/applications/networking/instant-messengers/zoom-us/default.nix
··· 1 - { stdenv, fetchurl, mkDerivation, autoPatchelfHook, bash 1 + { lib, stdenv, fetchurl, mkDerivation, autoPatchelfHook, bash 2 2 , fetchFromGitHub 3 3 # Dynamic libraries 4 4 , dbus, glib, libGL, libX11, libXfixes, libuuid, libxcb, qtbase, qtdeclarative ··· 14 14 assert pulseaudioSupport -> libpulseaudio != null; 15 15 16 16 let 17 - inherit (stdenv.lib) concatStringsSep makeBinPath optional; 17 + inherit (lib) concatStringsSep makeBinPath optional; 18 18 19 19 version = "5.4.53350.1027"; 20 20 srcs = { ··· 128 128 meta = { 129 129 homepage = "https://zoom.us/"; 130 130 description = "zoom.us video conferencing application"; 131 - license = stdenv.lib.licenses.unfree; 131 + license = lib.licenses.unfree; 132 132 platforms = builtins.attrNames srcs; 133 - maintainers = with stdenv.lib.maintainers; [ danbst tadfisher doronbehar ]; 133 + maintainers = with lib.maintainers; [ danbst tadfisher doronbehar ]; 134 134 }; 135 135 136 136 }
+3 -3
pkgs/applications/networking/iptraf/default.nix
··· 1 - {stdenv, fetchurl, ncurses}: 1 + {lib, stdenv, fetchurl, ncurses}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "iptraf-3.0.1"; ··· 25 25 26 26 meta = { 27 27 homepage = "http://iptraf.seul.org/"; 28 - license = stdenv.lib.licenses.gpl2Plus; 28 + license = lib.licenses.gpl2Plus; 29 29 description = "Console-based network statistics utility for Linux"; 30 - platforms = stdenv.lib.platforms.linux; 30 + platforms = lib.platforms.linux; 31 31 broken = true; # required isdn headers have been removed from the linux kernel 32 32 }; 33 33 }
+3 -3
pkgs/applications/networking/irc/bip/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, bison, flex, autoconf, automake, openssl }: 1 + { lib, stdenv, fetchurl, fetchpatch, bison, flex, autoconf, automake, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bip"; ··· 42 42 meta = { 43 43 description = "An IRC proxy (bouncer)"; 44 44 homepage = "http://bip.milkypond.org/"; 45 - license = stdenv.lib.licenses.gpl2; 45 + license = lib.licenses.gpl2; 46 46 downloadPage = "https://projects.duckcorp.org/projects/bip/files"; 47 - platforms = stdenv.lib.platforms.linux; 47 + platforms = lib.platforms.linux; 48 48 }; 49 49 }
+1 -1
pkgs/applications/networking/irc/communi/default.nix
··· 30 30 "COMMUNI_INSTALL_THEMES=${placeholder "out"}/share/communi/themes" 31 31 ]; 32 32 33 - postInstall = stdenv.lib.optionalString stdenv.isLinux '' 33 + postInstall = lib.optionalString stdenv.isLinux '' 34 34 substituteInPlace "$out/share/applications/communi.desktop" \ 35 35 --replace "/usr/bin" "$out/bin" 36 36 '';
+3 -3
pkgs/applications/networking/irc/convos/default.nix
··· 1 - { stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper, shortenPerlShebang 1 + { lib, stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper, shortenPerlShebang 2 2 , nixosTests 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 perlPackages.buildPerlPackage rec { 8 8 pname = "convos"; ··· 71 71 meta = { 72 72 homepage = "https://convos.chat"; 73 73 description = "Convos is the simplest way to use IRC in your browser"; 74 - license = stdenv.lib.licenses.artistic2; 74 + license = lib.licenses.artistic2; 75 75 maintainers = with maintainers; [ sgo ]; 76 76 }; 77 77 }
+1 -1
pkgs/applications/networking/irc/epic5/default.nix
··· 11 11 12 12 # Darwin needs libiconv, tcl; while Linux build don't 13 13 buildInputs = [ openssl ncurses ] 14 - ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv tcl ]; 14 + ++ lib.optionals stdenv.isDarwin [ libiconv tcl ]; 15 15 16 16 patches = [ 17 17 (fetchpatch {
+3 -3
pkgs/applications/networking/irc/ii/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ii-1.8"; ··· 14 14 15 15 meta = { 16 16 homepage = "https://tools.suckless.org/ii/"; 17 - license = stdenv.lib.licenses.mit; 17 + license = lib.licenses.mit; 18 18 description = "Irc it, simple FIFO based irc client"; 19 - platforms = stdenv.lib.platforms.unix; 19 + platforms = lib.platforms.unix; 20 20 }; 21 21 }
+4 -4
pkgs/applications/networking/irc/irssi/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr }: 1 + { lib, stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "irssi"; ··· 23 23 meta = { 24 24 homepage = "https://irssi.org"; 25 25 description = "A terminal based IRC client"; 26 - platforms = stdenv.lib.platforms.unix; 27 - maintainers = with stdenv.lib.maintainers; [ lovek323 ]; 28 - license = stdenv.lib.licenses.gpl2Plus; 26 + platforms = lib.platforms.unix; 27 + maintainers = with lib.maintainers; [ lovek323 ]; 28 + license = lib.licenses.gpl2Plus; 29 29 }; 30 30 }
+6 -6
pkgs/applications/networking/irc/irssi/fish/default.nix
··· 1 - { stdenv, fetchurl, irssi, gmp, automake, autoconf, libtool, openssl, glib, pkgconfig }: 1 + { lib, stdenv, fetchurl, irssi, gmp, automake, autoconf, libtool, openssl, glib, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "fish-irssi-20130413-e98156bebd"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = "https://github.com/falsovsky/FiSH-irssi/tarball/e98156bebd"; 8 8 name = "${name}.tar.gz"; ··· 20 20 mkdir -p $out/lib/irssi/modules 21 21 cp src/.libs/libfish.so $out/lib/irssi/modules 22 22 ''; 23 - 23 + 24 24 nativeBuildInputs = [ pkgconfig ]; 25 25 buildInputs = [ gmp automake autoconf libtool openssl glib ]; 26 - 26 + 27 27 meta = { 28 28 homepage = "https://github.com/falsovsky/FiSH-irssi"; 29 - license = stdenv.lib.licenses.unfree; # I can't find any mention of license 30 - maintainers = with stdenv.lib.maintainers; [viric]; 29 + license = lib.licenses.unfree; # I can't find any mention of license 30 + maintainers = with lib.maintainers; [viric]; 31 31 }; 32 32 }
+3 -3
pkgs/applications/networking/irc/sic/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sic"; ··· 13 13 meta = { 14 14 description = "Simple IRC client"; 15 15 homepage = "https://tools.suckless.org/sic/"; 16 - license = stdenv.lib.licenses.mit; 17 - platforms = stdenv.lib.platforms.unix; 16 + license = lib.licenses.mit; 17 + platforms = lib.platforms.unix; 18 18 }; 19 19 }
+7 -7
pkgs/applications/networking/irc/weechat/default.nix
··· 37 37 38 38 outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins; 39 39 40 - cmakeFlags = with stdenv.lib; [ 40 + cmakeFlags = with lib; [ 41 41 "-DENABLE_MAN=ON" 42 42 "-DENABLE_DOC=ON" 43 43 "-DENABLE_JAVASCRIPT=OFF" # Requires v8 <= 3.24.3, https://github.com/weechat/weechat/issues/360 ··· 48 48 ; 49 49 50 50 nativeBuildInputs = [ cmake pkg-config makeWrapper asciidoctor ]; 51 - buildInputs = with stdenv.lib; [ 51 + buildInputs = with lib; [ 52 52 ncurses openssl aspell gnutls gettext zlib curl 53 53 libgcrypt ] 54 54 ++ optionals stdenv.isDarwin [ libobjc libresolv ] ··· 57 57 58 58 NIX_CFLAGS_COMPILE = "-I${python}/include/${python.libPrefix}" 59 59 # Fix '_res_9_init: undefined symbol' error 60 - + (stdenv.lib.optionalString stdenv.isDarwin "-DBIND_8_COMPAT=1 -lresolv"); 60 + + (lib.optionalString stdenv.isDarwin "-DBIND_8_COMPAT=1 -lresolv"); 61 61 62 - postInstall = with stdenv.lib; '' 62 + postInstall = with lib; '' 63 63 for p in ${concatMapStringsSep " " (p: p.name) enabledPlugins}; do 64 64 from=$out/lib/weechat/plugins/$p.so 65 65 to=''${!p}/lib/weechat/plugins/$p.so ··· 76 76 (eg. adding python modules for scripts that would require them, etc.) 77 77 on https://nixos.org/nixpkgs/manual/#sec-weechat . 78 78 ''; 79 - license = stdenv.lib.licenses.gpl3; 80 - maintainers = with stdenv.lib.maintainers; [ lovek323 lheckemann ]; 81 - platforms = stdenv.lib.platforms.unix; 79 + license = lib.licenses.gpl3; 80 + maintainers = with lib.maintainers; [ lovek323 lheckemann ]; 81 + platforms = lib.platforms.unix; 82 82 }; 83 83 }
+1 -1
pkgs/applications/networking/irc/wraith/default.nix
··· 1 1 { stdenv, fetchurl, openssl }: 2 2 3 3 with stdenv; 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 mkDerivation rec { 7 7 pname = "wraith";
+2 -2
pkgs/applications/networking/maestral-qt/default.nix
··· 24 24 maestral 25 25 packaging 26 26 pyqt5 27 - ] ++ stdenv.lib.optionals (pythonOlder "3.9") [ 27 + ] ++ lib.optionals (pythonOlder "3.9") [ 28 28 importlib-resources 29 29 ]; 30 30 ··· 35 35 "\${qtWrapperArgs[@]}" 36 36 37 37 # Add the installed directories to the python path so the daemon can find them 38 - "--prefix" "PYTHONPATH" ":" "${stdenv.lib.concatStringsSep ":" (map (p: p + "/lib/${python3.libPrefix}/site-packages") (python3.pkgs.requiredPythonModules python3.pkgs.maestral.propagatedBuildInputs))}" 38 + "--prefix" "PYTHONPATH" ":" "${lib.concatStringsSep ":" (map (p: p + "/lib/${python3.libPrefix}/site-packages") (python3.pkgs.requiredPythonModules python3.pkgs.maestral.propagatedBuildInputs))}" 39 39 "--prefix" "PYTHONPATH" ":" "${python3.pkgs.maestral}/lib/${python3.libPrefix}/site-packages" 40 40 ]; 41 41
+2 -2
pkgs/applications/networking/mailreaders/aerc/default.nix
··· 48 48 49 49 postFixup = '' 50 50 wrapProgram $out/bin/aerc --prefix PATH ":" \ 51 - "$out/share/aerc/filters:${stdenv.lib.makeBinPath [ ncurses ]}" 51 + "$out/share/aerc/filters:${lib.makeBinPath [ ncurses ]}" 52 52 wrapProgram $out/share/aerc/filters/html --prefix PATH ":" \ 53 - ${stdenv.lib.makeBinPath [ w3m dante ]} 53 + ${lib.makeBinPath [ w3m dante ]} 54 54 ''; 55 55 56 56 meta = with lib; {
+2 -2
pkgs/applications/networking/mailreaders/claws-mail/default.nix
··· 1 - { config, fetchurl, stdenv, wrapGAppsHook, autoreconfHook 1 + { lib, config, fetchurl, stdenv, wrapGAppsHook, autoreconfHook 2 2 , curl, dbus, dbus-glib, enchant, gtk2, gnutls, gnupg, gpgme, gumbo 3 3 , libarchive, libcanberra-gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager 4 4 , openldap, perl, pkgconfig, poppler, python, shared-mime-info ··· 27 27 , enableSpellcheck ? false 28 28 }: 29 29 30 - with stdenv.lib; 30 + with lib; 31 31 32 32 stdenv.mkDerivation rec { 33 33 pname = "claws-mail";
+2 -2
pkgs/applications/networking/mailreaders/claws-mail/gtk3.nix
··· 1 - { config, fetchgit, stdenv, wrapGAppsHook, autoreconfHook, bison, flex 1 + { lib, config, fetchgit, stdenv, wrapGAppsHook, autoreconfHook, bison, flex 2 2 , curl, dbus, dbus-glib, enchant, gtk3, gnutls, gnupg, gpgme 3 3 , libarchive, libcanberra-gtk3, libetpan, libnotify, libsoup, libxml2, networkmanager 4 4 , openldap, perl, pkgconfig, poppler, python, shared-mime-info, webkitgtk ··· 27 27 , enableSpellcheck ? false 28 28 }: 29 29 30 - with stdenv.lib; 30 + with lib; 31 31 32 32 stdenv.mkDerivation rec { 33 33 pname = "claws-mail-gtk3";
+1 -1
pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix
··· 6 6 version = "3.36.5"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "0h1wz4hxsasihdvvsaxnmzka4afjw7603gn0qcw8rxpw114ib1bl"; 11 11 }; 12 12
+4 -4
pkgs/applications/networking/mailreaders/imapfilter.nix
··· 1 - { stdenv, fetchFromGitHub, openssl, lua, pcre2 }: 1 + { lib, stdenv, fetchFromGitHub, openssl, lua, pcre2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "imapfilter"; ··· 20 20 meta = { 21 21 homepage = "https://github.com/lefcha/imapfilter"; 22 22 description = "Mail filtering utility"; 23 - license = stdenv.lib.licenses.mit; 24 - platforms = stdenv.lib.platforms.unix; 25 - maintainers = with stdenv.lib.maintainers; [ doronbehar ]; 23 + license = lib.licenses.mit; 24 + platforms = lib.platforms.unix; 25 + maintainers = with lib.maintainers; [ doronbehar ]; 26 26 }; 27 27 }
+1 -1
pkgs/applications/networking/mailreaders/lumail/default.nix
··· 52 52 sed -e "s|^#\!\(.*/perl.*\)$|#\!\1$perlFlags|" -i perl.d/imap-proxy 53 53 ''; 54 54 55 - buildFlags = stdenv.lib.optional debugBuild "lumail2-debug"; 55 + buildFlags = lib.optional debugBuild "lumail2-debug"; 56 56 57 57 installPhase = '' 58 58 mkdir -p $out/bin || true
+4 -4
pkgs/applications/networking/mailreaders/mailcheck/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mailcheck"; ··· 14 14 meta = { 15 15 description = "Simple command line tool to check for new messages"; 16 16 homepage = "http://mailcheck.sourceforge.net/"; 17 - license = stdenv.lib.licenses.gpl2; 18 - maintainers = with stdenv.lib.maintainers; [ kovirobi ]; 19 - platforms = stdenv.lib.platforms.linux; 17 + license = lib.licenses.gpl2; 18 + maintainers = with lib.maintainers; [ kovirobi ]; 19 + platforms = lib.platforms.linux; 20 20 inherit version; 21 21 22 22 longDescription = ''
+1 -1
pkgs/applications/networking/mailreaders/mailpile/default.nix
··· 32 32 33 33 postInstall = '' 34 34 wrapProgram $out/bin/mailpile \ 35 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg1orig openssl ]}" \ 35 + --prefix PATH ":" "${lib.makeBinPath [ gnupg1orig openssl ]}" \ 36 36 --set-default MAILPILE_SHARED "$out/share/mailpile" 37 37 ''; 38 38
+1 -1
pkgs/applications/networking/mailreaders/msgviewer/default.nix
··· 21 21 rmdir $dir/${uname} 22 22 cat <<_EOF > $out/bin/msgviewer 23 23 #!${runtimeShell} -eu 24 - exec ${stdenv.lib.getBin jre}/bin/java -jar $dir/MSGViewer.jar "\$@" 24 + exec ${lib.getBin jre}/bin/java -jar $dir/MSGViewer.jar "\$@" 25 25 _EOF 26 26 chmod 755 $out/bin/msgviewer 27 27 '';
+2 -2
pkgs/applications/networking/mailreaders/mutt/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, ncurses, which, perl 1 + { lib, stdenv, fetchurl, fetchpatch, ncurses, which, perl 2 2 , gdbm ? null 3 3 , openssl ? null 4 4 , cyrus_sasl ? null ··· 23 23 assert gpgSupport -> gnupg != null; 24 24 assert gpgmeSupport -> gpgme != null && openssl != null; 25 25 26 - with stdenv.lib; 26 + with lib; 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "mutt";
+2 -2
pkgs/applications/networking/mailreaders/notbit/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, 2 2 gettext, openssl 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation { 8 8 pname = "notbit";
+4 -4
pkgs/applications/networking/mailreaders/notmuch/default.nix
··· 1 - { fetchurl, fetchgit, stdenv 1 + { fetchurl, fetchgit, lib, stdenv 2 2 , pkgconfig, gnupg 3 3 , xapian, gmime, talloc, zlib 4 4 , doxygen, perl, texinfo ··· 9 9 , withEmacs ? true 10 10 }: 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 stdenv.mkDerivation rec { 15 15 version = "0.31"; ··· 68 68 makeFlags = [ "V=1" ]; 69 69 70 70 71 - outputs = [ "out" "man" "info" ] ++ stdenv.lib.optional withEmacs "emacs"; 71 + outputs = [ "out" "man" "info" ] ++ lib.optional withEmacs "emacs"; 72 72 73 73 preCheck = let 74 74 test-database = fetchurl { ··· 94 94 95 95 installTargets = [ "install" "install-man" "install-info" ]; 96 96 97 - postInstall = stdenv.lib.optionalString withEmacs '' 97 + postInstall = lib.optionalString withEmacs '' 98 98 moveToOutput bin/notmuch-emacs-mua $emacs 99 99 ''; 100 100
+4 -4
pkgs/applications/networking/mailreaders/notmuch/muchsync.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , notmuch, openssl, pkgconfig, sqlite, xapian, zlib 3 3 }: 4 4 stdenv.mkDerivation rec { ··· 16 16 meta = { 17 17 description = "Synchronize maildirs and notmuch databases"; 18 18 homepage = "http://www.muchsync.org/"; 19 - platforms = stdenv.lib.platforms.unix; 20 - maintainers = with stdenv.lib.maintainers; []; 21 - license = stdenv.lib.licenses.gpl2Plus; 19 + platforms = lib.platforms.unix; 20 + maintainers = with lib.maintainers; []; 21 + license = lib.licenses.gpl2Plus; 22 22 }; 23 23 }
+2 -2
pkgs/applications/networking/mailreaders/sylpheed/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk2, openssl ? null, gpgme ? null 1 + { lib, stdenv, fetchurl, pkgconfig, gtk2, openssl ? null, gpgme ? null 2 2 , gpgSupport ? true, sslSupport ? true }: 3 3 4 4 assert gpgSupport -> gpgme != null; 5 5 assert sslSupport -> openssl != null; 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "sylpheed";
+5 -5
pkgs/applications/networking/mailreaders/thunderbird-bin/68.nix
··· 60 60 61 61 systemLocale = config.i18n.defaultLocale or "en-US"; 62 62 63 - defaultSource = stdenv.lib.findFirst (sourceMatches "en-US") {} sources; 63 + defaultSource = lib.findFirst (sourceMatches "en-US") {} sources; 64 64 65 - source = stdenv.lib.findFirst (sourceMatches systemLocale) defaultSource sources; 65 + source = lib.findFirst (sourceMatches systemLocale) defaultSource sources; 66 66 67 67 name = "thunderbird-bin-${version}"; 68 68 in ··· 77 77 78 78 phases = "unpackPhase installPhase"; 79 79 80 - libPath = stdenv.lib.makeLibraryPath 80 + libPath = lib.makeLibraryPath 81 81 [ stdenv.cc.cc 82 82 alsaLib 83 83 at-spi2-atk ··· 112 112 nspr 113 113 nss 114 114 pango 115 - ] + ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [ 115 + ] + ":" + lib.makeSearchPathOutput "lib" "lib64" [ 116 116 stdenv.cc.cc 117 117 ]; 118 118 ··· 177 177 free = false; 178 178 url = "http://www.mozilla.org/en-US/foundation/trademarks/policy/"; 179 179 }; 180 - maintainers = with stdenv.lib.maintainers; [ ]; 180 + maintainers = with lib.maintainers; [ ]; 181 181 platforms = platforms.linux; 182 182 knownVulnerabilities = [ "Support ended around Semptember 2020." ]; 183 183 };
+2 -2
pkgs/applications/networking/n8n/node-composition.nix
··· 6 6 7 7 let 8 8 nodeEnv = import ./node-env.nix { 9 - inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; 9 + inherit (pkgs) lib stdenv python2 utillinux runCommand writeTextFile; 10 10 inherit nodejs; 11 11 libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; 12 12 }; ··· 14 14 import ./node-packages.nix { 15 15 inherit (pkgs) fetchurl fetchgit; 16 16 inherit nodeEnv; 17 - } 17 + }
+23 -23
pkgs/applications/networking/n8n/node-env.nix
··· 1 1 # This file originates from node2nix 2 2 3 - {stdenv, nodejs, python2, utillinux, libtool, runCommand, writeTextFile}: 3 + {lib, stdenv, nodejs, python2, utillinux, libtool, runCommand, writeTextFile}: 4 4 5 5 let 6 6 python = if nodejs ? python then nodejs.python else python2; ··· 38 38 }; 39 39 40 40 includeDependencies = {dependencies}: 41 - stdenv.lib.optionalString (dependencies != []) 42 - (stdenv.lib.concatMapStrings (dependency: 41 + lib.optionalString (dependencies != []) 42 + (lib.concatMapStrings (dependency: 43 43 '' 44 44 # Bundle the dependencies of the package 45 45 mkdir -p node_modules ··· 100 100 cd "$DIR/${packageName}" 101 101 ${includeDependencies { inherit dependencies; }} 102 102 cd .. 103 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 103 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 104 104 ''; 105 105 106 106 pinpointDependencies = {dependencies, production}: ··· 161 161 '' 162 162 node ${pinpointDependenciesFromPackageJSON} ${if production then "production" else "development"} 163 163 164 - ${stdenv.lib.optionalString (dependencies != []) 164 + ${lib.optionalString (dependencies != []) 165 165 '' 166 166 if [ -d node_modules ] 167 167 then 168 168 cd node_modules 169 - ${stdenv.lib.concatMapStrings (dependency: pinpointDependenciesOfPackage dependency) dependencies} 169 + ${lib.concatMapStrings (dependency: pinpointDependenciesOfPackage dependency) dependencies} 170 170 cd .. 171 171 fi 172 172 ''} ··· 183 183 cd "${packageName}" 184 184 ${pinpointDependencies { inherit dependencies production; }} 185 185 cd .. 186 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 186 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 187 187 fi 188 188 ''; 189 189 ··· 344 344 cd "${packageName}" 345 345 runHook preRebuild 346 346 347 - ${stdenv.lib.optionalString bypassCache '' 348 - ${stdenv.lib.optionalString reconstructLock '' 347 + ${lib.optionalString bypassCache '' 348 + ${lib.optionalString reconstructLock '' 349 349 if [ -f package-lock.json ] 350 350 then 351 351 echo "WARNING: Reconstruct lock option enabled, but a lock file already exists!" ··· 361 361 node ${addIntegrityFieldsScript} 362 362 ''} 363 363 364 - npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild 364 + npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${lib.optionalString production "--production"} rebuild 365 365 366 366 if [ "''${dontNpmInstall-}" != "1" ] 367 367 then 368 368 # NPM tries to download packages even when they already exist if npm-shrinkwrap is used. 369 369 rm -f npm-shrinkwrap.json 370 370 371 - npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install 371 + npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${lib.optionalString production "--production"} install 372 372 fi 373 373 ''; 374 374 ··· 396 396 stdenv.mkDerivation ({ 397 397 name = "node_${name}-${version}"; 398 398 buildInputs = [ tarWrapper python nodejs ] 399 - ++ stdenv.lib.optional (stdenv.isLinux) utillinux 400 - ++ stdenv.lib.optional (stdenv.isDarwin) libtool 399 + ++ lib.optional (stdenv.isLinux) utillinux 400 + ++ lib.optional (stdenv.isDarwin) libtool 401 401 ++ buildInputs; 402 402 403 403 inherit nodejs; ··· 470 470 name = "node-dependencies-${name}-${version}"; 471 471 472 472 buildInputs = [ tarWrapper python nodejs ] 473 - ++ stdenv.lib.optional (stdenv.isLinux) utillinux 474 - ++ stdenv.lib.optional (stdenv.isDarwin) libtool 473 + ++ lib.optional (stdenv.isLinux) utillinux 474 + ++ lib.optional (stdenv.isDarwin) libtool 475 475 ++ buildInputs; 476 476 477 477 inherit dontStrip; # Stripping may fail a build for some package deployments ··· 491 491 # Create fake package.json to make the npm commands work properly 492 492 cp ${src}/package.json . 493 493 chmod 644 package.json 494 - ${stdenv.lib.optionalString bypassCache '' 494 + ${lib.optionalString bypassCache '' 495 495 if [ -f ${src}/package-lock.json ] 496 496 then 497 497 cp ${src}/package-lock.json . ··· 500 500 501 501 # Go to the parent folder to make sure that all packages are pinpointed 502 502 cd .. 503 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 503 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 504 504 505 505 ${prepareAndInvokeNPM { inherit packageName bypassCache reconstructLock npmFlags production; }} 506 506 507 507 # Expose the executables that were installed 508 508 cd .. 509 - ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 509 + ${lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."} 510 510 511 511 mv ${packageName} lib 512 512 ln -s $out/lib/node_modules/.bin $out/bin ··· 516 516 stdenv.mkDerivation { 517 517 name = "node-shell-${name}-${version}"; 518 518 519 - buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ buildInputs; 519 + buildInputs = [ python nodejs ] ++ lib.optional (stdenv.isLinux) utillinux ++ buildInputs; 520 520 buildCommand = '' 521 521 mkdir -p $out/bin 522 522 cat > $out/bin/shell <<EOF ··· 529 529 530 530 # Provide the dependencies in a development shell through the NODE_PATH environment variable 531 531 inherit nodeDependencies; 532 - shellHook = stdenv.lib.optionalString (dependencies != []) '' 532 + shellHook = lib.optionalString (dependencies != []) '' 533 533 export NODE_PATH=${nodeDependencies}/lib/node_modules 534 534 export PATH="${nodeDependencies}/bin:$PATH" 535 535 ''; 536 536 }; 537 537 in 538 538 { 539 - buildNodeSourceDist = stdenv.lib.makeOverridable buildNodeSourceDist; 540 - buildNodePackage = stdenv.lib.makeOverridable buildNodePackage; 541 - buildNodeShell = stdenv.lib.makeOverridable buildNodeShell; 539 + buildNodeSourceDist = lib.makeOverridable buildNodeSourceDist; 540 + buildNodePackage = lib.makeOverridable buildNodePackage; 541 + buildNodeShell = lib.makeOverridable buildNodeShell; 542 542 }
+1 -1
pkgs/applications/networking/n8n/node-packages.nix
··· 6926 6926 bypassCache = true; 6927 6927 reconstructLock = true; 6928 6928 }; 6929 - } 6929 + }
+4 -4
pkgs/applications/networking/netperf/default.nix
··· 1 - { libsmbios, stdenv, autoreconfHook, fetchFromGitHub }: 1 + { libsmbios, lib, stdenv, autoreconfHook, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "netperf"; ··· 11 11 sha256 = "1wbbgdvhadd3qs3afv6i777argdpcyxkwz4yv6aqp223n8ki6dm8"; 12 12 }; 13 13 14 - buildInputs = stdenv.lib.optional (with stdenv.hostPlatform; isx86 && isLinux) libsmbios; 14 + buildInputs = lib.optional (with stdenv.hostPlatform; isx86 && isLinux) libsmbios; 15 15 nativeBuildInputs = [ autoreconfHook ]; 16 16 autoreconfPhase = '' 17 17 autoreconf -i -I src/missing/m4 ··· 24 24 homepage = "http://www.netperf.org/netperf/"; 25 25 license = "Hewlett-Packard BSD-like license"; 26 26 27 - platforms = stdenv.lib.platforms.unix; 28 - maintainers = [ stdenv.lib.maintainers.mmlb ]; 27 + platforms = lib.platforms.unix; 28 + maintainers = [ lib.maintainers.mmlb ]; 29 29 }; 30 30 }
+4 -4
pkgs/applications/networking/nntp-proxy/default.nix
··· 1 - { stdenv, fetchFromGitHub, libconfig, pkgconfig, libevent, openssl }: 1 + { lib, stdenv, fetchFromGitHub, libconfig, pkgconfig, libevent, openssl }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "nntp-proxy"; ··· 26 26 meta = { 27 27 description = "Simple NNTP proxy with SSL support"; 28 28 homepage = "https://github.com/nieluj/nntp-proxy"; 29 - license = stdenv.lib.licenses.gpl2Plus; 30 - maintainers = [ stdenv.lib.maintainers.fadenb ]; 31 - platforms = stdenv.lib.platforms.all; 29 + license = lib.licenses.gpl2Plus; 30 + maintainers = [ lib.maintainers.fadenb ]; 31 + platforms = lib.platforms.all; 32 32 }; 33 33 }
+5 -5
pkgs/applications/networking/offrss/default.nix
··· 9 9 ''; 10 10 11 11 buildInputs = [ curl libmrss ] 12 - ++ stdenv.lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) podofo 13 - ++ stdenv.lib.optional (!stdenv.isLinux) libiconv; 12 + ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) podofo 13 + ++ lib.optional (!stdenv.isLinux) libiconv; 14 14 15 15 configurePhase = '' 16 16 substituteInPlace Makefile \ 17 17 --replace '$(CC) $(CFLAGS) $(LDFLAGS)' '$(CXX) $(CFLAGS) $(LDFLAGS)' 18 - '' + stdenv.lib.optionalString (!stdenv.isLinux) '' 18 + '' + lib.optionalString (!stdenv.isLinux) '' 19 19 sed 's/#EXTRA/EXTRA/' -i Makefile 20 - '' + stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 20 + '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 21 21 sed 's/^PDF/#PDF/' -i Makefile 22 22 ''; 23 23 ··· 31 31 description = "Offline RSS/Atom reader"; 32 32 license = licenses.agpl3Plus; 33 33 maintainers = with maintainers; [ viric ]; 34 - platforms = stdenv.lib.platforms.linux; 34 + platforms = lib.platforms.linux; 35 35 }; 36 36 }
+1 -1
pkgs/applications/networking/openbazaar/client.nix
··· 47 47 postFixup = '' 48 48 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 49 49 --add-flags $out/share/${pname}/resources/app \ 50 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ gcc-unwrapped.lib ]}" 50 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gcc-unwrapped.lib ]}" 51 51 ''; 52 52 53 53 meta = with lib; {
+1 -1
pkgs/applications/networking/openbazaar/default.nix
··· 32 32 install -D $src $out/bin/openbazaard 33 33 ''; 34 34 35 - postFixup = stdenv.lib.optionalString (!stdenv.isDarwin) '' 35 + postFixup = lib.optionalString (!stdenv.isDarwin) '' 36 36 patchelf \ 37 37 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 38 38 $out/bin/openbazaard
+3 -3
pkgs/applications/networking/pjsip/default.nix
··· 16 16 ]; 17 17 18 18 buildInputs = [ openssl libsamplerate ] 19 - ++ stdenv.lib.optional stdenv.isLinux alsaLib 20 - ++ stdenv.lib.optional stdenv.isDarwin AppKit; 19 + ++ lib.optional stdenv.isLinux alsaLib 20 + ++ lib.optional stdenv.isDarwin AppKit; 21 21 22 22 preConfigure = '' 23 23 export LD=$CC 24 24 '' # Fixed on master, remove with 2.11 25 - + stdenv.lib.optionalString stdenv.isDarwin '' 25 + + lib.optionalString stdenv.isDarwin '' 26 26 NIX_CFLAGS_COMPILE+=" -framework Security" 27 27 ''; 28 28
+1 -1
pkgs/applications/networking/resilio-sync/default.nix
··· 6 6 i686-linux = "i386"; 7 7 aarch64-linux = "arm64"; 8 8 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 9 - libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.libc ]; 9 + libPath = lib.makeLibraryPath [ stdenv.cc.libc ]; 10 10 11 11 in stdenv.mkDerivation rec { 12 12 pname = "resilio-sync";
+4 -4
pkgs/applications/networking/siproxd/default.nix
··· 1 - { stdenv, fetchurl, libosip }: 1 + { lib, stdenv, fetchurl, libosip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "siproxd-0.8.2"; ··· 15 15 meta = { 16 16 homepage = "http://siproxd.sourceforge.net/"; 17 17 description = "A masquerading SIP Proxy Server"; 18 - maintainers = with stdenv.lib.maintainers; [viric]; 19 - platforms = with stdenv.lib.platforms; linux; 20 - license = stdenv.lib.licenses.gpl2Plus; 18 + maintainers = with lib.maintainers; [viric]; 19 + platforms = with lib.platforms; linux; 20 + license = lib.licenses.gpl2Plus; 21 21 }; 22 22 }
+2 -2
pkgs/applications/networking/soulseek/nicotine-plus/default.nix
··· 1 - { stdenv, fetchFromGitHub, python27Packages, geoip }: 1 + { lib, stdenv, fetchFromGitHub, python27Packages, geoip }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 python27Packages.buildPythonApplication { 6 6 pname = "nicotine-plus";
+1 -1
pkgs/applications/networking/super-productivity/default.nix
··· 7 7 8 8 version = "1.10.45"; 9 9 10 - rpath = stdenv.lib.makeLibraryPath [ 10 + rpath = lib.makeLibraryPath [ 11 11 alsaLib 12 12 atk 13 13 cairo
+4 -4
pkgs/applications/networking/tcpkali/default.nix
··· 1 - {stdenv, autoreconfHook, fetchFromGitHub, bison}: 1 + {lib, stdenv, autoreconfHook, fetchFromGitHub, bison}: 2 2 3 3 let version = "1.1.1"; in 4 4 ··· 18 18 buildInputs = [ bison]; 19 19 meta = { 20 20 description = "High performance TCP and WebSocket load generator and sink"; 21 - license = stdenv.lib.licenses.bsd2; 21 + license = lib.licenses.bsd2; 22 22 inherit (src.meta) homepage; 23 - platforms = stdenv.lib.platforms.linux; 24 - maintainers = with stdenv.lib.maintainers; [ ethercrow ]; 23 + platforms = lib.platforms.linux; 24 + maintainers = with lib.maintainers; [ ethercrow ]; 25 25 }; 26 26 }
+1 -1
pkgs/applications/networking/termius/default.nix
··· 66 66 maintainers = with maintainers; [ Br1ght0ne th0rgal ]; 67 67 platforms = [ "x86_64-linux" ]; 68 68 }; 69 - } 69 + }
+4 -4
pkgs/applications/office/antiword/default.nix
··· 1 - { fetchurl, stdenv }: 1 + { lib, fetchurl, stdenv }: 2 2 3 3 let 4 4 name = "antiword-0.37"; ··· 23 23 meta = { 24 24 homepage = "http://www.winfield.demon.nl/"; 25 25 description = "Convert MS Word documents to plain text or PostScript"; 26 - license = stdenv.lib.licenses.gpl2; 26 + license = lib.licenses.gpl2; 27 27 28 - maintainers = [ stdenv.lib.maintainers.peti ]; 29 - platforms = with stdenv.lib.platforms; linux ++ darwin; 28 + maintainers = [ lib.maintainers.peti ]; 29 + platforms = with lib.platforms; linux ++ darwin; 30 30 }; 31 31 }
+2 -2
pkgs/applications/office/beancount/bean-add.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages }: 1 + { lib, stdenv, fetchFromGitHub, python3Packages }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "bean-add-2018-01-08"; ··· 25 25 # The (only) source file states: 26 26 # License: "Do what you feel is right, but don't be a jerk" public license. 27 27 28 - maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ]; 28 + maintainers = with lib.maintainers; [ matthiasbeyer ]; 29 29 }; 30 30 } 31 31
+1 -1
pkgs/applications/office/bookworm/default.nix
··· 48 48 # These programs are expected in PATH from the source code and scripts 49 49 preFixup = '' 50 50 gappsWrapperArgs+=( 51 - --prefix PATH : "${stdenv.lib.makeBinPath [ unzip unar poppler_utils html2text coreutils curl gnugrep ]}" 51 + --prefix PATH : "${lib.makeBinPath [ unzip unar poppler_utils html2text coreutils curl gnugrep ]}" 52 52 --prefix PATH : $out/bin 53 53 ) 54 54 '';
+1 -1
pkgs/applications/office/docear/default.nix
··· 23 23 24 24 # The wrapper ensures oraclejre is used 25 25 makeWrapper ${runtimeShell} $out/bin/docear \ 26 - --set _JAVA_OPTIONS "${stdenv.lib.optionalString antialiasFont ''-Dswing.aatext=TRUE -Dawt.useSystemAAFontSettings=on''}" \ 26 + --set _JAVA_OPTIONS "${lib.optionalString antialiasFont ''-Dswing.aatext=TRUE -Dawt.useSystemAAFontSettings=on''}" \ 27 27 --set JAVA_HOME ${oraclejre.home} \ 28 28 --add-flags "$out/share/docear.sh" 29 29
+3 -3
pkgs/applications/office/fava/default.nix
··· 1 - { stdenv, python3, beancount }: 1 + { lib, stdenv, python3, beancount }: 2 2 3 3 let 4 4 inherit (python3.pkgs) buildPythonApplication fetchPypi; ··· 38 38 meta = { 39 39 homepage = "https://beancount.github.io/fava"; 40 40 description = "Web interface for beancount"; 41 - license = stdenv.lib.licenses.mit; 42 - maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ]; 41 + license = lib.licenses.mit; 42 + maintainers = with lib.maintainers; [ matthiasbeyer ]; 43 43 }; 44 44 }
+5 -5
pkgs/applications/office/gnucash/default.nix
··· 1 - { fetchurl, stdenv, pkgconfig, makeWrapper, cmake, gtest 1 + { fetchurl, lib, stdenv, pkgconfig, makeWrapper, cmake, gtest 2 2 , boost, icu, libxml2, libxslt, gettext, swig, isocodes, gtk3, glibcLocales 3 3 , webkitgtk, dconf, hicolor-icon-theme, libofx, aqbanking, gwenhywfar, libdbi 4 4 , libdbiDrivers, guile, perl, perlPackages ··· 64 64 --prefix XDG_DATA_DIRS : "${hicolor-icon-theme}/share" \ 65 65 --prefix PERL5LIB ":" "$PERL5LIB" \ 66 66 --set GNC_DBD_DIR ${libdbiDrivers}/lib/dbd \ 67 - --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" 67 + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" 68 68 ''; 69 69 70 70 # TODO: The following tests FAILED: ··· 96 96 accounting principles to ensure balanced books and accurate reports. 97 97 ''; 98 98 99 - license = stdenv.lib.licenses.gpl2Plus; 99 + license = lib.licenses.gpl2Plus; 100 100 101 101 homepage = "http://www.gnucash.org/"; 102 102 103 - maintainers = [ stdenv.lib.maintainers.peti stdenv.lib.maintainers.domenkozar ]; 104 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 103 + maintainers = [ lib.maintainers.peti lib.maintainers.domenkozar ]; 104 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 105 105 }; 106 106 }
+2 -2
pkgs/applications/office/gnumeric/default.nix
··· 10 10 version = "1.12.48"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 14 14 sha256 = "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"; 15 15 }; 16 16 ··· 34 34 35 35 meta = with lib; { 36 36 description = "The GNOME Office Spreadsheet"; 37 - license = stdenv.lib.licenses.gpl2Plus; 37 + license = lib.licenses.gpl2Plus; 38 38 homepage = "http://projects.gnome.org/gnumeric/"; 39 39 platforms = platforms.unix; 40 40 maintainers = [ maintainers.vcunat ];
+2 -2
pkgs/applications/office/impressive/default.nix
··· 61 61 62 62 homepage = "http://impressive.sourceforge.net/"; 63 63 64 - license = stdenv.lib.licenses.gpl2; 64 + license = lib.licenses.gpl2; 65 65 66 66 maintainers = with lib.maintainers; [ lheckemann ]; 67 - platforms = stdenv.lib.platforms.mesaPlatforms; 67 + platforms = lib.platforms.mesaPlatforms; 68 68 }; 69 69 }
+2 -2
pkgs/applications/office/jabref/default.nix
··· 26 26 buildInputs = [ gsettings-desktop-schemas ] ++ systemLibs; 27 27 28 28 systemLibs = [ gtk3 zlib libX11 libXext libXi libXrender libXtst libGL alsaLib libav cairo freetype pango gdk-pixbuf glib ]; 29 - systemLibPaths = stdenv.lib.makeLibraryPath systemLibs; 29 + systemLibPaths = lib.makeLibraryPath systemLibs; 30 30 31 31 installPhase = '' 32 32 mkdir -p $out/share/java $out/share/icons ··· 36 36 for f in $out/lib/runtime/bin/j*; do 37 37 patchelf \ 38 38 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 39 - --set-rpath "${ stdenv.lib.makeLibraryPath [ zlib ]}:$out/lib/runtime/lib:$out/lib/runtime/lib/server" $f 39 + --set-rpath "${ lib.makeLibraryPath [ zlib ]}:$out/lib/runtime/lib:$out/lib/runtime/lib/server" $f 40 40 done 41 41 42 42 for f in $out/lib/runtime/lib/*.so; do
+4 -4
pkgs/applications/office/jameica/default.nix
··· 24 24 inherit name version; 25 25 26 26 nativeBuildInputs = [ ant jdk makeWrapper ]; 27 - buildInputs = stdenv.lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] 28 - ++ stdenv.lib.optional stdenv.isDarwin Cocoa; 27 + buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] 28 + ++ lib.optional stdenv.isDarwin Cocoa; 29 29 30 30 src = fetchFromGitHub { 31 31 owner = "willuhn"; ··· 55 55 56 56 makeWrapper ${jre}/bin/java $out/bin/jameica \ 57 57 --add-flags "-cp $out/share/java/jameica.jar:$out/share/${name}/* ${ 58 - stdenv.lib.optionalString stdenv.isDarwin ''-Xdock:name="Jameica" -XstartOnFirstThread'' 58 + lib.optionalString stdenv.isDarwin ''-Xdock:name="Jameica" -XstartOnFirstThread'' 59 59 } de.willuhn.jameica.Main" \ 60 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath buildInputs} \ 60 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs} \ 61 61 --run "cd $out/share/java/" 62 62 ''; 63 63
+2 -2
pkgs/applications/office/keepnote/default.nix
··· 1 - { stdenv, fetchurl, python2Packages }: 1 + { lib, stdenv, fetchurl, python2Packages }: 2 2 3 3 python2Packages.buildPythonApplication { 4 4 name = "keepnote-0.7.8"; ··· 17 17 meta = { 18 18 description = "Note taking application"; 19 19 homepage = "http://keepnote.org"; 20 - license = stdenv.lib.licenses.gpl2Plus; 20 + license = lib.licenses.gpl2Plus; 21 21 }; 22 22 }
+2 -2
pkgs/applications/office/ledger-autosync/default.nix
··· 32 32 pycparser 33 33 secretstorage 34 34 six 35 - ] ++ stdenv.lib.optional useLedger ledger 36 - ++ stdenv.lib.optional useHledger hledger; 35 + ] ++ lib.optional useLedger ledger 36 + ++ lib.optional useHledger hledger; 37 37 38 38 # Checks require ledger as a python package, 39 39 # ledger does not support python3 while ledger-autosync requires it.
+1 -1
pkgs/applications/office/ledger-web/gemset.nix
··· 208 208 }; 209 209 version = "2.0.9"; 210 210 }; 211 - } 211 + }
+2 -2
pkgs/applications/office/libreoffice/src-fresh/override.nix
··· 1 - { stdenv, kdeIntegration, ... }: 1 + { lib, stdenv, kdeIntegration, ... }: 2 2 attrs: 3 3 { 4 4 postConfigure = attrs.postConfigure + '' 5 5 sed -e '/CPPUNIT_TEST(Import_Export_Import);/d' -i './sw/qa/inc/swmodeltestbase.hxx' 6 6 ''; 7 7 configureFlags = attrs.configureFlags ++ [ 8 - (stdenv.lib.enableFeature kdeIntegration "kf5") 8 + (lib.enableFeature kdeIntegration "kf5") 9 9 ]; 10 10 }
+3 -3
pkgs/applications/office/libreoffice/src-still/override.nix
··· 1 - { stdenv, kdeIntegration, fetchpatch, ... }: 1 + { lib, stdenv, kdeIntegration, fetchpatch, ... }: 2 2 attrs: 3 3 { 4 4 patches = attrs.patches or [ ] ++ [ ··· 11 11 postConfigure = attrs.postConfigure + '' 12 12 sed -e '/CPPUNIT_TEST(Import_Export_Import);/d' -i './sw/qa/extras/inc/swmodeltestbase.hxx' 13 13 ''; 14 - configureFlags = stdenv.lib.remove "--without-system-qrcodegen" 14 + configureFlags = lib.remove "--without-system-qrcodegen" 15 15 (attrs.configureFlags ++ [ 16 - (stdenv.lib.enableFeature kdeIntegration "kde5") 16 + (lib.enableFeature kdeIntegration "kde5") 17 17 ]); 18 18 meta = attrs.meta // { description = "Comprehensive, professional-quality productivity suite (Still/Stable release)"; }; 19 19 }
+1 -1
pkgs/applications/office/marp/default.nix
··· 23 23 24 24 postFixup = '' 25 25 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 26 - --set-rpath "${atomEnv.libPath}:${stdenv.lib.makeLibraryPath [ libXScrnSaver gtk2 ]}:$out/lib/marp" \ 26 + --set-rpath "${atomEnv.libPath}:${lib.makeLibraryPath [ libXScrnSaver gtk2 ]}:$out/lib/marp" \ 27 27 $out/bin/Marp 28 28 ''; 29 29
+3 -3
pkgs/applications/office/mendeley/default.nix
··· 114 114 115 115 interpreter=$(patchelf --print-interpreter $(readlink -f $(which patchelf))) 116 116 patchelf --set-interpreter $interpreter \ 117 - --set-rpath ${stdenv.lib.makeLibraryPath deps}:$out/lib \ 117 + --set-rpath ${lib.makeLibraryPath deps}:$out/lib \ 118 118 $out/bin/mendeleydesktop 119 119 120 120 wrapQtApp $out/bin/mendeleydesktop \ 121 121 --add-flags "--unix-distro-build" \ 122 - ${stdenv.lib.optionalString autorunLinkHandler # ignore errors installing the link handler 122 + ${lib.optionalString autorunLinkHandler # ignore errors installing the link handler 123 123 ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''} 124 124 125 125 # Remove bundled qt bits ··· 128 128 129 129 # Patch up link handler script 130 130 wrapProgram $out/bin/install-mendeley-link-handler.sh \ 131 - --prefix PATH ':' ${stdenv.lib.makeBinPath [ which gconf desktop-file-utils ] } 131 + --prefix PATH ':' ${lib.makeBinPath [ which gconf desktop-file-utils ] } 132 132 ''; 133 133 134 134 dontStrip = true;
+4 -4
pkgs/applications/office/mmex/default.nix
··· 1 - { stdenv, fetchgit, sqlite, wxGTK30, gettext, wrapGAppsHook }: 1 + { lib, stdenv, fetchgit, sqlite, wxGTK30, gettext, wrapGAppsHook }: 2 2 3 3 4 4 let ··· 28 28 meta = { 29 29 description = "Easy-to-use personal finance software"; 30 30 homepage = "https://www.moneymanagerex.org/"; 31 - license = stdenv.lib.licenses.gpl2Plus; 32 - maintainers = with stdenv.lib.maintainers; [viric]; 33 - platforms = with stdenv.lib.platforms; linux; 31 + license = lib.licenses.gpl2Plus; 32 + maintainers = with lib.maintainers; [viric]; 33 + platforms = with lib.platforms; linux; 34 34 }; 35 35 }
+3 -3
pkgs/applications/office/moneyplex/default.nix
··· 3 3 , runtimeShell }: 4 4 5 5 let 6 - libPath = stdenv.lib.makeLibraryPath [ 6 + libPath = lib.makeLibraryPath [ 7 7 stdenv.cc.cc zlib glib gdk-pixbuf gtk2 cairo pango libX11 atk openssl 8 8 ]; 9 9 ··· 63 63 if [ ! -d "\$MDIR/pcsc" ]; then 64 64 ${coreutils}/bin/mkdir -p \$MDIR/pcsc 65 65 fi 66 - if [ ! -e "\$MDIR/pcsc/libpcsclite.so.1" ] || [ ! \`${coreutils}/bin/readlink -f "\$MDIR/pcsc/libpcsclite.so.1"\` -ef "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1" ]; then 67 - ${coreutils}/bin/ln -sf "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1" "\$MDIR/pcsc/libpcsclite.so.1" 66 + if [ ! -e "\$MDIR/pcsc/libpcsclite.so.1" ] || [ ! \`${coreutils}/bin/readlink -f "\$MDIR/pcsc/libpcsclite.so.1"\` -ef "${lib.getLib pcsclite}/lib/libpcsclite.so.1" ]; then 67 + ${coreutils}/bin/ln -sf "${lib.getLib pcsclite}/lib/libpcsclite.so.1" "\$MDIR/pcsc/libpcsclite.so.1" 68 68 fi 69 69 70 70
+2 -2
pkgs/applications/office/notes-up/default.nix
··· 50 50 ]; 51 51 52 52 # Whether to build with contractor support (Pantheon specific) 53 - cmakeFlags = stdenv.lib.optional (!withPantheon) "-Dnoele=yes"; 53 + cmakeFlags = lib.optional (!withPantheon) "-Dnoele=yes"; 54 54 55 55 passthru = { 56 56 updateScript = nix-update-script { ··· 60 60 61 61 meta = with lib; { 62 62 description = "Markdown notes editor and manager designed for elementary OS" 63 - + stdenv.lib.optionalString withPantheon " - built with Contractor support"; 63 + + lib.optionalString withPantheon " - built with Contractor support"; 64 64 homepage = "https://github.com/Philip-Scott/Notes-up"; 65 65 license = licenses.gpl2; 66 66 maintainers = with maintainers; [ davidak worldofpeace ];
+1 -1
pkgs/applications/office/portfolio/default.nix
··· 20 20 categories = "Office;"; 21 21 }; 22 22 23 - runtimeLibs = stdenv.lib.makeLibraryPath [ gtk3 webkitgtk ]; 23 + runtimeLibs = lib.makeLibraryPath [ gtk3 webkitgtk ]; 24 24 in 25 25 stdenv.mkDerivation rec { 26 26 pname = "PortfolioPerformance";
+4 -4
pkgs/applications/office/qnotero/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages, wrapQtAppsHook }: 1 + { lib, stdenv, fetchFromGitHub, python3Packages, wrapQtAppsHook }: 2 2 3 3 python3Packages.buildPythonPackage rec { 4 4 pname = "qnotero"; ··· 29 29 meta = { 30 30 description = "Quick access to Zotero references"; 31 31 homepage = "http://www.cogsci.nl/software/qnotero"; 32 - license = stdenv.lib.licenses.gpl2; 33 - platforms = stdenv.lib.platforms.unix; 34 - maintainers = [ stdenv.lib.maintainers.nico202 ]; 32 + license = lib.licenses.gpl2; 33 + platforms = lib.platforms.unix; 34 + maintainers = [ lib.maintainers.nico202 ]; 35 35 }; 36 36 }
+4 -4
pkgs/applications/office/scribus/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2 1 + { lib, stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2 2 2 , libart_lgpl, qt4, python2, cups, fontconfig, libjpeg 3 3 , zlib, libpng, xorg, cairo, podofo, hunspell, boost, cmake, imagemagick, ghostscript }: 4 4 ··· 43 43 ''; 44 44 45 45 meta = { 46 - maintainers = [ stdenv.lib.maintainers.marcweber ]; 47 - platforms = stdenv.lib.platforms.linux; 46 + maintainers = [ lib.maintainers.marcweber ]; 47 + platforms = lib.platforms.linux; 48 48 description = "Desktop Publishing (DTP) and Layout program for Linux"; 49 49 homepage = "https://www.scribus.net"; 50 - license = stdenv.lib.licenses.gpl2; 50 + license = lib.licenses.gpl2; 51 51 }; 52 52 }
+1 -1
pkgs/applications/office/softmaker/generic.nix
··· 73 73 extraWrapperArgs = '' 74 74 --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \ 75 75 --set NIX_REDIRECTS "/bin/ls=${coreutils}/bin/ls" \ 76 - --prefix PATH : "${stdenv.lib.makeBinPath [ coreutils gnugrep util-linux which ]}" 76 + --prefix PATH : "${lib.makeBinPath [ coreutils gnugrep util-linux which ]}" 77 77 ''; 78 78 in '' 79 79 runHook preInstall
+1 -1
pkgs/applications/office/timetrap/gemset.nix
··· 40 40 }; 41 41 version = "1.15.2"; 42 42 }; 43 - } 43 + }
+3 -3
pkgs/applications/office/todo.txt-cli/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 let 3 3 version = "2.12.0"; 4 4 in stdenv.mkDerivation { ··· 22 22 meta = { 23 23 description = "Simple plaintext todo list manager"; 24 24 homepage = "http://todotxt.com"; 25 - license = stdenv.lib.licenses.gpl3; 26 - platforms = stdenv.lib.platforms.all; 25 + license = lib.licenses.gpl3; 26 + platforms = lib.platforms.all; 27 27 }; 28 28 }
+2 -2
pkgs/applications/office/tryton/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , python3Packages 3 3 , pkgconfig 4 4 , librsvg ··· 16 16 , wrapGAppsHook 17 17 }: 18 18 19 - with stdenv.lib; 19 + with lib; 20 20 21 21 python3Packages.buildPythonApplication rec { 22 22 pname = "tryton";
+1 -1
pkgs/applications/office/tudu/default.nix
··· 11 11 12 12 buildInputs = [ ncurses ]; 13 13 14 - preConfigure = stdenv.lib.optionalString stdenv.cc.isClang '' 14 + preConfigure = lib.optionalString stdenv.cc.isClang '' 15 15 substituteInPlace configure \ 16 16 --replace 'echo "main()' 'echo "int main()' 17 17 '';
+5 -5
pkgs/applications/office/wordgrinder/default.nix
··· 19 19 "OBJDIR=$TMP/wg-build" 20 20 ]; 21 21 22 - preBuild = stdenv.lib.optionalString stdenv.isLinux '' 22 + preBuild = lib.optionalString stdenv.isLinux '' 23 23 makeFlagsArray+=('XFT_PACKAGE=--cflags={} --libs={-lX11 -lXft}') 24 24 ''; 25 25 ··· 38 38 ncurses 39 39 readline 40 40 zlib 41 - ] ++ stdenv.lib.optionals stdenv.isLinux [ 41 + ] ++ lib.optionals stdenv.isLinux [ 42 42 libXft 43 43 ]; 44 44 45 45 # To be able to find <Xft.h> 46 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isLinux "-I${libXft.dev}/include/X11"; 46 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isLinux "-I${libXft.dev}/include/X11"; 47 47 48 48 # Binaries look for LuaFileSystem library (lfs.so) at runtime 49 49 postInstall = '' 50 50 wrapProgram $out/bin/wordgrinder --set LUA_CPATH "${lua52Packages.luafilesystem}/lib/lua/5.2/lfs.so"; 51 - '' + stdenv.lib.optionalString stdenv.isLinux '' 51 + '' + lib.optionalString stdenv.isLinux '' 52 52 wrapProgram $out/bin/xwordgrinder --set LUA_CPATH "${lua52Packages.luafilesystem}/lib/lua/5.2/lfs.so"; 53 53 ''; 54 54 ··· 57 57 homepage = "https://cowlark.com/wordgrinder"; 58 58 license = licenses.mit; 59 59 maintainers = with maintainers; [ matthiasbeyer ]; 60 - platforms = with stdenv.lib.platforms; linux ++ darwin; 60 + platforms = with lib.platforms; linux ++ darwin; 61 61 }; 62 62 }
+5 -5
pkgs/applications/office/wpsoffice/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , mkDerivation 3 3 , fetchurl 4 4 , autoPatchelfHook ··· 47 47 unpackCmd = "dpkg -x $src ."; 48 48 sourceRoot = "."; 49 49 50 - postUnpack = stdenv.lib.optionalString (version == "11.1.0.9505") '' 50 + postUnpack = lib.optionalString (version == "11.1.0.9505") '' 51 51 # distribution is missing libjsapiservice.so, so we should not let 52 52 # autoPatchelfHook fail on the following dead libraries 53 53 rm opt/kingsoft/wps-office/office6/{libjsetapi.so,libjswppapi.so,libjswpsapi.so} ··· 60 60 homepage = "http://wps-community.org/"; 61 61 platforms = [ "x86_64-linux" ]; 62 62 hydraPlatforms = []; 63 - license = stdenv.lib.licenses.unfreeRedistributable; 64 - maintainers = with stdenv.lib.maintainers; [ mlatus th0rgal ]; 63 + license = lib.licenses.unfreeRedistributable; 64 + maintainers = with lib.maintainers; [ mlatus th0rgal ]; 65 65 }; 66 66 67 67 buildInputs = with xorg; [ ··· 155 155 done 156 156 ''; 157 157 158 - runtimeLibPath = stdenv.lib.makeLibraryPath [ 158 + runtimeLibPath = lib.makeLibraryPath [ 159 159 cups.lib 160 160 ]; 161 161
+3 -3
pkgs/applications/office/zotero/default.nix
··· 51 51 dontStrip = true; 52 52 dontPatchELF = true; 53 53 54 - libPath = stdenv.lib.makeLibraryPath 54 + libPath = lib.makeLibraryPath 55 55 [ stdenv.cc.cc 56 56 atk 57 57 cairo ··· 82 82 nspr 83 83 nss 84 84 pango 85 - ] + ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [ 85 + ] + ":" + lib.makeSearchPathOutput "lib" "lib64" [ 86 86 stdenv.cc.cc 87 87 ]; 88 88 ··· 134 134 135 135 preFixup = '' 136 136 gappsWrapperArgs+=( 137 - --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils ]} 137 + --prefix PATH : ${lib.makeBinPath [ coreutils ]} 138 138 ) 139 139 ''; 140 140
+1 -1
pkgs/applications/radio/cubicsdr/default.nix
··· 34 34 buildInputs = [ fftw hamlib libpulseaudio libGL libX11 liquid-dsp soapysdr-with-plugins wxGTK31-gtk3 ]; 35 35 36 36 cmakeFlags = [ "-DUSE_HAMLIB=ON" ] 37 - ++ stdenv.lib.optional enableDigitalLab "-DENABLE_DIGITAL_LAB=ON"; 37 + ++ lib.optional enableDigitalLab "-DENABLE_DIGITAL_LAB=ON"; 38 38 39 39 meta = with lib; { 40 40 homepage = "https://cubicsdr.com";
+2 -2
pkgs/applications/radio/direwolf/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, alsaLib, espeak, glibc, gpsd 1 + { lib, stdenv, fetchFromGitHub, cmake, alsaLib, espeak, glibc, gpsd 2 2 , hamlib, perl, python, udev }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "direwolf";
+1 -1
pkgs/applications/radio/dsd/default.nix
··· 19 19 nativeBuildInputs = [ cmake ]; 20 20 buildInputs = [ 21 21 mbelib libsndfile itpp 22 - ] ++ stdenv.lib.optionals portaudioSupport [ portaudio ]; 22 + ] ++ lib.optionals portaudioSupport [ portaudio ]; 23 23 24 24 doCheck = true; 25 25 preCheck = ''
+4 -4
pkgs/applications/radio/fldigi/default.nix
··· 1 - { stdenv, fetchurl, hamlib, fltk14, libjpeg, libpng, portaudio, libsndfile, 1 + { lib, stdenv, fetchurl, hamlib, fltk14, libjpeg, libpng, portaudio, libsndfile, 2 2 libsamplerate, libpulseaudio, libXinerama, gettext, pkgconfig, alsaLib }: 3 3 4 4 stdenv.mkDerivation rec { ··· 16 16 meta = { 17 17 description = "Digital modem program"; 18 18 homepage = "https://sourceforge.net/projects/fldigi/"; 19 - license = stdenv.lib.licenses.gpl3Plus; 20 - maintainers = with stdenv.lib.maintainers; [ relrod ftrvxmtrx ]; 21 - platforms = stdenv.lib.platforms.linux; 19 + license = lib.licenses.gpl3Plus; 20 + maintainers = with lib.maintainers; [ relrod ftrvxmtrx ]; 21 + platforms = lib.platforms.linux; 22 22 }; 23 23 }
+5 -4
pkgs/applications/radio/fllog/default.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , fetchurl 3 4 , fltk13 4 5 , libjpeg ··· 26 27 meta = { 27 28 description = "Digital modem log program"; 28 29 homepage = "https://sourceforge.net/projects/fldigi/"; 29 - license = stdenv.lib.licenses.gpl3Plus; 30 - maintainers = with stdenv.lib.maintainers; [ dysinger ]; 31 - platforms = stdenv.lib.platforms.linux; 30 + license = lib.licenses.gpl3Plus; 31 + maintainers = with lib.maintainers; [ dysinger ]; 32 + platforms = lib.platforms.linux; 32 33 }; 33 34 }
+5 -4
pkgs/applications/radio/flmsg/default.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , fetchurl 3 4 , fltk13 4 5 , libjpeg ··· 26 27 meta = { 27 28 description = "Digital modem message program"; 28 29 homepage = "https://sourceforge.net/projects/fldigi/"; 29 - license = stdenv.lib.licenses.gpl3Plus; 30 - maintainers = with stdenv.lib.maintainers; [ dysinger ]; 31 - platforms = stdenv.lib.platforms.linux; 30 + license = lib.licenses.gpl3Plus; 31 + maintainers = with lib.maintainers; [ dysinger ]; 32 + platforms = lib.platforms.linux; 32 33 }; 33 34 }
+5 -4
pkgs/applications/radio/flrig/default.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , fetchurl 3 4 , fltk13 4 5 , libjpeg ··· 26 27 meta = { 27 28 description = "Digital modem rig control program"; 28 29 homepage = "https://sourceforge.net/projects/fldigi/"; 29 - license = stdenv.lib.licenses.gpl3Plus; 30 - maintainers = with stdenv.lib.maintainers; [ dysinger ]; 31 - platforms = stdenv.lib.platforms.linux; 30 + license = lib.licenses.gpl3Plus; 31 + maintainers = with lib.maintainers; [ dysinger ]; 32 + platforms = lib.platforms.linux; 32 33 }; 33 34 }
+5 -4
pkgs/applications/radio/flwrap/default.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , fetchurl 3 4 , fltk13 4 5 , libjpeg ··· 26 27 meta = { 27 28 description = "Digital modem file transfer program"; 28 29 homepage = "https://sourceforge.net/projects/fldigi/"; 29 - license = stdenv.lib.licenses.gpl3Plus; 30 - maintainers = with stdenv.lib.maintainers; [ dysinger ]; 31 - platforms = stdenv.lib.platforms.linux; 30 + license = lib.licenses.gpl3Plus; 31 + maintainers = with lib.maintainers; [ dysinger ]; 32 + platforms = lib.platforms.linux; 32 33 }; 33 34 }
+9 -8
pkgs/applications/radio/gnuradio/3.7.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , fetchpatch 4 4 , cmake ··· 138 138 }; 139 139 gr-audio = { 140 140 runtime = [] 141 - ++ stdenv.lib.optionals stdenv.isLinux [ alsaLib libjack2 ] 142 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreAudio ] 141 + ++ lib.optionals stdenv.isLinux [ alsaLib libjack2 ] 142 + ++ lib.optionals stdenv.isDarwin [ CoreAudio ] 143 143 ; 144 144 cmakeEnableFlag = "GR_AUDIO"; 145 145 }; ··· 198 198 }; 199 199 shared = (import ./shared.nix { 200 200 inherit 201 + lib 201 202 stdenv 202 203 python 203 204 removeReferencesTo ··· 229 230 # From some reason, if these are not set, libcodec2 and gsm are 230 231 # not detected properly (slightly different then what's in 231 232 # ./default.nix). 232 - ++ stdenv.lib.optionals (hasFeature "gr-vocoder" features) [ 233 + ++ lib.optionals (hasFeature "gr-vocoder" features) [ 233 234 "-DLIBCODEC2_LIBRARIES=${codec2}/lib/libcodec2.so" 234 235 "-DLIBCODEC2_INCLUDE_DIR=${codec2}/include" 235 236 "-DLIBGSM_LIBRARIES=${gsm}/lib/libgsm.so" ··· 238 239 ; 239 240 stripDebugList = shared.stripDebugList 240 241 # gr-fcd feature was dropped in 3.8 241 - ++ stdenv.lib.optionals (hasFeature "gr-fcd" features) [ "share/gnuradio/examples/fcd" ] 242 + ++ lib.optionals (hasFeature "gr-fcd" features) [ "share/gnuradio/examples/fcd" ] 242 243 ; 243 244 preConfigure = '' 244 245 '' 245 246 # wxgui and pygtk are not looked up properly, so we force them to be 246 247 # detected as found, if they are requested by the `features` attrset. 247 - + stdenv.lib.optionalString (hasFeature "gr-wxgui" features) '' 248 + + lib.optionalString (hasFeature "gr-wxgui" features) '' 248 249 sed -i 's/.*wx\.version.*/set(WX_FOUND TRUE)/g' gr-wxgui/CMakeLists.txt 249 250 '' 250 - + stdenv.lib.optionalString (hasFeature "gnuradio-companion" features) '' 251 + + lib.optionalString (hasFeature "gnuradio-companion" features) '' 251 252 sed -i 's/.*pygtk_version.*/set(PYGTK_FOUND TRUE)/g' grc/CMakeLists.txt 252 253 '' 253 254 # If python-support is disabled, don't install volk's (git submodule) ··· 256 257 # NOTE: The same is done for 3.8, but we don't put this string in 257 258 # ./shared.nix since on the next release of 3.8 it won't be needed there, 258 259 # but it will be needed for 3.7, probably for ever. 259 - + stdenv.lib.optionalString (!hasFeature "python-support" features) '' 260 + + lib.optionalString (!hasFeature "python-support" features) '' 260 261 sed -i -e "/python\/volk_modtool/d" volk/CMakeLists.txt 261 262 '' 262 263 ;
+1 -1
pkgs/applications/radio/gnuradio/ais.nix
··· 19 19 20 20 nativeBuildInputs = [ cmake makeWrapper pkg-config ]; 21 21 buildInputs = [ boost gnuradio cppunit gr-osmosdr log4cpp ] 22 - ++ stdenv.lib.optionals pythonSupport [ python swig ]; 22 + ++ lib.optionals pythonSupport [ python swig ]; 23 23 24 24 postInstall = '' 25 25 for prog in "$out"/bin/*; do
+7 -6
pkgs/applications/radio/gnuradio/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , fetchpatch 4 4 , cmake ··· 143 143 }; 144 144 gr-audio = { 145 145 runtime = [] 146 - ++ stdenv.lib.optionals stdenv.isLinux [ alsaLib libjack2 ] 147 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreAudio ] 146 + ++ lib.optionals stdenv.isLinux [ alsaLib libjack2 ] 147 + ++ lib.optionals stdenv.isDarwin [ CoreAudio ] 148 148 ; 149 149 cmakeEnableFlag = "GR_AUDIO"; 150 150 }; ··· 193 193 shared = (import ./shared.nix { 194 194 inherit 195 195 stdenv 196 + lib 196 197 python 197 198 removeReferencesTo 198 199 featuresInfo ··· 223 224 # From some reason, if these are not set, libcodec2 and gsm are not 224 225 # detected properly. NOTE: qradiolink needs libcodec2 to be detected in 225 226 # order to build, see https://github.com/qradiolink/qradiolink/issues/67 226 - ++ stdenv.lib.optionals (hasFeature "gr-vocoder" features) [ 227 + ++ lib.optionals (hasFeature "gr-vocoder" features) [ 227 228 "-DLIBCODEC2_LIBRARIES=${codec2}/lib/libcodec2.so" 228 229 "-DLIBCODEC2_INCLUDE_DIRS=${codec2}/include" 229 230 "-DLIBCODEC2_HAS_FREEDV_API=ON" ··· 235 236 postInstall = shared.postInstall 236 237 # This is the only python reference worth removing, if needed (3.7 doesn't 237 238 # set that reference). 238 - + stdenv.lib.optionalString (!hasFeature "python-support" features) '' 239 + + lib.optionalString (!hasFeature "python-support" features) '' 239 240 ${removeReferencesTo}/bin/remove-references-to -t ${python} $out/lib/cmake/gnuradio/GnuradioConfig.cmake 240 241 '' 241 242 ; ··· 249 250 # we'll need to package volk while able to tell it to install or not 250 251 # install python referencing files. When we'll be there, this will help: 251 252 # https://github.com/gnuradio/volk/pull/404 252 - + stdenv.lib.optionalString (!hasFeature "python-support" features) '' 253 + + lib.optionalString (!hasFeature "python-support" features) '' 253 254 sed -i -e "/python\/volk_modtool/d" volk/CMakeLists.txt 254 255 '' 255 256 ;
+1 -1
pkgs/applications/radio/gnuradio/gsm.nix
··· 19 19 nativeBuildInputs = [ cmake pkg-config ]; 20 20 buildInputs = [ 21 21 boost gnuradio makeWrapper cppunit libosmocore gr-osmosdr log4cpp 22 - ] ++ stdenv.lib.optionals pythonSupport [ python swig ]; 22 + ] ++ lib.optionals pythonSupport [ python swig ]; 23 23 24 24 postInstall = '' 25 25 for prog in "$out"/bin/*; do
+2 -2
pkgs/applications/radio/gnuradio/limesdr.nix
··· 21 21 nativeBuildInputs = [ 22 22 cmake 23 23 pkgconfig 24 - ] ++ stdenv.lib.optionals pythonSupport [ swig ]; 24 + ] ++ lib.optionals pythonSupport [ swig ]; 25 25 26 26 buildInputs = [ 27 27 boost gnuradio limesuite log4cpp 28 - ] ++ stdenv.lib.optionals pythonSupport [ python ]; 28 + ] ++ lib.optionals pythonSupport [ python ]; 29 29 30 30 31 31 meta = with lib; {
+1 -1
pkgs/applications/radio/gnuradio/nacl.nix
··· 19 19 nativeBuildInputs = [ cmake pkg-config ]; 20 20 buildInputs = [ 21 21 boost gnuradio uhd makeWrapper libsodium cppunit log4cpp 22 - ] ++ stdenv.lib.optionals pythonSupport [ python swig ]; 22 + ] ++ lib.optionals pythonSupport [ python swig ]; 23 23 24 24 postInstall = '' 25 25 for prog in "$out"/bin/*; do
+2 -2
pkgs/applications/radio/gnuradio/osmosdr.nix
··· 26 26 nativeBuildInputs = [ cmake makeWrapper pkg-config ]; 27 27 buildInputs = [ 28 28 boost log4cpp airspy gnuradio hackrf libbladeRF rtl-sdr uhd 29 - ] ++ stdenv.lib.optionals stdenv.isLinux [ soapysdr-with-plugins ] 30 - ++ stdenv.lib.optionals pythonSupport [ python swig python.pkgs.cheetah ]; 29 + ] ++ lib.optionals stdenv.isLinux [ soapysdr-with-plugins ] 30 + ++ lib.optionals pythonSupport [ python swig python.pkgs.cheetah ]; 31 31 32 32 postInstall = '' 33 33 for prog in "$out"/bin/*; do
+1 -1
pkgs/applications/radio/gnuradio/rds.nix
··· 18 18 nativeBuildInputs = [ cmake pkg-config ]; 19 19 buildInputs = [ 20 20 boost gnuradio makeWrapper log4cpp 21 - ] ++ stdenv.lib.optionals pythonSupport [ python swig ]; 21 + ] ++ lib.optionals pythonSupport [ python swig ]; 22 22 23 23 postInstall = '' 24 24 for prog in "$out"/bin/*; do
+2 -4
pkgs/applications/radio/gnuradio/shared.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , python 3 3 , qt 4 4 , gtk ··· 14 14 , fetchSubmodules 15 15 }: 16 16 17 - let 18 - lib = stdenv.lib; 19 - in rec { 17 + rec { 20 18 version = builtins.concatStringsSep "." ( 21 19 lib.attrVals [ "major" "minor" "patch" ] versionAttr 22 20 );
+15 -14
pkgs/applications/radio/gnuradio/wrapper.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , unwrapped 3 4 , makeWrapper 4 5 # For lndir ··· 28 29 pythonPkgs = extraPythonPackages 29 30 # Add the extraPackages as python modules as well 30 31 ++ (builtins.map unwrapped.python.pkgs.toPythonModule extraPackages) 31 - ++ stdenv.lib.flatten (stdenv.lib.mapAttrsToList ( 32 + ++ lib.flatten (lib.mapAttrsToList ( 32 33 feat: info: ( 33 34 if unwrapped.hasFeature feat unwrapped.features then 34 35 (if builtins.hasAttr "pythonRuntime" info then info.pythonRuntime else []) ··· 36 37 [] 37 38 ) 38 39 ) unwrapped.featuresInfo) 39 - ++ stdenv.lib.optionals (unwrapped.hasFeature "python-support" unwrapped.features) [ 40 + ++ lib.optionals (unwrapped.hasFeature "python-support" unwrapped.features) [ 40 41 # Add unwrapped itself as a python module 41 42 (unwrapped.python.pkgs.toPythonModule unwrapped) 42 43 ] 43 44 ; 44 45 python3Env = unwrapped.python.withPackages(ps: pythonPkgs); 45 46 46 - name = (stdenv.lib.appendToName "wrapped" unwrapped).name; 47 + name = (lib.appendToName "wrapped" unwrapped).name; 47 48 makeWrapperArgs = builtins.concatStringsSep " " ([ 48 49 ] 49 50 # Emulating wrapGAppsHook & wrapQtAppsHook working together 50 - ++ stdenv.lib.optionals ( 51 + ++ lib.optionals ( 51 52 (unwrapped.hasFeature "gnuradio-companion" unwrapped.features) 52 53 || (unwrapped.hasFeature "gr-qtgui" unwrapped.features) 53 54 ) [ ··· 57 58 "--prefix" "XDG_DATA_DIRS" ":" "${hicolor-icon-theme}/share" 58 59 # Needs to run `gsettings` on startup, see: 59 60 # https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1764890.html 60 - "--prefix" "PATH" ":" "${stdenv.lib.getBin glib}/bin" 61 + "--prefix" "PATH" ":" "${lib.getBin glib}/bin" 61 62 ] 62 - ++ stdenv.lib.optionals (unwrapped.hasFeature "gnuradio-companion" unwrapped.features) [ 63 + ++ lib.optionals (unwrapped.hasFeature "gnuradio-companion" unwrapped.features) [ 63 64 "--set" "GDK_PIXBUF_MODULE_FILE" "${librsvg}/${gdk-pixbuf.moduleDir}.cache" 64 - "--prefix" "GIO_EXTRA_MODULES" ":" "${stdenv.lib.getLib dconf}/lib/gio/modules" 65 + "--prefix" "GIO_EXTRA_MODULES" ":" "${lib.getLib dconf}/lib/gio/modules" 65 66 "--prefix" "XDG_DATA_DIRS" ":" "${unwrapped.gtk}/share" 66 67 "--prefix" "XDG_DATA_DIRS" ":" "${unwrapped.gtk}/share/gsettings-schemas/${unwrapped.gtk.name}" 67 - "--prefix" "GI_TYPELIB_PATH" ":" "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ 68 + "--prefix" "GI_TYPELIB_PATH" ":" "${lib.makeSearchPath "lib/girepository-1.0" [ 68 69 unwrapped.gtk 69 70 gsettings-desktop-schemas 70 71 atk ··· 79 80 at-spi2-core 80 81 ]}" 81 82 ] 82 - ++ stdenv.lib.optionals (extraPackages != []) [ 83 - "--prefix" "GRC_BLOCKS_PATH" ":" "${stdenv.lib.makeSearchPath "share/gnuradio/grc/blocks" extraPackages}" 83 + ++ lib.optionals (extraPackages != []) [ 84 + "--prefix" "GRC_BLOCKS_PATH" ":" "${lib.makeSearchPath "share/gnuradio/grc/blocks" extraPackages}" 84 85 ] 85 - ++ stdenv.lib.optionals (unwrapped.hasFeature "gr-qtgui" unwrapped.features) 86 + ++ lib.optionals (unwrapped.hasFeature "gr-qtgui" unwrapped.features) 86 87 # 3.7 builds with qt4 87 88 (if unwrapped.versionAttr.major == "3.8" then 88 89 [ 89 90 "--prefix" "QT_PLUGIN_PATH" ":" 90 - "${stdenv.lib.getBin unwrapped.qt.qtbase}/${unwrapped.qt.qtbase.qtPluginPrefix}" 91 + "${lib.getBin unwrapped.qt.qtbase}/${unwrapped.qt.qtbase.qtPluginPrefix}" 91 92 "--prefix" "QML2_IMPORT_PATH" ":" 92 - "${stdenv.lib.getBin unwrapped.qt.qtbase}/${unwrapped.qt.qtbase.qtQmlPrefix}" 93 + "${lib.getBin unwrapped.qt.qtbase}/${unwrapped.qt.qtbase.qtQmlPrefix}" 93 94 ] 94 95 else 95 96 # TODO: Add here qt4 related environment for 3.7?
+1 -1
pkgs/applications/radio/gqrx/default.nix
··· 21 21 nativeBuildInputs = [ cmake ]; 22 22 buildInputs = [ 23 23 qtbase qtsvg gnuradio boost gr-osmosdr rtl-sdr hackrf 24 - ] ++ stdenv.lib.optionals pulseaudioSupport [ libpulseaudio ]; 24 + ] ++ lib.optionals pulseaudioSupport [ libpulseaudio ]; 25 25 26 26 postInstall = '' 27 27 install -vD $src/gqrx.desktop -t "$out/share/applications/"
+4 -4
pkgs/applications/radio/minimodem/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, libtool 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, libtool 2 2 , fftw, fftwSinglePrec, alsaLib, libsndfile, libpulseaudio 3 3 }: 4 4 ··· 33 33 Caller-ID. 34 34 ''; 35 35 homepage = "http://www.whence.com/minimodem/"; 36 - license = stdenv.lib.licenses.gpl3Plus; 37 - platforms = with stdenv.lib.platforms; linux; 38 - maintainers = with stdenv.lib.maintainers; [ relrod ]; 36 + license = lib.licenses.gpl3Plus; 37 + platforms = with lib.platforms; linux; 38 + maintainers = with lib.maintainers; [ relrod ]; 39 39 }; 40 40 } 41 41
+2 -2
pkgs/applications/radio/qsstv/default.nix
··· 29 29 description = "Qt-based slow-scan TV and fax"; 30 30 homepage = "http://users.telenet.be/on4qz/"; 31 31 platforms = platforms.linux; 32 - license = stdenv.lib.licenses.gpl3; 33 - maintainers = with stdenv.lib.maintainers; [ hax404 ]; 32 + license = lib.licenses.gpl3; 33 + maintainers = with lib.maintainers; [ hax404 ]; 34 34 }; 35 35 } 36 36
+1 -1
pkgs/applications/radio/rtl-sdr/default.nix
··· 24 24 # /etc/udev/rules.d/, and there is no option to install elsewhere. So install 25 25 # rules manually. 26 26 # * Propagate libusb-1.0 dependency in pkg-config file. 27 - postInstall = stdenv.lib.optionalString stdenv.isLinux '' 27 + postInstall = lib.optionalString stdenv.isLinux '' 28 28 mkdir -p "$out/etc/udev/rules.d/" 29 29 cp ../rtl-sdr.rules "$out/etc/udev/rules.d/99-rtl-sdr.rules" 30 30
+2 -2
pkgs/applications/radio/uhd/default.nix
··· 33 33 34 34 let 35 35 onOffBool = b: if b then "ON" else "OFF"; 36 - inherit (stdenv.lib) optionals; 36 + inherit (lib) optionals; 37 37 in 38 38 39 39 stdenv.mkDerivation rec { ··· 81 81 # TODO: Check if this still needed 82 82 # ABI differences GCC 7.1 83 83 # /nix/store/wd6r25miqbk9ia53pp669gn4wrg9n9cj-gcc-7.3.0/include/c++/7.3.0/bits/vector.tcc:394:7: note: parameter passing for argument of type 'std::vector<uhd::range_t>::iterator {aka __gnu_cxx::__normal_iterator<uhd::range_t*, std::vector<uhd::range_t> >}' changed in GCC 7.1 84 - ++ [ (stdenv.lib.optionalString stdenv.isAarch32 "-DCMAKE_CXX_FLAGS=-Wno-psabi") ] 84 + ++ [ (lib.optionalString stdenv.isAarch32 "-DCMAKE_CXX_FLAGS=-Wno-psabi") ] 85 85 ; 86 86 87 87 # Python + Mako are always required for the build itself but not necessary for runtime.
+4 -3
pkgs/applications/video/aegisub/default.nix
··· 1 - { config 1 + { lib 2 + , config 2 3 , stdenv 3 4 , fetchurl 4 5 , fetchpatch ··· 45 46 assert pulseaudioSupport -> (libpulseaudio != null); 46 47 assert portaudioSupport -> (portaudio != null); 47 48 48 - with stdenv.lib; 49 + with lib; 49 50 stdenv.mkDerivation 50 51 rec { 51 52 pname = "aegisub"; ··· 81 82 intltool 82 83 ]; 83 84 84 - buildInputs = with stdenv.lib; [ 85 + buildInputs = with lib; [ 85 86 libX11 86 87 wxGTK 87 88 fontconfig
+2 -2
pkgs/applications/video/avidemux/default.nix
··· 56 56 ++ lib.optional withVPX libvpx; 57 57 58 58 buildCommand = let 59 - qtVersion = "5.${stdenv.lib.versions.minor qtbase.version}"; 59 + qtVersion = "5.${lib.versions.minor qtbase.version}"; 60 60 wrapWith = makeWrapper: filename: 61 61 "${makeWrapper} ${filename} --set ADM_ROOT_DIR $out --prefix LD_LIBRARY_PATH : ${libXext}/lib"; 62 62 wrapQtApp = wrapWith "wrapQtApp"; ··· 78 78 79 79 ${wrapProgram "$out/bin/avidemux3_cli"} 80 80 81 - ${stdenv.lib.optionalString withQT '' 81 + ${lib.optionalString withQT '' 82 82 ${wrapQtApp "$out/bin/avidemux3_qt5"} 83 83 ${wrapQtApp "$out/bin/avidemux3_jobs_qt5"} 84 84 ''}
+1 -1
pkgs/applications/video/avxsynth/default.nix
··· 4 4 }: 5 5 6 6 let 7 - inherit (stdenv.lib) enableFeature optional; 7 + inherit (lib) enableFeature optional; 8 8 in 9 9 10 10 stdenv.mkDerivation {
+3 -3
pkgs/applications/video/ccextractor/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, cmake 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, cmake 2 2 , glew, glfw3, leptonica, libiconv, tesseract3, zlib }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 stdenv.mkDerivation rec { 6 6 pname = "ccextractor"; 7 7 version = "0.88"; ··· 17 17 18 18 nativeBuildInputs = [ pkgconfig cmake ]; 19 19 20 - buildInputs = [ glew glfw3 leptonica tesseract3 zlib ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv; 20 + buildInputs = [ glew glfw3 leptonica tesseract3 zlib ] ++ lib.optional (!stdenv.isLinux) libiconv; 21 21 22 22 meta = { 23 23 homepage = "https://www.ccextractor.org";
+3 -3
pkgs/applications/video/cinelerra/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool 2 2 , pkgconfig, faad2, faac, a52dec, alsaLib, fftw, lame, libavc1394 3 3 , libiec61883, libraw1394, libsndfile, libvorbis, libogg, libjpeg 4 4 , libtiff, freetype, mjpegtools, x264, gettext, openexr ··· 45 45 meta = { 46 46 description = "Video Editor"; 47 47 homepage = "http://www.cinelerra.org"; 48 - maintainers = [ stdenv.lib.maintainers.marcweber ]; 49 - license = stdenv.lib.licenses.gpl2; 48 + maintainers = [ lib.maintainers.marcweber ]; 49 + license = lib.licenses.gpl2; 50 50 }; 51 51 }
+1 -1
pkgs/applications/video/clipgrab/default.nix
··· 16 16 buildInputs = [ ffmpeg_3 qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ]; 17 17 nativeBuildInputs = [ qmake qttools ]; 18 18 19 - postPatch = stdenv.lib.optionalString (ffmpeg_3 != null) '' 19 + postPatch = lib.optionalString (ffmpeg_3 != null) '' 20 20 substituteInPlace converter_ffmpeg.cpp \ 21 21 --replace '"ffmpeg"' '"${ffmpeg_3.bin}/bin/ffmpeg"' \ 22 22 --replace '"ffmpeg ' '"${ffmpeg_3.bin}/bin/ffmpeg '
+5 -5
pkgs/applications/video/coriander/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, glib, gtk2, libgnomeui, libXv, libraw1394, libdc1394 1 + { lib, stdenv, fetchurl, pkgconfig, glib, gtk2, libgnomeui, libXv, libraw1394, libdc1394 2 2 , SDL, automake, GConf }: 3 3 4 4 stdenv.mkDerivation { ··· 15 15 16 16 nativeBuildInputs = [ pkgconfig ]; 17 17 buildInputs = [ glib gtk2 libgnomeui libXv libraw1394 libdc1394 SDL GConf ]; 18 - 18 + 19 19 meta = { 20 20 homepage = "https://damien.douxchamps.net/ieee1394/coriander/"; 21 21 description = "GUI for controlling a Digital Camera through the IEEE1394 bus"; 22 - license = stdenv.lib.licenses.gpl3Plus; 23 - maintainers = with stdenv.lib.maintainers; [viric]; 24 - platforms = with stdenv.lib.platforms; linux; 22 + license = lib.licenses.gpl3Plus; 23 + maintainers = with lib.maintainers; [viric]; 24 + platforms = with lib.platforms; linux; 25 25 }; 26 26 }
+3 -3
pkgs/applications/video/dvd-slideshow/default.nix
··· 65 65 meta = { 66 66 description = "Suite of command line programs that creates a slideshow-style video from groups of pictures"; 67 67 homepage = "http://dvd-slideshow.sourceforge.net/wiki/Main_Page"; 68 - license = stdenv.lib.licenses.gpl2; 69 - platforms = stdenv.lib.platforms.linux; 70 - maintainers = [ stdenv.lib.maintainers.robbinch ]; 68 + license = lib.licenses.gpl2; 69 + platforms = lib.platforms.linux; 70 + maintainers = [ lib.maintainers.robbinch ]; 71 71 }; 72 72 }
+4 -4
pkgs/applications/video/dvdbackup/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, libdvdread, libdvdcss, dvdauthor }: 1 + { lib, stdenv, fetchurl, fetchpatch, libdvdread, libdvdcss, dvdauthor }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.4.2"; ··· 21 21 meta = { 22 22 description = "A tool to rip video DVDs from the command line"; 23 23 homepage = "http://dvdbackup.sourceforge.net/"; 24 - license = stdenv.lib.licenses.gpl3Plus; 25 - maintainers = [ stdenv.lib.maintainers.bradediger ]; 26 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.gpl3Plus; 25 + maintainers = [ lib.maintainers.bradediger ]; 26 + platforms = lib.platforms.linux; 27 27 }; 28 28 }
+1 -1
pkgs/applications/video/dvdstyler/default.nix
··· 10 10 , dbusSupport ? true, dbus ? null 11 11 , makeWrapper }: 12 12 13 - with stdenv.lib; 13 + with lib; 14 14 stdenv.mkDerivation rec { 15 15 16 16 pname = "dvdstyler";
+4 -3
pkgs/applications/video/epgstation/default.nix
··· 1 - { stdenv 1 + { lib 2 + , stdenv 2 3 , fetchFromGitHub 3 4 , common-updater-scripts 4 5 , genericUpdater ··· 82 83 83 84 makeWrapper ${nodejs}/bin/npm $out/bin/epgstation \ 84 85 --run "cd $out/lib/node_modules/EPGStation" \ 85 - --prefix PATH : ${stdenv.lib.makeBinPath runtimeDeps} 86 + --prefix PATH : ${lib.makeBinPath runtimeDeps} 86 87 87 88 popd 88 89 ''; ··· 113 114 pkg // { 114 115 name = "${pname}-${version}"; 115 116 116 - meta = with stdenv.lib; pkg.meta // { 117 + meta = with lib; pkg.meta // { 117 118 maintainers = with maintainers; [ midchildan ]; 118 119 119 120 # NOTE: updateScript relies on this being correct
+1 -1
pkgs/applications/video/filebot/default.nix
··· 33 33 --replace 'APP_DATA="$FILEBOT_HOME/data/$(id -u)"' 'APP_DATA=''${XDG_DATA_HOME:-$HOME/.local/share}/filebot/data' \ 34 34 --replace '$FILEBOT_HOME/data/.license' '$APP_DATA/.license' 35 35 wrapProgram $out/opt/filebot.sh \ 36 - --prefix PATH : ${stdenv.lib.makeBinPath [ openjdk11 ]} 36 + --prefix PATH : ${lib.makeBinPath [ openjdk11 ]} 37 37 # Expose the binary in bin to make runnable. 38 38 ln -s $out/opt/filebot.sh $out/bin/filebot 39 39 '';
+3 -3
pkgs/applications/video/kino/default.nix
··· 50 50 #AMR-WB float support no 51 51 #AMR-WB IF2 support no 52 52 53 - { stdenv, fetchurl, gtk2, libglade, libxml2, libraw1394, libsamplerate, libdv 53 + { lib, stdenv, fetchurl, gtk2, libglade, libxml2, libraw1394, libsamplerate, libdv 54 54 , pkgconfig, perlPackages, libavc1394, libiec61883, libXv, gettext 55 55 , libX11, glib, cairo, intltool, ffmpeg, libv4l 56 56 }: ··· 89 89 meta = { 90 90 description = "Non-linear DV editor for GNU/Linux"; 91 91 homepage = "http://www.kinodv.org/"; 92 - license = stdenv.lib.licenses.gpl2; 93 - platforms = stdenv.lib.platforms.linux; 92 + license = lib.licenses.gpl2; 93 + platforms = lib.platforms.linux; 94 94 }; 95 95 }
+1 -1
pkgs/applications/video/kodi/plugins.nix
··· 4 4 , python2Packages, expat, glib, nspr, nss, openssl 5 5 , libssh, libarchive, lzma, bzip2, lz4, lzo }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 let self = rec { 10 10
+1 -1
pkgs/applications/video/kodi/wrapper.nix
··· 18 18 --prefix PYTHONPATH : ${kodi.pythonPackages.makePythonPath plugins} \ 19 19 --prefix KODI_HOME : $out/share/kodi \ 20 20 --prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath 21 - (stdenv.lib.concatMap 21 + (lib.concatMap 22 22 (plugin: plugin.extraRuntimeDependencies or []) plugins)}" 23 23 done 24 24 '';
+4 -4
pkgs/applications/video/lightworks/default.nix
··· 1 - { stdenv, fetchurl, dpkg, makeWrapper, buildFHSUserEnv 1 + { lib, stdenv, fetchurl, dpkg, makeWrapper, buildFHSUserEnv 2 2 , gtk3, gdk-pixbuf, cairo, libjpeg_original, glib, pango, libGLU 3 3 , nvidia_cg_toolkit, zlib, openssl, portaudio 4 4 }: 5 5 let 6 - fullPath = stdenv.lib.makeLibraryPath [ 6 + fullPath = lib.makeLibraryPath [ 7 7 stdenv.cc.cc 8 8 gtk3 9 9 gdk-pixbuf ··· 80 80 meta = { 81 81 description = "Professional Non-Linear Video Editor"; 82 82 homepage = "https://www.lwks.com/"; 83 - license = stdenv.lib.licenses.unfree; 84 - maintainers = [ stdenv.lib.maintainers.antonxy ]; 83 + license = lib.licenses.unfree; 84 + maintainers = [ lib.maintainers.antonxy ]; 85 85 platforms = [ "x86_64-linux" ]; 86 86 }; 87 87 }
+4 -4
pkgs/applications/video/lxdvdrip/default.nix
··· 1 - { stdenv, fetchurl, libdvdread }: 1 + { lib, stdenv, fetchurl, libdvdread }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "lxdvdrip-1.76"; ··· 20 20 21 21 buildInputs = [ libdvdread ]; 22 22 23 - meta = { 23 + meta = { 24 24 description = "Command line tool to make a copy from a video DVD for private use"; 25 25 homepage = "https://sourceforge.net/projects/lxdvdrip"; 26 - license = stdenv.lib.licenses.gpl2; 27 - platforms = stdenv.lib.platforms.linux; 26 + license = lib.licenses.gpl2; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+2 -2
pkgs/applications/video/makemkv/default.nix
··· 43 43 44 44 qtWrapperArgs = 45 45 let 46 - binPath = stdenv.lib.makeBinPath [ jre_headless ]; 47 - in stdenv.lib.optionals withJava [ 46 + binPath = lib.makeBinPath [ jre_headless ]; 47 + in lib.optionals withJava [ 48 48 ''--prefix PATH : ${binPath}'' 49 49 ]; 50 50
+1 -1
pkgs/applications/video/mkvtoolnix/default.nix
··· 9 9 10 10 assert withGUI -> qtbase != null && qtmultimedia != null && wrapQtAppsHook != null; 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "mkvtoolnix";
+8 -8
pkgs/applications/video/mplayer/default.nix
··· 1 - { config, stdenv, fetchurl, pkgconfig, freetype, yasm, ffmpeg_3 1 + { config, lib, stdenv, fetchurl, pkgconfig, freetype, yasm, ffmpeg_3 2 2 , aalibSupport ? true, aalib ? null 3 3 , fontconfigSupport ? true, fontconfig ? null, freefont_ttf ? null 4 4 , fribidiSupport ? true, fribidi ? null ··· 84 84 cp -prv * $out 85 85 ''; 86 86 87 - meta.license = stdenv.lib.licenses.unfree; 87 + meta.license = lib.licenses.unfree; 88 88 } else null; 89 89 90 90 crossBuild = stdenv.hostPlatform != stdenv.buildPlatform; ··· 108 108 109 109 depsBuildBuild = [ buildPackages.stdenv.cc ]; 110 110 nativeBuildInputs = [ pkgconfig yasm ]; 111 - buildInputs = with stdenv.lib; 111 + buildInputs = with lib; 112 112 [ freetype ffmpeg_3 ] 113 113 ++ optional aalibSupport aalib 114 114 ++ optional fontconfigSupport fontconfig ··· 139 139 ; 140 140 141 141 configurePlatforms = [ ]; 142 - configureFlags = with stdenv.lib; [ 142 + configureFlags = with lib; [ 143 143 "--enable-freetype" 144 144 (if fontconfigSupport then "--enable-fontconfig" else "--disable-fontconfig") 145 145 (if x11Support then "--enable-x11 --enable-gl" else "--disable-x11 --disable-gl") ··· 199 199 echo CONFIG_MPEGAUDIODSP=yes >> config.mak 200 200 ''; 201 201 202 - NIX_LDFLAGS = with stdenv.lib; toString ( 202 + NIX_LDFLAGS = with lib; toString ( 203 203 optional fontconfigSupport "-lfontconfig" 204 204 ++ optional fribidiSupport "-lfribidi" 205 205 ++ optionals x11Support [ "-lX11" "-lXext" ] 206 206 ++ [ "-lfreetype" ] 207 207 ); 208 208 209 - installTargets = [ "install" ] ++ stdenv.lib.optional x11Support "install-gui"; 209 + installTargets = [ "install" ] ++ lib.optional x11Support "install-gui"; 210 210 211 211 enableParallelBuilding = true; 212 212 213 213 # Provide a reasonable standard font when not using fontconfig. Maybe we should symlink here. 214 - postInstall = stdenv.lib.optionalString (!fontconfigSupport) 214 + postInstall = lib.optionalString (!fontconfigSupport) 215 215 '' 216 216 mkdir -p $out/share/mplayer 217 217 cp ${freefont_ttf}/share/fonts/truetype/FreeSans.ttf $out/share/mplayer/subfont.ttf ··· 224 224 description = "A movie player that supports many video formats"; 225 225 homepage = "http://mplayerhq.hu"; 226 226 license = "GPL"; 227 - maintainers = [ stdenv.lib.maintainers.eelco ]; 227 + maintainers = [ lib.maintainers.eelco ]; 228 228 platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; 229 229 }; 230 230 }
+2 -2
pkgs/applications/video/mpv/default.nix
··· 56 56 , zimgSupport ? true, zimg ? null 57 57 }: 58 58 59 - with stdenv.lib; 59 + with lib; 60 60 61 61 let 62 62 available = x: x != null; ··· 149 149 (enableFeature waylandSupport "wayland") 150 150 (enableFeature stdenv.isLinux "dvbin") 151 151 ] # Disable whilst Swift isn't supported 152 - ++ stdenv.lib.optional (!swiftSupport) "--disable-macos-cocoa-cb"; 152 + ++ lib.optional (!swiftSupport) "--disable-macos-cocoa-cb"; 153 153 154 154 nativeBuildInputs = [ 155 155 addOpenGLRunpath docutils perl pkgconfig python3 wafHook which
+1 -1
pkgs/applications/video/natron/default.nix
··· 121 121 functionalities to Adobe After Effects and Nuke by The Foundry. 122 122 ''; 123 123 homepage = "https://natron.fr/"; 124 - license = stdenv.lib.licenses.gpl2; 124 + license = lib.licenses.gpl2; 125 125 maintainers = [ maintainers.puffnfresh ]; 126 126 platforms = platforms.linux; 127 127 broken = true;
+2 -2
pkgs/applications/video/obs-studio/default.nix
··· 36 36 }: 37 37 38 38 let 39 - inherit (stdenv.lib) optional optionals; 39 + inherit (lib) optional optionals; 40 40 41 41 in mkDerivation rec { 42 42 pname = "obs-studio"; ··· 105 105 --prefix "LD_LIBRARY_PATH" : "${xorg.libX11.out}/lib:${libvlc}/lib" 106 106 ''; 107 107 108 - postFixup = stdenv.lib.optionalString stdenv.isLinux '' 108 + postFixup = lib.optionalString stdenv.isLinux '' 109 109 addOpenGLRunpath $out/lib/lib*.so 110 110 addOpenGLRunpath $out/lib/obs-plugins/*.so 111 111 '';
+3 -3
pkgs/applications/video/ogmtools/default.nix
··· 1 - { stdenv, fetchurl, libogg, libvorbis, libdvdread }: 1 + { lib, stdenv, fetchurl, libogg, libvorbis, libdvdread }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ogmtools-1.5"; ··· 18 18 tool for extracting chapter information from DVD. 19 19 ''; 20 20 homepage = "https://www.bunkus.org/videotools/ogmtools/"; 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/applications/video/olive-editor/default.nix
··· 25 25 frei0r 26 26 opencolorio 27 27 qtmultimedia 28 - ] ++ stdenv.lib.optional stdenv.isDarwin CoreFoundation; 28 + ] ++ lib.optional stdenv.isDarwin CoreFoundation; 29 29 30 30 meta = with lib; { 31 31 description = "Professional open-source NLE video editor";
+7 -7
pkgs/applications/video/omxplayer/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , raspberrypifw, pcre, boost, freetype, zlib 3 3 }: 4 4 5 5 let 6 6 ffmpeg = stdenv.mkDerivation rec { 7 7 name = "ffmpeg-1.1.3"; 8 - 8 + 9 9 src = fetchurl { 10 10 url = "http://www.ffmpeg.org/releases/${name}.tar.bz2"; 11 11 sha256 = "03s1zsprz5p6gjgwwqcf7b6cvzwwid6l8k7bamx9i0f1iwkgdm0j"; 12 12 }; 13 - 13 + 14 14 configurePlatforms = []; 15 15 configureFlags = [ 16 16 "--arch=${stdenv.hostPlatform.parsed.cpu.name}" 17 - ] ++ stdenv.lib.optionals stdenv.hostPlatform.isAarch32 [ 17 + ] ++ lib.optionals stdenv.hostPlatform.isAarch32 [ 18 18 # TODO be better with condition 19 19 "--cpu=arm1176jzf-s" 20 20 ] ++ [ ··· 47 47 "--disable-debug" 48 48 "--arch=${stdenv.hostPlatform.parsed.cpu.name}" 49 49 "--target_os=${stdenv.hostPlatform.parsed.kernel.name}" 50 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 50 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 51 51 "--cross-prefix=${stdenv.cc.targetPrefix}" 52 52 "--enable-cross-compile" 53 53 ]; ··· 80 80 meta = { 81 81 homepage = "https://github.com/huceke/omxplayer"; 82 82 description = "Commandline OMX player for the Raspberry Pi"; 83 - license = stdenv.lib.licenses.gpl2Plus; 84 - platforms = stdenv.lib.platforms.arm; 83 + license = lib.licenses.gpl2Plus; 84 + platforms = lib.platforms.arm; 85 85 }; 86 86 }
+2 -2
pkgs/applications/video/openshot-qt/default.nix
··· 32 32 wrapProgram $out/bin/openshot-qt \ 33 33 '' 34 34 # Fix toolbar icons on Darwin 35 - + stdenv.lib.optionalString stdenv.isDarwin '' 36 - --suffix QT_PLUGIN_PATH : "${stdenv.lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \ 35 + + lib.optionalString stdenv.isDarwin '' 36 + --suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \ 37 37 '' 38 38 + '' 39 39 "''${gappsWrapperArgs[@]}" \
+2 -2
pkgs/applications/video/openshot-qt/libopenshot-audio.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, cmake, doxygen 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, cmake, doxygen 2 2 , alsaLib, libX11, libXft, libXrandr, libXinerama, libXext, libXcursor 3 3 , zlib, AGL, Cocoa, Foundation 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 stdenv.mkDerivation rec { 8 8 pname = "libopenshot-audio"; 9 9 version = "0.2.0";
+2 -2
pkgs/applications/video/openshot-qt/libopenshot.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch 1 + { lib, stdenv, fetchFromGitHub, fetchpatch 2 2 , pkgconfig, cmake, doxygen 3 3 , libopenshot-audio, imagemagick, ffmpeg_3 4 4 , swig, python3 ··· 7 7 , llvmPackages 8 8 }: 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 stdenv.mkDerivation rec { 12 12 pname = "libopenshot"; 13 13 version = "0.2.5";
+4 -4
pkgs/applications/video/p2pvc/default.nix
··· 1 - { stdenv, pkgconfig, fetchFromGitHub, opencv2, ncurses, portaudio }: 1 + { lib, stdenv, pkgconfig, fetchFromGitHub, opencv2, ncurses, portaudio }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "p2pvc"; ··· 20 20 meta = { 21 21 description = "A point to point color terminal video chat"; 22 22 homepage = "https://github.com/mofarrell/p2pvc"; 23 - license = stdenv.lib.licenses.mit; 24 - maintainers = with stdenv.lib.maintainers; [ trino ]; 25 - platforms = with stdenv.lib.platforms; linux; 23 + license = lib.licenses.mit; 24 + maintainers = with lib.maintainers; [ trino ]; 25 + platforms = with lib.platforms; linux; 26 26 }; 27 27 }
+1 -1
pkgs/applications/video/peek/default.nix
··· 66 66 ''; 67 67 68 68 preFixup = '' 69 - gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ which ffmpeg_3 gifski ]}) 69 + gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ which ffmpeg_3 gifski ]}) 70 70 ''; 71 71 72 72 passthru = {
+1 -1
pkgs/applications/video/pitivi/default.nix
··· 27 27 format = "other"; 28 28 29 29 src = fetchurl { 30 - url = "mirror://gnome/sources/pitivi/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 + url = "mirror://gnome/sources/pitivi/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 31 sha256 = "0hzvv4wia4rk0kvq16y27imq2qd4q5lg3vx99hdcjdb1x3zqqfg0"; 32 32 }; 33 33
+2 -2
pkgs/applications/video/qstopmotion/default.nix
··· 74 74 animation to different video formats such as mpeg or avi. 75 75 ''; 76 76 77 - license = stdenv.lib.licenses.gpl2Plus; 77 + license = lib.licenses.gpl2Plus; 78 78 maintainers = [ maintainers.leenaars ]; 79 79 broken = stdenv.isAarch64; 80 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 80 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 81 81 }; 82 82 }
+3 -3
pkgs/applications/video/quvi/library.nix
··· 1 - { stdenv, fetchurl, pkgconfig, lua5, curl, quvi_scripts, libproxy, libgcrypt, glib }: 1 + { lib, stdenv, fetchurl, pkgconfig, lua5, curl, quvi_scripts, libproxy, libgcrypt, glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libquvi"; ··· 15 15 meta = { 16 16 description = "Web video downloader"; 17 17 homepage = "http://quvi.sf.net"; 18 - license = stdenv.lib.licenses.lgpl21Plus; 19 - platforms = stdenv.lib.platforms.linux; 18 + license = lib.licenses.lgpl21Plus; 19 + platforms = lib.platforms.linux; 20 20 maintainers = [ ]; 21 21 }; 22 22 }
+3 -3
pkgs/applications/video/quvi/scripts.nix
··· 1 - {stdenv, fetchurl, pkgconfig}: 1 + {lib, stdenv, fetchurl, pkgconfig}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "quvi-scripts"; ··· 14 14 meta = { 15 15 description = "Web video downloader"; 16 16 homepage = "http://quvi.sf.net"; 17 - license = stdenv.lib.licenses.lgpl21Plus; 18 - platforms = stdenv.lib.platforms.linux; 17 + license = lib.licenses.lgpl21Plus; 18 + platforms = lib.platforms.linux; 19 19 maintainers = [ ]; 20 20 }; 21 21 }
+3 -3
pkgs/applications/video/quvi/tool.nix
··· 1 - {stdenv, fetchurl, pkgconfig, lua5, curl, quvi_scripts, libquvi, lua5_sockets, glib, makeWrapper}: 1 + {lib, stdenv, fetchurl, pkgconfig, lua5, curl, quvi_scripts, libquvi, lua5_sockets, glib, makeWrapper}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "quvi"; ··· 18 18 meta = { 19 19 description = "Web video downloader"; 20 20 homepage = "http://quvi.sf.net"; 21 - license = stdenv.lib.licenses.lgpl21Plus; 22 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.lgpl21Plus; 22 + platforms = lib.platforms.linux; 23 23 maintainers = [ ]; 24 24 }; 25 25 }
+3 -3
pkgs/applications/video/shotcut/default.nix
··· 21 21 , common-updater-scripts 22 22 }: 23 23 24 - assert stdenv.lib.versionAtLeast mlt.version "6.22.1"; 24 + assert lib.versionAtLeast mlt.version "6.22.1"; 25 25 26 26 mkDerivation rec { 27 27 pname = "shotcut"; ··· 52 52 53 53 NIX_CFLAGS_COMPILE = "-I${mlt.dev}/include/mlt++ -I${mlt.dev}/include/mlt"; 54 54 qmakeFlags = [ 55 - "QMAKE_LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease" 55 + "QMAKE_LRELEASE=${lib.getDev qttools}/bin/lrelease" 56 56 "SHOTCUT_VERSION=${version}" 57 57 "DEFINES+=SHOTCUT_NOUPGRADE" 58 58 ]; ··· 68 68 qtWrapperArgs = [ 69 69 "--prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1" 70 70 "--prefix LADSPA_PATH : ${ladspaPlugins}/lib/ladspa" 71 - "--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL2 ]}" 71 + "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ jack1 SDL2 ]}" 72 72 "--prefix PATH : ${mlt}/bin" 73 73 ]; 74 74
+2 -2
pkgs/applications/video/sub-batch/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , rustPlatform 4 4 }: ··· 17 17 18 18 cargoSha256 = "sha256-l+BTF9PGb8bG8QHhNCoBsrsVX8nlRjPlaea1ESFfMW0="; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "Match and rename subtitle files to video files and perform other batch operations on subtitle files"; 22 22 homepage = "https://github.com/kl/sub-batch"; 23 23 license = licenses.mit;
+5 -5
pkgs/applications/video/subdl/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3 }: 1 + { lib, stdenv, fetchFromGitHub, python3 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "subdl-0.0pre.2017.11.06"; ··· 13 13 meta = { 14 14 homepage = "https://github.com/alexanderwink/subdl"; 15 15 description = "A command-line tool to download subtitles from opensubtitles.org"; 16 - platforms = stdenv.lib.platforms.all; 17 - license = stdenv.lib.licenses.gpl3; 18 - maintainers = [ stdenv.lib.maintainers.exfalso ]; 16 + platforms = lib.platforms.all; 17 + license = lib.licenses.gpl3; 18 + maintainers = [ lib.maintainers.exfalso ]; 19 19 }; 20 20 21 21 buildInputs = [ python3 ]; 22 22 23 23 installPhase = '' 24 24 install -vD subdl $out/bin/subdl 25 - ''; 25 + ''; 26 26 }
+4 -4
pkgs/applications/video/subtitleeditor/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, intltool, file, 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, intltool, file, 2 2 desktop-file-utils, enchant, gtk3, gtkmm3, gst_all_1, hicolor-icon-theme, 3 3 libsigcxx, libxmlxx, xdg_utils, isocodes, wrapGAppsHook 4 4 }: ··· 60 60 makes it easier to synchronise subtitles to voices. 61 61 ''; 62 62 homepage = "http://kitone.github.io/subtitleeditor/"; 63 - license = stdenv.lib.licenses.gpl3Plus; 64 - platforms = stdenv.lib.platforms.linux; 65 - maintainers = [ stdenv.lib.maintainers.plcplc ]; 63 + license = lib.licenses.gpl3Plus; 64 + platforms = lib.platforms.linux; 65 + maintainers = [ lib.maintainers.plcplc ]; 66 66 }; 67 67 }
+1 -1
pkgs/applications/video/tartube/default.nix
··· 63 63 doCheck = false; 64 64 65 65 makeWrapperArgs = [ 66 - "--prefix PATH : ${stdenv.lib.makeBinPath [ youtube-dl ]}" 66 + "--prefix PATH : ${lib.makeBinPath [ youtube-dl ]}" 67 67 ]; 68 68 69 69 meta = with lib; {
+2 -2
pkgs/applications/video/vcs/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper 1 + { lib, stdenv, fetchurl, makeWrapper 2 2 , coreutils, ffmpeg, gawk, gnugrep, gnused, imagemagick, mplayer, util-linux 3 3 , dejavu_fonts 4 4 }: 5 - with stdenv.lib; 5 + with lib; 6 6 let 7 7 version = "1.13.4"; 8 8 runtimeDeps = [ coreutils ffmpeg gawk gnugrep gnused imagemagick mplayer util-linux ];
+1 -1
pkgs/applications/video/vdr/plugins.nix
··· 18 18 buildInputs = oldAttr.buildInputs ++ [ ncurses ]; 19 19 }); 20 20 21 - inherit (stdenv.lib.genAttrs [ 21 + inherit (lib.genAttrs [ 22 22 "epgtableid0" "hello" "osddemo" "pictures" "servicedemo" "status" "svdrpdemo" 23 23 ] mkPlugin); 24 24
+1 -1
pkgs/applications/video/vlc/default.nix
··· 19 19 # If your firewall is enabled, make sure to have something like: 20 20 # networking.firewall.allowedTCPPorts = [ 8010 ]; 21 21 22 - with stdenv.lib; 22 + with lib; 23 23 24 24 assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null && wrapQtAppsHook != null); 25 25
+4 -4
pkgs/applications/video/w_scan/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "w_scan"; ··· 12 12 meta = { 13 13 description = "Small CLI utility to scan DVB and ATSC transmissions"; 14 14 homepage = "http://wirbel.htpc-forum.de/w_scan/index_en.html"; 15 - platforms = stdenv.lib.platforms.linux; 16 - maintainers = [ stdenv.lib.maintainers.nico202 ] ; 17 - license = stdenv.lib.licenses.gpl2; 15 + platforms = lib.platforms.linux; 16 + maintainers = [ lib.maintainers.nico202 ] ; 17 + license = lib.licenses.gpl2; 18 18 }; 19 19 }
+1 -1
pkgs/applications/video/webtorrent_desktop/default.nix
··· 6 6 }: 7 7 8 8 let 9 - rpath = stdenv.lib.makeLibraryPath ([ 9 + rpath = lib.makeLibraryPath ([ 10 10 alsaLib 11 11 atk 12 12 at-spi2-core
+1 -1
pkgs/applications/video/wxcam/default.nix
··· 21 21 sha256 = "1765bvc65fpzn9ycnnj5hais9xkx9v0sm6a878d35x54bpanr859"; 22 22 }; 23 23 24 - buildInputs = with stdenv.lib; 24 + buildInputs = with lib; 25 25 [ pkgconfig intltool libX11 libXv libSM gtk libglade wxGTK perlPackages.XMLParser xvidcore mjpegtools alsaLib libv4l cimg ]; 26 26 27 27 NIX_CFLAGS_COMPILE="-I ${cimg}/include/cimg";
+4 -4
pkgs/applications/video/xawtv/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , ncurses 4 4 , libjpeg ··· 56 56 57 57 meta = { 58 58 description = "TV application for Linux with apps and tools such as a teletext browser"; 59 - license = stdenv.lib.licenses.gpl2; 59 + license = lib.licenses.gpl2; 60 60 homepage = "https://www.kraxel.org/blog/linux/xawtv/"; 61 - maintainers = with stdenv.lib.maintainers; [ domenkozar ]; 62 - platforms = stdenv.lib.platforms.linux; 61 + maintainers = with lib.maintainers; [ domenkozar ]; 62 + platforms = lib.platforms.linux; 63 63 }; 64 64 }
+1 -1
pkgs/applications/video/xscast/default.nix
··· 21 21 patchShebangs $out/bin 22 22 23 23 wrapProgram "$out/bin/xscast" \ 24 - --prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg_3 dzen2 xorg.xwininfo xorg.xinput xorg.xmodmap imagemagick ]} 24 + --prefix PATH : ${lib.makeBinPath [ ffmpeg_3 dzen2 xorg.xwininfo xorg.xinput xorg.xmodmap imagemagick ]} 25 25 26 26 runHook postInstall 27 27 '';
+1 -1
pkgs/applications/video/xvidcap/default.nix
··· 24 24 meta = with lib; { 25 25 description = "Screencast video catpuring tool"; 26 26 homepage = "http://xvidcap.sourceforge.net/"; 27 - license = stdenv.lib.licenses.gpl2; 27 + license = lib.licenses.gpl2; 28 28 platforms = platforms.linux; 29 29 }; 30 30 }
+3 -3
pkgs/applications/virtualization/8086tiny/default.nix
··· 16 16 sha256 = "00aydg8f28sgy8l3rd2a7jvp56lx3b63hhak43p7g7vjdikv495w"; 17 17 }; 18 18 19 - buildInputs = with stdenv.lib; 19 + buildInputs = with lib; 20 20 optionals localBios [ nasm ] 21 21 ++ optionals sdlSupport [ SDL ]; 22 - 22 + 23 23 bios = localBios; 24 - 24 + 25 25 builder = ./builder.sh; 26 26 27 27 meta = with lib; {
+1 -1
pkgs/applications/virtualization/OVMF/default.nix
··· 59 59 meta = { 60 60 description = "Sample UEFI firmware for QEMU and KVM"; 61 61 homepage = "https://github.com/tianocore/tianocore.github.io/wiki/OVMF"; 62 - license = stdenv.lib.licenses.bsd2; 62 + license = lib.licenses.bsd2; 63 63 platforms = ["x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin"]; 64 64 }; 65 65 }
+2 -2
pkgs/applications/virtualization/bochs/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , pkgconfig, libtool 3 3 , gtk2, libGLU, libGL, readline, libX11, libXpm 4 4 , docbook_xml_dtd_45, docbook_xsl ··· 15 15 assert wgetSupport -> (wget != null); 16 16 assert curlSupport -> (curl != null); 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 stdenv.mkDerivation rec { 20 20 21 21 pname = "bochs";
+5 -5
pkgs/applications/virtualization/charliecloud/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3, python3Packages, docker, autoreconfHook, coreutils, makeWrapper, gnused, gnutar, gzip, findutils, sudo, nixosTests }: 1 + { lib, stdenv, fetchFromGitHub, python3, python3Packages, docker, autoreconfHook, coreutils, makeWrapper, gnused, gnutar, gzip, findutils, sudo, nixosTests }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 38 38 # Here we wrap those deps so they are resolved inside nixpkgs. 39 39 postInstall = '' 40 40 for file in $out/bin/* ; do \ 41 - wrapProgram $file --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils docker gnused gnutar gzip findutils sudo ]} 41 + wrapProgram $file --prefix PATH : ${lib.makeBinPath [ coreutils docker gnused gnutar gzip findutils sudo ]} 42 42 done 43 43 ''; 44 44 ··· 54 54 on offer. 55 55 ''; 56 56 homepage = "https://hpc.github.io/charliecloud"; 57 - license = stdenv.lib.licenses.asl20; 58 - maintainers = [ stdenv.lib.maintainers.bzizou ]; 59 - platforms = stdenv.lib.platforms.linux; 57 + license = lib.licenses.asl20; 58 + maintainers = [ lib.maintainers.bzizou ]; 59 + platforms = lib.platforms.linux; 60 60 }; 61 61 62 62 }
+1 -1
pkgs/applications/virtualization/conmon/default.nix
··· 20 20 21 21 nativeBuildInputs = [ pkg-config ]; 22 22 buildInputs = [ glib systemd ] 23 - ++ stdenv.lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ]; 23 + ++ lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ]; 24 24 25 25 # manpage requires building the vendored go-md2man 26 26 makeFlags = [ "bin/conmon" ];
+1 -1
pkgs/applications/virtualization/cri-o/default.nix
··· 37 37 libseccomp 38 38 libselinux 39 39 lvm2 40 - ] ++ stdenv.lib.optionals (glibc != null) [ glibc glibc.static ]; 40 + ] ++ lib.optionals (glibc != null) [ glibc glibc.static ]; 41 41 42 42 BUILDTAGS = "apparmor seccomp selinux containers_image_openpgp containers_image_ostree_stub"; 43 43 buildPhase = ''
+2 -2
pkgs/applications/virtualization/docker-compose/default.nix
··· 25 25 ipaddress jsonschema requests six texttable websocket_client 26 26 docopt cached-property paramiko distro python-dotenv 27 27 ] ++ 28 - stdenv.lib.optional (pythonOlder "3.4") enum34 ++ 29 - stdenv.lib.optional (pythonOlder "3.2") functools32; 28 + lib.optional (pythonOlder "3.4") enum34 ++ 29 + lib.optional (pythonOlder "3.2") functools32; 30 30 31 31 postPatch = '' 32 32 # Remove upper bound on requires, see also
+1 -1
pkgs/applications/virtualization/docker/gc.nix
··· 20 20 cp docker-gc $out/bin 21 21 chmod +x $out/bin/docker-gc 22 22 wrapProgram $out/bin/docker-gc \ 23 - --prefix PATH : "${stdenv.lib.makeBinPath [ docker coreutils procps gnused findutils gnugrep ]}" 23 + --prefix PATH : "${lib.makeBinPath [ docker coreutils procps gnused findutils gnugrep ]}" 24 24 ''; 25 25 26 26 meta = {
+1 -1
pkgs/applications/virtualization/driver/win-pvdrivers/default.nix
··· 12 12 13 13 buildPhase = 14 14 let unpack = x: "tar xf $src/${x}.tar; mkdir -p x86/${x} amd64/${x}; cp ${x}/x86/* x86/${x}/.; cp ${x}/x64/* amd64/${x}/."; 15 - in stdenv.lib.concatStringsSep "\n" (map unpack ["xenbus" "xeniface" "xenvif" "xennet" "xenvbd"]); 15 + in lib.concatStringsSep "\n" (map unpack ["xenbus" "xeniface" "xenvif" "xennet" "xenvbd"]); 16 16 17 17 installPhase = '' 18 18 mkdir -p $out
+1 -1
pkgs/applications/virtualization/driver/win-virtio/default.nix
··· 25 25 {input="viorng"; output="viorng";} 26 26 ]; 27 27 in 28 - stdenv.lib.concatStringsSep "\n" ((map (copy "amd64" "w8.1") virtio) ++ (map (copy "x86" "w8.1") virtio)); 28 + lib.concatStringsSep "\n" ((map (copy "amd64" "w8.1") virtio) ++ (map (copy "x86" "w8.1") virtio)); 29 29 30 30 meta = with lib; { 31 31 description = "Windows VirtIO Drivers";
+1 -1
pkgs/applications/virtualization/gvisor/default.nix
··· 87 87 88 88 # Needed for the 'runsc do' subcomand 89 89 wrapProgram $out/bin/runsc \ 90 - --prefix PATH : ${stdenv.lib.makeBinPath [ iproute iptables procps ]} 90 + --prefix PATH : ${lib.makeBinPath [ iproute iptables procps ]} 91 91 ''; 92 92 }; 93 93
+2 -2
pkgs/applications/virtualization/podman/default.nix
··· 33 33 34 34 nativeBuildInputs = [ pkg-config go-md2man installShellFiles ]; 35 35 36 - buildInputs = stdenv.lib.optionals stdenv.isLinux [ 36 + buildInputs = lib.optionals stdenv.isLinux [ 37 37 btrfs-progs 38 38 gpgme 39 39 libapparmor ··· 51 51 make docs 52 52 ''; 53 53 54 - installPhase = stdenv.lib.optionalString stdenv.isDarwin '' 54 + installPhase = lib.optionalString stdenv.isDarwin '' 55 55 mv bin/{podman-remote,podman} 56 56 '' + '' 57 57 install -Dm555 bin/podman $out/bin/podman
+3 -3
pkgs/applications/virtualization/qboot/default.nix
··· 1 - { stdenv, meson, ninja, fetchFromGitHub, nixosTests }: 1 + { lib, stdenv, meson, ninja, fetchFromGitHub, nixosTests }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "qboot-20200423"; ··· 24 24 meta = { 25 25 description = "A simple x86 firmware for booting Linux"; 26 26 homepage = "https://github.com/bonzini/qboot"; 27 - license = stdenv.lib.licenses.gpl2; 28 - maintainers = with stdenv.lib.maintainers; [ tstrobel ]; 27 + license = lib.licenses.gpl2; 28 + maintainers = with lib.maintainers; [ tstrobel ]; 29 29 platforms = ["x86_64-linux" "i686-linux"]; 30 30 }; 31 31 }
+5 -5
pkgs/applications/virtualization/qemu/default.nix
··· 29 29 , nixosTestRunner ? false 30 30 }: 31 31 32 - with stdenv.lib; 32 + with lib; 33 33 let 34 34 audio = optionalString alsaSupport "alsa," 35 35 + optionalString pulseSupport "pa," ··· 40 40 stdenv.mkDerivation rec { 41 41 version = "5.1.0"; 42 42 pname = "qemu" 43 - + stdenv.lib.optionalString xenSupport "-xen" 44 - + stdenv.lib.optionalString hostCpuOnly "-host-cpu-only" 45 - + stdenv.lib.optionalString nixosTestRunner "-for-vm-tests"; 43 + + lib.optionalString xenSupport "-xen" 44 + + lib.optionalString hostCpuOnly "-host-cpu-only" 45 + + lib.optionalString nixosTestRunner "-for-vm-tests"; 46 46 47 47 src = fetchurl { 48 48 url= "https://download.qemu.org/qemu-${version}.tar.xz"; ··· 138 138 ++ optional smartcardSupport "--enable-smartcard" 139 139 ++ optional spiceSupport "--enable-spice" 140 140 ++ optional usbredirSupport "--enable-usb-redir" 141 - ++ optional (hostCpuTargets != null) "--target-list=${stdenv.lib.concatStringsSep "," hostCpuTargets}" 141 + ++ optional (hostCpuTargets != null) "--target-list=${lib.concatStringsSep "," hostCpuTargets}" 142 142 ++ optional stdenv.isDarwin "--enable-cocoa" 143 143 ++ optional stdenv.isDarwin "--enable-hvf" 144 144 ++ optional stdenv.isLinux "--enable-linux-aio"
+1 -1
pkgs/applications/virtualization/qtemu/default.nix
··· 30 30 install -D -t $out/bin qtemu 31 31 32 32 # make sure that the qemu-* executables are found 33 - wrapProgram $out/bin/qtemu --prefix PATH : ${stdenv.lib.makeBinPath [ qemu ]} 33 + wrapProgram $out/bin/qtemu --prefix PATH : ${lib.makeBinPath [ qemu ]} 34 34 35 35 runHook postInstall 36 36 '';
+3 -3
pkgs/applications/virtualization/singularity/default.nix
··· 39 39 cd go/src/github.com/sylabs/singularity 40 40 41 41 patchShebangs . 42 - sed -i 's|defaultPath := "[^"]*"|defaultPath := "${stdenv.lib.makeBinPath propagatedBuildInputs}"|' cmd/internal/cli/actions.go 42 + sed -i 's|defaultPath := "[^"]*"|defaultPath := "${lib.makeBinPath propagatedBuildInputs}"|' cmd/internal/cli/actions.go 43 43 44 44 ./mconfig -V ${version} -p $out --localstatedir=/var 45 45 ··· 59 59 chmod 755 $out/libexec/singularity/bin/starter-suid 60 60 61 61 # Explicitly configure paths in the config file 62 - sed -i 's|^# mksquashfs path =.*$|mksquashfs path = ${stdenv.lib.makeBinPath [squashfsTools]}/mksquashfs|' $out/etc/singularity/singularity.conf 63 - sed -i 's|^# cryptsetup path =.*$|cryptsetup path = ${stdenv.lib.makeBinPath [cryptsetup]}/cryptsetup|' $out/etc/singularity/singularity.conf 62 + sed -i 's|^# mksquashfs path =.*$|mksquashfs path = ${lib.makeBinPath [squashfsTools]}/mksquashfs|' $out/etc/singularity/singularity.conf 63 + sed -i 's|^# cryptsetup path =.*$|cryptsetup path = ${lib.makeBinPath [cryptsetup]}/cryptsetup|' $out/etc/singularity/singularity.conf 64 64 65 65 runHook postInstall 66 66 '';
+4 -4
pkgs/applications/virtualization/spice-vdagent/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, alsaLib, spice-protocol, glib, 1 + {lib, stdenv, fetchurl, pkgconfig, alsaLib, spice-protocol, glib, 2 2 libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus, libdrm, 3 3 systemd}: 4 4 stdenv.mkDerivation rec { ··· 29 29 * Multiple displays 30 30 ''; 31 31 homepage = "https://www.spice-space.org/"; 32 - license = stdenv.lib.licenses.gpl3; 33 - maintainers = [ stdenv.lib.maintainers.aboseley ]; 34 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.gpl3; 33 + maintainers = [ lib.maintainers.aboseley ]; 34 + platforms = lib.platforms.linux; 35 35 }; 36 36 }
+4 -4
pkgs/applications/virtualization/tinyemu/default.nix
··· 1 - { stdenv, fetchurl, openssl, curl, SDL }: 1 + { lib, stdenv, fetchurl, openssl, curl, SDL }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tinyemu"; ··· 16 16 homepage = "https://bellard.org/tinyemu/"; 17 17 description = "A system emulator for the RISC-V and x86 architectures"; 18 18 longDescription = "TinyEMU is a system emulator for the RISC-V and x86 architectures. Its purpose is to be small and simple while being complete."; 19 - license = with stdenv.lib.licenses; [ mit bsd2 ]; 20 - platforms = stdenv.lib.platforms.linux; 21 - maintainers = with stdenv.lib.maintainers; [ jhhuh ]; 19 + license = with lib.licenses; [ mit bsd2 ]; 20 + platforms = lib.platforms.linux; 21 + maintainers = with lib.maintainers; [ jhhuh ]; 22 22 }; 23 23 }
+1 -1
pkgs/applications/virtualization/virt-manager/default.nix
··· 7 7 , cpio, e2fsprogs, findutils, gzip 8 8 }: 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 python3Packages.buildPythonApplication rec { 13 13 pname = "virt-manager";
+2 -2
pkgs/applications/virtualization/virt-viewer/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, shared-mime-info, wrapGAppsHook 1 + { lib, stdenv, fetchurl, pkgconfig, intltool, shared-mime-info, wrapGAppsHook 2 2 , glib, gsettings-desktop-schemas, gtk-vnc, gtk3, libvirt, libvirt-glib, libxml2, vte 3 3 , spiceSupport ? true 4 4 , spice-gtk ? null, spice-protocol ? null, libcap ? null, gdbm ? null ··· 7 7 assert spiceSupport -> 8 8 spice-gtk != null && spice-protocol != null && libcap != null && gdbm != null; 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 stdenv.mkDerivation rec { 13 13 baseName = "virt-viewer";
+5 -5
pkgs/applications/virtualization/virtinst/default.nix
··· 1 - { stdenv, fetchurl, python2Packages, intltool, libxml2Python }: 1 + { lib, stdenv, fetchurl, python2Packages, intltool, libxml2Python }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 let version = "0.600.4"; in 6 6 ··· 39 39 40 40 meta = { 41 41 homepage = "http://virt-manager.org"; 42 - license = stdenv.lib.licenses.gpl2Plus; 43 - maintainers = with stdenv.lib.maintainers; [qknight]; 42 + license = lib.licenses.gpl2Plus; 43 + maintainers = with lib.maintainers; [qknight]; 44 44 description = "Command line tool which provides an easy way to provision operating systems into virtual machines"; 45 - platforms = with stdenv.lib.platforms; linux; 45 + platforms = with lib.platforms; linux; 46 46 }; 47 47 }
+1 -1
pkgs/applications/virtualization/virtualbox/default.nix
··· 16 16 , enable32bitGuests ? true 17 17 }: 18 18 19 - with stdenv.lib; 19 + with lib; 20 20 21 21 let 22 22 python = python3;
+1 -1
pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
··· 3 3 4 4 let 5 5 version = virtualbox.version; 6 - xserverVListFunc = builtins.elemAt (stdenv.lib.splitVersion xorg.xorgserver.version); 6 + xserverVListFunc = builtins.elemAt (lib.splitVersion xorg.xorgserver.version); 7 7 8 8 # Forced to 1.18 in <nixpkgs/nixos/modules/services/x11/xserver.nix> 9 9 # as it even fails to build otherwise. Still, override this even here,
+5 -5
pkgs/applications/virtualization/x11docker/default.nix
··· 1 - { stdenv, fetchFromGitHub, makeWrapper, nx-libs, xorg, getopt, gnugrep, gawk, ps, mount, iproute }: 1 + { lib, stdenv, fetchFromGitHub, makeWrapper, nx-libs, xorg, getopt, gnugrep, gawk, ps, mount, iproute }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "x11docker"; 4 4 version = "6.6.2"; ··· 16 16 installPhase = '' 17 17 install -D x11docker "$out/bin/x11docker"; 18 18 wrapProgram "$out/bin/x11docker" \ 19 - --prefix PATH : "${stdenv.lib.makeBinPath [ getopt gnugrep gawk ps mount iproute nx-libs xorg.xdpyinfo xorg.xhost xorg.xinit ]}" 19 + --prefix PATH : "${lib.makeBinPath [ getopt gnugrep gawk ps mount iproute nx-libs xorg.xdpyinfo xorg.xhost xorg.xinit ]}" 20 20 ''; 21 21 22 22 meta = { 23 23 description = "Run graphical applications with Docker"; 24 24 homepage = "https://github.com/mviereck/x11docker"; 25 - license = stdenv.lib.licenses.mit; 26 - maintainers = with stdenv.lib.maintainers; [ jD91mZM2 ]; 27 - platforms = stdenv.lib.platforms.linux; 25 + license = lib.licenses.mit; 26 + maintainers = with lib.maintainers; [ jD91mZM2 ]; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+2 -2
pkgs/applications/virtualization/xen/4.10.nix
··· 1 - { stdenv, callPackage, fetchurl, fetchpatch, fetchgit 1 + { lib, stdenv, callPackage, fetchurl, fetchpatch, fetchgit 2 2 , ocaml-ng 3 3 , withInternalQemu ? true 4 4 , withInternalTraditionalQemu ? true ··· 16 16 assert withInternalSeabios -> !withSeabios; 17 17 assert withInternalOVMF -> !withOVMF; 18 18 19 - with stdenv.lib; 19 + with lib; 20 20 21 21 # Patching XEN? Check the XSAs at 22 22 # https://xenbits.xen.org/xsa/
+4 -4
pkgs/applications/virtualization/xen/generic.nix
··· 1 1 config: 2 - { stdenv, cmake, pkg-config, which 2 + { lib, stdenv, cmake, pkg-config, which 3 3 4 4 # Xen 5 5 , bison, bzip2, checkpolicy, dev86, figlet, flex, gettext, glib ··· 24 24 25 25 , ...} @ args: 26 26 27 - with stdenv.lib; 27 + with lib; 28 28 29 29 let 30 30 #TODO: fix paths instead ··· 252 252 + "\nIncludes:\n" 253 253 + withXenfiles (name: x: ''* ${name}: ${x.meta.description or "(No description)"}.''); 254 254 platforms = [ "x86_64-linux" ]; 255 - maintainers = with stdenv.lib.maintainers; [ eelco tstrobel oxij ]; 256 - license = stdenv.lib.licenses.gpl2; 255 + maintainers = with lib.maintainers; [ eelco tstrobel oxij ]; 256 + license = lib.licenses.gpl2; 257 257 } // (config.meta or {}); 258 258 } // removeAttrs config [ "xenfiles" "buildInputs" "patches" "postPatch" "meta" ])