Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
f46cb850 2445824f

+2951 -2714
+2
nixos/modules/tasks/filesystems/zfs.nix
··· 664 664 # - There are only HDDs and we would set the system in a degraded state 665 665 serviceConfig.ExecStart = ''${pkgs.runtimeShell} -c 'for pool in $(zpool list -H -o name); do zpool trim $pool; done || true' ''; 666 666 }; 667 + 668 + systemd.timers.zpool-trim.timerConfig.Persistent = "yes"; 667 669 }) 668 670 ]; 669 671 }
+1 -1
nixos/modules/virtualisation/azure-agent.nix
··· 146 146 147 147 services.logrotate = { 148 148 enable = true; 149 - config = '' 149 + extraConfig = '' 150 150 /var/log/waagent.log { 151 151 compress 152 152 monthly
+1 -1
pkgs/applications/accessibility/mousetweaks/default.nix
··· 8 8 version = "3.32.0"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "005fhmvb45sa9mq17dpa23n1xnspiissx5rnpiy7hiqmy3g5rg8f"; 13 13 }; 14 14
+4 -4
pkgs/applications/audio/AMB-plugins/default.nix
··· 1 - { stdenv, fetchurl, ladspaH 1 + { lib, stdenv, fetchurl, ladspaH 2 2 }: 3 3 4 4 stdenv.mkDerivation rec { ··· 26 26 ''; 27 27 version = version; 28 28 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html"; 29 - license = stdenv.lib.licenses.gpl2Plus; 30 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 31 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.gpl2Plus; 30 + maintainers = [ lib.maintainers.magnetophon ]; 31 + platforms = lib.platforms.linux; 32 32 }; 33 33 }
+4 -4
pkgs/applications/audio/FIL-plugins/default.nix
··· 1 - { stdenv, fetchurl, ladspaH 1 + { lib, stdenv, fetchurl, ladspaH 2 2 }: 3 3 4 4 stdenv.mkDerivation rec { ··· 30 30 ''; 31 31 version = version; 32 32 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html"; 33 - license = stdenv.lib.licenses.gpl2Plus; 34 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 35 - platforms = stdenv.lib.platforms.linux; 33 + license = lib.licenses.gpl2Plus; 34 + maintainers = [ lib.maintainers.magnetophon ]; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+4 -4
pkgs/applications/audio/MMA/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, python3, alsaUtils, timidity }: 1 + { lib, stdenv, fetchurl, makeWrapper, python3, alsaUtils, timidity }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "20.12"; ··· 62 62 meta = { 63 63 description = "Creates MIDI tracks for a soloist to perform over from a user supplied file containing chords"; 64 64 homepage = "https://www.mellowood.ca/mma/index.html"; 65 - license = stdenv.lib.licenses.gpl2; 66 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 67 - platforms = stdenv.lib.platforms.linux; 65 + license = lib.licenses.gpl2; 66 + maintainers = [ lib.maintainers.magnetophon ]; 67 + platforms = lib.platforms.linux; 68 68 }; 69 69 }
+1 -1
pkgs/applications/audio/abcde/default.nix
··· 38 38 for cmd in abcde cddb-tool abcde-musicbrainz-tool; do 39 39 wrapProgram "$out/bin/$cmd" \ 40 40 --prefix PERL5LIB : "$PERL5LIB" \ 41 - --prefix PATH ":" ${stdenv.lib.makeBinPath [ 41 + --prefix PATH ":" ${lib.makeBinPath [ 42 42 "$out" which libcdio-paranoia cddiscid wget 43 43 vorbis-tools id3v2 eyeD3 lame flac glyr 44 44 ]}
+4 -4
pkgs/applications/audio/aeolus/default.nix
··· 1 - { stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsaLib, libjack2 1 + { lib, stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsaLib, libjack2 2 2 , libclxclient, libX11, libXft, readline 3 3 }: 4 4 ··· 25 25 meta = { 26 26 description = "Synthetized (not sampled) pipe organ emulator"; 27 27 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html"; 28 - license = stdenv.lib.licenses.lgpl3; 29 - platforms = stdenv.lib.platforms.linux; 30 - maintainers = [ stdenv.lib.maintainers.nico202 ]; 28 + license = lib.licenses.lgpl3; 29 + platforms = lib.platforms.linux; 30 + maintainers = [ lib.maintainers.nico202 ]; 31 31 }; 32 32 }
+1 -1
pkgs/applications/audio/airwave/default.nix
··· 22 22 }; 23 23 nativeBuildInputs = [ unzip ]; 24 24 installPhase = "cp -r . $out"; 25 - meta.license = stdenv.lib.licenses.unfree; 25 + meta.license = lib.licenses.unfree; 26 26 }; 27 27 28 28 wine-wow64 = wine.override {
+4 -4
pkgs/applications/audio/ario/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, gtk3, intltool, 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, gtk3, intltool, 2 2 wrapGAppsHook, libxml2, curl, mpd_clientlib, dbus-glib, 3 3 libsoup, avahi, taglib 4 4 }: ··· 20 20 meta = { 21 21 description = "GTK client for MPD (Music player daemon)"; 22 22 homepage = "http://ario-player.sourceforge.net/"; 23 - license = stdenv.lib.licenses.gpl2Plus; 24 - maintainers = [ stdenv.lib.maintainers.garrison ]; 25 - platforms = stdenv.lib.platforms.all; 23 + license = lib.licenses.gpl2Plus; 24 + maintainers = [ lib.maintainers.garrison ]; 25 + platforms = lib.platforms.all; 26 26 }; 27 27 }
+2 -2
pkgs/applications/audio/asunder/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, gtk2, libcddb, intltool, pkgconfig, cdparanoia 1 + { lib, stdenv, fetchurl, makeWrapper, gtk2, libcddb, intltool, pkgconfig, cdparanoia 2 2 , mp3Support ? false, lame 3 3 , oggSupport ? true, vorbis-tools 4 4 , flacSupport ? true, flac ··· 9 9 #, aacSupport ? false, TODO: neroAacEnc 10 10 }: 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 stdenv.mkDerivation rec { 15 15 version = "2.9.7";
+2 -2
pkgs/applications/audio/aucatctl/default.nix
··· 10 10 }; 11 11 12 12 buildInputs = [ sndio ] 13 - ++ stdenv.lib.optional (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD) 13 + ++ lib.optional (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD) 14 14 libbsd; 15 15 16 16 outputs = [ "out" "man" ]; 17 17 18 18 preBuild = '' 19 19 makeFlagsArray+=("PREFIX=$out") 20 - '' + stdenv.lib.optionalString 20 + '' + lib.optionalString 21 21 (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD) '' 22 22 makeFlagsArray+=(LDADD="-lsndio -lbsd") 23 23
+1 -1
pkgs/applications/audio/audio-recorder/default.nix
··· 23 23 glib dbus gtk3 librsvg libappindicator-gtk3 24 24 ] ++ (with gst_all_1; [ 25 25 gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav 26 - ]) ++ stdenv.lib.optional pulseaudioSupport libpulseaudio; 26 + ]) ++ lib.optional pulseaudioSupport libpulseaudio; 27 27 28 28 meta = with lib; { 29 29 description = "Audio recorder for GNOME and Unity Desktops";
+3 -3
pkgs/applications/audio/aumix/default.nix
··· 1 - {stdenv, fetchurl, gettext, ncurses 1 + {lib, stdenv, fetchurl, gettext, ncurses 2 2 , gtkGUI ? false 3 3 , pkgconfig ? null 4 4 , gtk2 ? null}: ··· 22 22 the command line or a script. 23 23 ''; 24 24 homepage = "http://www.jpj.net/~trevor/aumix.html"; 25 - license = stdenv.lib.licenses.gpl2Plus; 25 + license = lib.licenses.gpl2Plus; 26 26 27 27 maintainers = [ ]; 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+4 -4
pkgs/applications/audio/axoloti/libusb1.nix
··· 12 12 13 13 buildInputs = [ pkgconfig ]; 14 14 propagatedBuildInputs = 15 - stdenv.lib.optional stdenv.isLinux systemd ++ 16 - stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ]; 15 + lib.optional stdenv.isLinux systemd ++ 16 + lib.optionals stdenv.isDarwin [ libobjc IOKit ]; 17 17 18 18 patches = [ 19 19 (fetchpatch { ··· 23 23 }) 24 24 ]; 25 25 26 - NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s"; 26 + NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lgcc_s"; 27 27 28 - preFixup = stdenv.lib.optionalString stdenv.isLinux '' 28 + preFixup = lib.optionalString stdenv.isLinux '' 29 29 sed 's,-ludev,-L${lib.getLib systemd}/lib -ludev,' -i $out/lib/libusb-1.0.la 30 30 ''; 31 31
+1 -1
pkgs/applications/audio/bambootracker/default.nix
··· 13 13 }: 14 14 let 15 15 16 - inherit (stdenv.lib) optional optionals; 16 + inherit (lib) optional optionals; 17 17 18 18 in 19 19 mkDerivation rec {
+1 -1
pkgs/applications/audio/baudline/default.nix
··· 3 3 }: 4 4 5 5 let 6 - rpath = stdenv.lib.makeLibraryPath 6 + rpath = lib.makeLibraryPath 7 7 [ libXmu libXt libX11 libXext libXxf86vm libjack2 ]; 8 8 in 9 9 stdenv.mkDerivation rec {
+2 -2
pkgs/applications/audio/cadence/default.nix
··· 98 98 meta = { 99 99 homepage = "https://github.com/falkTX/Cadence/"; 100 100 description = "Collection of tools useful for audio production"; 101 - license = stdenv.lib.licenses.gpl2Plus; 102 - maintainers = with stdenv.lib.maintainers; [ worldofpeace ]; 101 + license = lib.licenses.gpl2Plus; 102 + maintainers = with lib.maintainers; [ worldofpeace ]; 103 103 platforms = [ "x86_64-linux" ]; 104 104 }; 105 105 }
+4 -4
pkgs/applications/audio/caps/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "caps"; 4 4 version = "0.9.26"; ··· 23 23 resource demands and meaningful control interfaces. 24 24 ''; 25 25 homepage = "http://www.quitte.de/dsp/caps.html"; 26 - license = stdenv.lib.licenses.gpl3; 27 - maintainers = [ stdenv.lib.maintainers.astsmtl ]; 28 - platforms = stdenv.lib.platforms.linux; 26 + license = lib.licenses.gpl3; 27 + maintainers = [ lib.maintainers.astsmtl ]; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+1 -1
pkgs/applications/audio/carla/default.nix
··· 5 5 withGtk2 ? true, gtk2 ? null, 6 6 withGtk3 ? true, gtk3 ? null }: 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 10 10 assert withFrontend -> python3Packages ? pyqt5; 11 11 assert withQt -> qtbase != null;
+2 -2
pkgs/applications/audio/caudec/default.nix
··· 25 25 26 26 postFixup = '' 27 27 for executable in $(cd $out/bin && ls); do 28 - wrapProgram $out/bin/$executable \ 29 - --prefix PATH : "${stdenv.lib.makeBinPath [ bc findutils sox procps opusTools lame flac ]}" 28 + wrapProgram $out/bin/$executable \ 29 + --prefix PATH : "${lib.makeBinPath [ bc findutils sox procps opusTools lame flac ]}" 30 30 done 31 31 ''; 32 32
+1 -1
pkgs/applications/audio/cd-discid/default.nix
··· 13 13 installFlags = [ "PREFIX=$(out)" "INSTALL=install" ]; 14 14 15 15 buildInputs = [] 16 - ++ stdenv.lib.optional stdenv.isDarwin IOKit; 16 + ++ lib.optional stdenv.isDarwin IOKit; 17 17 18 18 meta = with lib; { 19 19 homepage = "http://linukz.org/cd-discid.shtml";
+5 -5
pkgs/applications/audio/cdparanoia/default.nix
··· 8 8 sha256 = "1pv4zrajm46za0f6lv162iqffih57a8ly4pc69f7y0gfyigb8p80"; 9 9 }; 10 10 11 - patches = stdenv.lib.optionals stdenv.isDarwin [ 11 + patches = lib.optionals stdenv.isDarwin [ 12 12 (fetchurl { 13 13 url = "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch"; 14 14 sha256 = "1n86kzm2ssl8fdf5wlhp6ncb2bf6b9xlb5vg0mhc85r69prqzjiy"; ··· 17 17 url = "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"; 18 18 sha256 = "17l2qhn8sh4jy6ryy5si6ll6dndcm0r537rlmk4a6a8vkn852vad"; 19 19 }) 20 - ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./utils.patch 20 + ] ++ lib.optional stdenv.hostPlatform.isMusl ./utils.patch 21 21 ++ [./fix_private_keyword.patch]; 22 22 23 - nativeBuildInputs = stdenv.lib.optional stdenv.isAarch64 autoreconfHook; 23 + nativeBuildInputs = lib.optional stdenv.isAarch64 autoreconfHook; 24 24 25 - propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ 25 + propagatedBuildInputs = lib.optionals stdenv.isDarwin [ 26 26 Carbon 27 27 IOKit 28 28 ]; 29 29 30 30 hardeningDisable = [ "format" ]; 31 31 32 - preConfigure = "unset CC" + stdenv.lib.optionalString stdenv.isAarch64 ''; 32 + preConfigure = "unset CC" + lib.optionalString stdenv.isAarch64 ''; 33 33 cp ${gnu-config}/config.sub configure.sub 34 34 cp ${gnu-config}/config.guess configure.guess 35 35 '';
+4 -4
pkgs/applications/audio/clementine/default.nix
··· 48 48 sqlite 49 49 taglib 50 50 ] 51 - ++ stdenv.lib.optionals (withIpod) [libgpod libplist usbmuxd] 52 - ++ stdenv.lib.optionals (withMTP) [libmtp] 53 - ++ stdenv.lib.optionals (withCD) [libcdio] 54 - ++ stdenv.lib.optionals (withCloud) [sparsehash]; 51 + ++ lib.optionals (withIpod) [libgpod libplist usbmuxd] 52 + ++ lib.optionals (withMTP) [libmtp] 53 + ++ lib.optionals (withCD) [libcdio] 54 + ++ lib.optionals (withCloud) [sparsehash]; 55 55 56 56 postPatch = '' 57 57 sed -i src/CMakeLists.txt \
+1 -1
pkgs/applications/audio/clerk/default.nix
··· 18 18 installPhase = '' 19 19 DESTDIR=$out PREFIX=/ make install 20 20 wrapProgram $out/bin/clerk \ 21 - --prefix PATH : "${stdenv.lib.makeBinPath [ rofi mpc_cli perl util-linux libnotify ]}" 21 + --prefix PATH : "${lib.makeBinPath [ rofi mpc_cli perl util-linux libnotify ]}" 22 22 ''; 23 23 24 24 meta = with lib; {
+3 -3
pkgs/applications/audio/cmus/default.nix
··· 39 39 #, vtxSupport ? true, libayemu ? null 40 40 }: 41 41 42 - with stdenv.lib; 42 + with lib; 43 43 44 44 assert samplerateSupport -> jackSupport; 45 45 ··· 120 120 121 121 nativeBuildInputs = [ pkgconfig ]; 122 122 buildInputs = [ ncurses ] 123 - ++ stdenv.lib.optional stdenv.cc.isClang clangGCC 124 - ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreAudio ] 123 + ++ lib.optional stdenv.cc.isClang clangGCC 124 + ++ lib.optionals stdenv.isDarwin [ libiconv CoreAudio ] 125 125 ++ flatten (concatMap (a: a.deps) opts); 126 126 127 127 makeFlags = [ "LD=$(CC)" ];
+1 -1
pkgs/applications/audio/cmusfm/default.nix
··· 29 29 + Inside cmus run `:set status_display_program=cmusfm` to set up cmusfm 30 30 ''; 31 31 homepage = "https://github.com/Arkq/cmusfm/"; 32 - maintainers = with stdenv.lib.maintainers; [ CharlesHD ]; 32 + maintainers = with lib.maintainers; [ CharlesHD ]; 33 33 license = licenses.gpl3Plus; 34 34 platforms = platforms.linux ++ platforms.darwin; 35 35 };
+4 -4
pkgs/applications/audio/crip/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , makeWrapper 4 4 ··· 16 16 , which 17 17 }: 18 18 19 - with stdenv.lib; 19 + with lib; 20 20 21 21 stdenv.mkDerivation rec { 22 22 name = "crip-3.9"; ··· 60 60 meta = { 61 61 homepage = "http://bach.dynet.com/crip/"; 62 62 description = "Terminal-based ripper/encoder/tagger tool for creating Ogg Vorbis/FLAC files"; 63 - license = stdenv.lib.licenses.gpl1; 64 - platforms = stdenv.lib.platforms.linux; 63 + license = lib.licenses.gpl1; 64 + platforms = lib.platforms.linux; 65 65 maintainers = [ maintainers.endgame ]; 66 66 }; 67 67 }
+4 -4
pkgs/applications/audio/csound/csound-manual/default.nix
··· 1 1 { 2 - stdenv, fetchFromGitHub, docbook_xsl, 2 + lib, stdenv, fetchFromGitHub, docbook_xsl, 3 3 docbook_xml_dtd_45, python, pygments, 4 4 libxslt 5 5 }: ··· 37 37 meta = { 38 38 description = "The Csound Canonical Reference Manual"; 39 39 homepage = "https://github.com/csound/manual"; 40 - license = stdenv.lib.licenses.fdl12Plus; 41 - maintainers = [ stdenv.lib.maintainers.hlolli ]; 42 - platforms = stdenv.lib.platforms.all; 40 + license = lib.licenses.fdl12Plus; 41 + maintainers = [ lib.maintainers.hlolli ]; 42 + platforms = lib.platforms.all; 43 43 }; 44 44 }
+1 -1
pkgs/applications/audio/csound/default.nix
··· 29 29 }; 30 30 31 31 cmakeFlags = [ "-DBUILD_CSOUND_AC=0" ] # fails to find Score.hpp 32 - ++ stdenv.lib.optional (libjack2 != null) "-DJACK_HEADER=${libjack2}/include/jack/jack.h"; 32 + ++ lib.optional (libjack2 != null) "-DJACK_HEADER=${libjack2}/include/jack/jack.h"; 33 33 34 34 nativeBuildInputs = [ cmake flex bison gettext ]; 35 35 buildInputs = [ libsndfile libsamplerate boost ]
+2 -2
pkgs/applications/audio/deadbeef/default.nix
··· 68 68 sha256 = "161b0ll8v4cjgwwmk137hzvh0jidlkx56vjkpnr70f0x4jzv2nll"; 69 69 }; 70 70 71 - buildInputs = with stdenv.lib; [ jansson ] 71 + buildInputs = with lib; [ jansson ] 72 72 ++ optional gtk2Support gtk2 73 73 ++ optionals gtk3Support [ gtk3 gsettings-desktop-schemas ] 74 74 ++ optional vorbisSupport libvorbis ··· 98 98 intltool 99 99 libtool 100 100 pkgconfig 101 - ] ++ stdenv.lib.optional gtk3Support wrapGAppsHook; 101 + ] ++ lib.optional gtk3Support wrapGAppsHook; 102 102 103 103 enableParallelBuilding = true; 104 104
+1 -1
pkgs/applications/audio/easytag/default.nix
··· 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 14 14 sha256 = "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"; 15 15 }; 16 16
+2 -2
pkgs/applications/audio/ecasound/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , pkg-config 4 4 , alsaLib ··· 59 59 60 60 meta = { 61 61 description = "Software package designed for multitrack audio processing"; 62 - license = with stdenv.lib.licenses; [ gpl2 lgpl21 ]; 62 + license = with lib.licenses; [ gpl2 lgpl21 ]; 63 63 homepage = "http://nosignal.fi/ecasound/"; 64 64 }; 65 65 }
+5 -5
pkgs/applications/audio/eflite/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, flite, alsaLib, debug ? false }: 1 + { lib, stdenv, fetchurl, fetchpatch, flite, alsaLib, debug ? false }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "eflite"; ··· 33 33 ./format.patch 34 34 ]; 35 35 36 - CFLAGS = stdenv.lib.optionalString debug " -DDEBUG=2"; 36 + CFLAGS = lib.optionalString debug " -DDEBUG=2"; 37 37 38 38 meta = { 39 39 homepage = "http://eflite.sourceforge.net"; ··· 44 44 a free text-to-speech engine developed at the CMU Speech 45 45 Center as an off-shoot of Festival. 46 46 ''; 47 - license = stdenv.lib.licenses.gpl2; 48 - platforms = stdenv.lib.platforms.linux; 49 - maintainers = with stdenv.lib.maintainers; [ jhhuh ]; 47 + license = lib.licenses.gpl2; 48 + platforms = lib.platforms.linux; 49 + maintainers = with lib.maintainers; [ jhhuh ]; 50 50 }; 51 51 }
+1 -1
pkgs/applications/audio/ekho/default.nix
··· 28 28 sha256 = "0ym6lpcpsvwvsiwlzkl1509a2hljwcw7synngrmqjq1n49ww00nj"; 29 29 }; 30 30 31 - preConfigure = with stdenv.lib; '' 31 + preConfigure = with lib; '' 32 32 NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE ${optionalString stdenv.is64bit "-D_x86_64"}" 33 33 NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -DEKHO_DATA_PATH=\"$out/share/ekho-data\"" 34 34 '';
+4 -4
pkgs/applications/audio/eq10q/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkg-config 1 + { lib, stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkg-config 2 2 , xorg }: 3 3 stdenv.mkDerivation rec { 4 4 pname = "eq10q"; ··· 44 44 Nice GUI with powerful metering for every plugin. 45 45 ''; 46 46 homepage = "http://eq10q.sourceforge.net/"; 47 - license = stdenv.lib.licenses.gpl3; 48 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 49 - platforms = stdenv.lib.platforms.linux; 47 + license = lib.licenses.gpl3; 48 + maintainers = [ lib.maintainers.magnetophon ]; 49 + platforms = lib.platforms.linux; 50 50 }; 51 51 }
+1 -1
pkgs/applications/audio/espeak/edit.nix
··· 38 38 -e "s|@prefix@|$out|" \ 39 39 -i "$file" 40 40 done 41 - '' + stdenv.lib.optionalString (portaudio.api_version == 19) '' 41 + '' + lib.optionalString (portaudio.api_version == 19) '' 42 42 cp src/portaudio19.h src/portaudio.h 43 43 ''; 44 44
+1 -1
pkgs/applications/audio/faust/faust1.nix
··· 5 5 , pkgconfig 6 6 }: 7 7 8 - with stdenv.lib.strings; 8 + with lib.strings; 9 9 10 10 let 11 11
+2 -2
pkgs/applications/audio/faust/faust2.nix
··· 16 16 , which 17 17 }: 18 18 19 - with stdenv.lib.strings; 19 + with lib.strings; 20 20 21 21 let 22 22 ··· 173 173 174 174 propagatedBuildInputs = [ faust ] ++ propagatedBuildInputs; 175 175 176 - libPath = stdenv.lib.makeLibraryPath propagatedBuildInputs; 176 + libPath = lib.makeLibraryPath propagatedBuildInputs; 177 177 178 178 postFixup = '' 179 179
+2 -2
pkgs/applications/audio/fmit/default.nix
··· 1 - { stdenv, mkDerivation, fetchFromGitHub, fftw, qtbase, qtmultimedia, qmake, itstool, wrapQtAppsHook 1 + { lib, stdenv, mkDerivation, fetchFromGitHub, fftw, qtbase, qtmultimedia, qmake, itstool, wrapQtAppsHook 2 2 , alsaSupport ? true, alsaLib ? null 3 3 , jackSupport ? false, libjack2 ? null 4 4 , portaudioSupport ? false, portaudio ? null }: ··· 7 7 assert jackSupport -> libjack2 != null; 8 8 assert portaudioSupport -> portaudio != null; 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 mkDerivation rec { 13 13 pname = "fmit";
+4 -4
pkgs/applications/audio/fmsynth/default.nix
··· 1 - { stdenv, fetchFromGitHub, gtkmm2, lv2, lvtk, pkgconfig }: 1 + { lib, stdenv, fetchFromGitHub, gtkmm2, lv2, lvtk, pkgconfig }: 2 2 stdenv.mkDerivation { 3 3 pname = "fmsynth-unstable"; 4 4 version = "2015-02-07"; ··· 42 42 - Hard real-time constraints 43 43 ''; 44 44 homepage = "https://github.com/Themaister/libfmsynth"; 45 - license = stdenv.lib.licenses.mit; 46 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 47 - platforms = stdenv.lib.platforms.linux; 45 + license = lib.licenses.mit; 46 + maintainers = [ lib.maintainers.magnetophon ]; 47 + platforms = lib.platforms.linux; 48 48 }; 49 49 }
+3 -3
pkgs/applications/audio/freewheeling/default.nix
··· 45 45 '' ; 46 46 47 47 homepage = "http://freewheeling.sourceforge.net"; 48 - license = stdenv.lib.licenses.gpl2; 49 - maintainers = [ stdenv.lib.maintainers.sepi ]; 50 - platforms = stdenv.lib.platforms.linux; 48 + license = lib.licenses.gpl2; 49 + maintainers = [ lib.maintainers.sepi ]; 50 + platforms = lib.platforms.linux; 51 51 }; 52 52 }
+4 -4
pkgs/applications/audio/ft2-clone/default.nix
··· 23 23 }; 24 24 25 25 # Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh) 26 - postPatch = stdenv.lib.optionalString stdenv.isDarwin '' 26 + postPatch = lib.optionalString stdenv.isDarwin '' 27 27 sed -i -e 's@__LINUX_ALSA__@__MACOSX_CORE__@' -e 's@asound@@' CMakeLists.txt 28 28 ''; 29 29 30 30 nativeBuildInputs = [ cmake ]; 31 31 buildInputs = [ SDL2 ] 32 - ++ stdenv.lib.optional stdenv.isLinux alsaLib 33 - ++ stdenv.lib.optionals stdenv.isDarwin [ 32 + ++ lib.optional stdenv.isLinux alsaLib 33 + ++ lib.optionals stdenv.isDarwin [ 34 34 libiconv 35 35 CoreAudio 36 36 CoreMIDI ··· 38 38 Cocoa 39 39 ]; 40 40 41 - NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin [ 41 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin [ 42 42 "-framework CoreAudio" 43 43 "-framework CoreMIDI" 44 44 "-framework CoreServices"
+2 -2
pkgs/applications/audio/gmu/default.nix
··· 1 - {stdenv, fetchurl, SDL, SDL_gfx, SDL_image, tremor, flac, mpg123, libmikmod 1 + {lib, stdenv, fetchurl, SDL, SDL_gfx, SDL_image, tremor, flac, mpg123, libmikmod 2 2 , speex, ncurses 3 3 , keymap ? "default" 4 4 , conf ? "unknown" ··· 26 26 meta = { 27 27 homepage = "http://wejp.k.vu/projects/gmu"; 28 28 description = "Open source music player for portable gaming consoles and handhelds"; 29 - license = stdenv.lib.licenses.gpl2; 29 + license = lib.licenses.gpl2; 30 30 }; 31 31 }
+2 -2
pkgs/applications/audio/goattracker/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , unzip 4 4 , copyDesktopItems ··· 8 8 , isStereo ? false 9 9 }: 10 10 11 - with stdenv.lib; 11 + with lib; 12 12 let 13 13 pname = "goattracker" + optionalString isStereo "-stereo"; 14 14 desktopItem = makeDesktopItem {
+2 -2
pkgs/applications/audio/google-musicmanager/default.nix
··· 50 50 postFixup = '' 51 51 patchelf \ 52 52 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 53 - --set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/minidump_upload):${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \ 53 + --set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/minidump_upload):${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \ 54 54 $out/opt/google/musicmanager/minidump_upload 55 55 56 56 patchelf \ 57 57 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 58 - --set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/MusicManager):$out/lib:${stdenv.lib.makeLibraryPath [ 58 + --set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/MusicManager):$out/lib:${lib.makeLibraryPath [ 59 59 flac 60 60 expat 61 61 libidn
+4 -4
pkgs/applications/audio/google-play-music-desktop-player/default.nix
··· 1 - { stdenv, alsaLib, atk, at-spi2-atk, cairo, cups, dbus, dpkg, expat, fontconfig, freetype 1 + { lib, stdenv, alsaLib, atk, at-spi2-atk, cairo, cups, dbus, dpkg, expat, fontconfig, freetype 2 2 , fetchurl, GConf, gdk-pixbuf, glib, gtk2, gtk3, libpulseaudio, makeWrapper, nspr 3 3 , nss, pango, udev, xorg 4 4 }: ··· 69 69 70 70 wrapProgram $out/bin/google-play-music-desktop-player \ 71 71 --prefix LD_LIBRARY_PATH : "$out/share/google-play-music-desktop-player" \ 72 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath deps}" 72 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath deps}" 73 73 ''; 74 74 75 75 meta = { 76 76 homepage = "https://www.googleplaymusicdesktopplayer.com/"; 77 77 description = "A beautiful cross platform Desktop Player for Google Play Music"; 78 - license = stdenv.lib.licenses.mit; 78 + license = lib.licenses.mit; 79 79 platforms = [ "x86_64-linux" ]; 80 - maintainers = [ stdenv.lib.maintainers.SuprDewd ]; 80 + maintainers = [ lib.maintainers.SuprDewd ]; 81 81 }; 82 82 }
+1 -1
pkgs/applications/audio/gpodder/default.nix
··· 19 19 ./disable-autoupdate.patch 20 20 ]; 21 21 22 - postPatch = with stdenv.lib; '' 22 + postPatch = with lib; '' 23 23 sed -i -re 's,^( *gpodder_dir *= *).*,\1"'"$out"'",' bin/gpodder 24 24 ''; 25 25
+3 -3
pkgs/applications/audio/grandorgue/default.nix
··· 25 25 meta = { 26 26 description = "Virtual Pipe Organ Software"; 27 27 homepage = "https://sourceforge.net/projects/ourorgan"; 28 - license = stdenv.lib.licenses.gpl2; 29 - platforms = stdenv.lib.platforms.linux; 30 - maintainers = [ stdenv.lib.maintainers.puzzlewolf ]; 28 + license = lib.licenses.gpl2; 29 + platforms = lib.platforms.linux; 30 + maintainers = [ lib.maintainers.puzzlewolf ]; 31 31 }; 32 32 }
+2 -2
pkgs/applications/audio/gtklick/default.nix
··· 1 - { stdenv, fetchurl, pythonPackages, gettext, klick}: 1 + { lib, stdenv, fetchurl, pythonPackages, gettext, klick}: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 pname = "gtklick"; ··· 29 29 meta = { 30 30 homepage = "http://das.nasophon.de/gtklick/"; 31 31 description = "Simple metronome with an easy-to-use GTK interface"; 32 - license = stdenv.lib.licenses.gpl2Plus; 32 + license = lib.licenses.gpl2Plus; 33 33 }; 34 34 }
+1 -1
pkgs/applications/audio/guitarix/default.nix
··· 37 37 }: 38 38 39 39 let 40 - inherit (stdenv.lib) optional; 40 + inherit (lib) optional; 41 41 in 42 42 43 43 stdenv.mkDerivation rec {
+1 -1
pkgs/applications/audio/helm/default.nix
··· 72 72 Simple arpeggiator 73 73 Effects: Formant filter, stutter, delay 74 74 ''; 75 - license = stdenv.lib.licenses.gpl3; 75 + license = lib.licenses.gpl3; 76 76 maintainers = [ maintainers.magnetophon ]; 77 77 platforms = platforms.linux; 78 78 };
+4 -4
pkgs/applications/audio/i-score/default.nix
··· 22 22 qttools, 23 23 qtwebsockets, 24 24 rtaudio, 25 - stdenv 25 + lib, stdenv 26 26 }: 27 27 28 28 stdenv.mkDerivation rec { ··· 78 78 meta = { 79 79 description = "An interactive sequencer for the intermedia arts"; 80 80 homepage = "http://i-score.org/"; 81 - license = stdenv.lib.licenses.cecill20; 82 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 83 - platforms = stdenv.lib.platforms.linux; 81 + license = lib.licenses.cecill20; 82 + maintainers = [ lib.maintainers.magnetophon ]; 83 + platforms = lib.platforms.linux; 84 84 }; 85 85 }
+4 -4
pkgs/applications/audio/industrializer/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , alsaLib 4 4 , audiofile ··· 43 43 After a sound is rendered, it can be played and then saved to a .WAV file. 44 44 ''; 45 45 homepage = "https://sourceforge.net/projects/industrializer/"; 46 - license = stdenv.lib.licenses.gpl2Plus; 47 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 48 - platforms = stdenv.lib.platforms.linux; 46 + license = lib.licenses.gpl2Plus; 47 + maintainers = [ lib.maintainers.magnetophon ]; 48 + platforms = lib.platforms.linux; 49 49 }; 50 50 }
+1 -1
pkgs/applications/audio/jack-capture/default.nix
··· 26 26 homepage = "http://archive.notam02.no/arkiv/src"; 27 27 license = licenses.gpl2; 28 28 maintainers = [ maintainers.goibhniu ]; 29 - platforms = stdenv.lib.platforms.linux; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+1 -1
pkgs/applications/audio/jack-oscrolloscope/default.nix
··· 22 22 homepage = "http://das.nasophon.de/jack_oscrolloscope"; 23 23 license = licenses.gpl2; 24 24 maintainers = [ maintainers.goibhniu ]; 25 - platforms = stdenv.lib.platforms.linux; 25 + platforms = lib.platforms.linux; 26 26 }; 27 27 }
+4 -4
pkgs/applications/audio/jack-rack/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libjack2, ladspaH, gtk2, alsaLib, libxml2, lrdf }: 1 + { lib, stdenv, fetchurl, pkgconfig, libjack2, ladspaH, gtk2, alsaLib, libxml2, lrdf }: 2 2 stdenv.mkDerivation rec { 3 3 name = "jack-rack-1.4.7"; 4 4 src = fetchurl { ··· 18 18 computer into an effects box. 19 19 ''; 20 20 homepage = "http://jack-rack.sourceforge.net/"; 21 - license = stdenv.lib.licenses.gpl2Plus; 22 - maintainers = [ stdenv.lib.maintainers.astsmtl ]; 23 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.gpl2Plus; 22 + maintainers = [ lib.maintainers.astsmtl ]; 23 + platforms = lib.platforms.linux; 24 24 }; 25 25 }
+4 -4
pkgs/applications/audio/jackmeter/default.nix
··· 1 - { stdenv, fetchurl, libjack2, pkgconfig }: 1 + { lib, stdenv, fetchurl, libjack2, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jackmeter-0.4"; ··· 14 14 meta = { 15 15 description = "Console jack loudness meter"; 16 16 homepage = "https://www.aelius.com/njh/jackmeter/"; 17 - license = stdenv.lib.licenses.gpl2; 18 - maintainers = [ stdenv.lib.maintainers.marcweber ]; 19 - platforms = stdenv.lib.platforms.linux; 17 + license = lib.licenses.gpl2; 18 + maintainers = [ lib.maintainers.marcweber ]; 19 + platforms = lib.platforms.linux; 20 20 }; 21 21 }
+5 -5
pkgs/applications/audio/jamulus/default.nix
··· 1 - { mkDerivation, stdenv, fetchFromGitHub, fetchpatch, pkg-config, qtscript, qmake, libjack2 1 + { mkDerivation, lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, qtscript, qmake, libjack2 2 2 }: 3 3 4 4 mkDerivation rec { ··· 7 7 src = fetchFromGitHub { 8 8 owner = "corrados"; 9 9 repo = "jamulus"; 10 - rev = "r${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}"; 10 + rev = "r${lib.replaceStrings [ "." ] [ "_" ] version}"; 11 11 sha256 = "11rwgd2car7ziqa0vancb363m4ca94pj480jfxywd6d81139jl15"; 12 12 }; 13 13 ··· 20 20 description = "Enables musicians to perform real-time jam sessions over the internet"; 21 21 longDescription = "You also need to enable JACK and should enable several real-time optimizations. See project website for details"; 22 22 homepage = "https://github.com/corrados/jamulus/wiki"; 23 - license = stdenv.lib.licenses.gpl2; # linked in git repo, at least 24 - platforms = stdenv.lib.platforms.linux; 25 - maintainers = [ stdenv.lib.maintainers.seb314 ]; 23 + license = lib.licenses.gpl2; # linked in git repo, at least 24 + platforms = lib.platforms.linux; 25 + maintainers = [ lib.maintainers.seb314 ]; 26 26 }; 27 27 }
+4 -4
pkgs/applications/audio/japa/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, libjack2, fftwFloat, libclthreads, libclxclient, libX11, libXft, zita-alsa-pcmi, }: 1 + { lib, stdenv, fetchurl, alsaLib, libjack2, fftwFloat, libclthreads, libclxclient, libX11, libXft, zita-alsa-pcmi, }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.9.2"; ··· 23 23 meta = { 24 24 description = "A 'perceptual' or 'psychoacoustic' audio spectrum analyser for JACK and ALSA"; 25 25 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/index.html"; 26 - license = stdenv.lib.licenses.gpl2; 27 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 28 - platforms = stdenv.lib.platforms.linux; 26 + license = lib.licenses.gpl2; 27 + maintainers = [ lib.maintainers.magnetophon ]; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+3 -3
pkgs/applications/audio/klick/default.nix
··· 1 - { stdenv, fetchurl, sconsPackages, pkgconfig 1 + { lib, stdenv, fetchurl, sconsPackages, pkgconfig 2 2 , libsamplerate, libsndfile, liblo, libjack2, boost }: 3 3 4 4 stdenv.mkDerivation rec { ··· 18 18 meta = { 19 19 homepage = "http://das.nasophon.de/klick/"; 20 20 description = "Advanced command-line metronome for JACK"; 21 - license = stdenv.lib.licenses.gpl2Plus; 22 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.gpl2Plus; 22 + platforms = lib.platforms.linux; 23 23 }; 24 24 }
+4 -4
pkgs/applications/audio/ladspa-sdk/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "ladspa-sdk"; 4 4 version = "1.15"; ··· 21 21 three example programs (applyplugin, analyseplugin and listplugins). 22 22 ''; 23 23 homepage = "http://www.ladspa.org/ladspa_sdk/overview.html"; 24 - license = stdenv.lib.licenses.lgpl2; 25 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 26 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.lgpl2; 25 + maintainers = [ lib.maintainers.magnetophon ]; 26 + platforms = lib.platforms.linux; 27 27 }; 28 28 }
+4 -4
pkgs/applications/audio/ladspa-sdk/ladspah.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "ladspa.h"; 4 4 version = "1.15"; ··· 19 19 For the full SDK, use the ladspa-sdk package. 20 20 ''; 21 21 homepage = "http://www.ladspa.org/ladspa_sdk/overview.html"; 22 - license = stdenv.lib.licenses.lgpl2; 23 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 24 - platforms = stdenv.lib.platforms.all; 22 + license = lib.licenses.lgpl2; 23 + maintainers = [ lib.maintainers.magnetophon ]; 24 + platforms = lib.platforms.all; 25 25 }; 26 26 }
+4 -4
pkgs/applications/audio/librespot/default.nix
··· 17 17 18 18 cargoPatches = [ ./cargo-lock.patch ]; 19 19 20 - cargoBuildFlags = with stdenv.lib; [ 20 + cargoBuildFlags = with lib; [ 21 21 "--no-default-features" 22 22 "--features" 23 23 (concatStringsSep "," (filter (x: x != "") [ ··· 31 31 32 32 nativeBuildInputs = [ pkgconfig ]; 33 33 34 - buildInputs = [ openssl ] ++ stdenv.lib.optional withALSA alsaLib 35 - ++ stdenv.lib.optional withPulseAudio libpulseaudio 36 - ++ stdenv.lib.optional withPortAudio portaudio; 34 + buildInputs = [ openssl ] ++ lib.optional withALSA alsaLib 35 + ++ lib.optional withPulseAudio libpulseaudio 36 + ++ lib.optional withPortAudio portaudio; 37 37 38 38 doCheck = false; 39 39
+6 -6
pkgs/applications/audio/lingot/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , pkg-config 4 4 , intltool ··· 31 31 alsaLib 32 32 libpulseaudio 33 33 fftw 34 - ] ++ stdenv.lib.optional jackSupport libjack2; 34 + ] ++ lib.optional jackSupport libjack2; 35 35 36 - configureFlags = stdenv.lib.optional (!jackSupport) "--disable-jack"; 36 + configureFlags = lib.optional (!jackSupport) "--disable-jack"; 37 37 38 38 meta = { 39 39 description = "Not a Guitar-Only tuner"; 40 40 homepage = "https://www.nongnu.org/lingot/"; 41 - license = stdenv.lib.licenses.gpl2Plus; 42 - platforms = with stdenv.lib.platforms; linux; 43 - maintainers = with stdenv.lib.maintainers; [ viric ]; 41 + license = lib.licenses.gpl2Plus; 42 + platforms = with lib.platforms; linux; 43 + maintainers = with lib.maintainers; [ viric ]; 44 44 }; 45 45 }
+4 -4
pkgs/applications/audio/linuxband/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, pkgconfig, MMA, libjack2, libsmf, python2Packages }: 1 + { lib, stdenv, fetchurl, makeWrapper, pkgconfig, MMA, libjack2, libsmf, python2Packages }: 2 2 3 3 let 4 4 inherit (python2Packages) pyGtkGlade pygtksourceview python; ··· 30 30 meta = { 31 31 description = "A GUI front-end for MMA: Type in the chords, choose the groove and it will play an accompaniment"; 32 32 homepage = "http://linuxband.org/"; 33 - license = stdenv.lib.licenses.gpl2; 34 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 35 - platforms = stdenv.lib.platforms.linux; 33 + license = lib.licenses.gpl2; 34 + maintainers = [ lib.maintainers.magnetophon ]; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+6 -6
pkgs/applications/audio/littlegptracker/default.nix
··· 20 20 buildInputs = [ 21 21 SDL 22 22 ] 23 - ++ stdenv.lib.optional stdenv.isDarwin Foundation 24 - ++ stdenv.lib.optional stdenv.isLinux jack2; 23 + ++ lib.optional stdenv.isDarwin Foundation 24 + ++ lib.optional stdenv.isLinux jack2; 25 25 26 26 patches = [ 27 27 # Remove outdated (pre-64bit) checks that would fail on modern platforms ··· 32 32 preBuild = "cd projects"; 33 33 34 34 makeFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ] 35 - ++ stdenv.lib.optionals stdenv.isLinux [ "PLATFORM=DEB" ] 36 - ++ stdenv.lib.optionals stdenv.isDarwin [ "PLATFORM=OSX" ]; 35 + ++ lib.optionals stdenv.isLinux [ "PLATFORM=DEB" ] 36 + ++ lib.optionals stdenv.isDarwin [ "PLATFORM=OSX" ]; 37 37 38 38 NIX_CFLAGS_COMPILE = [ "-fpermissive" ] ++ 39 - stdenv.lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing"; 39 + lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing"; 40 40 41 - NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin "-framework Foundation"; 41 + NIX_LDFLAGS = lib.optional stdenv.isDarwin "-framework Foundation"; 42 42 43 43 installPhase = let extension = if stdenv.isDarwin then "app" else "deb-exe"; 44 44 in "install -Dm555 lgpt.${extension} $out/bin/lgpt";
+2 -2
pkgs/applications/audio/lsp-plugins/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, makeWrapper 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, makeWrapper 2 2 , libsndfile, jack2Full 3 3 , libGLU, libGL, lv2, cairo 4 4 , ladspaH, php }: ··· 36 36 37 37 buildFlags = [ "release" ]; 38 38 39 - meta = with stdenv.lib; 39 + meta = with lib; 40 40 { description = "Collection of open-source audio plugins"; 41 41 longDescription = '' 42 42 Compatible with follwing formats:
+2 -2
pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix
··· 31 31 meta = { 32 32 description = "A compressor with character. For jack and lv2"; 33 33 homepage = "https://github.com/magnetophon/CharacterCompressor"; 34 - license = stdenv.lib.licenses.gpl3; 35 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 34 + license = lib.licenses.gpl3; 35 + maintainers = [ lib.maintainers.magnetophon ]; 36 36 }; 37 37 }
+2 -2
pkgs/applications/audio/magnetophonDSP/CompBus/default.nix
··· 37 37 meta = { 38 38 description = "A group of compressors mixed into a bus, sidechained from that mix bus. For jack and lv2"; 39 39 homepage = "https://github.com/magnetophon/CompBus"; 40 - license = stdenv.lib.licenses.gpl3; 41 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 40 + license = lib.licenses.gpl3; 41 + maintainers = [ lib.maintainers.magnetophon ]; 42 42 }; 43 43 }
+2 -2
pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix
··· 27 27 meta = { 28 28 description = "A chorus algorithm that maintains constant and symmetric detuning depth (in cents), regardless of modulation rate. For jack and lv2"; 29 29 homepage = "https://github.com/magnetophon/constant-detune-chorus"; 30 - license = stdenv.lib.licenses.gpl3; 31 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 30 + license = lib.licenses.gpl3; 31 + maintainers = [ lib.maintainers.magnetophon ]; 32 32 }; 33 33 }
+2 -2
pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix
··· 27 27 meta = { 28 28 description = "A fast yet clean lookahead limiter for jack and lv2"; 29 29 homepage = "https://magnetophon.github.io/LazyLimiter/"; 30 - license = stdenv.lib.licenses.gpl2; 31 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 30 + license = lib.licenses.gpl2; 31 + maintainers = [ lib.maintainers.magnetophon ]; 32 32 }; 33 33 }
+2 -2
pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix
··· 27 27 meta = { 28 28 description = "Mid-side multiband distortion for jack and lv2"; 29 29 homepage = "https://github.com/magnetophon/MBdistortion"; 30 - license = stdenv.lib.licenses.gpl2; 31 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 30 + license = lib.licenses.gpl2; 31 + maintainers = [ lib.maintainers.magnetophon ]; 32 32 }; 33 33 }
+2 -2
pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix
··· 27 27 meta = { 28 28 description = "Tap a rhythm into your delay! For jack and lv2"; 29 29 homepage = "https://github.com/magnetophon/RhythmDelay"; 30 - license = stdenv.lib.licenses.gpl3; 31 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 30 + license = lib.licenses.gpl3; 31 + maintainers = [ lib.maintainers.magnetophon ]; 32 32 }; 33 33 }
+2 -2
pkgs/applications/audio/magnetophonDSP/VoiceOfFaust/default.nix
··· 50 50 meta = { 51 51 description = "Turn your voice into a synthesizer"; 52 52 homepage = "https://github.com/magnetophon/VoiceOfFaust"; 53 - license = stdenv.lib.licenses.gpl3; 54 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 53 + license = lib.licenses.gpl3; 54 + maintainers = [ lib.maintainers.magnetophon ]; 55 55 }; 56 56 }
+2 -2
pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix
··· 42 42 meta = { 43 43 description = "A collection of bread and butter compressors"; 44 44 homepage = "https://github.com/magnetophon/faustCompressors"; 45 - license = stdenv.lib.licenses.gpl3; 46 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 45 + license = lib.licenses.gpl3; 46 + maintainers = [ lib.maintainers.magnetophon ]; 47 47 }; 48 48 }
+2 -2
pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix
··· 34 34 meta = { 35 35 description = "Some simple utility lv2 plugins"; 36 36 homepage = "https://github.com/magnetophon/pluginUtils"; 37 - license = stdenv.lib.licenses.gpl3; 38 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 37 + license = lib.licenses.gpl3; 38 + maintainers = [ lib.maintainers.magnetophon ]; 39 39 }; 40 40 }
+2 -2
pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix
··· 31 31 meta = { 32 32 description = "A multiband compressor made from shelving filters."; 33 33 homepage = "https://github.com/magnetophon/shelfMultiBand"; 34 - license = stdenv.lib.licenses.gpl3; 35 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 34 + license = lib.licenses.gpl3; 35 + maintainers = [ lib.maintainers.magnetophon ]; 36 36 }; 37 37 }
+2 -2
pkgs/applications/audio/meters_lv2/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { lib, stdenv, fetchurl, pkgconfig 2 2 , lv2, libGLU, libGL, gtk2, cairo, pango, fftwFloat, libjack2 }: 3 3 4 4 let ··· 36 36 preConfigure = "makeFlagsArray=( PREFIX=$out )"; 37 37 meter_VERSION = version; 38 38 39 - meta = with stdenv.lib; 39 + meta = with lib; 40 40 { description = "Collection of audio level meters with GUI in LV2 plugin format"; 41 41 homepage = "http://x42.github.io/meters.lv2/"; 42 42 maintainers = with maintainers; [ ehmry ];
+4 -4
pkgs/applications/audio/mi2ly/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 33 33 meta = { 34 34 inherit (s) version; 35 35 description = "MIDI to Lilypond converter"; 36 - license = stdenv.lib.licenses.gpl2Plus ; 37 - maintainers = [stdenv.lib.maintainers.raskin]; 38 - platforms = stdenv.lib.platforms.linux; 36 + license = lib.licenses.gpl2Plus ; 37 + maintainers = [lib.maintainers.raskin]; 38 + platforms = lib.platforms.linux; 39 39 broken = true; # 2018-04-11 40 40 }; 41 41 }
+2 -2
pkgs/applications/audio/midisheetmusic/default.nix
··· 47 47 cp bin/Debug/MidiSheetMusic.exe $out/bin/.MidiSheetMusic.exe 48 48 49 49 makeWrapper ${mono}/bin/mono $out/bin/midisheetmusic.mono.exe \ 50 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ gtk2 cups ]} \ 51 - --prefix PATH : ${stdenv.lib.makeBinPath [ timidity ]} \ 50 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gtk2 cups ]} \ 51 + --prefix PATH : ${lib.makeBinPath [ timidity ]} \ 52 52 --add-flags $out/bin/.MidiSheetMusic.exe 53 53 ''; 54 54
+4 -4
pkgs/applications/audio/mikmod/default.nix
··· 1 - { stdenv, fetchurl, libmikmod, ncurses }: 1 + { lib, stdenv, fetchurl, libmikmod, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "mikmod-3.2.8"; ··· 13 13 meta = { 14 14 description = "Tracker music player for the terminal"; 15 15 homepage = "http://mikmod.shlomifish.org/"; 16 - license = stdenv.lib.licenses.gpl2Plus; 17 - maintainers = with stdenv.lib.maintainers; [ ]; 18 - platforms = with stdenv.lib.platforms; linux; 16 + license = lib.licenses.gpl2Plus; 17 + maintainers = with lib.maintainers; [ ]; 18 + platforms = with lib.platforms; linux; 19 19 }; 20 20 }
+5 -5
pkgs/applications/audio/mimic/default.nix
··· 1 - { config, stdenv, autoreconfHook, fetchFromGitHub, pkgconfig 1 + { config, lib, stdenv, autoreconfHook, fetchFromGitHub, pkgconfig 2 2 , alsaLib, libtool, icu 3 3 , pulseaudioSupport ? config.pulseaudio or false, libpulseaudio }: 4 4 ··· 22 22 alsaLib 23 23 libtool 24 24 icu 25 - ] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio; 25 + ] ++ lib.optional pulseaudioSupport libpulseaudio; 26 26 27 27 meta = { 28 28 description = "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)"; 29 29 homepage = "https://mimic.mycroft.ai/"; 30 - license = stdenv.lib.licenses.free; 31 - platforms = stdenv.lib.platforms.linux; 32 - maintainers = [ stdenv.lib.maintainers.noneucat ]; 30 + license = lib.licenses.free; 31 + platforms = lib.platforms.linux; 32 + maintainers = [ lib.maintainers.noneucat ]; 33 33 }; 34 34 }
+2 -2
pkgs/applications/audio/mimms/default.nix
··· 1 - { fetchurl, stdenv, pythonPackages, libmms }: 1 + { fetchurl, lib, stdenv, pythonPackages, libmms }: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 pname = "mimms"; ··· 16 16 17 17 meta = { 18 18 homepage = "https://savannah.nongnu.org/projects/mimms/"; 19 - license = stdenv.lib.licenses.gpl3; 19 + license = lib.licenses.gpl3; 20 20 description = "An mms (e.g. mms://) stream downloader"; 21 21 22 22 longDescription = ''
+2 -2
pkgs/applications/audio/moc/default.nix
··· 25 25 }: 26 26 27 27 let 28 - opt = stdenv.lib.optional; 28 + opt = lib.optional; 29 29 mkFlag = c: f: if c then "--with-${f}" else "--without-${f}"; 30 30 31 31 in stdenv.mkDerivation rec { ··· 57 57 ++ opt midiSupport timidity 58 58 ++ opt modplugSupport libmodplug 59 59 ++ opt mp3Support libmad 60 - ++ stdenv.lib.optionals musepackSupport [ libmpc libmpcdec taglib ] 60 + ++ lib.optionals musepackSupport [ libmpc libmpcdec taglib ] 61 61 ++ opt vorbisSupport libvorbis 62 62 ++ opt speexSupport speex 63 63 ++ opt (ffmpegSupport && !withffmpeg4) ffmpeg_3
+3 -3
pkgs/applications/audio/mooSpace/default.nix
··· 1 - { stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }: 1 + { lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "mooSpace"; 4 4 version = "unstable-2020-06-10"; ··· 29 29 meta = { 30 30 description = "Variable reverb audio effect, jack and lv2"; 31 31 homepage = "https://github.com/modularev/mooSpace"; 32 - license = stdenv.lib.licenses.gpl3; 33 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 32 + license = lib.licenses.gpl3; 33 + maintainers = [ lib.maintainers.magnetophon ]; 34 34 }; 35 35 }
+1 -1
pkgs/applications/audio/mopidy/mopidy.nix
··· 32 32 requests 33 33 setuptools 34 34 tornado 35 - ] ++ stdenv.lib.optional (!stdenv.isDarwin) dbus-python 35 + ] ++ lib.optional (!stdenv.isDarwin) dbus-python 36 36 ); 37 37 38 38 # There are no tests
+2 -2
pkgs/applications/audio/mp3blaster/default.nix
··· 14 14 buildInputs = [ 15 15 ncurses 16 16 libvorbis 17 - ] ++ stdenv.lib.optional stdenv.isDarwin SDL; 17 + ] ++ lib.optional stdenv.isDarwin SDL; 18 18 19 19 NIX_CFLAGS_COMPILE = toString ([ 20 20 "-Wno-narrowing" 21 - ] ++ stdenv.lib.optionals stdenv.cc.isClang [ 21 + ] ++ lib.optionals stdenv.cc.isClang [ 22 22 "-Wno-reserved-user-defined-literal" 23 23 ]); 24 24
+3 -3
pkgs/applications/audio/mp3info/default.nix
··· 1 - { fetchurl, stdenv, ncurses, pkgconfig, gtk2 }: 1 + { fetchurl, lib, stdenv, ncurses, pkgconfig, gtk2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "mp3info-0.8.5a"; ··· 37 37 38 38 homepage = "http://www.ibiblio.org/mp3info/"; 39 39 40 - license = stdenv.lib.licenses.gpl2Plus; 40 + license = lib.licenses.gpl2Plus; 41 41 42 42 maintainers = [ ]; 43 - platforms = stdenv.lib.platforms.linux; 43 + platforms = lib.platforms.linux; 44 44 }; 45 45 }
+4 -4
pkgs/applications/audio/mp3val/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mp3val"; ··· 30 30 common types of tags (ID3v1, ID3v2, APEv2). 31 31 ''; 32 32 homepage = "http://mp3val.sourceforge.net/index.shtml"; 33 - license = stdenv.lib.licenses.gpl2; 34 - platforms = stdenv.lib.platforms.unix; 35 - maintainers = [ stdenv.lib.maintainers.devhell ]; 33 + license = lib.licenses.gpl2; 34 + platforms = lib.platforms.unix; 35 + maintainers = [ lib.maintainers.devhell ]; 36 36 }; 37 37 }
+1 -1
pkgs/applications/audio/mpc/default.nix
··· 11 11 sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx"; 12 12 }; 13 13 14 - buildInputs = [ mpd_clientlib ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; 14 + buildInputs = [ mpd_clientlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 15 15 16 16 nativeBuildInputs = [ meson ninja pkgconfig sphinx ]; 17 17
+3 -3
pkgs/applications/audio/mpc123/default.nix
··· 1 - { fetchurl, stdenv, gettext, libmpcdec, libao }: 1 + { fetchurl, lib, stdenv, gettext, libmpcdec, libao }: 2 2 3 3 let version = "0.2.4"; in 4 4 stdenv.mkDerivation rec { ··· 25 25 26 26 description = "A Musepack (.mpc) audio player"; 27 27 28 - license = stdenv.lib.licenses.gpl2Plus; 28 + license = lib.licenses.gpl2Plus; 29 29 30 30 maintainers = [ ]; 31 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 31 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 32 32 }; 33 33 }
+6 -6
pkgs/applications/audio/mpg123/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , makeWrapper 4 4 ··· 18 18 19 19 nativeBuildInputs = [ makeWrapper ]; 20 20 21 - buildInputs = [ perl ] ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib; 21 + buildInputs = [ perl ] ++ lib.optional (!stdenv.isDarwin) alsaLib; 22 22 23 - configureFlags = stdenv.lib.optional 23 + configureFlags = lib.optional 24 24 (stdenv.hostPlatform ? mpg123) 25 25 "--with-cpu=${stdenv.hostPlatform.mpg123.cpu}"; 26 26 ··· 41 41 meta = { 42 42 description = "Fast console MPEG Audio Player and decoder library"; 43 43 homepage = "http://mpg123.org"; 44 - license = stdenv.lib.licenses.lgpl21; 45 - maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ]; 46 - platforms = stdenv.lib.platforms.unix; 44 + license = lib.licenses.lgpl21; 45 + maintainers = [ lib.maintainers.ftrvxmtrx ]; 46 + platforms = lib.platforms.unix; 47 47 }; 48 48 }
+2 -2
pkgs/applications/audio/mpg321/default.nix
··· 25 25 26 26 configureFlags = 27 27 [ ("--enable-alsa=" + (if stdenv.isLinux then "yes" else "no")) ] 28 - ++ (stdenv.lib.optional (defaultAudio != null) 28 + ++ (lib.optional (defaultAudio != null) 29 29 "--with-default-audio=${defaultAudio}"); 30 30 31 31 buildInputs = [libao libid3tag libmad zlib] 32 - ++ stdenv.lib.optional stdenv.isLinux alsaLib; 32 + ++ lib.optional stdenv.isLinux alsaLib; 33 33 34 34 installTargets = [ "install" "install-man" ]; 35 35
+1 -1
pkgs/applications/audio/munt/default.nix
··· 15 15 src = fetchFromGitHub { 16 16 owner = pname; 17 17 repo = pname; 18 - rev = with stdenv.lib.versions; "libmt32emu_${major version}_${minor version}_${patch version}"; 18 + rev = with lib.versions; "libmt32emu_${major version}_${minor version}_${patch version}"; 19 19 sha256 = "0bszhkbz24hhx32f973l6h5lkyn4lxhqrckiwmv765d1sba8n5bk"; 20 20 }; 21 21
+1 -1
pkgs/applications/audio/musikcube/default.nix
··· 41 41 ncurses 42 42 pulseaudio 43 43 taglib 44 - ] ++ stdenv.lib.optional systemdSupport systemd; 44 + ] ++ lib.optional systemdSupport systemd; 45 45 46 46 cmakeFlags = [ 47 47 "-DDISABLE_STRIP=true"
+4 -4
pkgs/applications/audio/mympd/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , cmake 4 4 , pkg-config ··· 46 46 meta = { 47 47 homepage = "https://jcorporation.github.io/mympd"; 48 48 description = "A standalone and mobile friendly web mpd client with a tiny footprint and advanced features"; 49 - maintainers = [ stdenv.lib.maintainers.doronbehar ]; 50 - platforms = stdenv.lib.platforms.linux; 51 - license = stdenv.lib.licenses.gpl2Plus; 49 + maintainers = [ lib.maintainers.doronbehar ]; 50 + platforms = lib.platforms.linux; 51 + license = lib.licenses.gpl2Plus; 52 52 }; 53 53 }
+1 -1
pkgs/applications/audio/ncmpc/default.nix
··· 4 4 , pcre ? null 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 assert pcreSupport -> pcre != null; 10 10
+2 -2
pkgs/applications/audio/ncmpcpp/default.nix
··· 1 - { stdenv, fetchurl, boost, mpd_clientlib, ncurses, pkgconfig, readline 1 + { lib, stdenv, fetchurl, boost, mpd_clientlib, ncurses, pkgconfig, readline 2 2 , libiconv, icu, curl 3 3 , outputsSupport ? true # outputs screen 4 4 , visualizerSupport ? false, fftw ? null # visualizer screen ··· 9 9 assert visualizerSupport -> (fftw != null); 10 10 assert taglibSupport -> (taglib != null); 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 stdenv.mkDerivation rec { 14 14 pname = "ncmpcpp"; 15 15 version = "0.9.1";
+4 -4
pkgs/applications/audio/non/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, python2, cairo, libjpeg, ntk, libjack2 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, python2, cairo, libjpeg, ntk, libjack2 2 2 , libsndfile, ladspaH, liblo, libsigcxx, lrdf, wafHook 3 3 }: 4 4 ··· 20 20 meta = { 21 21 description = "Lightweight and lightning fast modular Digital Audio Workstation"; 22 22 homepage = "http://non.tuxfamily.org"; 23 - license = stdenv.lib.licenses.lgpl21; 24 - platforms = stdenv.lib.platforms.linux; 25 - maintainers = [ stdenv.lib.maintainers.nico202 ]; 23 + license = lib.licenses.lgpl21; 24 + platforms = lib.platforms.linux; 25 + maintainers = [ lib.maintainers.nico202 ]; 26 26 }; 27 27 }
+2 -2
pkgs/applications/audio/openmpt123/default.nix
··· 17 17 18 18 nativeBuildInputs = [ pkgconfig ]; 19 19 buildInputs = [ zlib mpg123 libogg libvorbis portaudio libsndfile flac ] 20 - ++ stdenv.lib.optional usePulseAudio libpulseaudio; 20 + ++ lib.optional usePulseAudio libpulseaudio; 21 21 22 - configureFlags = stdenv.lib.optional (!usePulseAudio) "--without-pulseaudio"; 22 + configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio"; 23 23 24 24 meta = with lib; { 25 25 description = "A cross-platform command-line based module file player";
+4 -4
pkgs/applications/audio/opus-tools/default.nix
··· 1 - {stdenv, fetchurl, libogg, libao, pkgconfig, flac, opusfile, libopusenc}: 1 + {lib, stdenv, fetchurl, libogg, libao, pkgconfig, flac, opusfile, libopusenc}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "opus-tools-0.2"; ··· 13 13 meta = { 14 14 description = "Tools to work with opus encoded audio streams"; 15 15 homepage = "https://www.opus-codec.org/"; 16 - license = stdenv.lib.licenses.bsd2; 17 - maintainers = with stdenv.lib.maintainers; [ ]; 18 - platforms = with stdenv.lib.platforms; unix; 16 + license = lib.licenses.bsd2; 17 + maintainers = with lib.maintainers; [ ]; 18 + platforms = with lib.platforms; unix; 19 19 }; 20 20 }
+4 -4
pkgs/applications/audio/patchage/default.nix
··· 1 - { stdenv, alsaLib, boost, dbus-glib, fetchsvn, ganv, glibmm 1 + { lib, stdenv, alsaLib, boost, dbus-glib, fetchsvn, ganv, glibmm 2 2 , gtkmm2, libjack2, pkgconfig, python2, wafHook 3 3 }: 4 4 ··· 19 19 meta = { 20 20 description = "Modular patch bay for Jack and ALSA systems"; 21 21 homepage = "http://non.tuxfamily.org"; 22 - license = stdenv.lib.licenses.lgpl3; 23 - platforms = stdenv.lib.platforms.linux; 24 - maintainers = [ stdenv.lib.maintainers.nico202 ]; 22 + license = lib.licenses.lgpl3; 23 + platforms = lib.platforms.linux; 24 + maintainers = [ lib.maintainers.nico202 ]; 25 25 }; 26 26 }
+1 -1
pkgs/applications/audio/pavucontrol/default.nix
··· 37 37 38 38 homepage = "http://freedesktop.org/software/pulseaudio/pavucontrol/"; 39 39 40 - license = stdenv.lib.licenses.gpl2Plus; 40 + license = lib.licenses.gpl2Plus; 41 41 42 42 maintainers = with maintainers; [ abbradar globin ]; 43 43 platforms = platforms.linux;
+4 -4
pkgs/applications/audio/pd-plugins/cyclone/default.nix
··· 1 - { stdenv, fetchFromGitHub, puredata }: 1 + { lib, stdenv, fetchFromGitHub, puredata }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cyclone"; ··· 26 26 meta = { 27 27 description = "A library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments"; 28 28 homepage = "http://puredata.info/downloads/cyclone"; 29 - license = stdenv.lib.licenses.tcltk; 30 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 31 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.tcltk; 30 + maintainers = [ lib.maintainers.magnetophon ]; 31 + platforms = lib.platforms.linux; 32 32 }; 33 33 }
+4 -4
pkgs/applications/audio/pd-plugins/gem/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , fetchpatch 4 4 , autoreconfHook ··· 43 43 meta = { 44 44 description = "Graphics Environment for Multimedia"; 45 45 homepage = "http://puredata.info/downloads/gem"; 46 - license = stdenv.lib.licenses.gpl2Plus; 47 - maintainers = [ stdenv.lib.maintainers.raboof ]; 48 - platforms = stdenv.lib.platforms.linux; 46 + license = lib.licenses.gpl2Plus; 47 + maintainers = [ lib.maintainers.raboof ]; 48 + platforms = lib.platforms.linux; 49 49 }; 50 50 }
+4 -4
pkgs/applications/audio/pd-plugins/helmholtz/default.nix
··· 1 - { stdenv, fetchurl, unzip, puredata }: 1 + { lib, stdenv, fetchurl, unzip, puredata }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "helmholtz"; ··· 39 39 meta = { 40 40 description = "Time domain pitch tracker for Pure Data"; 41 41 homepage = "http://www.katjaas.nl/helmholtz/helmholtz.html"; 42 - license = stdenv.lib.licenses.bsd3; 43 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 44 - platforms = stdenv.lib.platforms.linux; 42 + license = lib.licenses.bsd3; 43 + maintainers = [ lib.maintainers.magnetophon ]; 44 + platforms = lib.platforms.linux; 45 45 }; 46 46 }
+4 -4
pkgs/applications/audio/pd-plugins/maxlib/default.nix
··· 1 - { stdenv, fetchFromGitHub, puredata }: 1 + { lib, stdenv, fetchFromGitHub, puredata }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "maxlib"; ··· 26 26 meta = { 27 27 description = "A library of non-tilde externals for puredata, by Miller Puckette"; 28 28 homepage = "http://puredata.info/downloads/maxlib"; 29 - license = stdenv.lib.licenses.gpl2; 30 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 31 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.gpl2; 30 + maintainers = [ lib.maintainers.magnetophon ]; 31 + platforms = lib.platforms.linux; 32 32 }; 33 33 }
+4 -4
pkgs/applications/audio/pd-plugins/mrpeach/default.nix
··· 1 - { stdenv, fetchurl, puredata }: 1 + { lib, stdenv, fetchurl, puredata }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "mrpeach"; ··· 55 55 meta = { 56 56 description = "A collection of Pd objectclasses for OSC-messages"; 57 57 homepage = "http://puredata.info/downloads/osc"; 58 - license = stdenv.lib.licenses.gpl2; 59 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 60 - platforms = stdenv.lib.platforms.linux; 58 + license = lib.licenses.gpl2; 59 + maintainers = [ lib.maintainers.magnetophon ]; 60 + platforms = lib.platforms.linux; 61 61 }; 62 62 }
+4 -4
pkgs/applications/audio/pd-plugins/puremapping/default.nix
··· 1 - { stdenv, fetchurl, unzip, puredata }: 1 + { lib, stdenv, fetchurl, unzip, puredata }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "puremapping"; ··· 24 24 meta = { 25 25 description = "Set of externals to facilitate the use of sensors within Pure Data and to create complex relations between input and output of a dynamic system"; 26 26 homepage = "http://www.chnry.net/ch/?090-Pure-Mapping&lang=en"; 27 - license = stdenv.lib.licenses.gpl1; 28 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 29 - platforms = stdenv.lib.platforms.linux; 27 + license = lib.licenses.gpl1; 28 + maintainers = [ lib.maintainers.magnetophon ]; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+4 -4
pkgs/applications/audio/pd-plugins/timbreid/default.nix
··· 1 - { stdenv, fetchurl, unzip, puredata, fftw }: 1 + { lib, stdenv, fetchurl, unzip, puredata, fftw }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.7.0"; ··· 38 38 meta = { 39 39 description = "A collection of audio feature analysis externals for puredata"; 40 40 homepage = "http://williambrent.conflations.com/pages/research.html"; 41 - license = stdenv.lib.licenses.gpl3; 42 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 43 - platforms = stdenv.lib.platforms.linux; 41 + license = lib.licenses.gpl3; 42 + maintainers = [ lib.maintainers.magnetophon ]; 43 + platforms = lib.platforms.linux; 44 44 }; 45 45 }
+4 -4
pkgs/applications/audio/pd-plugins/zexy/default.nix
··· 1 - { stdenv, fetchurl, autoconf, automake, puredata }: 1 + { lib, stdenv, fetchurl, autoconf, automake, puredata }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zexy"; ··· 29 29 meta = { 30 30 description = "The swiss army knife for puredata"; 31 31 homepage = "http://puredata.info/downloads/zexy"; 32 - license = stdenv.lib.licenses.gpl2; 33 - maintainers = [ stdenv.lib.maintainers.magnetophon ]; 34 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.gpl2; 33 + maintainers = [ lib.maintainers.magnetophon ]; 34 + platforms = lib.platforms.linux; 35 35 }; 36 36 }
+2 -2
pkgs/applications/audio/picard/default.nix
··· 22 22 }; 23 23 24 24 nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ] 25 - ++ stdenv.lib.optionals (pyqt5.multimediaEnabled) [ 25 + ++ lib.optionals (pyqt5.multimediaEnabled) [ 26 26 qt5.qtmultimedia.bin 27 27 gst_all_1.gstreamer 28 28 gst_all_1.gst-vaapi ··· 49 49 preFixup = '' 50 50 makeWrapperArgs+=("''${qtWrapperArgs[@]}") 51 51 '' 52 - + stdenv.lib.optionalString (pyqt5.multimediaEnabled) '' 52 + + lib.optionalString (pyqt5.multimediaEnabled) '' 53 53 makeWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0") 54 54 '' 55 55 ;
+3 -3
pkgs/applications/audio/praat/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, gtk2, pkgconfig }: 1 + { lib, stdenv, fetchurl, alsaLib, gtk2, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "praat"; ··· 24 24 meta = { 25 25 description = "Doing phonetics by computer"; 26 26 homepage = "https://www.fon.hum.uva.nl/praat/"; 27 - license = stdenv.lib.licenses.gpl2Plus; # Has some 3rd-party code in it though 28 - platforms = stdenv.lib.platforms.linux; 27 + license = lib.licenses.gpl2Plus; # Has some 3rd-party code in it though 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+1 -1
pkgs/applications/audio/pt2-clone/default.nix
··· 18 18 }; 19 19 20 20 nativeBuildInputs = [ cmake ]; 21 - buildInputs = [ SDL2 ] ++ stdenv.lib.optional stdenv.isLinux alsaLib; 21 + buildInputs = [ SDL2 ] ++ lib.optional stdenv.isLinux alsaLib; 22 22 23 23 passthru.tests = { 24 24 pt2-clone-opens = nixosTests.pt2-clone;
+1 -1
pkgs/applications/audio/pulseaudio-ctl/default.nix
··· 2 2 , bc, dbus, gawk, gnused, libnotify, pulseaudio }: 3 3 4 4 let 5 - path = stdenv.lib.makeBinPath [ bc dbus gawk gnused libnotify pulseaudio ]; 5 + path = lib.makeBinPath [ bc dbus gawk gnused libnotify pulseaudio ]; 6 6 pname = "pulseaudio-ctl"; 7 7 8 8 in stdenv.mkDerivation rec {
+6 -6
pkgs/applications/audio/pulseaudio-dlna/default.nix
··· 32 32 dbus-python docopt requests setproctitle protobuf psutil futures 33 33 chardet notify2 netifaces pyroute2 pygobject2 lxml setuptools ] 34 34 ++ [ zeroconf ] 35 - ++ stdenv.lib.optional mp3Support lame 36 - ++ stdenv.lib.optional opusSupport opusTools 37 - ++ stdenv.lib.optional faacSupport faac 38 - ++ stdenv.lib.optional flacSupport flac 39 - ++ stdenv.lib.optional soxSupport sox 40 - ++ stdenv.lib.optional vorbisSupport vorbis-tools; 35 + ++ lib.optional mp3Support lame 36 + ++ lib.optional opusSupport opusTools 37 + ++ lib.optional faacSupport faac 38 + ++ lib.optional flacSupport flac 39 + ++ lib.optional soxSupport sox 40 + ++ lib.optional vorbisSupport vorbis-tools; 41 41 42 42 # upstream has no tests 43 43 checkPhase = ''
+1 -1
pkgs/applications/audio/pulseaudio-dlna/zeroconf.nix
··· 19 19 }; 20 20 21 21 propagatedBuildInputs = [ netifaces six enum-compat ifaddr ] 22 - ++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ]; 22 + ++ lib.optionals (pythonOlder "3.5") [ typing ]; 23 23 24 24 meta = with lib; { 25 25 description = "A pure python implementation of multicast DNS service discovery";
+4 -4
pkgs/applications/audio/pulseeffects/default.nix
··· 94 94 95 95 preFixup = '' 96 96 gappsWrapperArgs+=( 97 - --set LV2_PATH "${stdenv.lib.makeSearchPath "lib/lv2" lv2Plugins}" 98 - --set LADSPA_PATH "${stdenv.lib.makeSearchPath "lib/ladspa" ladspaPlugins}" 97 + --set LV2_PATH "${lib.makeSearchPath "lib/lv2" lv2Plugins}" 98 + --set LADSPA_PATH "${lib.makeSearchPath "lib/ladspa" ladspaPlugins}" 99 99 ) 100 100 ''; 101 101 102 102 # Meson is no longer able to pick up Boost automatically. 103 103 # https://github.com/NixOS/nixpkgs/issues/86131 104 - BOOST_INCLUDEDIR = "${stdenv.lib.getDev boost}/include"; 105 - BOOST_LIBRARYDIR = "${stdenv.lib.getLib boost}/lib"; 104 + BOOST_INCLUDEDIR = "${lib.getDev boost}/include"; 105 + BOOST_LIBRARYDIR = "${lib.getLib boost}/lib"; 106 106 107 107 meta = with lib; { 108 108 description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications";
+1 -1
pkgs/applications/audio/qjackctl/default.nix
··· 13 13 src = fetchFromGitHub { 14 14 owner = "rncbc"; 15 15 repo = "qjackctl"; 16 - rev = "${pname}_${stdenv.lib.replaceChars ["."] ["_"] version}"; 16 + rev = "${pname}_${lib.replaceChars ["."] ["_"] version}"; 17 17 sha256 = "044kgwk7pfywad4myza0s2kvfkl21zkqq5wgny7n3c43qlcgs3zr"; 18 18 }; 19 19
+1 -1
pkgs/applications/audio/qmidiroute/default.nix
··· 25 25 26 26 license = licenses.gpl2; 27 27 maintainers = [ maintainers.lebastr ]; 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+3 -3
pkgs/applications/audio/quodlibet/default.nix
··· 6 6 webkitgtk ? null, 7 7 keybinder3 ? null, gtksourceview ? null, libmodplug ? null, kakasi ? null, libappindicator-gtk3 ? null }: 8 8 9 - let optionals = stdenv.lib.optionals; in 9 + let optionals = lib.optionals; in 10 10 python3.pkgs.buildPythonApplication rec { 11 11 pname = "quodlibet${tag}"; 12 12 version = "4.3.0"; ··· 35 35 36 36 LC_ALL = "en_US.UTF-8"; 37 37 38 - pytestFlags = stdenv.lib.optionals (xineBackend || !withGstPlugins) [ 38 + pytestFlags = lib.optionals (xineBackend || !withGstPlugins) [ 39 39 "--ignore=tests/plugin/test_replaygain.py" 40 40 ] ++ [ 41 41 # requires networking ··· 65 65 runHook postCheck 66 66 ''; 67 67 68 - preFixup = stdenv.lib.optionalString (kakasi != null) "gappsWrapperArgs+=(--prefix PATH : ${kakasi}/bin)"; 68 + preFixup = lib.optionalString (kakasi != null) "gappsWrapperArgs+=(--prefix PATH : ${kakasi}/bin)"; 69 69 70 70 meta = with lib; { 71 71 description = "GTK-based audio player written in Python, using the Mutagen tagging library";
+1 -1
pkgs/applications/audio/radiotray-ng/default.nix
··· 84 84 doCheck = !stdenv.isAarch64; # single failure that I can't explain 85 85 86 86 preFixup = '' 87 - gappsWrapperArgs+=(--suffix PATH : ${stdenv.lib.makeBinPath [ dbus ]}) 87 + gappsWrapperArgs+=(--suffix PATH : ${lib.makeBinPath [ dbus ]}) 88 88 wrapProgram $out/bin/rt2rtng --prefix PYTHONPATH : $PYTHONPATH 89 89 ''; 90 90
+2 -2
pkgs/applications/audio/reaper/default.nix
··· 9 9 version = "6.19"; 10 10 11 11 src = fetchurl { 12 - url = "https://www.reaper.fm/files/${stdenv.lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz"; 12 + url = "https://www.reaper.fm/files/${lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz"; 13 13 sha256 = "1cdy5ilpfidz7xyqn2i41szr24ilcmpl35aw1vbashf0b6dg48la"; 14 14 }; 15 15 ··· 43 43 rm $out/opt/REAPER/uninstall-reaper.sh 44 44 45 45 wrapProgram $out/opt/REAPER/reaper \ 46 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libpulseaudio libjack2 ]}" 46 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libpulseaudio libjack2 ]}" 47 47 48 48 mkdir $out/bin 49 49 ln -s $out/opt/REAPER/reaper $out/bin/
+1 -1
pkgs/applications/audio/redoflacs/default.nix
··· 34 34 35 35 postFixup = '' 36 36 wrapProgram $out/bin/redoflacs \ 37 - --prefix PATH : ${stdenv.lib.makeBinPath ([ flac sox ])} 37 + --prefix PATH : ${lib.makeBinPath ([ flac sox ])} 38 38 ''; 39 39 40 40 meta = with lib; {
+10 -10
pkgs/applications/audio/renoise/default.nix
··· 1 - { stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib 1 + { lib, stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib 2 2 , mpg123, releasePath ? null }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 # To use the full release version: 7 7 # 1) Sign into https://backstage.renoise.com and download the release version to some stable location. ··· 19 19 src = 20 20 if stdenv.hostPlatform.system == "x86_64-linux" then 21 21 if releasePath == null then 22 - fetchurl { 23 - urls = [ 24 - "https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz" 25 - "https://web.archive.org/web/https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz" 26 - ]; 27 - sha256 = "1v249kmyidx55kppk3sry7yg6hl1a91ixhnwz36h4y134fs7bkrl"; 28 - } 22 + fetchurl { 23 + urls = [ 24 + "https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz" 25 + "https://web.archive.org/web/https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz" 26 + ]; 27 + sha256 = "1v249kmyidx55kppk3sry7yg6hl1a91ixhnwz36h4y134fs7bkrl"; 28 + } 29 29 else 30 - releasePath 30 + releasePath 31 31 else throw "Platform is not supported by Renoise"; 32 32 33 33 buildInputs = [ alsaLib libjack2 libX11 libXcursor libXext libXrandr ];
+1 -1
pkgs/applications/audio/rhythmbox/default.nix
··· 22 22 name = "${pname}-${version}"; 23 23 24 24 src = fetchurl { 25 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 25 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 26 26 sha256 = "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"; 27 27 }; 28 28
+1 -1
pkgs/applications/audio/schismtracker/default.nix
··· 17 17 18 18 nativeBuildInputs = [ autoreconfHook python ]; 19 19 20 - buildInputs = [ SDL ] ++ stdenv.lib.optional stdenv.isLinux alsaLib; 20 + buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsaLib; 21 21 22 22 meta = with lib; { 23 23 description = "Music tracker application, free reimplementation of Impulse Tracker";
+4 -4
pkgs/applications/audio/shntool/default.nix
··· 1 - { stdenv, fetchurl, flac }: 1 + { lib, stdenv, fetchurl, flac }: 2 2 3 3 stdenv.mkDerivation { 4 4 version = "3.0.10"; ··· 14 14 meta = { 15 15 description = "Multi-purpose WAVE data processing and reporting utility"; 16 16 homepage = "http://www.etree.org/shnutils/shntool/"; 17 - license = stdenv.lib.licenses.gpl2Plus; 18 - platforms = stdenv.lib.platforms.all; 19 - maintainers = with stdenv.lib.maintainers; [ jcumming ]; 17 + license = lib.licenses.gpl2Plus; 18 + platforms = lib.platforms.all; 19 + maintainers = with lib.maintainers; [ jcumming ]; 20 20 }; 21 21 }
+4 -4
pkgs/applications/audio/snd/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { lib, stdenv, fetchurl, pkgconfig 2 2 , gtk2, alsaLib 3 3 , fftw, gsl 4 4 }: ··· 21 21 meta = { 22 22 description = "Sound editor"; 23 23 homepage = "http://ccrma.stanford.edu/software/snd"; 24 - platforms = stdenv.lib.platforms.linux; 25 - license = stdenv.lib.licenses.free; 26 - maintainers = with stdenv.lib.maintainers; [ ]; 24 + platforms = lib.platforms.linux; 25 + license = lib.licenses.free; 26 + maintainers = with lib.maintainers; [ ]; 27 27 }; 28 28 29 29
+4 -4
pkgs/applications/audio/sonata/default.nix
··· 1 - { stdenv, fetchFromGitHub, wrapGAppsHook, gettext 1 + { lib, stdenv, fetchFromGitHub, wrapGAppsHook, gettext 2 2 , python3Packages, gnome3, gtk3, glib, gdk-pixbuf, gsettings-desktop-schemas, gobject-introspection }: 3 3 4 4 let ··· 74 74 - Available in 24 languages 75 75 ''; 76 76 homepage = "https://www.nongnu.org/sonata/"; 77 - license = stdenv.lib.licenses.gpl3; 78 - platforms = stdenv.lib.platforms.linux; 79 - maintainers = [ stdenv.lib.maintainers.rvl ]; 77 + license = lib.licenses.gpl3; 78 + platforms = lib.platforms.linux; 79 + maintainers = [ lib.maintainers.rvl ]; 80 80 }; 81 81 }
+1 -1
pkgs/applications/audio/sound-juicer/default.nix
··· 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 12 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 13 13 sha256 = "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"; 14 14 }; 15 15
+3 -3
pkgs/applications/audio/soundscape-renderer/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchgit 3 3 , autoreconfHook 4 4 , help2man ··· 47 47 meta = { 48 48 homepage = "http://spatialaudio.net/ssr/"; 49 49 description = "The SoundScape Renderer (SSR) is a tool for real-time spatial audio reproduction"; 50 - license = stdenv.lib.licenses.gpl3; 51 - maintainers = [ stdenv.lib.maintainers.fridh ]; 50 + license = lib.licenses.gpl3; 51 + maintainers = [ lib.maintainers.fridh ]; 52 52 }; 53 53 54 54 }
+1 -1
pkgs/applications/audio/soundtracker/default.nix
··· 33 33 jack2 34 34 audiofile 35 35 goocanvas 36 - ] ++ stdenv.lib.optional stdenv.isLinux alsaLib; 36 + ] ++ lib.optional stdenv.isLinux alsaLib; 37 37 38 38 hardeningDisable = [ "format" ]; 39 39
+4 -4
pkgs/applications/audio/spectrojack/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libjack2, fftwFloat, gtk2 }: 1 + { lib, stdenv, fetchurl, pkgconfig, libjack2, fftwFloat, gtk2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "spectrojack"; ··· 24 24 meta = { 25 25 description = "A little spectrogram/audiogram/sonogram/whatever for JACK"; 26 26 homepage = "http://sed.free.fr/spectrojack"; 27 - license = stdenv.lib.licenses.publicDomain; 28 - maintainers = with stdenv.lib.maintainers; [ sleexyz ]; 29 - platforms = with stdenv.lib.platforms; linux; 27 + license = lib.licenses.publicDomain; 28 + maintainers = with lib.maintainers; [ sleexyz ]; 29 + platforms = with lib.platforms; linux; 30 30 }; 31 31 }
+1 -1
pkgs/applications/audio/split2flac/default.nix
··· 9 9 wrapSplit2flac = format: '' 10 10 makeWrapper $out/bin/.split2flac-wrapped $out/bin/split2${format} \ 11 11 --set SPLIT2FLAC_FORMAT ${format} \ 12 - --prefix PATH : ${stdenv.lib.makeBinPath [ 12 + --prefix PATH : ${lib.makeBinPath [ 13 13 shntool cuetools 14 14 flac faac mp4v2 wavpack mac 15 15 imagemagick libiconv enca lame pythonPackages.mutagen vorbis-tools
+3 -3
pkgs/applications/audio/spotify-tui/default.nix
··· 13 13 14 14 cargoSha256 = "100c7x603qyhav3p24clwfal4ngh0258x9lqsi84kcj4wq2f3i8f"; 15 15 16 - nativeBuildInputs = [ installShellFiles ] ++ stdenv.lib.optionals stdenv.isLinux [ pkgconfig python3 ]; 16 + nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkgconfig python3 ]; 17 17 buildInputs = [ ] 18 - ++ stdenv.lib.optionals stdenv.isLinux [ openssl libxcb ] 19 - ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ]; 18 + ++ lib.optionals stdenv.isLinux [ openssl libxcb ] 19 + ++ lib.optionals stdenv.isDarwin [ AppKit Security ]; 20 20 21 21 postInstall = '' 22 22 for shell in bash fish zsh; do
+1 -1
pkgs/applications/audio/spotify/default.nix
··· 135 135 --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 136 136 --set-rpath $rpath $out/share/spotify/spotify 137 137 138 - librarypath="${stdenv.lib.makeLibraryPath deps}:$libdir" 138 + librarypath="${lib.makeLibraryPath deps}:$libdir" 139 139 wrapProgram $out/share/spotify/spotify \ 140 140 --prefix LD_LIBRARY_PATH : "$librarypath" \ 141 141 --prefix PATH : "${gnome3.zenity}/bin"
+5 -5
pkgs/applications/audio/spotifyd/default.nix
··· 26 26 cargoBuildFlags = [ 27 27 "--no-default-features" 28 28 "--features" 29 - "${stdenv.lib.optionalString withALSA "alsa_backend,"}${stdenv.lib.optionalString withPulseAudio "pulseaudio_backend,"}${stdenv.lib.optionalString withPortAudio "portaudio_backend,"}${stdenv.lib.optionalString withMpris "dbus_mpris,"}${stdenv.lib.optionalString withKeyring "dbus_keyring,"}" 29 + "${lib.optionalString withALSA "alsa_backend,"}${lib.optionalString withPulseAudio "pulseaudio_backend,"}${lib.optionalString withPortAudio "portaudio_backend,"}${lib.optionalString withMpris "dbus_mpris,"}${lib.optionalString withKeyring "dbus_keyring,"}" 30 30 ]; 31 31 32 32 nativeBuildInputs = [ pkgconfig ]; 33 33 34 34 buildInputs = [ openssl ] 35 - ++ stdenv.lib.optional withALSA alsaLib 36 - ++ stdenv.lib.optional withPulseAudio libpulseaudio 37 - ++ stdenv.lib.optional withPortAudio portaudio 38 - ++ stdenv.lib.optional (withMpris || withKeyring) dbus; 35 + ++ lib.optional withALSA alsaLib 36 + ++ lib.optional withPulseAudio libpulseaudio 37 + ++ lib.optional withPortAudio portaudio 38 + ++ lib.optional (withMpris || withKeyring) dbus; 39 39 40 40 doCheck = false; 41 41
+2 -2
pkgs/applications/audio/squeezelite/default.nix
··· 9 9 }: 10 10 11 11 let 12 - concatStringsSep = stdenv.lib.concatStringsSep; 13 - optional = stdenv.lib.optional; 12 + concatStringsSep = lib.concatStringsSep; 13 + optional = lib.optional; 14 14 opts = [ "-DLINKALL" ] 15 15 ++ optional dsdSupport "-DDSD" 16 16 ++ optional (!faad2Support) "-DNO_FAAD"
+1 -1
pkgs/applications/audio/sunvox/default.nix
··· 1 1 { lib, stdenv, fetchurl, unzip, alsaLib, libX11, libXi, SDL2 }: 2 2 3 3 let 4 - libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc alsaLib libX11 libXi SDL2 ]; 4 + libPath = lib.makeLibraryPath [ stdenv.cc.cc alsaLib libX11 libXi SDL2 ]; 5 5 arch = 6 6 if stdenv.isAarch64 7 7 then "arm64"
+2 -2
pkgs/applications/audio/tap-plugins/default.nix
··· 1 - { stdenv, fetchurl, ladspa-sdk, pkgs, ... }: 1 + { lib, stdenv, fetchurl, ladspa-sdk, pkgs, ... }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tap-plugins"; ··· 17 17 substituteInPlace Makefile --replace /usr/local "$out" 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "Tom's Audio Processing plugins"; 22 22 longDescription = '' 23 23 A number of LADSPA plugins including: TAP AutoPanner, TAP Chorus/Flanger, TAP DeEsser,
+4 -4
pkgs/applications/audio/timemachine/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, gtk2 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, gtk2 2 2 , libjack2, libsndfile 3 3 }: 4 4 ··· 24 24 meta = { 25 25 description = "JACK audio recorder"; 26 26 homepage = "http://plugin.org.uk/timemachine/"; 27 - license = stdenv.lib.licenses.lgpl2; 28 - platforms = stdenv.lib.platforms.linux; 29 - maintainers = [ stdenv.lib.maintainers.nico202 ]; 27 + license = lib.licenses.lgpl2; 28 + platforms = lib.platforms.linux; 29 + maintainers = [ lib.maintainers.nico202 ]; 30 30 }; 31 31 } 32 32
+2 -2
pkgs/applications/audio/uade123/default.nix
··· 19 19 description = "Plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API"; 20 20 homepage = "http://zakalwe.fi/uade/"; 21 21 license = licenses.gpl2; 22 - maintainers = [ stdenv.lib.maintainers.gnidorah ]; 23 - platforms = stdenv.lib.platforms.unix; 22 + maintainers = [ lib.maintainers.gnidorah ]; 23 + platforms = lib.platforms.unix; 24 24 }; 25 25 }
+1 -1
pkgs/applications/audio/vcv-rack/default.nix
··· 36 36 sha256 = "17kd0lh2x3x12bxkyhq6z8sg6vxln8m9qirf0basvcsmylr6rb64"; 37 37 }; 38 38 in 39 - with stdenv.lib; stdenv.mkDerivation rec { 39 + with lib; stdenv.mkDerivation rec { 40 40 pname = "VCV-Rack"; 41 41 version = "1.1.6"; 42 42
+4 -4
pkgs/applications/audio/wavegain/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "wavegain-1.3.1"; ··· 17 17 meta = { 18 18 description = "ReplayGain for wave files"; 19 19 homepage = "https://github.com/MestreLion/wavegain"; 20 - license = stdenv.lib.licenses.lgpl21; 21 - platforms = stdenv.lib.platforms.linux; 22 - maintainers = [ stdenv.lib.maintainers.robbinch ]; 20 + license = lib.licenses.lgpl21; 21 + platforms = lib.platforms.linux; 22 + maintainers = [ lib.maintainers.robbinch ]; 23 23 }; 24 24 }
+2 -2
pkgs/applications/audio/whipper/default.nix
··· 3 3 4 4 python3.pkgs.buildPythonApplication rec { 5 5 pname = "whipper"; 6 - version = "0.9.1.dev7+g${stdenv.lib.substring 0 7 src.rev}"; 6 + version = "0.9.1.dev7+g${lib.substring 0 7 src.rev}"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "whipper-team"; ··· 37 37 ]; 38 38 39 39 makeWrapperArgs = [ 40 - "--prefix" "PATH" ":" (stdenv.lib.makeBinPath [ accuraterip-checksum cdrdao util-linux flac sox ]) 40 + "--prefix" "PATH" ":" (lib.makeBinPath [ accuraterip-checksum cdrdao util-linux flac sox ]) 41 41 ]; 42 42 43 43 preBuild = ''
+2 -2
pkgs/applications/audio/x42-plugins/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { lib, stdenv, fetchurl, pkgconfig 2 2 , libltc, libsndfile, libsamplerate, ftgl, freefont_ttf, libjack2 3 3 , libGLU, lv2, gtk2, cairo, pango, fftwFloat, zita-convolver }: 4 4 ··· 31 31 sed -i 's|/usr/include/zita-convolver.h|${zita-convolver}/include/zita-convolver.h|g' ./convoLV2/Makefile 32 32 ''; 33 33 34 - meta = with stdenv.lib; 34 + meta = with lib; 35 35 { description = "Collection of LV2 plugins by Robin Gareus"; 36 36 homepage = "https://github.com/x42/x42-plugins"; 37 37 maintainers = with maintainers; [ magnetophon ];
+4 -4
pkgs/applications/audio/yasr/default.nix
··· 1 - {stdenv,fetchurl}: 1 + {lib, stdenv,fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "yasr"; ··· 21 21 homepage = "http://yasr.sourceforge.net"; 22 22 description = "A general-purpose console screen reader"; 23 23 longDescription = "Yasr is a general-purpose console screen reader for GNU/Linux and other Unix-like operating systems."; 24 - platforms = stdenv.lib.platforms.linux; 25 - license = stdenv.lib.licenses.gpl2; 26 - maintainers = with stdenv.lib.maintainers; [ jhhuh ]; 24 + platforms = lib.platforms.linux; 25 + license = lib.licenses.gpl2; 26 + maintainers = with lib.maintainers; [ jhhuh ]; 27 27 }; 28 28 }
+4 -4
pkgs/applications/audio/ympd/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, openssl }: 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ympd"; ··· 17 17 meta = { 18 18 homepage = "https://www.ympd.org"; 19 19 description = "Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS"; 20 - maintainers = [ stdenv.lib.maintainers.siddharthist ]; 21 - platforms = stdenv.lib.platforms.unix; 22 - license = stdenv.lib.licenses.gpl2; 20 + maintainers = [ lib.maintainers.siddharthist ]; 21 + platforms = lib.platforms.unix; 22 + license = lib.licenses.gpl2; 23 23 }; 24 24 }
+1 -1
pkgs/applications/backup/areca/default.nix
··· 26 26 substituteInPlace jni/com_myJava_file_metadata_posix_jni_wrapper_FileAccessWrapper.c --replace attr/xattr.h sys/xattr.h 27 27 28 28 sed -i "s#^PROGRAM_DIR.*#PROGRAM_DIR=$out#g" bin/areca_run.sh 29 - sed -i "s#^LIBRARY_PATH.*#LIBRARY_PATH=$out/lib:${stdenv.lib.makeLibraryPath [ swt acl ]}#g" bin/areca_run.sh 29 + sed -i "s#^LIBRARY_PATH.*#LIBRARY_PATH=$out/lib:${lib.makeLibraryPath [ swt acl ]}#g" bin/areca_run.sh 30 30 31 31 # https://sourceforge.net/p/areca/bugs/563/ 32 32 substituteInPlace bin/areca_run.sh --replace '[ "$JAVA_IMPL" = "java" ]' \
+2 -2
pkgs/applications/blockchains/bitcoin-abc.nix
··· 1 - { stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, openssl, db53, boost 1 + { lib, stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, openssl, db53, boost 2 2 , zlib, miniupnpc, qtbase ? null , qttools ? null, util-linux, protobuf, qrencode, libevent 3 3 , withGui, python3, jemalloc, zeromq4 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 mkDerivation rec { 8 8
+2 -2
pkgs/applications/blockchains/bitcoin-classic.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost 2 2 , zlib, miniupnpc, qtbase ? null, qttools ? null, util-linux, protobuf, qrencode, libevent 3 3 , withGui }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 8
+2 -2
pkgs/applications/blockchains/bitcoin-gold.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , openssl 4 4 , boost ··· 16 16 , wrapQtAppsHook ? null 17 17 }: 18 18 19 - with stdenv.lib; 19 + with lib; 20 20 21 21 stdenv.mkDerivation rec { 22 22
+2 -2
pkgs/applications/blockchains/bitcoin-unlimited.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost 2 2 , zlib, miniupnpc, util-linux, protobuf, qrencode, libevent, python3 3 3 , withGui, wrapQtAppsHook ? null, qtbase ? null, qttools ? null 4 4 , Foundation, ApplicationServices, AppKit }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 stdenv.mkDerivation rec { 9 9 name = "bitcoin" + (toString (optional (!withGui) "d")) + "-unlimited-" + version;
+2 -2
pkgs/applications/blockchains/bitcoin.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , pkgconfig 4 4 , autoreconfHook ··· 18 18 , withGui 19 19 }: 20 20 21 - with stdenv.lib; 21 + with lib; 22 22 let 23 23 version = "0.20.1"; 24 24 majorMinorVersion = versions.majorMinor version;
+2 -2
pkgs/applications/blockchains/btcdeb/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , autoreconfHook 4 4 , pkgconfig 5 5 , openssl 6 6 }: 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 stdenv.mkDerivation rec { 10 10 pname = "btcdeb-unstable"; 11 11 version = "200806";
+2 -2
pkgs/applications/blockchains/clightning.nix
··· 1 - { stdenv, python3, pkgconfig, which, libtool, autoconf, automake, 1 + { lib, stdenv, python3, pkgconfig, which, libtool, autoconf, automake, 2 2 autogen, sqlite, gmp, zlib, fetchurl, unzip, fetchpatch, gettext }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 stdenv.mkDerivation rec { 6 6 pname = "clightning"; 7 7 version = "0.9.2";
+2 -2
pkgs/applications/blockchains/dashpay.nix
··· 1 - { fetchFromGitHub, stdenv, pkgconfig, autoreconfHook 1 + { fetchFromGitHub, lib, stdenv, pkgconfig, autoreconfHook 2 2 , openssl, db48, boost, zlib, miniupnpc 3 3 , qrencode, glib, protobuf, yasm, libevent 4 4 , util-linux ··· 6 6 , disable_Wallet ? false 7 7 , disable_Daemon ? false }: 8 8 9 - with stdenv.lib; 9 + with lib; 10 10 stdenv.mkDerivation rec { 11 11 pname = "dashpay"; 12 12 version = "0.12.2.3";
+2 -2
pkgs/applications/blockchains/digibyte.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , openssl 4 4 , boost ··· 15 15 , wrapQtAppsHook ? null 16 16 }: 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "digibyte";
+2 -2
pkgs/applications/blockchains/dogecoin.nix
··· 1 - { stdenv , fetchFromGitHub 1 + { lib, stdenv , fetchFromGitHub 2 2 , pkgconfig, autoreconfHook 3 3 , db5, openssl, boost, zlib, miniupnpc, libevent 4 4 , protobuf, util-linux, qt4, qrencode 5 5 , withGui }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 stdenv.mkDerivation rec { 9 9 name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version; 10 10 version = "1.14.2";
+1 -1
pkgs/applications/blockchains/go-ethereum.nix
··· 35 35 36 36 # Fix for usb-related segmentation faults on darwin 37 37 propagatedBuildInputs = 38 - stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ]; 38 + lib.optionals stdenv.isDarwin [ libobjc IOKit ]; 39 39 40 40 meta = with lib; { 41 41 homepage = "https://geth.ethereum.org/";
+2 -2
pkgs/applications/blockchains/litecoin.nix
··· 1 - { stdenv, mkDerivation, fetchFromGitHub 1 + { lib, stdenv, mkDerivation, fetchFromGitHub 2 2 , pkgconfig, autoreconfHook 3 3 , openssl, db48, boost, zlib, miniupnpc 4 4 , glib, protobuf, util-linux, qrencode ··· 8 8 , zeromq 9 9 }: 10 10 11 - with stdenv.lib; 11 + with lib; 12 12 13 13 mkDerivation rec { 14 14
+2 -2
pkgs/applications/blockchains/monero-gui/default.nix
··· 1 - { stdenv, wrapQtAppsHook, makeDesktopItem 1 + { lib, stdenv, wrapQtAppsHook, makeDesktopItem 2 2 , fetchFromGitHub 3 3 , cmake, qttools, pkgconfig 4 4 , qtbase, qtdeclarative, qtgraphicaleffects ··· 15 15 , python3 ? null 16 16 }: 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 20 20 assert trezorSupport -> all (x: x!=null) [ libusb1 protobuf python3 ]; 21 21
+1 -1
pkgs/applications/blockchains/monero/default.nix
··· 10 10 , python3 ? null 11 11 }: 12 12 13 - with stdenv.lib; 13 + with lib; 14 14 15 15 assert stdenv.isDarwin -> IOKit != null; 16 16 assert trezorSupport -> all (x: x!=null) [ libusb1 protobuf python3 ];
+2 -2
pkgs/applications/blockchains/namecoin.nix
··· 1 - { stdenv, fetchFromGitHub, openssl, boost, libevent, autoreconfHook, db4, miniupnpc, eject, pkgconfig, qt4, protobuf, qrencode, hexdump 1 + { lib, stdenv, fetchFromGitHub, openssl, boost, libevent, autoreconfHook, db4, miniupnpc, eject, pkgconfig, qt4, protobuf, qrencode, hexdump 2 2 , withGui }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 stdenv.mkDerivation rec { 6 6 version = "nc0.20.1"; 7 7 name = "namecoin" + toString (optional (!withGui) "d") + "-" + version;
+3 -3
pkgs/applications/blockchains/openethereum/default.nix
··· 32 32 ]; 33 33 34 34 buildInputs = [ openssl ] 35 - ++ stdenv.lib.optionals stdenv.isLinux [ systemd ] 36 - ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ]; 35 + ++ lib.optionals stdenv.isLinux [ systemd ] 36 + ++ lib.optionals stdenv.isDarwin [ darwin.Security ]; 37 37 38 38 cargoBuildFlags = [ "--features final" ]; 39 39 ··· 45 45 homepage = "http://parity.io/ethereum"; 46 46 license = licenses.gpl3; 47 47 maintainers = with maintainers; [ akru xrelkd ]; 48 - platforms = stdenv.lib.platforms.unix; 48 + platforms = lib.platforms.unix; 49 49 }; 50 50 }
+2 -2
pkgs/applications/blockchains/particl/particl-core.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , autoreconfHook 3 3 , boost 4 4 , db48 ··· 13 13 , python3 14 14 }: 15 15 16 - with stdenv.lib; 16 + with lib; 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "particl-core";
+1 -1
pkgs/applications/blockchains/pivx.nix
··· 7 7 , disableDaemon ? false 8 8 , withGui ? false }: 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 stdenv.mkDerivation rec { 12 12 name = "pivx-${version}"; 13 13 version = "4.1.1";
+2 -2
pkgs/applications/blockchains/vertcoin.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , openssl 4 4 , boost ··· 15 15 , wrapQtAppsHook ? null 16 16 }: 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "vertcoin";
+1 -1
pkgs/applications/blockchains/wasabibackend/default.nix
··· 83 83 cp -r ${projectName}/bin/${projectConfiguration}/netcoreapp3.1/${projectRuntime}/publish $out/lib 84 84 mkdir -p $out/bin 85 85 makeWrapper $out/lib/WalletWasabi.Backend $out/bin/${pname} \ 86 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ openssl zlib ]} \ 86 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ openssl zlib ]} \ 87 87 --run "cd $out/lib" 88 88 ''; 89 89
+1 -1
pkgs/applications/blockchains/wasabiwallet/default.nix
··· 11 11 }: 12 12 13 13 let 14 - libPath = stdenv.lib.makeLibraryPath [ 14 + libPath = lib.makeLibraryPath [ 15 15 curl 16 16 dotnet-netcore 17 17 fontconfig.lib
+2 -2
pkgs/applications/blockchains/whirlpool-gui/default.nix
··· 90 90 ''; 91 91 }; 92 92 93 - passthru.prefetchYarnCache = stdenv.lib.overrideDerivation yarnCache (d: { 94 - outputHash = stdenv.lib.fakeSha256; 93 + passthru.prefetchYarnCache = lib.overrideDerivation yarnCache (d: { 94 + outputHash = lib.fakeSha256; 95 95 }); 96 96 97 97 meta = with lib; {
+2 -2
pkgs/applications/blockchains/wownero.nix
··· 1 - { stdenv, fetchgit, cmake, boost, miniupnpc_2, openssl, unbound 1 + { lib, stdenv, fetchgit, cmake, boost, miniupnpc_2, openssl, unbound 2 2 , readline, libsodium, rapidjson, fetchurl 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 let 8 8 randomwowVersion = "1.1.7";
+3 -3
pkgs/applications/editors/aewan/default.nix
··· 1 - { stdenv, fetchurl, zlib, ncurses }: 1 + { lib, stdenv, fetchurl, zlib, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "aewan"; ··· 14 14 meta = { 15 15 description = "Ascii-art Editor Without A Name"; 16 16 homepage = "http://aewan.sourceforge.net/"; 17 - license = stdenv.lib.licenses.gpl2Plus; 18 - platforms = stdenv.lib.platforms.unix; 17 + license = lib.licenses.gpl2Plus; 18 + platforms = lib.platforms.unix; 19 19 }; 20 20 }
+1 -1
pkgs/applications/editors/amp/default.nix
··· 15 15 cargoSha256 = "09v991rl2w4c4jh7ga7q1lk6wyl2vr71j5cpniij8mcvszrz78qf"; 16 16 17 17 nativeBuildInputs = [ cmake pkgconfig python3 ]; 18 - buildInputs = [ openssl xorg.libxcb libgit2 ] ++ stdenv.lib.optionals stdenv.isDarwin 18 + buildInputs = [ openssl xorg.libxcb libgit2 ] ++ lib.optionals stdenv.isDarwin 19 19 (with darwin.apple_sdk.frameworks; [ curl Security AppKit ]); 20 20 21 21 # Tests need to write to the theme directory in HOME.
+2 -2
pkgs/applications/editors/android-studio/common.nix
··· 72 72 cp -r . $out 73 73 wrapProgram $out/bin/studio.sh \ 74 74 --set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \ 75 - --prefix PATH : "${stdenv.lib.makeBinPath [ 75 + --prefix PATH : "${lib.makeBinPath [ 76 76 77 77 # Checked in studio.sh 78 78 coreutils ··· 95 95 git 96 96 ps 97 97 ]}" \ 98 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ 98 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ 99 99 100 100 # Crash at startup without these 101 101 fontconfig
+2 -2
pkgs/applications/editors/atom/default.nix
··· 15 15 }; 16 16 17 17 common = pname: {version, sha256, beta ? null}: 18 - let fullVersion = version + stdenv.lib.optionalString (beta != null) "-beta${toString beta}"; 18 + let fullVersion = version + lib.optionalString (beta != null) "-beta${toString beta}"; 19 19 name = "${pname}-${fullVersion}"; 20 20 in stdenv.mkDerivation { 21 21 inherit name; ··· 89 89 platforms = platforms.x86_64; 90 90 }; 91 91 }; 92 - in stdenv.lib.mapAttrs common versions 92 + in lib.mapAttrs common versions
+1 -1
pkgs/applications/editors/brackets/default.nix
··· 1 1 { stdenv, lib, fetchurl, gtk2, glib, gdk-pixbuf, alsaLib, nss, nspr, gconf 2 2 , cups, libgcrypt_1_5, systemd, dbus, libXdamage, expat }: 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 let 6 6 bracketsLibs = makeLibraryPath [
+5 -5
pkgs/applications/editors/code-browser/default.nix
··· 28 28 gtk3 29 29 pkg-config 30 30 ] 31 - ++ stdenv.lib.optionals withQt [ wrapQtAppsHook ]; 32 - buildInputs = stdenv.lib.optionals withQt [ qtbase ] 33 - ++ stdenv.lib.optionals withGtk [ gtk3 ]; 31 + ++ lib.optionals withQt [ wrapQtAppsHook ]; 32 + buildInputs = lib.optionals withQt [ qtbase ] 33 + ++ lib.optionals withGtk [ gtk3 ]; 34 34 makeFlags = [ 35 35 "prefix=$(out)" 36 36 "COPPER=${copper}/bin/copper-elf64" 37 37 "with-local-libs" 38 38 "QINC=${qtbase.dev}/include" 39 39 ] 40 - ++ stdenv.lib.optionals withQt [ "UI=qt" ] 41 - ++ stdenv.lib.optionals withGtk [ "UI=gtk" ]; 40 + ++ lib.optionals withQt [ "UI=qt" ] 41 + ++ lib.optionals withGtk [ "UI=gtk" ]; 42 42 meta = with lib; { 43 43 description = "Folding text editor, designed to hierarchically structure any kind of text file and especially source code"; 44 44 homepage = "https://tibleiz.net/code-browser/";
+3 -3
pkgs/applications/editors/codeblocks/default.nix
··· 1 - { stdenv, fetchurl, autoreconfHook, libtool, pkgconfig, file, zip, wxGTK, gtk2 1 + { lib, stdenv, fetchurl, autoreconfHook, libtool, pkgconfig, file, zip, wxGTK, gtk2 2 2 , contribPlugins ? false, hunspell, gamin, boost 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "${pname}-${stdenv.lib.optionalString contribPlugins "full-"}${version}"; 8 + name = "${pname}-${lib.optionalString contribPlugins "full-"}${version}"; 9 9 version = "17.12"; 10 10 pname = "codeblocks"; 11 11
+4 -4
pkgs/applications/editors/dhex/default.nix
··· 1 - { stdenv, fetchurl, ncurses }: 1 + { lib, stdenv, fetchurl, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "dhex"; ··· 26 26 meta = { 27 27 description = "A themeable hex editor with diff mode"; 28 28 homepage = "http://www.dettus.net/dhex/"; 29 - license = stdenv.lib.licenses.gpl2; 30 - maintainers = with stdenv.lib.maintainers; [qknight]; 31 - platforms = with stdenv.lib.platforms; linux; 29 + license = lib.licenses.gpl2; 30 + maintainers = with lib.maintainers; [qknight]; 31 + platforms = with lib.platforms; linux; 32 32 }; 33 33 }
+4 -4
pkgs/applications/editors/eclipse/build-eclipse.nix
··· 1 - { stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender 1 + { lib, stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender 2 2 , zlib, jdk, glib, gtk, libXtst, gsettings-desktop-schemas, webkitgtk 3 3 , makeWrapper, perl, ... }: 4 4 ··· 20 20 buildInputs = [ 21 21 fontconfig freetype glib gsettings-desktop-schemas gtk jdk libX11 22 22 libXrender libXtst makeWrapper zlib 23 - ] ++ stdenv.lib.optional (webkitgtk != null) webkitgtk; 23 + ] ++ lib.optional (webkitgtk != null) webkitgtk; 24 24 25 25 buildCommand = '' 26 26 # Unpack tarball. ··· 31 31 interpreter=$(echo ${stdenv.glibc.out}/lib/ld-linux*.so.2) 32 32 libCairo=$out/eclipse/libcairo-swt.so 33 33 patchelf --set-interpreter $interpreter $out/eclipse/eclipse 34 - [ -f $libCairo ] && patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ freetype fontconfig libX11 libXrender zlib ]} $libCairo 34 + [ -f $libCairo ] && patchelf --set-rpath ${lib.makeLibraryPath [ freetype fontconfig libX11 libXrender zlib ]} $libCairo 35 35 36 36 # Create wrapper script. Pass -configuration to store 37 37 # settings in ~/.eclipse/org.eclipse.platform_<version> rather ··· 41 41 42 42 makeWrapper $out/eclipse/eclipse $out/bin/eclipse \ 43 43 --prefix PATH : ${jdk}/bin \ 44 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk libXtst ] ++ stdenv.lib.optional (webkitgtk != null) webkitgtk)} \ 44 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk libXtst ] ++ lib.optional (webkitgtk != null) webkitgtk)} \ 45 45 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ 46 46 --add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration" 47 47
+4 -4
pkgs/applications/editors/eclipse/default.nix
··· 1 - { stdenv, fetchurl, makeDesktopItem, makeWrapper 1 + { lib, stdenv, fetchurl, makeDesktopItem, makeWrapper 2 2 , freetype, fontconfig, libX11, libXrender, zlib 3 3 , glib, gtk3, gtk2, libXtst, jdk, jdk8, gsettings-desktop-schemas 4 4 , webkitgtk ? null # for internal web browser ··· 148 148 pluginEnv = buildEnv { 149 149 name = "eclipse-plugins"; 150 150 paths = 151 - with stdenv.lib; 151 + with lib; 152 152 filter (x: x ? isEclipsePlugin) (closePropagation plugins); 153 153 }; 154 154 ··· 156 156 # add the property indicating the plugin directory. 157 157 dropinPropName = "org.eclipse.equinox.p2.reconciler.dropins.directory"; 158 158 dropinProp = "-D${dropinPropName}=${pluginEnv}/eclipse/dropins"; 159 - jvmArgsText = stdenv.lib.concatStringsSep "\n" (jvmArgs ++ [dropinProp]); 159 + jvmArgsText = lib.concatStringsSep "\n" (jvmArgs ++ [dropinProp]); 160 160 161 161 # Base the derivation name on the name of the underlying 162 162 # Eclipse. 163 - name = (stdenv.lib.meta.appendToName "with-plugins" eclipse).name; 163 + name = (lib.meta.appendToName "with-plugins" eclipse).name; 164 164 in 165 165 runCommand name { buildInputs = [ makeWrapper ]; } '' 166 166 mkdir -p $out/bin $out/etc
+4 -4
pkgs/applications/editors/ed/default.nix
··· 1 - { stdenv, fetchurl, lzip 1 + { lib, stdenv, fetchurl, lzip 2 2 }: 3 3 4 4 # Note: this package is used for bootstrapping fetchurl, and thus ··· 33 33 full-screen editors such as GNU Emacs or GNU Moe. 34 34 ''; 35 35 36 - license = stdenv.lib.licenses.gpl3Plus; 36 + license = lib.licenses.gpl3Plus; 37 37 38 38 homepage = "https://www.gnu.org/software/ed/"; 39 39 40 40 maintainers = [ ]; 41 - platforms = stdenv.lib.platforms.unix; 41 + platforms = lib.platforms.unix; 42 42 }; 43 - } // stdenv.lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) { 43 + } // lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) { 44 44 # This may be moved above during a stdenv rebuild. 45 45 preConfigure = '' 46 46 configureFlagsArray+=("CC=$CC")
+2 -2
pkgs/applications/editors/elvis/default.nix
··· 1 - { fetchurl, fetchpatch, stdenv, ncurses }: 1 + { fetchurl, fetchpatch, lib, stdenv, ncurses }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "elvis-2.2_0"; ··· 41 41 meta = { 42 42 homepage = "http://elvis.the-little-red-haired-girl.org/"; 43 43 description = "A vi clone for Unix and other operating systems"; 44 - license = stdenv.lib.licenses.free; 44 + license = lib.licenses.free; 45 45 }; 46 46 }
+1 -1
pkgs/applications/editors/emacs-modes/cedet/default.nix
··· 41 41 Development Environment), and COGRE (COnnected GRaph Editor). 42 42 ''; 43 43 44 - license = stdenv.lib.licenses.gpl2Plus; 44 + license = lib.licenses.gpl2Plus; 45 45 46 46 homepage = "http://cedet.sourceforge.net/"; 47 47
+1 -1
pkgs/applications/editors/emacs-modes/ess-R-object-popup/default.nix
··· 17 17 meta = { 18 18 description = "Popup descriptions of R objects"; 19 19 homepage = "https://github.com/myuhe/ess-R-object-popup.el"; 20 - platforms = stdenv.lib.platforms.all; 20 + platforms = lib.platforms.all; 21 21 }; 22 22 }
+2 -2
pkgs/applications/editors/emacs-modes/helm-words/default.nix
··· 17 17 meta = { 18 18 description = "Emacs major mode for jade and stylus"; 19 19 homepage = "https://github.com/brianc/helm-words"; 20 - license = stdenv.lib.licenses.gpl3; 21 - platforms = stdenv.lib.platforms.all; 20 + license = lib.licenses.gpl3; 21 + platforms = lib.platforms.all; 22 22 }; 23 23 }
+1 -1
pkgs/applications/editors/emacs-modes/hsc3/default.nix
··· 23 23 meta = { 24 24 homepage = "http://rd.slavepianos.org/?t=hsc3"; 25 25 description = "hsc3 mode package for Emacs"; 26 - platforms = stdenv.lib.platforms.unix; 26 + platforms = lib.platforms.unix; 27 27 }; 28 28 }
+2 -2
pkgs/applications/editors/emacs-modes/org-mac-link/default.nix
··· 25 25 meta = { 26 26 description = "Insert org-mode links to items selected in various Mac apps"; 27 27 homepage = "https://orgmode.org/worg/org-contrib/org-mac-link.html"; 28 - license = stdenv.lib.licenses.gpl3; 29 - platforms = stdenv.lib.platforms.all; 28 + license = lib.licenses.gpl3; 29 + platforms = lib.platforms.all; 30 30 }; 31 31 }
+1 -1
pkgs/applications/editors/emacs-modes/perl-completion/default.nix
··· 18 18 meta = { 19 19 description = "Minor mode provides useful features for editing perl codes"; 20 20 homepage = "http://emacswiki.org/emacs/PerlCompletion"; 21 - platforms = stdenv.lib.platforms.all; 21 + platforms = lib.platforms.all; 22 22 }; 23 23 }
+1 -1
pkgs/applications/editors/emacs-modes/prolog/default.nix
··· 17 17 meta = { 18 18 homepage = "http://bruda.ca/emacs/prolog_mode_for_emacs/"; 19 19 description = "Prolog mode for Emacs"; 20 - license = stdenv.lib.licenses.gpl2Plus; 20 + license = lib.licenses.gpl2Plus; 21 21 }; 22 22 }
+1 -1
pkgs/applications/editors/emacs-modes/railgun/default.nix
··· 17 17 meta = { 18 18 description = "Propel yourself through a rails project with the power of magnets"; 19 19 homepage = "https://github.com/mbriggs/railgun.el"; 20 - platforms = stdenv.lib.platforms.all; 20 + platforms = lib.platforms.all; 21 21 }; 22 22 }
+2 -2
pkgs/applications/editors/emacs-modes/rect-mark/default.nix
··· 25 25 meta = { 26 26 description = "Mark a rectangle of text with highlighting"; 27 27 homepage = "http://emacswiki.org/emacs/RectangleMark"; 28 - license = stdenv.lib.licenses.gpl2Plus; 28 + license = lib.licenses.gpl2Plus; 29 29 30 - platforms = stdenv.lib.platforms.all; 30 + platforms = lib.platforms.all; 31 31 }; 32 32 }
+2 -2
pkgs/applications/editors/emacs-modes/sunrise-commander/default.nix
··· 23 23 meta = { 24 24 description = "Two-pane file manager for Emacs based on Dired and inspired by MC"; 25 25 homepage = "http://www.emacswiki.org/emacs/Sunrise_Commander"; 26 - license = stdenv.lib.licenses.gpl3Plus; 26 + license = lib.licenses.gpl3Plus; 27 27 28 - platforms = stdenv.lib.platforms.all; 28 + platforms = lib.platforms.all; 29 29 }; 30 30 }
+2 -2
pkgs/applications/editors/emacs-modes/tramp/default.nix
··· 10 10 meta = { 11 11 description = "Transparently access remote files from Emacs. Newer versions than built-in."; 12 12 homepage = "https://www.gnu.org/software/tramp"; 13 - license = stdenv.lib.licenses.gpl3Plus; 14 - platforms = stdenv.lib.platforms.all; 13 + license = lib.licenses.gpl3Plus; 14 + platforms = lib.platforms.all; 15 15 }; 16 16 }
+1 -1
pkgs/applications/editors/emacs-modes/zeitgeist/default.nix
··· 20 20 meta = { 21 21 description = "Integreate Emacs with Zeitgeist"; 22 22 homepage = "http://zeitgeist-project.com/"; 23 - platforms = stdenv.lib.platforms.all; 23 + platforms = lib.platforms.all; 24 24 }; 25 25 }
+1 -1
pkgs/applications/editors/flpsed/default.nix
··· 13 13 14 14 postPatch = '' 15 15 # replace the execvp call to ghostscript 16 - sed -e '/exec_gs/ {n; s|"gs"|"${stdenv.lib.getBin ghostscript}/bin/gs"|}' \ 16 + sed -e '/exec_gs/ {n; s|"gs"|"${lib.getBin ghostscript}/bin/gs"|}' \ 17 17 -i src/GsWidget.cxx 18 18 ''; 19 19
+1 -1
pkgs/applications/editors/gnome-builder/default.nix
··· 43 43 version = "3.38.1"; 44 44 45 45 src = fetchurl { 46 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 46 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 47 47 sha256 = "06wcyfrwcjyj2vcqyw0z3sy1r4qxpcdpwqq1qmpsaphpz8acycjn"; 48 48 }; 49 49
+1 -1
pkgs/applications/editors/gnome-latex/default.nix
··· 7 7 name = "${pname}-${version}"; 8 8 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 = "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8"; 12 12 }; 13 13
+1 -1
pkgs/applications/editors/gobby/default.nix
··· 21 21 meta = with lib; { 22 22 homepage = "http://gobby.0x539.de/"; 23 23 description = "A GTK-based collaborative editor supporting multiple documents in one session and a multi-user chat"; 24 - license = stdenv.lib.licenses.gpl2Plus; 24 + license = lib.licenses.gpl2Plus; 25 25 maintainers = [ maintainers.phreedom ]; 26 26 platforms = platforms.all; 27 27 };
+3 -3
pkgs/applications/editors/hexedit/default.nix
··· 1 - { stdenv, fetchurl, ncurses }: 1 + { lib, stdenv, fetchurl, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hexedit"; ··· 14 14 meta = { 15 15 description = "View and edit files in hexadecimal or in ASCII"; 16 16 homepage = "http://prigaux.chez.com/hexedit.html"; 17 - license = stdenv.lib.licenses.gpl2Plus; 18 - platforms = stdenv.lib.platforms.unix; 17 + license = lib.licenses.gpl2Plus; 18 + platforms = lib.platforms.unix; 19 19 }; 20 20 }
+2 -2
pkgs/applications/editors/howl/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, pkgconfig, gtk3, librsvg }: 1 + { lib, stdenv, fetchurl, makeWrapper, pkgconfig, gtk3, librsvg }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "howl";
+2 -2
pkgs/applications/editors/jed/default.nix
··· 1 - { stdenv, fetchzip 1 + { lib, stdenv, fetchzip 2 2 , pkg-config 3 3 , gpm 4 4 , libXext ··· 51 51 install -D src/objs/rgrep $out/bin 52 52 ''; 53 53 54 - meta = with stdenv.lib; { 54 + meta = with lib; { 55 55 description = "A programmable text editor written around S-Lang"; 56 56 longDescription = '' 57 57 JED is a freely available text editor for Unix, VMS, MSDOS, OS/2, BeOS,
+4 -4
pkgs/applications/editors/jetbrains/common.nix
··· 5 5 6 6 { name, product, version, src, wmClass, jdk, meta }: 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 10 10 let loName = toLower product; 11 11 hiName = toUpper product; ··· 71 71 item=${desktopItem} 72 72 73 73 makeWrapper "$out/$name/bin/${loName}.sh" "$out/bin/${execName}" \ 74 - --prefix PATH : "$out/libexec/${name}:${lib.optionalString (stdenv.isDarwin) "${jdk}/jdk/Contents/Home/bin:"}${stdenv.lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 75 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ 74 + --prefix PATH : "$out/libexec/${name}:${lib.optionalString (stdenv.isDarwin) "${jdk}/jdk/Contents/Home/bin:"}${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 75 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ 76 76 # Some internals want libstdc++.so.6 77 77 stdenv.cc.cc.lib libsecret 78 78 libnotify ··· 86 86 ln -s "$item/share/applications" $out/share 87 87 ''; 88 88 89 - } // stdenv.lib.optionalAttrs (!(meta.license.free or true)) { 89 + } // lib.optionalAttrs (!(meta.license.free or true)) { 90 90 preferLocalBuild = true; 91 91 }
+13 -13
pkgs/applications/editors/jetbrains/default.nix
··· 5 5 , vmopts ? null 6 6 }: 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 10 10 let 11 11 mkJetBrainsProduct = callPackage ./common.nix { inherit vmopts; }; ··· 271 271 name = "clion-${version}"; 272 272 version = "2020.3.1"; /* updated by script */ 273 273 description = "C/C++ IDE. New. Intelligent. Cross-platform"; 274 - license = stdenv.lib.licenses.unfree; 274 + license = lib.licenses.unfree; 275 275 src = fetchurl { 276 276 url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"; 277 277 sha256 = "1jfvwir79s0kcqmlx6bbkmc42bplgl7814mnqfcsdzni1qv62pws"; /* updated by script */ ··· 284 284 name = "datagrip-${version}"; 285 285 version = "2020.3.1"; /* updated by script */ 286 286 description = "Your Swiss Army Knife for Databases and SQL"; 287 - license = stdenv.lib.licenses.unfree; 287 + license = lib.licenses.unfree; 288 288 src = fetchurl { 289 289 url = "https://download.jetbrains.com/datagrip/${name}.tar.gz"; 290 290 sha256 = "0jk7ywxk983ld5x71a59dh1hvlnli3sbvg7fbicahas5ml8clxfv"; /* updated by script */ ··· 297 297 name = "goland-${version}"; 298 298 version = "2020.3.1"; /* updated by script */ 299 299 description = "Up and Coming Go IDE"; 300 - license = stdenv.lib.licenses.unfree; 300 + license = lib.licenses.unfree; 301 301 src = fetchurl { 302 302 url = "https://download.jetbrains.com/go/${name}.tar.gz"; 303 303 sha256 = "12gi1a2bmafmy7qgqwv3a7b5b46dlhw4ahmkm5pkq6pmxl4y6dmk"; /* updated by script */ ··· 310 310 name = "idea-community-${version}"; 311 311 version = "2020.3.1"; /* updated by script */ 312 312 description = "Integrated Development Environment (IDE) by Jetbrains, community edition"; 313 - license = stdenv.lib.licenses.asl20; 313 + license = lib.licenses.asl20; 314 314 src = fetchurl { 315 315 url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz"; 316 316 sha256 = "0am4h8w1dmjl08iphqy78ivb91vkrvskg95dgm24zcj0n8rwmaq6"; /* updated by script */ ··· 323 323 name = "idea-ultimate-${version}"; 324 324 version = "2020.3.1"; /* updated by script */ 325 325 description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license"; 326 - license = stdenv.lib.licenses.unfree; 326 + license = lib.licenses.unfree; 327 327 src = fetchurl { 328 328 url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"; 329 329 sha256 = "1kwz0aq4b664awppakj4syppk218nynwxv4ngc7pa3k9v4g2sdah"; /* updated by script */ ··· 336 336 name = "mps-${version}"; 337 337 version = "2020.2.3"; /* updated by script */ 338 338 description = "Create your own domain-specific language"; 339 - license = stdenv.lib.licenses.unfree; 339 + license = lib.licenses.unfree; 340 340 src = fetchurl { 341 341 url = "https://download.jetbrains.com/mps/2020.2/MPS-${version}.tar.gz"; 342 342 sha256 = "1wd3d8pc155m54y5p2056p0x93v2nv9457i7la53ibbs7rj1j7kw"; /* updated by script */ ··· 349 349 name = "phpstorm-${version}"; 350 350 version = "2020.3.1"; /* updated by script */ 351 351 description = "Professional IDE for Web and PHP developers"; 352 - license = stdenv.lib.licenses.unfree; 352 + license = lib.licenses.unfree; 353 353 src = fetchurl { 354 354 url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz"; 355 355 sha256 = "1c5j3mbg8scsl4c90cjahdk5gs5q72y5a8fhkqa9zmy6di42k99x"; /* updated by script */ ··· 362 362 name = "pycharm-community-${version}"; 363 363 version = "2020.3.2"; /* updated by script */ 364 364 description = "PyCharm Community Edition"; 365 - license = stdenv.lib.licenses.asl20; 365 + license = lib.licenses.asl20; 366 366 src = fetchurl { 367 367 url = "https://download.jetbrains.com/python/${name}.tar.gz"; 368 368 sha256 = "1z3w6aah635fdrhrzp5af6sgj269jk7mv8vgdd83gxillkx9vq9k"; /* updated by script */ ··· 375 375 name = "pycharm-professional-${version}"; 376 376 version = "2020.3.2"; /* updated by script */ 377 377 description = "PyCharm Professional Edition"; 378 - license = stdenv.lib.licenses.unfree; 378 + license = lib.licenses.unfree; 379 379 src = fetchurl { 380 380 url = "https://download.jetbrains.com/python/${name}.tar.gz"; 381 381 sha256 = "1fbb8v40q7vgn5v5dyxb211abr8swnxa3gw18kh3vlk6yc2crzfw"; /* updated by script */ ··· 388 388 name = "rider-${version}"; 389 389 version = "2020.3.2"; /* updated by script */ 390 390 description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper"; 391 - license = stdenv.lib.licenses.unfree; 391 + license = lib.licenses.unfree; 392 392 src = fetchurl { 393 393 url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz"; 394 394 sha256 = "1dkgbd2nqkjcswf7j3pnrsaq9n5wk42abz2c4wgkrh1zrpgihd0j"; /* updated by script */ ··· 401 401 name = "ruby-mine-${version}"; 402 402 version = "2020.3.1"; /* updated by script */ 403 403 description = "The Most Intelligent Ruby and Rails IDE"; 404 - license = stdenv.lib.licenses.unfree; 404 + license = lib.licenses.unfree; 405 405 src = fetchurl { 406 406 url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"; 407 407 sha256 = "0drxzz6k0cmhir4szg8nwmsi9qh380vrryghmpvx9w83yrcain4c"; /* updated by script */ ··· 414 414 name = "webstorm-${version}"; 415 415 version = "2020.3.1"; /* updated by script */ 416 416 description = "Professional IDE for Web and JavaScript development"; 417 - license = stdenv.lib.licenses.unfree; 417 + license = lib.licenses.unfree; 418 418 src = fetchurl { 419 419 url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"; 420 420 sha256 = "1bfq3xwnfz6f04d0lq584q7pg775a8y35b1b62w81dbfh43l4fj0"; /* updated by script */
+2 -2
pkgs/applications/editors/jove/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , groff 3 3 , ncurses 4 4 , makeWrapper ··· 33 33 --prefix PATH ":" "$out/bin" 34 34 ''; 35 35 36 - meta = with stdenv.lib; { 36 + meta = with lib; { 37 37 description = "Jonathan's Own Version or Emacs"; 38 38 homepage = "https://github.com/jonmacs/jove"; 39 39 license = licenses.bsd2;
+5 -5
pkgs/applications/editors/jucipp/default.nix
··· 1 - { stdenv, fetchgit, dconf, gtksourceview3, at-spi2-core, gtksourceviewmm, 1 + { lib, stdenv, fetchgit, dconf, gtksourceview3, at-spi2-core, gtksourceviewmm, 2 2 boost, epoxy, cmake, aspell, llvmPackages, libgit2, pkgconfig, pcre, 3 3 libXdmcp, libxkbcommon, libpthreadstubs, wrapGAppsHook, aspellDicts, gtkmm3, 4 4 coreutils, glibc, dbus, openssl, libxml2, gnumake, ctags }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "juicipp"; ··· 51 51 lintIncludes = let 52 52 p = "arguments.emplace_back(\"-I"; 53 53 e = "\");"; 54 - v = stdenv.lib.getVersion llvmPackages.clang; 54 + v = lib.getVersion llvmPackages.clang; 55 55 in 56 56 p+llvmPackages.libcxx+"/include/c++/v1"+e 57 57 +p+llvmPackages.clang-unwrapped+"/lib/clang/"+v+"/include/"+e ··· 61 61 sed -i 's|liblldb LIBLLDB_LIBRARIES|liblldb LIBNOTHING|g' CMakeLists.txt 62 62 sed -i 's|> arguments;|> arguments; ${lintIncludes}|g' src/source_clang.cc 63 63 ''; 64 - cmakeFlags = [ "-DLIBLLDB_LIBRARIES=${stdenv.lib.makeLibraryPath [ llvmPackages.lldb ]}/liblldb.so" ]; 64 + cmakeFlags = [ "-DLIBLLDB_LIBRARIES=${lib.makeLibraryPath [ llvmPackages.lldb ]}/liblldb.so" ]; 65 65 postInstall = '' 66 66 mv $out/bin/juci $out/bin/.juci 67 67 makeWrapper "$out/bin/.juci" "$out/bin/juci" \ 68 - --set PATH "${stdenv.lib.makeBinPath [ ctags coreutils llvmPackages.clang.cc cmake gnumake llvmPackages.clang.bintools llvmPackages.clang ]}" \ 68 + --set PATH "${lib.makeBinPath [ ctags coreutils llvmPackages.clang.cc cmake gnumake llvmPackages.clang.bintools llvmPackages.clang ]}" \ 69 69 --set NO_AT_BRIDGE 1 \ 70 70 --set ASPELL_CONF "dict-dir ${aspellDicts.en}/lib/aspell" 71 71 '';
+2 -2
pkgs/applications/editors/kakoune/default.nix
··· 1 - { stdenv, fetchFromGitHub, ncurses, asciidoc, docbook_xsl, libxslt, pkgconfig }: 1 + { lib, stdenv, fetchFromGitHub, ncurses, asciidoc, docbook_xsl, libxslt, pkgconfig }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "kakoune-unwrapped";
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-auto-pairs.nix
··· 14 14 cp -r rc $out/share/kak/autoload/plugins/auto-pairs 15 15 ''; 16 16 17 - meta = with stdenv.lib; 17 + meta = with lib; 18 18 { description = "Kakoune extension to enable automatic closing of pairs"; 19 19 homepage = "https://github.com/alexherbo2/auto-pairs.kak"; 20 20 license = licenses.unlicense;
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-buffers.nix
··· 14 14 cp -r buffers.kak $out/share/kak/autoload/plugins 15 15 ''; 16 16 17 - meta = with stdenv.lib; 17 + meta = with lib; 18 18 { description = "Ease navigation between opened buffers in Kakoune"; 19 19 homepage = "https://github.com/Delapouite/kakoune-buffers"; 20 20 license = licenses.mit;
+2 -2
pkgs/applications/editors/kakoune/plugins/kak-fzf.nix
··· 1 1 { stdenv, fetchFromGitHub, fzf }: 2 2 3 - assert stdenv.lib.asserts.assertOneOf "fzf" fzf.pname [ "fzf" "skim" ]; 3 + assert lib.asserts.assertOneOf "fzf" fzf.pname [ "fzf" "skim" ]; 4 4 5 5 stdenv.mkDerivation { 6 6 name = "kak-fzf"; ··· 29 29 cp -r rc $out/share/kak/autoload/plugins/fzf 30 30 ''; 31 31 32 - meta = with stdenv.lib; 32 + meta = with lib; 33 33 { description = "Kakoune plugin that brings integration with fzf"; 34 34 homepage = "https://github.com/andreyorst/fzf.kak"; 35 35 license = licenses.mit;
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-powerline.nix
··· 19 19 cp -r rc $out/share/kak/autoload/plugins/powerline 20 20 ''; 21 21 22 - meta = with stdenv.lib; 22 + meta = with lib; 23 23 { description = "Kakoune modeline, but with passion"; 24 24 homepage = "https://github.com/andreyorst/powerline.kak"; 25 25 license = licenses.mit;
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-prelude.nix
··· 15 15 cp -r rc $out/share/kak/autoload/plugins/prelude 16 16 ''; 17 17 18 - meta = with stdenv.lib; 18 + meta = with lib; 19 19 { description = "Prelude of shell blocks for Kakoune."; 20 20 homepage = "https://github.com/alexherbo2/prelude.kak"; 21 21 license = licenses.unlicense;
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-vertical-selection.nix
··· 14 14 cp -r vertical-selection.kak $out/share/kak/autoload/plugins 15 15 ''; 16 16 17 - meta = with stdenv.lib; 17 + meta = with lib; 18 18 { description = "Select up and down lines that match the same pattern in Kakoune"; 19 19 homepage = "https://github.com/occivink/kakoune-vertical-selection"; 20 20 license = licenses.unlicense;
+1 -1
pkgs/applications/editors/kakoune/plugins/quickscope.kak.nix
··· 19 19 sed -e 's,[|] *lua,|${lua5_3}/bin/lua,' quickscope.kak >$out/share/kak/autoload/plugins/quickscope.kak 20 20 ''; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "Highlight f and t jump positions"; 24 24 homepage = "https://sr.ht/~voroskoi/quickscope.kak/"; 25 25 license = licenses.unlicense;
+1 -1
pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix
··· 26 26 It is used for some KDevelop-languagesupport-plugins (Ruby, PHP, CSS...). 27 27 ''; 28 28 homepage = "https://www.kdevelop.org"; 29 - license = with stdenv.lib.licenses; [ lgpl2Plus ]; 29 + license = with lib.licenses; [ lgpl2Plus ]; 30 30 }; 31 31 }
+1 -1
pkgs/applications/editors/kodestudio/default.nix
··· 111 111 112 112 # Wrap preload libXss 113 113 wrapProgram $out/bin/kodestudio \ 114 - --prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 114 + --prefix LD_PRELOAD : ${lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 115 115 ''; 116 116 117 117 meta = with lib; {
+1 -1
pkgs/applications/editors/lighttable/default.nix
··· 4 4 }: 5 5 6 6 let 7 - libPath = stdenv.lib.makeLibraryPath [ 7 + libPath = lib.makeLibraryPath [ 8 8 stdenv.cc.cc zlib glib dbus gtk2 atk pango freetype libgnome-keyring3 nss 9 9 fontconfig gdk-pixbuf cairo cups expat libgpgerror alsaLib nspr gnome2.GConf 10 10 xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
+4 -4
pkgs/applications/editors/manuskript/default.nix
··· 1 - { stdenv, zlib, fetchFromGitHub, python3Packages, wrapQtAppsHook }: 1 + { lib, stdenv, zlib, fetchFromGitHub, python3Packages, wrapQtAppsHook }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "manuskript"; ··· 55 55 outline your story. Organize your ideas about the world your 56 56 characters live in. 57 57 ''; 58 - license = stdenv.lib.licenses.gpl3; 59 - maintainers = [ stdenv.lib.maintainers.steveej ]; 60 - platforms = stdenv.lib.platforms.linux; 58 + license = lib.licenses.gpl3; 59 + maintainers = [ lib.maintainers.steveej ]; 60 + platforms = lib.platforms.linux; 61 61 }; 62 62 }
+1 -1
pkgs/applications/editors/monodevelop/default.nix
··· 59 59 2a3,5 60 60 > export MONO_GAC_PREFIX=${gnome-sharp}:${gtk-sharp-2_0}:\$MONO_GAC_PREFIX 61 61 > export PATH=${mono}/bin:\$PATH 62 - > export LD_LIBRARY_PATH=${stdenv.lib.makeLibraryPath [ glib gnome2.libgnomeui gnome2.gnome_vfs gnome-sharp gtk-sharp-2_0 gtk-sharp-2_0.gtk ]}:\$LD_LIBRARY_PATH 62 + > export LD_LIBRARY_PATH=${lib.makeLibraryPath [ glib gnome2.libgnomeui gnome2.gnome_vfs gnome-sharp gtk-sharp-2_0 gtk-sharp-2_0.gtk ]}:\$LD_LIBRARY_PATH 63 63 > 64 64 EOF 65 65 done
+1 -1
pkgs/applications/editors/music/tuxguitar/default.nix
··· 27 27 28 28 wrapProgram $out/bin/tuxguitar \ 29 29 --set JAVA "${jdk}/bin/java" \ 30 - --prefix LD_LIBRARY_PATH : "$out/lib/:${stdenv.lib.makeLibraryPath [ swt alsaLib jack2 fluidsynth libpulseaudio ]}" \ 30 + --prefix LD_LIBRARY_PATH : "$out/lib/:${lib.makeLibraryPath [ swt alsaLib jack2 fluidsynth libpulseaudio ]}" \ 31 31 --prefix CLASSPATH : "${swt}/jars/swt.jar:$out/lib/tuxguitar.jar:$out/lib/itext.jar" 32 32 ''; 33 33
+5 -5
pkgs/applications/editors/nano/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript 1 + { lib, stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript 2 2 , common-updater-scripts, git, nix, nixfmt, coreutils, gnused, nixosTests 3 3 , gettext ? null, enableNls ? true, enableTiny ? false }: 4 4 5 5 assert enableNls -> (gettext != null); 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 let 10 10 nixSyntaxHighlight = fetchFromGitHub { ··· 30 30 31 31 configureFlags = [ 32 32 "--sysconfdir=/etc" 33 - (stdenv.lib.enableFeature enableNls "nls") 34 - (stdenv.lib.enableFeature enableTiny "tiny") 33 + (lib.enableFeature enableNls "nls") 34 + (lib.enableFeature enableTiny "tiny") 35 35 ]; 36 36 37 37 postInstall = '' ··· 47 47 #!${stdenv.shell} 48 48 set -o errexit 49 49 PATH=${ 50 - stdenv.lib.makeBinPath [ 50 + lib.makeBinPath [ 51 51 common-updater-scripts 52 52 git 53 53 nixfmt
+5 -5
pkgs/applications/editors/nano/nanorc/default.nix
··· 1 - { stdenv, fetchFromGitHub, writeScript, nixosTests, common-updater-scripts 1 + { lib, stdenv, fetchFromGitHub, writeScript, nixosTests, common-updater-scripts 2 2 , coreutils, git, gnused, nix, nixfmt }: 3 3 4 4 let ··· 26 26 #!${stdenv.shell} 27 27 set -o errexit 28 28 PATH=${ 29 - stdenv.lib.makeBinPath [ 29 + lib.makeBinPath [ 30 30 common-updater-scripts 31 31 coreutils 32 32 git ··· 51 51 meta = { 52 52 description = "Improved Nano Syntax Highlighting Files"; 53 53 homepage = "https://github.com/scopatz/nanorc"; 54 - license = stdenv.lib.licenses.gpl3; 55 - maintainers = with stdenv.lib.maintainers; [ nequissimus ]; 56 - platforms = stdenv.lib.platforms.all; 54 + license = lib.licenses.gpl3; 55 + maintainers = with lib.maintainers; [ nequissimus ]; 56 + platforms = lib.platforms.all; 57 57 }; 58 58 }
+1 -1
pkgs/applications/editors/nedit/default.nix
··· 15 15 buildInputs = [ motif libXpm ]; 16 16 17 17 # the linux config works fine on darwin too! 18 - buildFlags = stdenv.lib.optional (stdenv.isLinux || stdenv.isDarwin) "linux"; 18 + buildFlags = lib.optional (stdenv.isLinux || stdenv.isDarwin) "linux"; 19 19 20 20 NIX_CFLAGS_COMPILE="-DBUILD_UNTESTED_NEDIT -L${motif}/lib"; 21 21
+4 -4
pkgs/applications/editors/neovim/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv 1 + { lib, stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv 2 2 , libuv, lua, ncurses, pkgconfig 3 3 , unibilium, xsel, gperf 4 4 , libvterm-neovim ··· 9 9 , nodejs ? null, fish ? null, python ? null 10 10 }: 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 let 15 15 neovimLuaEnv = lua.withPackages(ps: ··· 104 104 # triggers on buffer overflow bug while running tests 105 105 hardeningDisable = [ "fortify" ]; 106 106 107 - preConfigure = stdenv.lib.optionalString stdenv.isDarwin '' 107 + preConfigure = lib.optionalString stdenv.isDarwin '' 108 108 substituteInPlace src/nvim/CMakeLists.txt --replace " util" "" 109 109 ''; 110 110 111 - postInstall = stdenv.lib.optionalString stdenv.isLinux '' 111 + postInstall = lib.optionalString stdenv.isLinux '' 112 112 sed -i -e "s|'xsel|'${xsel}/bin/xsel|g" $out/share/nvim/runtime/autoload/provider/clipboard.vim 113 113 ''; 114 114
+2 -2
pkgs/applications/editors/neovim/neovim-remote.nix
··· 1 - { stdenv, fetchFromGitHub, pythonPackages }: 1 + { lib, stdenv, fetchFromGitHub, pythonPackages }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 pythonPackages.buildPythonApplication rec { 6 6 pname = "neovim-remote";
+2 -2
pkgs/applications/editors/neovim/wrapper.nix
··· 7 7 , pythonPackages 8 8 , python3Packages 9 9 }: 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 neovim: 13 13 ··· 37 37 [ "--set" "NVIM_SYSTEM_RPLUGIN_MANIFEST" "${placeholder "out"}/rplugin.vim" ]; 38 38 in 39 39 symlinkJoin { 40 - name = "neovim-${stdenv.lib.getVersion neovim}"; 40 + name = "neovim-${lib.getVersion neovim}"; 41 41 # Remove the symlinks created by symlinkJoin which we need to perform 42 42 # extra actions upon 43 43 postBuild = lib.optionalString stdenv.isLinux ''
+5 -5
pkgs/applications/editors/netbeans/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, makeDesktopItem, which, unzip, libicns, imagemagick 1 + { lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, which, unzip, libicns, imagemagick 2 2 , jdk, perl, python 3 3 }: 4 4 ··· 34 34 mkdir -pv $out/bin 35 35 cp -a netbeans $out 36 36 makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \ 37 - --prefix PATH : ${stdenv.lib.makeBinPath [ jdk which ]} \ 37 + --prefix PATH : ${lib.makeBinPath [ jdk which ]} \ 38 38 --prefix JAVA_HOME : ${jdk.home} \ 39 39 --add-flags "--jdkhome ${jdk.home}" 40 40 ··· 61 61 meta = { 62 62 description = "An integrated development environment for Java, C, C++ and PHP"; 63 63 homepage = "https://netbeans.apache.org/"; 64 - license = stdenv.lib.licenses.asl20; 65 - maintainers = with stdenv.lib.maintainers; [ sander rszibele asbachb ]; 66 - platforms = stdenv.lib.platforms.unix; 64 + license = lib.licenses.asl20; 65 + maintainers = with lib.maintainers; [ sander rszibele asbachb ]; 66 + platforms = lib.platforms.unix; 67 67 }; 68 68 }
+2 -2
pkgs/applications/editors/nvi/default.nix
··· 1 - { fetchurl, stdenv, ncurses }: 1 + { fetchurl, lib, stdenv, ncurses }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "nvi-1.79"; ··· 50 50 meta = { 51 51 homepage = "http://www.bostic.com/vi/"; 52 52 description = "The Berkeley Vi Editor"; 53 - license = stdenv.lib.licenses.free; 53 + license = lib.licenses.free; 54 54 broken = true; # since 2020-02-08 55 55 }; 56 56 }
+1 -1
pkgs/applications/editors/qxmledit/default.nix
··· 4 4 stdenv.mkDerivation rec { 5 5 name = "qxmledit-${version}" ; 6 6 version = "0.9.15" ; 7 - src = fetchFromGitHub ( stdenv.lib.importJSON ./qxmledit.json ) ; 7 + src = fetchFromGitHub ( lib.importJSON ./qxmledit.json ) ; 8 8 nativeBuildInputs = [ qmake ] ; 9 9 buildInputs = [ qtbase qtxmlpatterns qtsvg qtscxml qtquick1 libGLU ] ; 10 10 qmakeFlags = [ "CONFIG+=release" ] ;
+4 -4
pkgs/applications/editors/rehex/default.nix
··· 24 24 'png2icns $@ $(ICONSET)/icon_16x16.png $(ICONSET)/icon_32x32.png $(ICONSET)/icon_128x128.png $(ICONSET)/icon_256x256.png $(ICONSET)/icon_512x512.png' 25 25 ''; 26 26 27 - nativeBuildInputs = stdenv.lib.optionals (stdenv.isDarwin) [ libicns ]; 27 + nativeBuildInputs = lib.optionals (stdenv.isDarwin) [ libicns ]; 28 28 29 29 buildInputs = [ capstone jansson ] 30 - ++ (stdenv.lib.optionals (!stdenv.isDarwin) [ wxGTK30 ]) 31 - ++ (stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Carbon Cocoa IOKit wxmac ])); 30 + ++ (lib.optionals (!stdenv.isDarwin) [ wxGTK30 ]) 31 + ++ (lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Carbon Cocoa IOKit wxmac ])); 32 32 33 - makeFlags = [ "prefix=$(out)" ] ++ (stdenv.lib.optionals stdenv.isDarwin [ "-f Makefile.osx" ]); 33 + makeFlags = [ "prefix=$(out)" ] ++ (lib.optionals stdenv.isDarwin [ "-f Makefile.osx" ]); 34 34 35 35 meta = with lib; { 36 36 description = "Reverse Engineers' Hex Editor";
+5 -2
pkgs/applications/editors/setzer/default.nix
··· 7 7 , appstream 8 8 , appstream-glib 9 9 , wrapGAppsHook 10 + , desktop-file-utils 10 11 , gobject-introspection 11 12 , gtksourceview4 12 13 , gspell ··· 17 18 18 19 python3.pkgs.buildPythonApplication rec { 19 20 pname = "setzer"; 20 - version = "0.3.2"; 21 + version = "0.3.9"; 21 22 22 23 src = fetchFromGitHub { 23 24 owner = "cvfosammmm"; 24 25 repo = "Setzer"; 25 26 rev = "v${version}"; 26 - sha256 = "1c7jrq20m53y2k8lmh37zldgc3bndldxipx4xq0lz3qq2fv1gg07"; 27 + sha256 = "1qmy2bxl8x6pijjaaj91v6rqdipha6iyy0b6b9y1lk3r2p3azd42"; 27 28 }; 28 29 29 30 format = "other"; ··· 35 36 appstream # for appstreamcli 36 37 appstream-glib 37 38 wrapGAppsHook 39 + desktop-file-utils 38 40 ]; 39 41 40 42 buildInputs = [ ··· 49 51 propagatedBuildInputs = with python3.pkgs; [ 50 52 pygobject3 51 53 pyxdg 54 + pypdf2 52 55 ]; 53 56 54 57 meta = with lib; {
+4 -4
pkgs/applications/editors/sublime/2/default.nix
··· 1 - { fetchurl, stdenv, glib, xorg, cairo, gtk2, makeDesktopItem }: 1 + { fetchurl, lib, stdenv, glib, xorg, cairo, gtk2, makeDesktopItem }: 2 2 let 3 - libPath = stdenv.lib.makeLibraryPath [glib xorg.libX11 gtk2 cairo]; 3 + libPath = lib.makeLibraryPath [glib xorg.libX11 gtk2 cairo]; 4 4 in 5 5 6 6 stdenv.mkDerivation rec { ··· 34 34 echo ${libPath} 35 35 patchelf \ 36 36 --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 37 - --set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"} \ 37 + --set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.is64bit "64"} \ 38 38 $out/sublime/sublime_text 39 39 40 40 mkdir -p $out/share/icons ··· 59 59 60 60 meta = { 61 61 description = "Sophisticated text editor for code, markup and prose"; 62 - license = stdenv.lib.licenses.unfree; 62 + license = lib.licenses.unfree; 63 63 platforms = [ "x86_64-linux" "i686-linux" ]; 64 64 }; 65 65 }
+7 -7
pkgs/applications/editors/sublime/3/common.nix
··· 8 8 9 9 let 10 10 pname = "sublimetext3"; 11 - packageAttribute = "sublime3${stdenv.lib.optionalString dev "-dev"}"; 11 + packageAttribute = "sublime3${lib.optionalString dev "-dev"}"; 12 12 binaries = [ "sublime_text" "plugin_host" "crash_reporter" ]; 13 13 primaryBinary = "sublime_text"; 14 14 primaryBinaryAliases = [ "subl" "sublime" "sublime3" ]; ··· 26 26 else 27 27 "x64"; 28 28 29 - libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango ]; 29 + libPath = lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango ]; 30 30 redirects = [ "/usr/bin/pkexec=${pkexecPath}" ]; 31 31 in let 32 32 binaryPackage = stdenv.mkDerivation { ··· 66 66 for binary in ${ builtins.concatStringsSep " " binaries }; do 67 67 patchelf \ 68 68 --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 69 - --set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"} \ 69 + --set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.is64bit "64"} \ 70 70 $binary 71 71 done 72 72 ··· 93 93 94 94 postFixup = '' 95 95 wrapProgram $out/sublime_bash \ 96 - --set LD_PRELOAD "${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1" 96 + --set LD_PRELOAD "${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1" 97 97 98 98 wrapProgram $out/${primaryBinary} \ 99 99 --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \ ··· 102 102 "''${gappsWrapperArgs[@]}" 103 103 104 104 # Without this, plugin_host crashes, even though it has the rpath 105 - wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1:${openssl.out}/lib/libssl.so:${bzip2.out}/lib/libbz2.so 105 + wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1:${openssl.out}/lib/libssl.so:${bzip2.out}/lib/libbz2.so 106 106 ''; 107 107 }; 108 108 in stdenv.mkDerivation (rec { ··· 131 131 passthru.updateScript = writeScript "${pname}-update-script" '' 132 132 #!${stdenv.shell} 133 133 set -o errexit 134 - PATH=${stdenv.lib.makeBinPath [ common-updater-scripts curl gnugrep ]} 134 + PATH=${lib.makeBinPath [ common-updater-scripts curl gnugrep ]} 135 135 136 136 latestVersion=$(curl -s ${versionUrl}) 137 137 ··· 140 140 exit 0 141 141 fi 142 142 143 - for platform in ${stdenv.lib.concatStringsSep " " meta.platforms}; do 143 + for platform in ${lib.concatStringsSep " " meta.platforms}; do 144 144 # The script will not perform an update when the version attribute is up to date from previous platform run 145 145 # We need to clear it before each run 146 146 update-source-version ${packageAttribute}.${primaryBinary} 0 0000000000000000000000000000000000000000000000000000000000000000 --file=${versionFile} --version-key=buildVersion --system=$platform
+2 -2
pkgs/applications/editors/texmacs/common.nix
··· 1 - { stdenv, fetchurl, tex, extraFonts, chineseFonts, japaneseFonts, koreanFonts }: 1 + { lib, stdenv, fetchurl, tex, extraFonts, chineseFonts, japaneseFonts, koreanFonts }: 2 2 rec { 3 3 extraFontsSrc = fetchurl { 4 4 url = "ftp://ftp.texmacs.org/pub/TeXmacs/fonts/TeXmacs-extra-fonts-1.0-noarch.tar.gz"; ··· 63 63 collaborative authoring are planned for later. 64 64 ''; 65 65 homepage = "http://texmacs.org/"; 66 - license = stdenv.lib.licenses.gpl2Plus; 66 + license = lib.licenses.gpl2Plus; 67 67 }; 68 68 }
+3 -3
pkgs/applications/editors/texmacs/darwin.nix
··· 1 - { stdenv, callPackage, fetchurl, 1 + { lib, stdenv, callPackage, fetchurl, 2 2 guile_1_8, qt4, zlib, freetype, CoreFoundation, Cocoa, gettext, libiconv, ghostscript, 3 3 tex ? null, 4 4 aspell ? null, ··· 49 49 "${ghostscript}/bin:" + 50 50 (if aspell == null then "" else "${aspell}/bin:") + 51 51 (if tex == null then "" else "${tex}/bin:") + 52 - (if netpbm == null then "" else "${stdenv.lib.getBin netpbm}/bin:") + 52 + (if netpbm == null then "" else "${lib.getBin netpbm}/bin:") + 53 53 (if imagemagick == null then "" else "${imagemagick}/bin:"); 54 54 55 55 enableParallelBuilding = true; 56 56 57 57 meta = common.meta // { 58 - platforms = stdenv.lib.platforms.darwin; 58 + platforms = lib.platforms.darwin; 59 59 }; 60 60 }
+3 -3
pkgs/applications/editors/vbindiff/default.nix
··· 1 - { stdenv, fetchurl, ncurses }: 1 + { lib, stdenv, fetchurl, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "vbindiff"; ··· 14 14 meta = { 15 15 description = "A terminal visual binary diff viewer"; 16 16 homepage = "https://www.cjmweb.net/vbindiff/"; 17 - license = stdenv.lib.licenses.gpl2Plus; 18 - platforms = stdenv.lib.platforms.unix; 17 + license = lib.licenses.gpl2Plus; 18 + platforms = lib.platforms.unix; 19 19 }; 20 20 }
+31 -31
pkgs/applications/editors/vim/configurable.nix
··· 1 - { source ? "default", callPackage, stdenv, ncurses, pkgconfig, gettext 1 + { source ? "default", callPackage, lib, stdenv, ncurses, pkgconfig, gettext 2 2 , writeText, config, glib, gtk2-x11, gtk3-x11, lua, python3, perl, tcl, ruby 3 3 , libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu 4 4 , libICE ··· 72 72 default = common.src; # latest release 73 73 }; 74 74 75 - patches = [ ./cflags-prune.diff ] ++ stdenv.lib.optional ftNixSupport ./ft-nix-support.patch; 75 + patches = [ ./cflags-prune.diff ] ++ lib.optional ftNixSupport ./ft-nix-support.patch; 76 76 77 77 configureFlags = [ 78 78 "--enable-gui=${guiSupport}" ··· 95 95 "--disable-carbon_check" 96 96 "--disable-gtktest" 97 97 ] 98 - ++ stdenv.lib.optional stdenv.isDarwin 98 + ++ lib.optional stdenv.isDarwin 99 99 (if darwinSupport then "--enable-darwin" else "--disable-darwin") 100 - ++ stdenv.lib.optionals luaSupport [ 100 + ++ lib.optionals luaSupport [ 101 101 "--with-lua-prefix=${lua}" 102 102 "--enable-luainterp" 103 - ] ++ stdenv.lib.optional lua.pkgs.isLuaJIT [ 103 + ] ++ lib.optional lua.pkgs.isLuaJIT [ 104 104 "--with-luajit" 105 105 ] 106 - ++ stdenv.lib.optionals pythonSupport [ 106 + ++ lib.optionals pythonSupport [ 107 107 "--enable-python3interp=yes" 108 108 "--with-python3-config-dir=${python3}/lib" 109 109 # Disables Python 2 110 110 "--disable-pythoninterp" 111 111 ] 112 - ++ stdenv.lib.optional nlsSupport "--enable-nls" 113 - ++ stdenv.lib.optional perlSupport "--enable-perlinterp" 114 - ++ stdenv.lib.optional rubySupport "--enable-rubyinterp" 115 - ++ stdenv.lib.optional tclSupport "--enable-tclinterp" 116 - ++ stdenv.lib.optional multibyteSupport "--enable-multibyte" 117 - ++ stdenv.lib.optional cscopeSupport "--enable-cscope" 118 - ++ stdenv.lib.optional netbeansSupport "--enable-netbeans" 119 - ++ stdenv.lib.optional ximSupport "--enable-xim"; 112 + ++ lib.optional nlsSupport "--enable-nls" 113 + ++ lib.optional perlSupport "--enable-perlinterp" 114 + ++ lib.optional rubySupport "--enable-rubyinterp" 115 + ++ lib.optional tclSupport "--enable-tclinterp" 116 + ++ lib.optional multibyteSupport "--enable-multibyte" 117 + ++ lib.optional cscopeSupport "--enable-cscope" 118 + ++ lib.optional netbeansSupport "--enable-netbeans" 119 + ++ lib.optional ximSupport "--enable-xim"; 120 120 121 121 nativeBuildInputs = [ 122 122 pkgconfig 123 123 ] 124 - ++ stdenv.lib.optional wrapPythonDrv makeWrapper 125 - ++ stdenv.lib.optional nlsSupport gettext 126 - ++ stdenv.lib.optional perlSupport perl 127 - ++ stdenv.lib.optional (guiSupport == "gtk3") wrapGAppsHook 124 + ++ lib.optional wrapPythonDrv makeWrapper 125 + ++ lib.optional nlsSupport gettext 126 + ++ lib.optional perlSupport perl 127 + ++ lib.optional (guiSupport == "gtk3") wrapGAppsHook 128 128 ; 129 129 130 130 buildInputs = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau 131 131 libXmu glib libICE ] 132 - ++ stdenv.lib.optional (guiSupport == "gtk2") gtk2-x11 133 - ++ stdenv.lib.optional (guiSupport == "gtk3") gtk3-x11 134 - ++ stdenv.lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc ] 135 - ++ stdenv.lib.optional luaSupport lua 136 - ++ stdenv.lib.optional pythonSupport python3 137 - ++ stdenv.lib.optional tclSupport tcl 138 - ++ stdenv.lib.optional rubySupport ruby; 132 + ++ lib.optional (guiSupport == "gtk2") gtk2-x11 133 + ++ lib.optional (guiSupport == "gtk3") gtk3-x11 134 + ++ lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc ] 135 + ++ lib.optional luaSupport lua 136 + ++ lib.optional pythonSupport python3 137 + ++ lib.optional tclSupport tcl 138 + ++ lib.optional rubySupport ruby; 139 139 140 140 preConfigure = '' 141 - '' + stdenv.lib.optionalString ftNixSupport '' 141 + '' + lib.optionalString ftNixSupport '' 142 142 cp ${vimPlugins.vim-nix.src}/ftplugin/nix.vim runtime/ftplugin/nix.vim 143 143 cp ${vimPlugins.vim-nix.src}/indent/nix.vim runtime/indent/nix.vim 144 144 cp ${vimPlugins.vim-nix.src}/syntax/nix.vim runtime/syntax/nix.vim ··· 150 150 151 151 postInstall = '' 152 152 ln -s $out/bin/vim $out/bin/vi 153 - '' + stdenv.lib.optionalString stdenv.isLinux '' 153 + '' + lib.optionalString stdenv.isLinux '' 154 154 patchelf --set-rpath \ 155 - "$(patchelf --print-rpath $out/bin/vim):${stdenv.lib.makeLibraryPath buildInputs}" \ 155 + "$(patchelf --print-rpath $out/bin/vim):${lib.makeLibraryPath buildInputs}" \ 156 156 "$out"/bin/vim 157 157 if [[ -e "$out"/bin/gvim ]]; then 158 158 patchelf --set-rpath \ 159 - "$(patchelf --print-rpath $out/bin/vim):${stdenv.lib.makeLibraryPath buildInputs}" \ 159 + "$(patchelf --print-rpath $out/bin/vim):${lib.makeLibraryPath buildInputs}" \ 160 160 "$out"/bin/gvim 161 161 fi 162 162 163 163 ln -sfn '${nixosRuntimepath}' "$out"/share/vim/vimrc 164 - '' + stdenv.lib.optionalString wrapPythonDrv '' 164 + '' + lib.optionalString wrapPythonDrv '' 165 165 wrapProgram "$out/bin/vim" --prefix PATH : "${python3}/bin" 166 - '' + stdenv.lib.optionalString (guiSupport == "gtk3") '' 166 + '' + lib.optionalString (guiSupport == "gtk3") '' 167 167 168 168 rewrap () { 169 169 rm -f "$out/bin/$1"
+3 -3
pkgs/applications/editors/vim/default.nix
··· 1 - { stdenv, fetchurl, callPackage, ncurses, gettext, pkgconfig 1 + { lib, stdenv, fetchurl, callPackage, ncurses, gettext, pkgconfig 2 2 # default vimrc 3 3 , vimrc ? fetchurl { 4 4 name = "default-vimrc"; ··· 19 19 20 20 nativeBuildInputs = [ gettext pkgconfig ]; 21 21 buildInputs = [ ncurses ] 22 - ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ]; 22 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ]; 23 23 24 24 configureFlags = [ 25 25 "--enable-multibyte" 26 26 "--enable-nls" 27 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 27 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 28 28 "vim_cv_toupper_broken=no" 29 29 "--with-tlib=ncurses" 30 30 "vim_cv_terminfo=yes"
+1 -1
pkgs/applications/editors/vim/vimacs.nix
··· 29 29 description = "Vim-Improved eMACS: Emacs emulation for Vim"; 30 30 homepage = "http://algorithm.com.au/code/vimacs"; 31 31 license = licenses.gpl2Plus; 32 - maintainers = with stdenv.lib.maintainers; [ millerjason ]; 32 + maintainers = with lib.maintainers; [ millerjason ]; 33 33 }; 34 34 }
+3 -3
pkgs/applications/editors/vis/default.nix
··· 21 21 libtermkey 22 22 lua 23 23 lpeg 24 - ] ++ stdenv.lib.optionals stdenv.isLinux [ 24 + ] ++ lib.optionals stdenv.isLinux [ 25 25 acl 26 26 libselinux 27 27 ]; ··· 51 51 comment = meta.description; 52 52 desktopName = "vis"; 53 53 genericName = "Text editor"; 54 - categories = stdenv.lib.concatStringsSep ";" [ 54 + categories = lib.concatStringsSep ";" [ 55 55 "Application" "Development" "IDE" 56 56 ]; 57 - mimeType = stdenv.lib.concatStringsSep ";" [ 57 + mimeType = lib.concatStringsSep ";" [ 58 58 "text/plain" "application/octet-stream" 59 59 ]; 60 60 startupNotify = "false";
+3 -3
pkgs/applications/editors/wxhexeditor/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, wxGTK, autoconf, automake, libtool, python, gettext }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, wxGTK, autoconf, automake, libtool, python, gettext }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "wxHexEditor"; ··· 44 44 wxHexEditor could edit HDD/SDD disk devices or partitions in raw up to exabyte sizes. 45 45 ''; 46 46 homepage = "http://www.wxhexeditor.org/"; 47 - license = stdenv.lib.licenses.gpl2; 48 - platforms = stdenv.lib.platforms.linux; 47 + license = lib.licenses.gpl2; 48 + platforms = lib.platforms.linux; 49 49 }; 50 50 }
+1 -1
pkgs/applications/editors/zile/default.nix
··· 12 12 nativeBuildInputs = [ perl pkg-config ] 13 13 # `help2man' wants to run Zile, which won't work when the 14 14 # newly-produced binary can't be run at build-time. 15 - ++ stdenv.lib.optional 15 + ++ lib.optional 16 16 (stdenv.hostPlatform == stdenv.buildPlatform) 17 17 help2man; 18 18
+5 -5
pkgs/applications/gis/grass/default.nix
··· 9 9 name = "grass"; 10 10 version = "7.6.1"; 11 11 12 - src = with stdenv.lib; fetchFromGitHub { 12 + src = with lib; fetchFromGitHub { 13 13 owner = "OSGeo"; 14 14 repo = "grass"; 15 15 rev = "${name}_${replaceStrings ["."] ["_"] version}"; ··· 51 51 ]; 52 52 53 53 # Otherwise a very confusing "Can't load GDAL library" error 54 - makeFlags = stdenv.lib.optional stdenv.isDarwin "GDAL_DYNAMIC="; 54 + makeFlags = lib.optional stdenv.isDarwin "GDAL_DYNAMIC="; 55 55 56 56 /* Ensures that the python script run at build time are actually executable; 57 57 * otherwise, patchShebangs ignores them. */ ··· 103 103 meta = { 104 104 homepage = "https://grass.osgeo.org/"; 105 105 description = "GIS software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization"; 106 - license = stdenv.lib.licenses.gpl2Plus; 107 - platforms = stdenv.lib.platforms.all; 108 - maintainers = with stdenv.lib.maintainers; [mpickering]; 106 + license = lib.licenses.gpl2Plus; 107 + platforms = lib.platforms.all; 108 + maintainers = with lib.maintainers; [mpickering]; 109 109 }; 110 110 }
+1 -1
pkgs/applications/gis/openorienteering-mapper/default.nix
··· 52 52 # See https://github.com/NixOS/nixpkgs/issues/85306 53 53 "-DLICENSING_PROVIDER:BOOL=OFF" 54 54 "-DMapper_MANUAL_QTHELP:BOOL=OFF" 55 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 55 + ] ++ lib.optionals stdenv.isDarwin [ 56 56 # FindGDAL is broken and always finds /Library/Framework unless this is 57 57 # specified 58 58 "-DGDAL_INCLUDE_DIR=${gdal}/include"
+1 -1
pkgs/applications/gis/whitebox-tools/default.nix
··· 10 10 sha256 = "0s5byn8qyi1bm59j9vhwqaygw5cxipc7wbd3flh7n24nx0s8pr8c"; 11 11 }; 12 12 13 - buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 13 + buildInputs = lib.optional stdenv.isDarwin Security; 14 14 15 15 cargoSha256 = "09rz8f1xyc64qjbj6pgw8jxr2a7chghmdc6sfkbv7hdvx6vg4wvk"; 16 16
+1 -1
pkgs/applications/graphics/ahoviewer/default.nix
··· 27 27 gst_all_1.gst-plugins-good 28 28 gst_all_1.gst-libav 29 29 gst_all_1.gst-plugins-base 30 - ] ++ stdenv.lib.optional useUnrar unrar; 30 + ] ++ lib.optional useUnrar unrar; 31 31 32 32 NIX_LDFLAGS = "-lpthread"; 33 33
+1 -1
pkgs/applications/graphics/apitrace/default.nix
··· 52 52 for i in $out/bin/eglretrace $out/bin/glretrace 53 53 do 54 54 echo "Patching RPath for $i" 55 - patchelf --set-rpath "${stdenv.lib.makeLibraryPath [libglvnd]}:$(patchelf --print-rpath $i)" $i 55 + patchelf --set-rpath "${lib.makeLibraryPath [libglvnd]}:$(patchelf --print-rpath $i)" $i 56 56 done 57 57 58 58 wrapQtApp $out/bin/qapitrace
+3 -3
pkgs/applications/graphics/autopanosiftc/default.nix
··· 1 - {stdenv, fetchurl, cmake, libpng, libtiff, libjpeg, panotools, libxml2 }: 1 + {lib, stdenv, fetchurl, cmake, libpng, libtiff, libjpeg, panotools, libxml2 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "autopano-sift-C-2.5.1"; ··· 21 21 meta = { 22 22 homepage = "http://hugin.sourceforge.net/"; 23 23 description = "Implementation in C of the autopano-sift algorithm for automatically stitching panoramas"; 24 - license = stdenv.lib.licenses.gpl2; 25 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.gpl2; 25 + platforms = lib.platforms.linux; 26 26 }; 27 27 }
+1 -1
pkgs/applications/graphics/autotrace/default.nix
··· 36 36 autofig = callPackage ./autofig.nix {}; 37 37 nativeBuildInputs = [ autoreconfHook glib autofig pkgconfig gettext ]; 38 38 buildInputs = [ libpng12 imagemagick pstoedit ] 39 - ++ stdenv.lib.optionals stdenv.isDarwin 39 + ++ lib.optionals stdenv.isDarwin 40 40 (with darwin.apple_sdk.frameworks; [ gd ApplicationServices ]); 41 41 42 42 postUnpack = ''
+1 -1
pkgs/applications/graphics/avocode/default.nix
··· 12 12 sha256 = "06xf5y2mljk3pd74ap9n90bhhidbzpg5c6wws361ygd4f3x86c46"; 13 13 }; 14 14 15 - libPath = stdenv.lib.makeLibraryPath (with xorg; [ 15 + libPath = lib.makeLibraryPath (with xorg; [ 16 16 stdenv.cc.cc.lib 17 17 at-spi2-core.out 18 18 gdk-pixbuf
+1 -1
pkgs/applications/graphics/c3d/default.nix
··· 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 buildInputs = [ itk4 ] 16 - ++ stdenv.lib.optional stdenv.isDarwin Cocoa; 16 + ++ lib.optional stdenv.isDarwin Cocoa; 17 17 18 18 meta = with lib; { 19 19 homepage = "https://github.com/pyushkevich/c3d";
+4 -4
pkgs/applications/graphics/comical/default.nix
··· 1 - {stdenv, fetchurl, wxGTK, util-linux, zlib }: 1 + {lib, stdenv, fetchurl, wxGTK, util-linux, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "comical-0.8"; ··· 16 16 meta = { 17 17 description = "Viewer of CBR and CBZ files, often used to store scanned comics"; 18 18 homepage = "http://comical.sourceforge.net/"; 19 - license = stdenv.lib.licenses.gpl2Plus; 20 - maintainers = with stdenv.lib.maintainers; [viric]; 21 - platforms = with stdenv.lib.platforms; linux; 19 + license = lib.licenses.gpl2Plus; 20 + maintainers = with lib.maintainers; [viric]; 21 + platforms = with lib.platforms; linux; 22 22 }; 23 23 }
+5 -5
pkgs/applications/graphics/darktable/default.nix
··· 22 22 libgphoto2 libjpeg libpng librsvg libtiff openexr sqlite libxslt 23 23 libsoup graphicsmagick json-glib openjpeg lua pugixml 24 24 libwebp libsecret gnome3.adwaita-icon-theme osm-gps-map pcre isocodes 25 - ] ++ stdenv.lib.optionals stdenv.isLinux [ 25 + ] ++ lib.optionals stdenv.isLinux [ 26 26 colord colord-gtk libX11 ocl-icd 27 - ] ++ stdenv.lib.optional stdenv.isDarwin gtk-mac-integration 28 - ++ stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp; 27 + ] ++ lib.optional stdenv.isDarwin gtk-mac-integration 28 + ++ lib.optional stdenv.cc.isClang llvmPackages.openmp; 29 29 30 30 cmakeFlags = [ 31 31 "-DBUILD_USERMANUAL=False" 32 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 32 + ] ++ lib.optionals stdenv.isDarwin [ 33 33 "-DUSE_COLORD=OFF" 34 34 "-DUSE_KWALLET=OFF" 35 35 ]; ··· 41 41 # the wrappers: 42 42 preFixup = let 43 43 libPathEnvVar = if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH"; 44 - libPathPrefix = "$out/lib/darktable" + stdenv.lib.optionalString stdenv.isLinux ":${ocl-icd}/lib"; 44 + libPathPrefix = "$out/lib/darktable" + lib.optionalString stdenv.isLinux ":${ocl-icd}/lib"; 45 45 in '' 46 46 for f in $out/share/darktable/kernels/*.cl; do 47 47 sed -r "s|#include \"(.*)\"|#include \"$out/share/darktable/kernels/\1\"|g" -i "$f"
+3 -3
pkgs/applications/graphics/dia/default.nix
··· 16 16 buildInputs = 17 17 [ gtk2 libxml2 gettext python libxml2Python docbook5 18 18 libxslt docbook_xsl libart_lgpl ] 19 - ++ stdenv.lib.optional withGNOME libgnomeui 20 - ++ stdenv.lib.optional stdenv.isDarwin gtk-mac-integration-gtk2; 19 + ++ lib.optional withGNOME libgnomeui 20 + ++ lib.optional stdenv.isDarwin gtk-mac-integration-gtk2; 21 21 22 22 nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool ] 23 23 ++ (with perlPackages; [ perl XMLParser ]); ··· 25 25 preConfigure = '' 26 26 NOCONFIGURE=1 ./autogen.sh # autoreconfHook is not enough 27 27 ''; 28 - configureFlags = stdenv.lib.optional withGNOME "--enable-gnome"; 28 + configureFlags = lib.optional withGNOME "--enable-gnome"; 29 29 30 30 hardeningDisable = [ "format" ]; 31 31
+4 -4
pkgs/applications/graphics/displaycal/default.nix
··· 1 1 { python2 2 - , stdenv 2 + , lib, stdenv 3 3 , fetchurl 4 4 , pkgconfig 5 5 , libXext ··· 65 65 meta = { 66 66 description = "Display Calibration and Characterization powered by Argyll CMS"; 67 67 homepage = "https://displaycal.net/"; 68 - license = stdenv.lib.licenses.gpl3; 69 - maintainers = [stdenv.lib.maintainers.marcweber]; 70 - platforms = stdenv.lib.platforms.linux; 68 + license = lib.licenses.gpl3; 69 + maintainers = [lib.maintainers.marcweber]; 70 + platforms = lib.platforms.linux; 71 71 }; 72 72 }
+2 -2
pkgs/applications/graphics/djview/default.nix
··· 29 29 qtbase 30 30 xorg.libXt 31 31 libtiff 32 - ] ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.AGL; 32 + ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.AGL; 33 33 34 34 configureFlags = [ 35 35 "--disable-silent-rules" ··· 37 37 "--with-x" 38 38 "--with-tiff" 39 39 # NOTE: 2019-09-19: experimental "--enable-npdjvu" fails 40 - ] ++ stdenv.lib.optional stdenv.isDarwin "--enable-mac"; 40 + ] ++ lib.optional stdenv.isDarwin "--enable-mac"; 41 41 42 42 passthru = { 43 43 mozillaPlugin = "/lib/mozilla/plugins";
+2 -2
pkgs/applications/graphics/dosage/default.nix
··· 1 - { stdenv, python3Packages, fetchFromGitHub }: 1 + { lib, stdenv, python3Packages, fetchFromGitHub }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "dosage"; ··· 23 23 meta = { 24 24 description = "A comic strip downloader and archiver"; 25 25 homepage = "https://dosage.rocks/"; 26 - license = stdenv.lib.licenses.mit; 26 + license = lib.licenses.mit; 27 27 }; 28 28 }
+3 -3
pkgs/applications/graphics/exrdisplay/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, fltk, openexr, libGLU, libGL, ctl }: 1 + { lib, stdenv, fetchurl, pkgconfig, fltk, openexr, libGLU, libGL, ctl }: 2 2 3 3 stdenv.mkDerivation { 4 4 name ="openexr_viewers-2.2.1"; ··· 22 22 meta = { 23 23 description = "Application for viewing OpenEXR images on a display at various exposure settings"; 24 24 homepage = "http://openexr.com"; 25 - platforms = stdenv.lib.platforms.linux; 26 - license = stdenv.lib.licenses.bsd3; 25 + platforms = lib.platforms.linux; 26 + license = lib.licenses.bsd3; 27 27 }; 28 28 }
+4 -4
pkgs/applications/graphics/f3d/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "f3d"; 5 - version = "1.0.1"; 5 + version = "1.1.0"; 6 6 7 7 src = fetchFromGitLab { 8 8 domain = "gitlab.kitware.com"; 9 9 owner = "f3d"; 10 10 repo = "f3d"; 11 11 rev = "v${version}"; 12 - sha256 = "0a6r0jspkhl735f6zmnhby1g4dlmjqd5izgsp5yfdcdhqj4j63mg"; 12 + sha256 = "0lj20k5qyw9z85k3wsp05f7dcv7v7asrnppi8i1jm32dzxjm4siw"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ cmake ]; 16 16 17 17 buildInputs = [ vtk_9 ] 18 - ++ stdenv.lib.optionals stdenv.isLinux [ libGL libX11 ] 19 - ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa OpenGL ]; 18 + ++ lib.optionals stdenv.isLinux [ libGL libX11 ] 19 + ++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ]; 20 20 21 21 meta = with lib; { 22 22 description = "Fast and minimalist 3D viewer using VTK";
+2 -2
pkgs/applications/graphics/feh/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper 1 + { lib, stdenv, fetchurl, makeWrapper 2 2 , xorg, imlib2, libjpeg, libpng 3 3 , curl, libexif, jpegexiforient, perlPackages 4 4 , enableAutoreload ? !stdenv.hostPlatform.isDarwin }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "feh";
+1 -1
pkgs/applications/graphics/fluxus/default.nix
··· 76 76 "RacketPrefix=${racket}" 77 77 "RacketInclude=${racket}/include/racket" 78 78 "RacketLib=${racket}/lib/racket" 79 - "LIBPATH=${stdenv.lib.makeLibraryPath libs}" 79 + "LIBPATH=${lib.makeLibraryPath libs}" 80 80 "DESTDIR=build" 81 81 ]; 82 82 configurePhase = ''
+2 -2
pkgs/applications/graphics/freepv/default.nix
··· 1 - { stdenv, fetchurl, libjpeg, libGLU, libGL, freeglut, zlib, cmake, libX11, libxml2, libpng, 1 + { lib, stdenv, fetchurl, libjpeg, libGLU, libGL, freeglut, zlib, cmake, libX11, libxml2, libpng, 2 2 libXxf86vm }: 3 3 4 4 stdenv.mkDerivation { ··· 30 30 meta = { 31 31 description = "Open source panorama viewer using GL"; 32 32 homepage = "http://freepv.sourceforge.net/"; 33 - license = [ stdenv.lib.licenses.lgpl21 ]; 33 + license = [ lib.licenses.lgpl21 ]; 34 34 }; 35 35 }
+1 -1
pkgs/applications/graphics/fstl/default.nix
··· 14 14 qmake qt/fstl.pro 15 15 ''; 16 16 17 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 17 + postInstall = lib.optionalString stdenv.isDarwin '' 18 18 mkdir -p $out/Applications 19 19 mv fstl.app $out/Applications 20 20 '';
+4 -4
pkgs/applications/graphics/gcolor2/default.nix
··· 1 - {stdenv, fetchurl, gtk2, perlPackages, pkgconfig } : 1 + {lib, stdenv, fetchurl, gtk2, perlPackages, pkgconfig } : 2 2 3 3 let version = "0.4"; in 4 4 stdenv.mkDerivation { ··· 27 27 meta = { 28 28 description = "Simple GTK 2 color selector"; 29 29 homepage = "http://gcolor2.sourceforge.net/"; 30 - license = stdenv.lib.licenses.gpl2Plus; 31 - maintainers = with stdenv.lib.maintainers; [ notthemessiah ]; 32 - platforms = with stdenv.lib.platforms; unix; 30 + license = lib.licenses.gpl2Plus; 31 + maintainers = with lib.maintainers; [ notthemessiah ]; 32 + platforms = with lib.platforms; unix; 33 33 }; 34 34 }
+1 -1
pkgs/applications/graphics/geeqie/default.nix
··· 35 35 # Allow geeqie to find exiv2 and exiftran, necessary to 36 36 # losslessly rotate JPEG images. 37 37 sed -i $out/lib/geeqie/geeqie-rotate \ 38 - -e '1 a export PATH=${stdenv.lib.makeBinPath [ exiv2 fbida ]}:$PATH' 38 + -e '1 a export PATH=${lib.makeBinPath [ exiv2 fbida ]}:$PATH' 39 39 ''; 40 40 41 41 enableParallelBuilding = true;
+2 -2
pkgs/applications/graphics/gimp/plugins/default.nix
··· 189 189 190 190 homepage = "http://lensfun.sebastiankraft.net/"; 191 191 192 - license = stdenv.lib.licenses.gpl3Plus; 192 + license = lib.licenses.gpl3Plus; 193 193 maintainers = [ ]; 194 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 194 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 195 195 }; 196 196 }; 197 197
+1 -1
pkgs/applications/graphics/gimp/wrapper.nix
··· 4 4 allPlugins = lib.filter (pkg: lib.isDerivation pkg && !pkg.meta.broken or false) (lib.attrValues gimpPlugins); 5 5 selectedPlugins = lib.filter (pkg: pkg != gimpPlugins.gimp) (if plugins == null then allPlugins else plugins); 6 6 extraArgs = map (x: x.wrapArgs or "") selectedPlugins; 7 - versionBranch = stdenv.lib.versions.majorMinor gimp.version; 7 + versionBranch = lib.versions.majorMinor gimp.version; 8 8 9 9 in symlinkJoin { 10 10 name = "gimp-with-plugins-${gimp.version}";
+1 -1
pkgs/applications/graphics/glabels/default.nix
··· 8 8 version = "3.4.1"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"; 13 13 }; 14 14
+1 -1
pkgs/applications/graphics/gnome-photos/default.nix
··· 41 41 outputs = [ "out" "installedTests" ]; 42 42 43 43 src = fetchurl { 44 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 44 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 45 45 sha256 = "1i64w69kk3sdf9vn7npnwrhy8qjwn0vizq200x3pgmbrfm3kjzv6"; 46 46 }; 47 47
+3 -3
pkgs/applications/graphics/gocr/default.nix
··· 1 - { stdenv, fetchurl, tk }: 1 + { lib, stdenv, fetchurl, tk }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gocr-0.52"; ··· 26 26 meta = { 27 27 homepage = "http://jocr.sourceforge.net/"; 28 28 description = "GPL Optical Character Recognition"; 29 - license = stdenv.lib.licenses.gpl2; 30 - platforms = stdenv.lib.platforms.linux; 29 + license = lib.licenses.gpl2; 30 + platforms = lib.platforms.linux; 31 31 }; 32 32 }
+3 -3
pkgs/applications/graphics/grafx2/default.nix
··· 1 - { stdenv, fetchurl, SDL, SDL_image, SDL_ttf, zlib, libpng, pkgconfig, lua5 }: 1 + { lib, stdenv, fetchurl, SDL, SDL_image, SDL_ttf, zlib, libpng, pkgconfig, lua5 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 22 22 meta = { 23 23 description = "Bitmap paint program inspired by the Amiga programs Deluxe Paint and Brilliance"; 24 24 homepage = "http://pulkomandy.tk/projects/GrafX2"; 25 - license = stdenv.lib.licenses.gpl2; 25 + license = lib.licenses.gpl2; 26 26 platforms = [ "x86_64-linux" "i686-linux" ]; 27 - maintainers = [ stdenv.lib.maintainers.zoomulator ]; 27 + maintainers = [ lib.maintainers.zoomulator ]; 28 28 }; 29 29 }
+3 -3
pkgs/applications/graphics/graphicsmagick/compat.nix
··· 1 - { stdenv, graphicsmagick }: 1 + { lib, stdenv, graphicsmagick }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "graphicsmagick-imagemagick-compat"; ··· 31 31 32 32 meta = { 33 33 description = "ImageMagick interface for GraphicsMagick"; 34 - license = stdenv.lib.licenses.free; 35 - platforms = stdenv.lib.platforms.all; 34 + license = lib.licenses.free; 35 + platforms = lib.platforms.all; 36 36 }; 37 37 }
+4 -4
pkgs/applications/graphics/graphicsmagick/default.nix
··· 1 - { stdenv, fetchurl, bzip2, freetype, graphviz, ghostscript 1 + { lib, stdenv, fetchurl, bzip2, freetype, graphviz, ghostscript 2 2 , libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11 3 3 , libwebp, quantumdepth ? 8, fixDarwinDylibNames }: 4 4 ··· 27 27 ]; 28 28 29 29 nativeBuildInputs = [ xz ] 30 - ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 30 + ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 31 31 32 32 postInstall = '' 33 33 sed -i 's/-ltiff.*'\'/\'/ $out/bin/* ··· 36 36 meta = { 37 37 homepage = "http://www.graphicsmagick.org"; 38 38 description = "Swiss army knife of image processing"; 39 - license = stdenv.lib.licenses.mit; 40 - platforms = stdenv.lib.platforms.all; 39 + license = lib.licenses.mit; 40 + platforms = lib.platforms.all; 41 41 }; 42 42 }
+2 -2
pkgs/applications/graphics/gscan2pdf/default.nix
··· 1 - { stdenv, fetchurl, perlPackages, wrapGAppsHook, 1 + { lib, stdenv, fetchurl, perlPackages, wrapGAppsHook, 2 2 # libs 3 3 librsvg, sane-backends, sane-frontends, 4 4 # runtime dependencies ··· 6 6 # test dependencies 7 7 xvfb_run, liberation_ttf, file, tesseract }: 8 8 9 - with stdenv.lib; 9 + with lib; 10 10 11 11 perlPackages.buildPerlPackage rec { 12 12 pname = "gscan2pdf";
+1 -1
pkgs/applications/graphics/gthumb/default.nix
··· 36 36 version = "3.10.1"; 37 37 38 38 src = fetchurl { 39 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 39 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 40 40 sha256 = "0gm7q6n9lnjsdqpx5b0cqjayhzwnplqb6p5pshzhbfp2zqd2g9ss"; 41 41 }; 42 42
+4 -4
pkgs/applications/graphics/guetzli/default.nix
··· 1 - { stdenv, libpng, fetchFromGitHub, pkgconfig }: 1 + { lib, stdenv, libpng, fetchFromGitHub, pkgconfig }: 2 2 let 3 3 version = "1.0.1"; 4 4 in ··· 23 23 description = "Perceptual JPEG encoder"; 24 24 longDescription = "Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality."; 25 25 homepage = "https://github.com/google/guetzli"; 26 - license = stdenv.lib.licenses.asl20; 27 - platforms = stdenv.lib.platforms.x86_64; 28 - maintainers = [ stdenv.lib.maintainers.seppeljordan ]; 26 + license = lib.licenses.asl20; 27 + platforms = lib.platforms.x86_64; 28 + maintainers = [ lib.maintainers.seppeljordan ]; 29 29 }; 30 30 }
+3 -3
pkgs/applications/graphics/inkscape/default.nix
··· 122 122 potrace 123 123 python3Env 124 124 zlib 125 - ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ 125 + ] ++ lib.optionals (!stdenv.isDarwin) [ 126 126 gtkspell3 127 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 127 + ] ++ lib.optionals stdenv.isDarwin [ 128 128 cairo 129 129 gtk-mac-integration 130 130 ]; 131 131 132 132 # Make sure PyXML modules can be found at run-time. 133 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 133 + postInstall = lib.optionalString stdenv.isDarwin '' 134 134 install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkscape 135 135 install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkview 136 136 '';
+4 -4
pkgs/applications/graphics/ipe/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript 1 + { lib, stdenv, fetchurl, makeWrapper, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript 2 2 , libjpeg, libpng, qtbase, mkDerivation 3 3 }: 4 4 ··· 31 31 meta = { 32 32 description = "An editor for drawing figures"; 33 33 homepage = "http://ipe.otfried.org"; 34 - license = stdenv.lib.licenses.gpl3Plus; 34 + license = lib.licenses.gpl3Plus; 35 35 longDescription = '' 36 36 Ipe is an extensible drawing editor for creating figures in PDF and Postscript format. 37 37 It supports making small figures for inclusion into LaTeX-documents 38 38 as well as presentations in PDF. 39 39 ''; 40 - maintainers = [ stdenv.lib.maintainers.ttuegel ]; 41 - platforms = stdenv.lib.platforms.linux; 40 + maintainers = [ lib.maintainers.ttuegel ]; 41 + platforms = lib.platforms.linux; 42 42 }; 43 43 }
+2 -2
pkgs/applications/graphics/kodelife/default.nix
··· 40 40 ''; 41 41 42 42 preFixup = let 43 - libPath = stdenv.lib.makeLibraryPath [ 43 + libPath = lib.makeLibraryPath [ 44 44 stdenv.cc.cc.lib 45 45 alsaLib 46 46 glib ··· 49 49 libGLU libGL 50 50 xorg.libX11 51 51 ]; 52 - in stdenv.lib.optionalString (!stdenv.isDarwin) '' 52 + in lib.optionalString (!stdenv.isDarwin) '' 53 53 patchelf \ 54 54 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 55 55 --set-rpath "${libPath}" \
+4 -4
pkgs/applications/graphics/krop/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages, libsForQt5, ghostscript, qt5}: 1 + { lib, stdenv, fetchFromGitHub, python3Packages, libsForQt5, ghostscript, qt5}: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "krop"; ··· 44 44 your eReader does not support convenient scrolling. Krop also has a command line 45 45 interface. 46 46 ''; 47 - license = stdenv.lib.licenses.gpl3Plus; 48 - maintainers = with stdenv.lib.maintainers; [ leenaars ]; 49 - platforms = stdenv.lib.platforms.linux; 47 + license = lib.licenses.gpl3Plus; 48 + maintainers = with lib.maintainers; [ leenaars ]; 49 + platforms = lib.platforms.linux; 50 50 }; 51 51 }
+1 -1
pkgs/applications/graphics/lazpaint/default.nix
··· 55 55 56 56 # Python is needed for scripts 57 57 makeWrapper $out/share/lazpaint/lazpaint $out/bin/lazpaint \ 58 - --prefix PATH : ${stdenv.lib.makeBinPath [ python3 ]} 58 + --prefix PATH : ${lib.makeBinPath [ python3 ]} 59 59 ''; 60 60 61 61 meta = with lib; {
+3 -3
pkgs/applications/graphics/lightburn/default.nix
··· 1 - { stdenv, patchelf, fetchurl, p7zip 1 + { lib, stdenv, patchelf, fetchurl, p7zip 2 2 , nss, nspr, libusb1 3 3 , qtbase, qtmultimedia, qtserialport 4 4 , autoPatchelfHook, wrapQtAppsHook ··· 42 42 meta = { 43 43 description = "Layout, editing, and control software for your laser cutter"; 44 44 homepage = "https://lightburnsoftware.com/"; 45 - license = stdenv.lib.licenses.unfree; 46 - maintainers = with stdenv.lib.maintainers; [ q3k ]; 45 + license = lib.licenses.unfree; 46 + maintainers = with lib.maintainers; [ q3k ]; 47 47 platforms = [ "x86_64-linux" ]; 48 48 }; 49 49 }
+3 -3
pkgs/applications/graphics/meh/default.nix
··· 1 - { stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }: 1 + { lib, stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "meh-unstable-2015-04-11"; ··· 21 21 meta = { 22 22 description = "A minimal image viewer using raw XLib"; 23 23 homepage = "https://www.johnhawthorn.com/meh/"; 24 - license = stdenv.lib.licenses.mit; 25 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.mit; 25 + platforms = lib.platforms.linux; 26 26 }; 27 27 }
+4 -4
pkgs/applications/graphics/minidjvu/default.nix
··· 1 - {stdenv, fetchurl, libtiff, gettext }: 1 + {lib, stdenv, fetchurl, libtiff, gettext }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "minidjvu-0.8"; ··· 20 20 meta = { 21 21 homepage = "http://djvu.sourceforge.net/djview4.html"; 22 22 description = "Black-and-white djvu page encoder and decoder that use interpage information"; 23 - license = stdenv.lib.licenses.gpl2Plus; 24 - maintainers = [ stdenv.lib.maintainers.viric ]; 25 - platforms = stdenv.lib.platforms.unix; 23 + license = lib.licenses.gpl2Plus; 24 + maintainers = [ lib.maintainers.viric ]; 25 + platforms = lib.platforms.unix; 26 26 }; 27 27 }
+4 -4
pkgs/applications/graphics/mozjpeg/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libpng, nasm }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libpng, nasm }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.3.1"; ··· 23 23 The idea is to reduce transfer times for JPEGs on the Web, thus reducing page load times. 24 24 ''; 25 25 homepage = "https://github.com/mozilla/mozjpeg"; 26 - license = stdenv.lib.licenses.bsd3; 27 - maintainers = [ stdenv.lib.maintainers.aristid ]; 28 - platforms = stdenv.lib.platforms.all; 26 + license = lib.licenses.bsd3; 27 + maintainers = [ lib.maintainers.aristid ]; 28 + platforms = lib.platforms.all; 29 29 }; 30 30 }
+4 -4
pkgs/applications/graphics/mtpaint/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , pkg-config 3 3 , freetype, giflib, gtk3, lcms2, libjpeg, libpng, libtiff, openjpeg, gifsicle 4 4 }: ··· 35 35 GNU/Linux, Windows and older PC hardware. 36 36 ''; 37 37 homepage = "http://mtpaint.sourceforge.net/"; 38 - license = stdenv.lib.licenses.gpl3Plus; 39 - platforms = stdenv.lib.platforms.linux; 40 - maintainers = [ stdenv.lib.maintainers.vklquevs ]; 38 + license = lib.licenses.gpl3Plus; 39 + platforms = lib.platforms.linux; 40 + maintainers = [ lib.maintainers.vklquevs ]; 41 41 }; 42 42 } 43 43
+1 -1
pkgs/applications/graphics/nomacs/default.nix
··· 53 53 meta = with lib; { 54 54 homepage = "https://nomacs.org"; 55 55 description = "Qt-based image viewer"; 56 - maintainers = with stdenv.lib.maintainers; [ mindavi ]; 56 + maintainers = with lib.maintainers; [ mindavi ]; 57 57 license = licenses.gpl3Plus; 58 58 repositories.git = "https://github.com/nomacs/nomacs.git"; 59 59 inherit (qtbase.meta) platforms;
+2 -2
pkgs/applications/graphics/ocrfeeder/default.nix
··· 21 21 version = "0.8.3"; 22 22 23 23 src = fetchurl { 24 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 25 sha256 = "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"; 26 26 }; 27 27 ··· 55 55 --replace /usr/share/xml/iso-codes ${isocodes}/share/xml/iso-codes 56 56 ''; 57 57 58 - enginesPath = stdenv.lib.makeBinPath ([ 58 + enginesPath = lib.makeBinPath ([ 59 59 tesseract4 60 60 ] ++ extraOcrEngines); 61 61
+7 -7
pkgs/applications/graphics/openscad/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , qtbase 4 4 , qtmultimedia ··· 44 44 eigen boost glew opencsg cgal mpfr gmp glib 45 45 harfbuzz lib3mf libzip double-conversion freetype fontconfig 46 46 qtbase qtmultimedia qscintilla 47 - ] ++ stdenv.lib.optionals stdenv.isLinux [ libGLU libGL ] 48 - ++ stdenv.lib.optional stdenv.isDarwin qtmacextras 47 + ] ++ lib.optionals stdenv.isLinux [ libGLU libGL ] 48 + ++ lib.optional stdenv.isDarwin qtmacextras 49 49 ; 50 50 51 51 qmakeFlags = [ "VERSION=${version}" ]; ··· 53 53 # src/lexer.l:36:10: fatal error: parser.hxx: No such file or directory 54 54 enableParallelBuilding = false; # true by default due to qmake 55 55 56 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 56 + postInstall = lib.optionalString stdenv.isDarwin '' 57 57 mkdir $out/Applications 58 58 mv $out/bin/*.app $out/Applications 59 59 rmdir $out/bin || true ··· 80 80 interested in creating computer-animated movies. 81 81 ''; 82 82 homepage = "http://openscad.org/"; 83 - license = stdenv.lib.licenses.gpl2; 84 - platforms = stdenv.lib.platforms.unix; 85 - maintainers = with stdenv.lib.maintainers; [ bjornfor raskin gebner ]; 83 + license = lib.licenses.gpl2; 84 + platforms = lib.platforms.unix; 85 + maintainers = with lib.maintainers; [ bjornfor raskin gebner ]; 86 86 }; 87 87 }
+3 -3
pkgs/applications/graphics/opentoonz/default.nix
··· 1 1 { boost, cmake, fetchFromGitHub, freeglut, freetype, glew, libjpeg, libmypaint 2 2 , libpng, libtiff, libusb1, lz4, lzma, lzo, openblas, pkgconfig, qtbase 3 - , qtmultimedia, qtscript, stdenv, superlu, wrapQtAppsHook, }: 3 + , qtmultimedia, qtscript, lib, stdenv, superlu, wrapQtAppsHook, }: 4 4 let source = import ./source.nix { inherit fetchFromGitHub; }; 5 5 in stdenv.mkDerivation rec { 6 6 inherit (source) src; ··· 45 45 meta = { 46 46 description = "Full-featured 2D animation creation software"; 47 47 homepage = "https://opentoonz.github.io/"; 48 - license = stdenv.lib.licenses.bsd3; 49 - maintainers = with stdenv.lib.maintainers; [ chkno ]; 48 + license = lib.licenses.bsd3; 49 + maintainers = with lib.maintainers; [ chkno ]; 50 50 }; 51 51 }
+3 -3
pkgs/applications/graphics/panotools/default.nix
··· 1 - { fetchurl, stdenv, libjpeg, libpng, libtiff, perl }: 1 + { fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "libpano13-2.9.19"; ··· 16 16 meta = { 17 17 homepage = "http://panotools.sourceforge.net/"; 18 18 description = "Free software suite for authoring and displaying virtual reality panoramas"; 19 - license = stdenv.lib.licenses.gpl2Plus; 19 + license = lib.licenses.gpl2Plus; 20 20 21 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 21 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 22 22 }; 23 23 }
+3 -3
pkgs/applications/graphics/photoqt/default.nix
··· 1 - { mkDerivation, stdenv, fetchurl, cmake, exiv2, graphicsmagick, libraw, fetchpatch 1 + { mkDerivation, lib, stdenv, fetchurl, cmake, exiv2, graphicsmagick, libraw, fetchpatch 2 2 , qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools, qtgraphicaleffects 3 3 , extra-cmake-modules, poppler, kimageformats, libarchive, libdevil 4 4 }: ··· 40 40 meta = { 41 41 homepage = "https://photoqt.org/"; 42 42 description = "Simple, yet powerful and good looking image viewer"; 43 - license = stdenv.lib.licenses.gpl2Plus; 44 - platforms = stdenv.lib.platforms.unix; 43 + license = lib.licenses.gpl2Plus; 44 + platforms = lib.platforms.unix; 45 45 }; 46 46 }
+5 -5
pkgs/applications/graphics/pinta/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildDotnetPackage, dotnetPackages, gtksharp, 1 + { lib, stdenv, fetchFromGitHub, buildDotnetPackage, dotnetPackages, gtksharp, 2 2 gettext }: 3 3 4 4 let ··· 21 21 }; 22 22 23 23 # Remove version information from nodes <Reference Include="... Version=... "> 24 - postPatch = with stdenv.lib; let 24 + postPatch = with lib; let 25 25 csprojFiles = [ 26 26 "Pinta/Pinta.csproj" 27 27 "Pinta.Core/Pinta.Core.csproj" ··· 76 76 meta = { 77 77 homepage = "https://www.pinta-project.com/"; 78 78 description = "Drawing/editing program modeled after Paint.NET"; 79 - license = stdenv.lib.licenses.mit; 80 - maintainers = with stdenv.lib.maintainers; [ ]; 81 - platforms = with stdenv.lib.platforms; linux; 79 + license = lib.licenses.mit; 80 + maintainers = with lib.maintainers; [ ]; 81 + platforms = with lib.platforms; linux; 82 82 }; 83 83 }
+1 -1
pkgs/applications/graphics/qscreenshot/default.nix
··· 9 9 }; 10 10 11 11 buildInputs = [ dos2unix which qt ] 12 - ++ stdenv.lib.optional stdenv.isDarwin Carbon; 12 + ++ lib.optional stdenv.isDarwin Carbon; 13 13 14 14 # Remove carriage returns that cause /bin/sh to abort 15 15 preConfigure = ''
+2 -2
pkgs/applications/graphics/rapid-photo-downloader/default.nix
··· 71 71 makeWrapperArgs+=( 72 72 --set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" 73 73 --set PYTHONPATH "$PYTHONPATH" 74 - --prefix PATH : "${stdenv.lib.makeBinPath [ exiftool vmtouch ]}" 75 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libmediainfo ]}" 74 + --prefix PATH : "${lib.makeBinPath [ exiftool vmtouch ]}" 75 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libmediainfo ]}" 76 76 --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" 77 77 "''${qtWrapperArgs[@]}" 78 78 )
+4 -4
pkgs/applications/graphics/rawtherapee/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, cmake, pixman, libpthreadstubs, gtkmm3, libXau 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, cmake, pixman, libpthreadstubs, gtkmm3, libXau 2 2 , libXdmcp, lcms2, libiptcdata, libcanberra-gtk3, fftw, expat, pcre, libsigcxx, wrapGAppsHook 3 3 , lensfun, librsvg 4 4 }: ··· 35 35 meta = { 36 36 description = "RAW converter and digital photo processing software"; 37 37 homepage = "http://www.rawtherapee.com/"; 38 - license = stdenv.lib.licenses.gpl3Plus; 39 - maintainers = with stdenv.lib.maintainers; [ jcumming mahe ]; 40 - platforms = with stdenv.lib.platforms; linux; 38 + license = lib.licenses.gpl3Plus; 39 + maintainers = with lib.maintainers; [ jcumming mahe ]; 40 + platforms = with lib.platforms; linux; 41 41 }; 42 42 }
+2 -2
pkgs/applications/graphics/rx/default.nix
··· 1 - { stdenv, rustPlatform, fetchFromGitHub, makeWrapper 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, makeWrapper 2 2 , cmake, pkg-config 3 3 , xorg ? null 4 4 , libGL ? null }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "rx";
+6 -6
pkgs/applications/graphics/sane/backends/brscan4/default.nix
··· 1 - { stdenv, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb-compat-0_1 }: 1 + { lib, stdenv, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb-compat-0_1 }: 2 2 3 3 let 4 - myPatchElf = file: with stdenv.lib; '' 4 + myPatchElf = file: with lib; '' 5 5 patchelf --set-interpreter \ 6 6 ${stdenv.glibc}/lib/ld-linux${optionalString stdenv.is64bit "-x86-64"}.so.2 \ 7 7 ${file} ··· 44 44 done 45 45 ''; 46 46 47 - installPhase = with stdenv.lib; '' 47 + installPhase = with lib; '' 48 48 PATH_TO_BRSCAN4="opt/brother/scanner/brscan4" 49 49 mkdir -p $out/$PATH_TO_BRSCAN4 50 50 cp -rp $PATH_TO_BRSCAN4/* $out/$PATH_TO_BRSCAN4 ··· 87 87 meta = { 88 88 description = "Brother brscan4 sane backend driver"; 89 89 homepage = "http://www.brother.com"; 90 - platforms = stdenv.lib.platforms.linux; 91 - license = stdenv.lib.licenses.unfree; 92 - maintainers = with stdenv.lib.maintainers; [ jraygauthier ]; 90 + platforms = lib.platforms.linux; 91 + license = lib.licenses.unfree; 92 + maintainers = with lib.maintainers; [ jraygauthier ]; 93 93 }; 94 94 }
+4 -4
pkgs/applications/graphics/sane/backends/brscan4/udev_rules_type1.nix
··· 1 - { stdenv, fetchurl, libsaneUDevRuleNumber ? "49"}: 1 + { lib, stdenv, fetchurl, libsaneUDevRuleNumber ? "49"}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "brother-udev-rule-type1-1.0.0-1"; ··· 48 48 meta = { 49 49 description = "Brother type1 scanners udev rules"; 50 50 homepage = "http://www.brother.com"; 51 - platforms = stdenv.lib.platforms.linux; 52 - license = stdenv.lib.licenses.unfree; 53 - maintainers = with stdenv.lib.maintainers; [ jraygauthier ]; 51 + platforms = lib.platforms.linux; 52 + license = lib.licenses.unfree; 53 + maintainers = with lib.maintainers; [ jraygauthier ]; 54 54 }; 55 55 }
+4 -4
pkgs/applications/graphics/sane/backends/dsseries/default.nix
··· 1 - { stdenv, fetchurl, rpmextract }: 1 + { lib, stdenv, fetchurl, rpmextract }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libsane-dsseries"; ··· 46 46 meta = { 47 47 description = "Brother DSSeries SANE backend driver"; 48 48 homepage = "http://www.brother.com"; 49 - platforms = stdenv.lib.platforms.linux; 50 - license = stdenv.lib.licenses.unfree; 51 - maintainers = with stdenv.lib.maintainers; [ callahad ]; 49 + platforms = lib.platforms.linux; 50 + license = lib.licenses.unfree; 51 + maintainers = with lib.maintainers; [ callahad ]; 52 52 }; 53 53 }
+5 -5
pkgs/applications/graphics/sane/backends/generic.nix
··· 39 39 enableParallelBuilding = true; 40 40 41 41 configureFlags = [] 42 - ++ stdenv.lib.optional (avahi != null) "--enable-avahi" 43 - ++ stdenv.lib.optional (libusb1 != null) "--with-usb" 42 + ++ lib.optional (avahi != null) "--enable-avahi" 43 + ++ lib.optional (libusb1 != null) "--with-usb" 44 44 ; 45 45 46 46 postInstall = let 47 47 48 48 compatFirmware = extraFirmware 49 - ++ stdenv.lib.optional (gt68xxFirmware != null) { 49 + ++ lib.optional (gt68xxFirmware != null) { 50 50 src = gt68xxFirmware.fw; 51 51 inherit (gt68xxFirmware) name; 52 52 backend = "gt68xx"; 53 53 } 54 - ++ stdenv.lib.optional (snapscanFirmware != null) { 54 + ++ lib.optional (snapscanFirmware != null) { 55 55 src = snapscanFirmware; 56 56 name = "your-firmwarefile.bin"; 57 57 backend = "snapscan"; ··· 75 75 76 76 # net.conf conflicts with the file generated by the nixos module 77 77 rm -f $out/etc/sane.d/net.conf 78 - '' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware); 78 + '' + lib.concatStrings (builtins.map installFirmware compatFirmware); 79 79 80 80 meta = with lib; { 81 81 description = "SANE (Scanner Access Now Easy) backends";
+2 -2
pkgs/applications/graphics/sane/config.nix
··· 1 - { stdenv }: 1 + { lib, stdenv }: 2 2 3 3 { paths }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 let installSanePath = path: '' 7 7 if [ -e "${path}/lib/sane" ]; then 8 8 find "${path}/lib/sane" -maxdepth 1 -not -type d | while read backend; do
+1 -1
pkgs/applications/graphics/sane/frontends.nix
··· 14 14 ''; 15 15 16 16 buildInputs = [ sane-backends libX11 gtk2 ] 17 - ++ stdenv.lib.optional (libusb-compat-0_1 != null) libusb-compat-0_1; 17 + ++ lib.optional (libusb-compat-0_1 != null) libusb-compat-0_1; 18 18 nativeBuildInputs = [ pkgconfig ]; 19 19 20 20 enableParallelBuilding = true;
+5 -5
pkgs/applications/graphics/sane/xsane.nix
··· 1 - { stdenv, fetchurl, sane-backends, sane-frontends, libX11, gtk2, pkgconfig, libpng 1 + { lib, stdenv, fetchurl, sane-backends, sane-frontends, libX11, gtk2, pkgconfig, libpng 2 2 , libusb-compat-0_1 ? null 3 3 , gimpSupport ? false, gimp ? null 4 4 }: ··· 21 21 nativeBuildInputs = [ pkgconfig ]; 22 22 buildInputs = [libpng sane-backends sane-frontends libX11 gtk2 ] 23 23 ++ (if libusb-compat-0_1 != null then [libusb-compat-0_1] else []) 24 - ++ stdenv.lib.optional gimpSupport gimp; 24 + ++ lib.optional gimpSupport gimp; 25 25 26 26 meta = { 27 27 homepage = "http://www.sane-project.org/"; 28 28 description = "Graphical scanning frontend for sane"; 29 - license = stdenv.lib.licenses.gpl2Plus; 30 - maintainers = with stdenv.lib.maintainers; [peti]; 31 - platforms = with stdenv.lib.platforms; linux; 29 + license = lib.licenses.gpl2Plus; 30 + maintainers = with lib.maintainers; [peti]; 31 + platforms = with lib.platforms; linux; 32 32 }; 33 33 }
+4 -4
pkgs/applications/graphics/scantailor/default.nix
··· 1 - {stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }: 1 + {lib, stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "scantailor-0.9.12.1"; ··· 15 15 homepage = "http://scantailor.org/"; 16 16 description = "Interactive post-processing tool for scanned pages"; 17 17 18 - license = stdenv.lib.licenses.gpl3Plus; 18 + license = lib.licenses.gpl3Plus; 19 19 20 - maintainers = [ stdenv.lib.maintainers.viric ]; 21 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 20 + maintainers = [ lib.maintainers.viric ]; 21 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 22 22 }; 23 23 }
+5 -5
pkgs/applications/graphics/screencloud/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, qt4, quazip, qt-mobility, qxt, pythonPackages }: 1 + { lib, stdenv, fetchFromGitHub, cmake, qt4, quazip, qt-mobility, qxt, pythonPackages }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 pname = "screencloud"; 6 6 version = "1.2.0"; ··· 69 69 meta = { 70 70 homepage = "https://screencloud.net/"; 71 71 description = "Client for Screencloud, an easy to use screenshot sharing tool"; 72 - license = stdenv.lib.licenses.gpl2; 73 - maintainers = with stdenv.lib.maintainers; [ forkk ]; 74 - platforms = with stdenv.lib.platforms; linux; 72 + license = lib.licenses.gpl2; 73 + maintainers = with lib.maintainers; [ forkk ]; 74 + platforms = with lib.platforms; linux; 75 75 }; 76 76 }
+1 -1
pkgs/applications/graphics/shotwell/default.nix
··· 43 43 version = "0.31.2"; 44 44 45 45 src = fetchurl { 46 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 46 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 47 47 sha256 = "0ywzr6vgcz8yy60v0jp55na9lgqi4dbh2vakfphkcml1gpah0r2l"; 48 48 }; 49 49
+4 -4
pkgs/applications/graphics/smartdeblur/default.nix
··· 1 - { fetchurl, stdenv, cmake, qt4, fftw }: 1 + { fetchurl, lib, stdenv, cmake, qt4, fftw }: 2 2 3 3 let 4 4 rev = "9895036d26"; ··· 24 24 meta = { 25 25 homepage = "https://github.com/Y-Vladimir/SmartDeblur"; 26 26 description = "Tool for restoring blurry and defocused images"; 27 - license = stdenv.lib.licenses.gpl3; 28 - maintainers = with stdenv.lib.maintainers; [ ]; 29 - platforms = with stdenv.lib.platforms; linux; 27 + license = lib.licenses.gpl3; 28 + maintainers = with lib.maintainers; [ ]; 29 + platforms = with lib.platforms; linux; 30 30 }; 31 31 }
+4 -4
pkgs/applications/graphics/sxiv/default.nix
··· 1 - { stdenv, fetchFromGitHub, libXft, imlib2, giflib, libexif, conf ? null }: 1 + { lib, stdenv, fetchFromGitHub, libXft, imlib2, giflib, libexif, conf ? null }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "sxiv"; ··· 27 27 meta = { 28 28 description = "Simple X Image Viewer"; 29 29 homepage = "https://github.com/muennich/sxiv"; 30 - license = stdenv.lib.licenses.gpl2Plus; 31 - platforms = stdenv.lib.platforms.linux; 30 + license = lib.licenses.gpl2Plus; 31 + platforms = lib.platforms.linux; 32 32 maintainers = with maintainers; [ jfrankenau ]; 33 33 }; 34 34 }
+4 -4
pkgs/applications/graphics/tesseract/tesseract3.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig 2 2 , leptonica, libpng, libtiff, icu, pango, opencl-headers }: 3 3 4 4 stdenv.mkDerivation rec { ··· 22 22 meta = { 23 23 description = "OCR engine"; 24 24 homepage = "https://github.com/tesseract-ocr/tesseract"; 25 - license = stdenv.lib.licenses.asl20; 26 - maintainers = with stdenv.lib.maintainers; [ viric earvstedt ]; 27 - platforms = with stdenv.lib.platforms; linux ++ darwin; 25 + license = lib.licenses.asl20; 26 + maintainers = with lib.maintainers; [ viric earvstedt ]; 27 + platforms = with lib.platforms; linux ++ darwin; 28 28 }; 29 29 }
+4 -4
pkgs/applications/graphics/tesseract/tesseract4.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive, pkgconfig 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive, pkgconfig 2 2 , leptonica, libpng, libtiff, icu, pango, opencl-headers }: 3 3 4 4 stdenv.mkDerivation rec { ··· 20 20 meta = { 21 21 description = "OCR engine"; 22 22 homepage = "https://github.com/tesseract-ocr/tesseract"; 23 - license = stdenv.lib.licenses.asl20; 24 - maintainers = with stdenv.lib.maintainers; [ viric earvstedt ]; 25 - platforms = with stdenv.lib.platforms; linux ++ darwin; 23 + license = lib.licenses.asl20; 24 + maintainers = with lib.maintainers; [ viric earvstedt ]; 25 + platforms = with lib.platforms; linux ++ darwin; 26 26 }; 27 27 }
+2 -2
pkgs/applications/graphics/tesseract/wrapper.nix
··· 1 - { stdenv, makeWrapper, tesseractBase, languages 1 + { lib, stdenv, makeWrapper, tesseractBase, languages 2 2 3 3 # A list of languages like [ "eng" "spa" … ] or `null` for all available languages 4 4 , enableLanguages ? null ··· 54 54 if enableLanguagesHash == null then 55 55 tesseract 56 56 else 57 - stdenv.lib.warn "Argument `enableLanguagesHash` is obsolete and can be removed." 57 + lib.warn "Argument `enableLanguagesHash` is obsolete and can be removed." 58 58 tesseract
+4 -4
pkgs/applications/graphics/unigine-valley/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 3 3 # Build-time dependencies 4 4 , makeWrapper ··· 40 40 41 41 buildInputs = [file makeWrapper]; 42 42 43 - libPath = stdenv.lib.makeLibraryPath [ 43 + libPath = lib.makeLibraryPath [ 44 44 stdenv.cc.cc # libstdc++.so.6 45 45 fontconfig 46 46 freetype ··· 108 108 meta = { 109 109 description = "The Unigine Valley GPU benchmarking tool"; 110 110 homepage = "https://unigine.com/products/benchmarks/valley/"; 111 - license = stdenv.lib.licenses.unfree; # see also: $out/$instPath/documentation/License.pdf 112 - maintainers = [ stdenv.lib.maintainers.kierdavis ]; 111 + license = lib.licenses.unfree; # see also: $out/$instPath/documentation/License.pdf 112 + maintainers = [ lib.maintainers.kierdavis ]; 113 113 platforms = ["x86_64-linux" "i686-linux"]; 114 114 }; 115 115 }
+4 -4
pkgs/applications/graphics/wings/default.nix
··· 1 - { fetchurl, stdenv, erlang, cl, libGL, libGLU, runtimeShell }: 1 + { fetchurl, lib, stdenv, erlang, cl, libGL, libGLU, runtimeShell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "wings-2.2.4"; ··· 38 38 meta = { 39 39 homepage = "http://www.wings3d.com/"; 40 40 description = "Subdivision modeler inspired by Nendo and Mirai from Izware"; 41 - license = stdenv.lib.licenses.tcltk; 42 - maintainers = with stdenv.lib.maintainers; [viric]; 43 - platforms = with stdenv.lib.platforms; linux; 41 + license = lib.licenses.tcltk; 42 + maintainers = with lib.maintainers; [viric]; 43 + platforms = with lib.platforms; linux; 44 44 }; 45 45 }
+1 -1
pkgs/applications/graphics/write_stylus/default.nix
··· 55 55 homepage = "http://www.styluslabs.com/"; 56 56 description = "Write is a word processor for handwriting"; 57 57 platforms = platforms.linux; 58 - license = stdenv.lib.licenses.unfree; 58 + license = lib.licenses.unfree; 59 59 maintainers = with maintainers; [ oyren ]; 60 60 }; 61 61 }
+2 -2
pkgs/applications/graphics/xaos/default.nix
··· 1 - { stdenv, fetchurl, aalib, gsl, libpng, libX11, xorgproto, libXext 1 + { lib, stdenv, fetchurl, aalib, gsl, libpng, libX11, xorgproto, libXext 2 2 , libXt, zlib, gettext, intltool, perl }: 3 3 4 4 stdenv.mkDerivation rec { ··· 25 25 meta = { 26 26 homepage = "http://xaos.sourceforge.net/"; 27 27 description = "Fractal viewer"; 28 - license = stdenv.lib.licenses.gpl2Plus; 28 + license = lib.licenses.gpl2Plus; 29 29 platforms = [ "x86_64-linux" ]; 30 30 }; 31 31 }
+4 -4
pkgs/applications/graphics/xfractint/default.nix
··· 1 - {stdenv, fetchurl, libX11, libXft}: 1 + {lib, stdenv, fetchurl, libX11, libXft}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "xfractint"; 4 4 version = "20.04p16"; ··· 21 21 description = ""; 22 22 # Code cannot be used in commercial programs 23 23 # Looks like the definition hinges on the price, not license 24 - license = stdenv.lib.licenses.unfree; 25 - maintainers = [stdenv.lib.maintainers.raskin]; 26 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.unfree; 25 + maintainers = [lib.maintainers.raskin]; 26 + platforms = lib.platforms.linux; 27 27 homepage = "https://www.fractint.net/"; 28 28 }; 29 29 }
+2 -2
pkgs/applications/graphics/xournal/default.nix
··· 20 20 ghostscript atk gtk2 glib fontconfig freetype 21 21 libgnomecanvas 22 22 pango libX11 xorgproto zlib poppler 23 - ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ 23 + ] ++ lib.optionals (!stdenv.isDarwin) [ 24 24 libgnomeprint libgnomeprintui 25 25 ]; 26 26 27 27 nativeBuildInputs = [ autoconf automake libtool pkgconfig ]; 28 28 29 29 NIX_LDFLAGS = "-lz" 30 - + stdenv.lib.optionalString (!isGdkQuartzBackend) " -lX11"; 30 + + lib.optionalString (!isGdkQuartzBackend) " -lX11"; 31 31 32 32 desktopItem = makeDesktopItem { 33 33 name = name;
+1 -1
pkgs/applications/graphics/xournalpp/default.nix
··· 44 44 portaudio 45 45 zlib 46 46 ] 47 - ++ stdenv.lib.optional withLua lua; 47 + ++ lib.optional withLua lua; 48 48 49 49 buildFlags = "translations"; 50 50
+4 -4
pkgs/applications/graphics/zgrviewer/default.nix
··· 1 - { stdenv, fetchurl, jre, unzip, runtimeShell }: 1 + { lib, stdenv, fetchurl, jre, unzip, runtimeShell }: 2 2 stdenv.mkDerivation rec { 3 3 version = "0.9.0"; 4 4 pname = "zgrviewer"; ··· 22 22 meta = { 23 23 # Quicker to unpack locally than load Hydra 24 24 hydraPlatforms = []; 25 - maintainers = with stdenv.lib.maintainers; [raskin]; 26 - license = stdenv.lib.licenses.lgpl21Plus; 25 + maintainers = with lib.maintainers; [raskin]; 26 + license = lib.licenses.lgpl21Plus; 27 27 description = "GraphViz graph viewer/navigator"; 28 - platforms = with stdenv.lib.platforms; unix; 28 + platforms = with lib.platforms; unix; 29 29 }; 30 30 }
+2 -2
pkgs/applications/misc/heimer/default.nix
··· 2 2 3 3 mkDerivation rec { 4 4 pname = "heimer"; 5 - version = "1.21.0"; 5 + version = "2.0.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "juzzlin"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "03q3jn0j0cydw2mxfv7236lv4w9fh9slha0mphj33mk2f97b9hl6"; 11 + sha256 = "0lxypgwgl64d4sw9kn0ncyik3whpq8iif0sbvi4r5kasx6wgs4qz"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+3 -3
pkgs/applications/networking/appgate-sdp/default.nix
··· 48 48 , systemd 49 49 , zlib 50 50 }: 51 - with stdenv.lib; 51 + with lib; 52 52 let 53 53 deps = [ 54 54 alsaLib ··· 88 88 systemd 89 89 zlib 90 90 ]; 91 - rpath = stdenv.lib.makeLibraryPath deps ; 91 + rpath = lib.makeLibraryPath deps ; 92 92 in 93 93 stdenv.mkDerivation rec { 94 94 pname = "appgate-sdp"; ··· 156 156 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "$ORIGIN:$out/opt/appgate/service/:$out/opt/appgate/:${rpath}" $binary 157 157 done 158 158 159 - wrapProgram $out/opt/appgate/appgate-driver --prefix PATH : ${stdenv.lib.makeBinPath [ iproute networkmanager dnsmasq ]} 159 + wrapProgram $out/opt/appgate/appgate-driver --prefix PATH : ${lib.makeBinPath [ iproute networkmanager dnsmasq ]} 160 160 wrapProgram $out/opt/appgate/linux/set_dns --set PYTHONPATH $PYTHONPATH 161 161 ''; 162 162 meta = with lib; {
+1 -1
pkgs/applications/networking/browsers/asuka/default.nix
··· 14 14 nativeBuildInputs = [ pkgconfig ]; 15 15 16 16 buildInputs = [ ncurses openssl ] 17 - ++ stdenv.lib.optional stdenv.isDarwin Security; 17 + ++ lib.optional stdenv.isDarwin Security; 18 18 19 19 meta = with lib; { 20 20 description = "Gemini Project client written in Rust with NCurses";
+2 -2
pkgs/applications/networking/browsers/browsh/default.nix
··· 55 55 description = "A fully-modern text-based browser, rendering to TTY and browsers"; 56 56 homepage = "https://www.brow.sh/"; 57 57 maintainers = [ maintainers.kalbasit ]; 58 - license = stdenv.lib.licenses.lgpl21; 59 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 58 + license = lib.licenses.lgpl21; 59 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 60 60 }; 61 61 }
+2 -2
pkgs/applications/networking/browsers/chromium/browser.nix
··· 1 - { stdenv, mkChromiumDerivation, channel, enableWideVine, ungoogled }: 1 + { lib, stdenv, mkChromiumDerivation, channel, enableWideVine, ungoogled }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 mkChromiumDerivation (base: rec { 6 6 name = "chromium-browser";
+1 -1
pkgs/applications/networking/browsers/chromium/common.nix
··· 39 39 40 40 buildFun: 41 41 42 - with stdenv.lib; 42 + with lib; 43 43 44 44 let 45 45 jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
+2 -2
pkgs/applications/networking/browsers/chromium/default.nix
··· 158 158 buildCommand = let 159 159 browserBinary = "${chromiumWV}/libexec/chromium/chromium"; 160 160 getWrapperFlags = plugin: "$(< \"${plugin}/nix-support/wrapper-flags\")"; 161 - libPath = stdenv.lib.makeLibraryPath [ libva pipewire_0_2 ]; 161 + libPath = lib.makeLibraryPath [ libva pipewire_0_2 ]; 162 162 163 - in with stdenv.lib; '' 163 + in with lib; '' 164 164 mkdir -p "$out/bin" 165 165 166 166 eval makeWrapper "${browserBinary}" "$out/bin/chromium" \
+4 -4
pkgs/applications/networking/browsers/chromium/plugins.nix
··· 1 - { stdenv, gcc 1 + { lib, stdenv, gcc 2 2 , jshon 3 3 , glib 4 4 , nspr ··· 9 9 , upstream-info 10 10 }: 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 let 15 15 mkrpath = p: "${makeSearchPathOutput "lib" "lib64" p}:${makeLibraryPath p}"; ··· 81 81 dontStrip = true; 82 82 83 83 meta = { 84 - license = stdenv.lib.licenses.unfree; 85 - maintainers = with stdenv.lib.maintainers; [ taku0 ]; 84 + license = lib.licenses.unfree; 85 + maintainers = with lib.maintainers; [ taku0 ]; 86 86 platforms = platforms.x86_64; 87 87 }; 88 88 };
+1 -1
pkgs/applications/networking/browsers/dillo/default.nix
··· 14 14 sha256 = "12ql8n1lypv3k5zqgwjxlw1md90ixz3ag6j1gghfnhjq3inf26yv"; 15 15 }; 16 16 17 - buildInputs = with stdenv.lib; 17 + buildInputs = with lib; 18 18 [ perl fltk openssl libjpeg libpng libXcursor libXi libXinerama ]; 19 19 20 20 configureFlags = [ "--enable-ssl" ];
+7 -7
pkgs/applications/networking/browsers/elinks/default.nix
··· 26 26 ncurses xlibsWrapper bzip2 zlib brotli zstd lzma 27 27 openssl libidn tre expat libev 28 28 ] 29 - ++ stdenv.lib.optional stdenv.isLinux gpm 30 - ++ stdenv.lib.optional enableGuile guile 31 - ++ stdenv.lib.optional enablePython python 32 - ++ stdenv.lib.optional enablePerl perl 29 + ++ lib.optional stdenv.isLinux gpm 30 + ++ lib.optional enableGuile guile 31 + ++ lib.optional enablePython python 32 + ++ lib.optional enablePerl perl 33 33 ; 34 34 35 35 nativeBuildInputs = [ autoreconfHook gettext pkgconfig ]; ··· 46 46 "--with-lzma" 47 47 "--with-libev" 48 48 "--with-terminfo" 49 - ] ++ stdenv.lib.optional enableGuile "--with-guile" 50 - ++ stdenv.lib.optional enablePython "--with-python" 51 - ++ stdenv.lib.optional enablePerl "--with-perl" 49 + ] ++ lib.optional enableGuile "--with-guile" 50 + ++ lib.optional enablePython "--with-python" 51 + ++ lib.optional enablePerl "--with-perl" 52 52 ; 53 53 54 54 meta = with lib; {
+4 -4
pkgs/applications/networking/browsers/firefox-bin/default.nix
··· 74 74 75 75 policiesJson = writeText "no-update-firefox-policy.json" (builtins.toJSON { inherit policies; }); 76 76 77 - defaultSource = stdenv.lib.findFirst (sourceMatches "en-US") {} sources; 77 + defaultSource = lib.findFirst (sourceMatches "en-US") {} sources; 78 78 79 - source = stdenv.lib.findFirst (sourceMatches systemLocale) defaultSource sources; 79 + source = lib.findFirst (sourceMatches systemLocale) defaultSource sources; 80 80 81 81 name = "firefox-${channel}-bin-unwrapped-${version}"; 82 82 ··· 89 89 90 90 phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ]; 91 91 92 - libPath = stdenv.lib.makeLibraryPath 92 + libPath = lib.makeLibraryPath 93 93 [ stdenv.cc.cc 94 94 alsaLib 95 95 (lib.getDev alsaLib) ··· 131 131 (lib.getDev libpulseaudio) 132 132 systemd 133 133 ffmpeg 134 - ] + ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [ 134 + ] + ":" + lib.makeSearchPathOutput "lib" "lib64" [ 135 135 stdenv.cc.cc 136 136 ]; 137 137
+5 -5
pkgs/applications/networking/browsers/links2/default.nix
··· 16 16 sha256 = "0qqdcghsdqm7l6kyi0k752ws3ak5crw85pqkcb11wy67j62yspi8"; 17 17 }; 18 18 19 - buildInputs = with stdenv.lib; 19 + buildInputs = with lib; 20 20 [ libev librsvg libpng libjpeg libtiff openssl xz bzip2 zlib ] 21 21 ++ optionals stdenv.isLinux [ gpm ] 22 22 ++ optionals enableX11 [ libX11 libXau libXt ] ··· 25 25 nativeBuildInputs = [ pkgconfig bzip2 ]; 26 26 27 27 configureFlags = [ "--with-ssl" ] 28 - ++ stdenv.lib.optional (enableX11 || enableFB || enableDirectFB) "--enable-graphics" 29 - ++ stdenv.lib.optional enableX11 "--with-x" 30 - ++ stdenv.lib.optional enableFB "--with-fb" 31 - ++ stdenv.lib.optional enableDirectFB "--with-directfb"; 28 + ++ lib.optional (enableX11 || enableFB || enableDirectFB) "--enable-graphics" 29 + ++ lib.optional enableX11 "--with-x" 30 + ++ lib.optional enableFB "--with-fb" 31 + ++ lib.optional enableDirectFB "--with-directfb"; 32 32 33 33 meta = with lib; { 34 34 homepage = "http://links.twibright.com/";
+2 -2
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
··· 140 140 meta = { 141 141 description = "Adobe Flash Player browser plugin"; 142 142 homepage = "http://www.adobe.com/products/flashplayer/"; 143 - license = stdenv.lib.licenses.unfree; 144 - maintainers = with stdenv.lib.maintainers; [ taku0 ]; 143 + license = lib.licenses.unfree; 144 + maintainers = with lib.maintainers; [ taku0 ]; 145 145 platforms = [ "x86_64-linux" "i686-linux" ]; 146 146 }; 147 147 }
+2 -2
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
··· 96 96 meta = { 97 97 description = "Adobe Flash Player standalone executable"; 98 98 homepage = "https://www.adobe.com/support/flashplayer/debug_downloads.html"; 99 - license = stdenv.lib.licenses.unfree; 100 - maintainers = with stdenv.lib.maintainers; [ taku0 ]; 99 + license = lib.licenses.unfree; 100 + maintainers = with lib.maintainers; [ taku0 ]; 101 101 platforms = [ "x86_64-linux" ]; 102 102 # Application crashed with an unhandled SIGSEGV 103 103 # Not on all systems, though. Video driver problem?
+1 -1
pkgs/applications/networking/browsers/netsurf/browser.nix
··· 22 22 }: 23 23 24 24 let 25 - inherit (stdenv.lib) optional optionals; 25 + inherit (lib) optional optionals; 26 26 in 27 27 stdenv.mkDerivation rec { 28 28 pname = "netsurf";
+1 -1
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
··· 57 57 , extraPrefs ? "" 58 58 }: 59 59 60 - with stdenv.lib; 60 + with lib; 61 61 62 62 let 63 63 libPath = makeLibraryPath libPkgs;
+3 -3
pkgs/applications/networking/browsers/vimb/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, libsoup, webkitgtk, gtk3, glib-networking 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, libsoup, webkitgtk, gtk3, glib-networking 2 2 , gsettings-desktop-schemas, wrapGAppsHook 3 3 }: 4 4 ··· 27 27 keyboard driven and does not detract you from your daily work. 28 28 ''; 29 29 homepage = "https://fanglingsu.github.io/vimb/"; 30 - license = stdenv.lib.licenses.gpl3; 30 + license = lib.licenses.gpl3; 31 31 maintainers = []; 32 - platforms = with stdenv.lib.platforms; linux; 32 + platforms = with lib.platforms; linux; 33 33 }; 34 34 }
+7 -7
pkgs/applications/networking/browsers/vivaldi/default.nix
··· 39 39 freetype fontconfig libXrender libuuid expat glib nss nspr 40 40 libxml2 pango cairo gnome2.GConf 41 41 libdrm mesa 42 - ] ++ stdenv.lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs; 42 + ] ++ lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs; 43 43 44 - libPath = stdenv.lib.makeLibraryPath buildInputs 45 - + stdenv.lib.optionalString (stdenv.is64bit) 46 - (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs) 44 + libPath = lib.makeLibraryPath buildInputs 45 + + lib.optionalString (stdenv.is64bit) 46 + (":" + lib.makeSearchPathOutput "lib" "lib64" buildInputs) 47 47 + ":$out/opt/${vivaldiName}/lib"; 48 48 49 49 buildPhase = '' ··· 52 52 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 53 53 --set-rpath "${libPath}" \ 54 54 opt/${vivaldiName}/vivaldi-bin 55 - '' + stdenv.lib.optionalString proprietaryCodecs '' 55 + '' + lib.optionalString proprietaryCodecs '' 56 56 ln -s ${vivaldi-ffmpeg-codecs}/lib/libffmpeg.so opt/${vivaldiName}/libffmpeg.so.''${version%\.*\.*} 57 57 '' + '' 58 58 echo "Finished patching Vivaldi binaries" ··· 81 81 done 82 82 wrapProgram "$out/bin/vivaldi" \ 83 83 --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/ \ 84 - ${stdenv.lib.optionalString enableWidevine "--suffix LD_LIBRARY_PATH : ${libPath}"} 85 - '' + stdenv.lib.optionalString enableWidevine '' 84 + ${lib.optionalString enableWidevine "--suffix LD_LIBRARY_PATH : ${libPath}"} 85 + '' + lib.optionalString enableWidevine '' 86 86 ln -sf ${vivaldi-widevine}/share/google/chrome/WidevineCdm $out/opt/${vivaldiName}/WidevineCdm 87 87 ''; 88 88
+2 -2
pkgs/applications/networking/charles/default.nix
··· 49 49 description = "Web Debugging Proxy"; 50 50 homepage = "https://www.charlesproxy.com/"; 51 51 maintainers = [ maintainers.kalbasit ]; 52 - license = stdenv.lib.licenses.unfree; 53 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 52 + license = lib.licenses.unfree; 53 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 54 54 }; 55 55 }; 56 56
+1 -1
pkgs/applications/networking/compactor/default.nix
··· 54 54 changelog = "https://github.com/dns-stats/${pname}/raw/${version}/ChangeLog.txt"; 55 55 license = [ licenses.boost licenses.mpl20 licenses.openssl ]; 56 56 maintainers = with maintainers; [ fdns ]; 57 - platforms = stdenv.lib.platforms.unix; 57 + platforms = lib.platforms.unix; 58 58 }; 59 59 }
+1 -1
pkgs/applications/networking/davmail/default.nix
··· 17 17 cp -vR ./* $out/share/davmail 18 18 makeWrapper $out/share/davmail/davmail $out/bin/davmail \ 19 19 --prefix PATH : ${jre}/bin \ 20 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk2 libXtst ]} 20 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ glib gtk2 libXtst ]} 21 21 ''; 22 22 23 23 meta = with lib; {
+3 -3
pkgs/applications/networking/dropbox/cli.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , substituteAll 3 3 , pkgconfig 4 4 , fetchurl ··· 63 63 meta = { 64 64 homepage = "https://www.dropbox.com"; 65 65 description = "Command line client for the dropbox daemon"; 66 - license = stdenv.lib.licenses.gpl3Plus; 66 + license = lib.licenses.gpl3Plus; 67 67 # NOTE: Dropbox itself only works on linux, so this is ok. 68 - platforms = stdenv.lib.platforms.linux; 68 + platforms = lib.platforms.linux; 69 69 }; 70 70 }
+1 -1
pkgs/applications/networking/dyndns/cfdyndns/default.nix
··· 25 25 meta = with lib; { 26 26 description = "CloudFlare Dynamic DNS Client"; 27 27 homepage = "https://github.com/colemickens/cfdyndns"; 28 - license = stdenv.lib.licenses.mit; 28 + license = lib.licenses.mit; 29 29 maintainers = with maintainers; [ colemickens ]; 30 30 platforms = with platforms; linux; 31 31 };
+3 -3
pkgs/applications/networking/feedreaders/newsboat/default.nix
··· 3 3 4 4 rustPlatform.buildRustPackage rec { 5 5 pname = "newsboat"; 6 - version = "2.21"; 6 + version = "2.22.1"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "newsboat"; 10 10 repo = "newsboat"; 11 11 rev = "r${version}"; 12 - sha256 = "0ignfmh5193bigvk9f057r0r4yaxymxv2afycn2b98w05gljccb6"; 12 + sha256 = "1j3z34dhqw0f1v6v2lfwcvzqnm2kr2940bgxibfi0npacp74izh3"; 13 13 }; 14 14 15 - cargoSha256 = "16652i2hbs6d3fam2hdlc947i5nrb3na186zfcb4nfh7hnb7lh8g"; 15 + cargoSha256 = "08ywaka1lib8yrqjmfx1i37f7b33y3i6jj7f50pwhw8n6lr9f7lc"; 16 16 17 17 postPatch = '' 18 18 substituteInPlace Makefile --replace "|| true" ""
+1 -1
pkgs/applications/networking/gnome-network-displays/default.nix
··· 24 24 version = "0.90.4"; 25 25 26 26 src = fetchurl { 27 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 28 sha256 = "04snnfz5jxxpjkrwa7dchc2h4shszi8mq9g3ihvsvipgzjw3d498"; 29 29 }; 30 30
+1 -1
pkgs/applications/networking/ike/default.nix
··· 47 47 installPhase = '' 48 48 make install 49 49 for file in "$out"/bin/* "$out"/sbin/*; do 50 - wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${stdenv.lib.makeLibraryPath [ openssl gcc.cc stdenv.cc.libc libedit qt4 ]}" 50 + wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${lib.makeLibraryPath [ openssl gcc.cc stdenv.cc.libc libedit qt4 ]}" 51 51 done 52 52 ''; 53 53
+3 -3
pkgs/applications/networking/insync/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, autoPatchelfHook }: 1 + { lib, stdenv, fetchurl, makeWrapper, autoPatchelfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "insync"; ··· 28 28 29 29 meta = { 30 30 platforms = ["x86_64-linux"]; 31 - license = stdenv.lib.licenses.unfree; 32 - maintainers = [ stdenv.lib.maintainers.benley ]; 31 + license = lib.licenses.unfree; 32 + maintainers = [ lib.maintainers.benley ]; 33 33 homepage = "https://www.insynchq.com"; 34 34 description = "Google Drive sync and backup with multiple account support"; 35 35 longDescription = ''
+1 -1
pkgs/applications/networking/linssid/default.nix
··· 27 27 ''; 28 28 29 29 qtWrapperArgs = 30 - [ ''--prefix PATH : ${stdenv.lib.makeBinPath [ wirelesstools iw ]}'' ]; 30 + [ ''--prefix PATH : ${lib.makeBinPath [ wirelesstools iw ]}'' ]; 31 31 32 32 meta = with lib; { 33 33 description = "Graphical wireless scanning for Linux";
+3 -3
pkgs/applications/networking/mkchromecast/default.nix
··· 23 23 nodejs 24 24 ffmpeg 25 25 youtube-dl 26 - ] ++ stdenv.lib.optionals stdenv.isLinux [ pulseaudio ]; 26 + ] ++ lib.optionals stdenv.isLinux [ pulseaudio ]; 27 27 28 28 in 29 29 python3Packages.buildPythonApplication rec { ··· 63 63 64 64 makeWrapperArgs = [ 65 65 "\${qtWrapperArgs[@]}" 66 - "--prefix PATH : ${stdenv.lib.makeBinPath packages}" 66 + "--prefix PATH : ${lib.makeBinPath packages}" 67 67 ]; 68 68 69 69 postInstall = '' 70 70 substituteInPlace $out/lib/${python3Packages.python.libPrefix}/site-packages/mkchromecast/video.py \ 71 71 --replace '/usr/share/mkchromecast/nodejs/' '${placeholder "out"}/share/mkchromecast/nodejs/' 72 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 72 + '' + lib.optionalString stdenv.isDarwin '' 73 73 install -Dm 755 -t $out/bin bin/audiodevice 74 74 substituteInPlace $out/lib/${python3Packages.python.libPrefix}/site-packages/mkchromecast/audio_devices.py \ 75 75 --replace './bin/audiodevice' '${placeholder "out"}/bin/audiodevice'
+2 -2
pkgs/applications/networking/mpop/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gnutls, gsasl, libidn, Security }: 1 + { lib, stdenv, fetchurl, pkgconfig, gnutls, gsasl, libidn, Security }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "mpop";
+3 -3
pkgs/applications/networking/msmtp/default.nix
··· 21 21 ]; 22 22 23 23 buildInputs = [ gnutls gsasl libidn2 ] 24 - ++ stdenv.lib.optional stdenv.isDarwin Security 25 - ++ stdenv.lib.optional withKeyring libsecret; 24 + ++ lib.optional stdenv.isDarwin Security 25 + ++ lib.optional withKeyring libsecret; 26 26 27 27 nativeBuildInputs = [ autoreconfHook pkgconfig texinfo ]; 28 28 29 29 configureFlags = 30 - [ "--sysconfdir=/etc" ] ++ stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ]; 30 + [ "--sysconfdir=/etc" ] ++ lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ]; 31 31 32 32 postInstall = '' 33 33 install -d $out/share/doc/${pname}/scripts
+2 -2
pkgs/applications/networking/mumble/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub, fetchpatch, pkgconfig, qt5 1 + { lib, stdenv, fetchurl, fetchFromGitHub, fetchpatch, pkgconfig, qt5 2 2 , avahi, boost, libopus, libsndfile, protobuf, speex, libcap 3 3 , alsaLib, python 4 4 , rnnoise ··· 16 16 assert iceSupport -> zeroc-ice != null; 17 17 assert grpcSupport -> (grpc != null && c-ares != null && abseil-cpp != null && which != null); 18 18 19 - with stdenv.lib; 19 + with lib; 20 20 let 21 21 generic = overrides: source: qt5.mkDerivation (source // overrides // { 22 22 pname = overrides.type;
+1 -1
pkgs/applications/networking/mumble/overlay.nix
··· 25 25 ''; 26 26 27 27 meta = { 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+4 -4
pkgs/applications/networking/newsreaders/pan/default.nix
··· 20 20 21 21 nativeBuildInputs = [ pkgconfig gettext intltool itstool libxml2 makeWrapper ]; 22 22 buildInputs = [ gtk3 gmime2 libnotify gnutls ] 23 - ++ stdenv.lib.optional spellChecking gtkspell3 24 - ++ stdenv.lib.optionals gnomeSupport [ libsecret gcr ]; 23 + ++ lib.optional spellChecking gtkspell3 24 + ++ lib.optionals gnomeSupport [ libsecret gcr ]; 25 25 26 26 configureFlags = [ 27 27 "--with-dbus" 28 28 "--with-gtk3" 29 29 "--with-gnutls" 30 30 "--enable-libnotify" 31 - ] ++ stdenv.lib.optional spellChecking "--with-gtkspell" 32 - ++ stdenv.lib.optional gnomeSupport "--enable-gkr"; 31 + ] ++ lib.optional spellChecking "--with-gtkspell" 32 + ++ lib.optional gnomeSupport "--enable-gkr"; 33 33 34 34 postInstall = '' 35 35 wrapProgram $out/bin/pan --suffix PATH : ${gnupg}/bin
+4 -4
pkgs/applications/networking/nload/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, ncurses }: 1 + { lib, stdenv, fetchurl, fetchpatch, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.7.4"; ··· 33 33 transfered data and min/max network usage. 34 34 ''; 35 35 homepage = "http://www.roland-riegel.de/nload/index.html"; 36 - license = stdenv.lib.licenses.gpl2; 37 - platforms = stdenv.lib.platforms.linux; 38 - maintainers = [ stdenv.lib.maintainers.devhell ]; 36 + license = lib.licenses.gpl2; 37 + platforms = lib.platforms.linux; 38 + maintainers = [ lib.maintainers.devhell ]; 39 39 }; 40 40 }
+1 -1
pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
··· 14 14 15 15 nativeBuildInputs = [ cmake pkgconfig ]; 16 16 buildInputs = [ qt4 boost bzip2 libX11 pcre-cpp libidn lua5 miniupnpc aspell gettext ] 17 - ++ stdenv.lib.optional stdenv.isDarwin libiconv; 17 + ++ lib.optional stdenv.isDarwin libiconv; 18 18 19 19 patches = [ 20 20 (fetchpatch {
+3 -3
pkgs/applications/networking/p2p/freenet/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub, ant, jdk, bash, coreutils, substituteAll }: 1 + { lib, stdenv, fetchurl, fetchFromGitHub, ant, jdk, bash, coreutils, substituteAll }: 2 2 3 3 let 4 4 freenet_ext = fetchurl { ··· 73 73 meta = { 74 74 description = "Decentralised and censorship-resistant network"; 75 75 homepage = "https://freenetproject.org/"; 76 - license = stdenv.lib.licenses.gpl2Plus; 76 + license = lib.licenses.gpl2Plus; 77 77 maintainers = [ ]; 78 - platforms = with stdenv.lib.platforms; linux; 78 + platforms = with lib.platforms; linux; 79 79 }; 80 80 }
+1 -1
pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix
··· 1 1 { lib, stdenv, fetchurl, jre, makeWrapper }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 version = "6.8.9";
+4 -4
pkgs/applications/networking/p2p/mldonkey/default.nix
··· 1 - { stdenv, fetchurl, ocamlPackages, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }: 1 + { lib, stdenv, fetchurl, ocamlPackages, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }: 2 2 3 3 stdenv.mkDerivation ({ 4 4 name = "mldonkey-3.1.6"; ··· 8 8 sha256 = "0g84islkj72ymp0zzppcj9n4r21h0vlghnq87hv2wg580mybadhv"; 9 9 }; 10 10 11 - preConfigure = stdenv.lib.optionalString (ocamlPackages.camlp4 != null) '' 11 + preConfigure = lib.optionalString (ocamlPackages.camlp4 != null) '' 12 12 substituteInPlace Makefile --replace '+camlp4' \ 13 13 '${ocamlPackages.camlp4}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/camlp4' 14 14 ''; ··· 20 20 meta = { 21 21 description = "Client for many p2p networks, with multiple frontends"; 22 22 homepage = "http://mldonkey.sourceforge.net/"; 23 - license = stdenv.lib.licenses.gpl2; 24 - platforms = stdenv.lib.platforms.unix; 23 + license = lib.licenses.gpl2; 24 + platforms = lib.platforms.unix; 25 25 }; 26 26 } // (if !ocamlPackages.ocaml.nativeCompilers then 27 27 {
+1 -1
pkgs/applications/networking/p2p/stig/default.nix
··· 54 54 "--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second" 55 55 # TestScrollBarWithScrollable.test_wrapping_bug fails 56 56 "--deselect=tests/tui_test/scroll_test.py::TestScrollBarWithScrollable::test_wrapping_bug" 57 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 57 + ] ++ lib.optionals stdenv.isDarwin [ 58 58 "--deselect=tests/client_test/aiotransmission_test/api_torrent_test.py" 59 59 "--deselect=tests/client_test/aiotransmission_test/rpc_test.py" 60 60 ];
+1 -1
pkgs/applications/networking/p2p/synapse-bt/default.nix
··· 15 15 16 16 nativeBuildInputs = [ pkgconfig ]; 17 17 buildInputs = [ openssl ] 18 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ]; 18 + ++ lib.optionals stdenv.isDarwin [ CoreServices Security ]; 19 19 20 20 cargoBuildFlags = [ "--all" ]; 21 21
+1 -1
pkgs/applications/networking/p2p/tixati/default.nix
··· 11 11 12 12 installPhase = '' 13 13 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 14 - --set-rpath ${stdenv.lib.makeLibraryPath [ glib zlib dbus dbus-glib gtk2 gdk-pixbuf cairo pango ]} \ 14 + --set-rpath ${lib.makeLibraryPath [ glib zlib dbus dbus-glib gtk2 gdk-pixbuf cairo pango ]} \ 15 15 tixati 16 16 install -D tixati $out/bin/tixati 17 17 install -D tixati.desktop $out/share/applications/tixati.desktop
+6 -6
pkgs/applications/networking/p2p/transgui/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, makeDesktopItem, unzip, fpc, lazarus, 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, makeDesktopItem, unzip, fpc, lazarus, 2 2 libX11, glib, gtk2, gdk-pixbuf, pango, atk, cairo, openssl }: 3 3 4 4 stdenv.mkDerivation rec { ··· 48 48 comment = meta.description; 49 49 desktopName = "Transmission Remote GUI"; 50 50 genericName = "BitTorrent Client"; 51 - categories = stdenv.lib.concatStringsSep ";" [ 51 + categories = lib.concatStringsSep ";" [ 52 52 "Application" "Network" "FileTransfer" "P2P" "GTK" 53 53 ]; 54 54 startupNotify = "true"; 55 - mimeType = stdenv.lib.concatStringsSep ";" [ 55 + mimeType = lib.concatStringsSep ";" [ 56 56 "application/x-bittorrent" "x-scheme-handler/magnet" 57 57 ]; 58 58 }; ··· 69 69 meta = { 70 70 description = "A cross platform front-end for the Transmission Bit-Torrent client"; 71 71 homepage = "https://sourceforge.net/p/transgui"; 72 - license = stdenv.lib.licenses.gpl2Plus; 73 - maintainers = with stdenv.lib.maintainers; [ ramkromberg ]; 74 - platforms = stdenv.lib.platforms.linux; 72 + license = lib.licenses.gpl2Plus; 73 + maintainers = with lib.maintainers; [ ramkromberg ]; 74 + platforms = lib.platforms.linux; 75 75 }; 76 76 }
+2 -2
pkgs/applications/networking/p2p/tremc/default.nix
··· 5 5 , useGeoIP ? false # Require /var/lib/geoip-databases/GeoIP.dat 6 6 }: 7 7 let 8 - wrapperPath = with stdenv.lib; makeBinPath ( 8 + wrapperPath = with lib; makeBinPath ( 9 9 optional x11Support xclip ++ 10 10 optional stdenv.isDarwin pbcopy 11 11 ); ··· 30 30 ipy 31 31 pyperclip 32 32 ] ++ 33 - stdenv.lib.optional useGeoIP GeoIP; 33 + lib.optional useGeoIP GeoIP; 34 34 35 35 phases = [ "unpackPhase" "installPhase" ]; 36 36
+2 -2
pkgs/applications/networking/p2p/tribler/default.nix
··· 49 49 ]; 50 50 51 51 postPatch = '' 52 - ${stdenv.lib.optionalString enablePlayer '' 52 + ${lib.optionalString enablePlayer '' 53 53 substituteInPlace "./TriblerGUI/vlc.py" --replace "ctypes.CDLL(p)" "ctypes.CDLL('${libvlc}/lib/libvlc.so')" 54 54 substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" \ 55 55 --replace "if vlc and vlc.plugin_path" "if vlc" \ ··· 69 69 --set NO_AT_BRIDGE 1 \ 70 70 --run 'cd $_TRIBLERPATH' \ 71 71 --add-flags "-O $out/run_tribler.py" \ 72 - ${stdenv.lib.optionalString enablePlayer '' 72 + ${lib.optionalString enablePlayer '' 73 73 --prefix LD_LIBRARY_PATH : ${libvlc}/lib 74 74 ''} 75 75
+3 -3
pkgs/applications/networking/p2p/twister/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkgconfig, python2 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkgconfig, python2 2 2 , boost, db, openssl, geoip, libiconv, miniupnpc 3 3 , srcOnly, fetchgit 4 4 }: ··· 61 61 meta = { 62 62 homepage = "http://www.twister.net.co/"; 63 63 description = "Peer-to-peer microblogging"; 64 - license = stdenv.lib.licenses.mit; 65 - platforms = stdenv.lib.platforms.linux; 64 + license = lib.licenses.mit; 65 + platforms = lib.platforms.linux; 66 66 }; 67 67 }
+2 -2
pkgs/applications/networking/remote/anydesk/default.nix
··· 64 64 postFixup = '' 65 65 patchelf \ 66 66 --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ 67 - --set-rpath "${stdenv.lib.makeLibraryPath buildInputs}" \ 67 + --set-rpath "${lib.makeLibraryPath buildInputs}" \ 68 68 $out/bin/anydesk 69 69 70 70 # pangox is not actually necessary (it was only added as a part of gtkglext) ··· 73 73 $out/bin/anydesk 74 74 75 75 wrapProgram $out/bin/anydesk \ 76 - --prefix PATH : ${stdenv.lib.makeBinPath [ lsb-release ]} 76 + --prefix PATH : ${lib.makeBinPath [ lsb-release ]} 77 77 78 78 substituteInPlace $out/share/applications/*.desktop \ 79 79 --subst-var out
+5 -5
pkgs/applications/networking/remote/rdesktop/default.nix
··· 1 - {stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1, nettle, gnutls, pkgconfig, autoreconfHook 1 + {lib, stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1, nettle, gnutls, pkgconfig, autoreconfHook 2 2 , enableCredssp ? (!stdenv.isDarwin) 3 3 } : 4 4 ··· 15 15 16 16 nativeBuildInputs = [pkgconfig autoreconfHook]; 17 17 buildInputs = [openssl libX11 libXcursor libtasn1 nettle gnutls] 18 - ++ stdenv.lib.optional enableCredssp krb5; 18 + ++ lib.optional enableCredssp krb5; 19 19 20 20 configureFlags = [ 21 21 "--with-ipv6" 22 22 "--with-openssl=${openssl.dev}" 23 23 "--disable-smartcard" 24 - ] ++ stdenv.lib.optional (!enableCredssp) "--disable-credssp"; 24 + ] ++ lib.optional (!enableCredssp) "--disable-credssp"; 25 25 26 26 meta = { 27 27 description = "Open source client for Windows Terminal Services"; 28 28 homepage = "http://www.rdesktop.org/"; 29 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 30 - license = stdenv.lib.licenses.gpl2; 29 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 30 + license = lib.licenses.gpl2; 31 31 }; 32 32 })
+2 -2
pkgs/applications/networking/remote/remmina/default.nix
··· 1 - { stdenv, fetchFromGitLab, cmake, ninja, pkgconfig, wrapGAppsHook 1 + { lib, stdenv, fetchFromGitLab, cmake, ninja, pkgconfig, wrapGAppsHook 2 2 , glib, gtk3, gettext, libxkbfile, libX11 3 3 , freerdp, libssh, libgcrypt, gnutls 4 4 , pcre2, libdbusmenu-gtk3, libappindicator-gtk3 ··· 9 9 , gnome3 10 10 }: 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "remmina";
+1 -1
pkgs/applications/networking/remote/x2goserver/default.nix
··· 86 86 meta = with lib; { 87 87 description = "Remote desktop application, server component"; 88 88 homepage = "http://x2go.org/"; 89 - platforms = stdenv.lib.platforms.linux; 89 + platforms = lib.platforms.linux; 90 90 license = licenses.gpl2; 91 91 maintainers = [ maintainers.averelld ]; 92 92 };
+1 -1
pkgs/applications/networking/scaleft/default.nix
··· 13 13 nativeBuildInputs = [ patchelf rpmextract ]; 14 14 15 15 libPath = 16 - stdenv.lib.makeLibraryPath 16 + lib.makeLibraryPath 17 17 [ stdenv.cc stdenv.cc.cc.lib ]; 18 18 19 19 buildCommand = ''
+2 -2
pkgs/applications/networking/sniffers/etherape/default.nix
··· 8 8 sha256 = "0w63vg2q6if3wvy2md66in8b6cdw9q40hny5xy6yrxky58l4kmg7"; 9 9 }; 10 10 11 - nativeBuildInputs = [ itstool pkgconfig (stdenv.lib.getBin libxml2) ]; 11 + nativeBuildInputs = [ itstool pkgconfig (lib.getBin libxml2) ]; 12 12 buildInputs = [ 13 13 libtool gtk3 libpcap goocanvas2 popt 14 14 ]; 15 15 16 16 meta = with lib; { 17 17 homepage = "http://etherape.sourceforge.net/"; 18 - license = stdenv.lib.licenses.gpl2Plus; 18 + license = lib.licenses.gpl2Plus; 19 19 platforms = with platforms; linux; 20 20 maintainers = with maintainers; [ symphorien ]; 21 21 };
+6 -6
pkgs/applications/networking/sniffers/kismet/default.nix
··· 22 22 buildInputs = [ 23 23 libpcap pcre libmicrohttpd libnl zlib sqlite protobuf protobufc 24 24 libusb1 libcap binutils elfutils 25 - ] ++ stdenv.lib.optionals withNetworkManager [ networkmanager glib ] 26 - ++ stdenv.lib.optional withSensors lm_sensors 27 - ++ stdenv.lib.optional withPython (python3.withPackages(ps: [ ps.setuptools ps.protobuf 25 + ] ++ lib.optionals withNetworkManager [ networkmanager glib ] 26 + ++ lib.optional withSensors lm_sensors 27 + ++ lib.optional withPython (python3.withPackages(ps: [ ps.setuptools ps.protobuf 28 28 ps.numpy ps.pyserial ])); 29 29 30 30 configureFlags = [] 31 - ++ stdenv.lib.optional (!withNetworkManager) "--disable-libnm" 32 - ++ stdenv.lib.optional (!withPython) "--disable-python-tools" 33 - ++ stdenv.lib.optional (!withSensors) "--disable-lmsensors"; 31 + ++ lib.optional (!withNetworkManager) "--disable-libnm" 32 + ++ lib.optional (!withPython) "--disable-python-tools" 33 + ++ lib.optional (!withSensors) "--disable-lmsensors"; 34 34 35 35 postConfigure = '' 36 36 sed -e 's/-o $(INSTUSR)//' \
+2 -2
pkgs/applications/networking/sniffers/wireshark/default.nix
··· 7 7 8 8 assert withQt -> qt5 != null; 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 let 13 13 version = "3.4.2"; ··· 47 47 48 48 patches = [ ./wireshark-lookup-dumpcap-in-path.patch ] 49 49 # https://code.wireshark.org/review/#/c/23728/ 50 - ++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch { 50 + ++ lib.optional stdenv.hostPlatform.isMusl (fetchpatch { 51 51 name = "fix-timeout.patch"; 52 52 url = "https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commitdiff_plain;h=8b5b843fcbc3e03e0fc45f3caf8cf5fc477e8613;hp=94af9724d140fd132896b650d10c4d060788e4f0"; 53 53 sha256 = "1g2dm7lwsnanwp68b9xr9swspx7hfj4v3z44sz3yrfmynygk8zlv";
+5 -5
pkgs/applications/networking/spideroak/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, patchelf 1 + { lib, stdenv, fetchurl, makeWrapper, patchelf 2 2 , fontconfig, freetype, glib, libICE, libSM 3 3 , libX11, libXext, libXrender, zlib 4 4 }: ··· 6 6 let 7 7 sha256 = "6d6ca2b383bcc81af1217c696eb77864a2b6db7428f4b5bde5b5913ce705eec5"; 8 8 9 - ldpath = stdenv.lib.makeLibraryPath [ 9 + ldpath = lib.makeLibraryPath [ 10 10 fontconfig freetype glib libICE libSM 11 11 libX11 libXext libXrender zlib 12 12 ]; ··· 53 53 meta = { 54 54 homepage = "https://spideroak.com"; 55 55 description = "Secure online backup and sychronization"; 56 - license = stdenv.lib.licenses.unfree; 57 - maintainers = with stdenv.lib.maintainers; [ amorsillo ]; 58 - platforms = stdenv.lib.platforms.linux; 56 + license = lib.licenses.unfree; 57 + maintainers = with lib.maintainers; [ amorsillo ]; 58 + platforms = lib.platforms.linux; 59 59 }; 60 60 }
+2 -2
pkgs/applications/networking/sync/backintime/common.nix
··· 40 40 meta = { 41 41 homepage = "https://github.com/bit-team/backintime"; 42 42 description = "Simple backup tool for Linux"; 43 - license = stdenv.lib.licenses.gpl2; 43 + license = lib.licenses.gpl2; 44 44 maintainers = [ ]; 45 - platforms = stdenv.lib.platforms.all; 45 + platforms = lib.platforms.all; 46 46 longDescription = '' 47 47 Back In Time is a simple backup tool (on top of rsync) for Linux 48 48 inspired from “flyback project” and “TimeVault”. The backup is
+6 -6
pkgs/applications/networking/sync/casync/default.nix
··· 19 19 }; 20 20 21 21 buildInputs = [ acl curl xz zstd ] 22 - ++ stdenv.lib.optionals (fuseSupport) [ fuse ] 23 - ++ stdenv.lib.optionals (selinuxSupport) [ libselinux ] 24 - ++ stdenv.lib.optionals (udevSupport) [ udev ]; 22 + ++ lib.optionals (fuseSupport) [ fuse ] 23 + ++ lib.optionals (selinuxSupport) [ libselinux ] 24 + ++ lib.optionals (udevSupport) [ udev ]; 25 25 nativeBuildInputs = [ meson ninja pkgconfig python3 sphinx ]; 26 26 checkInputs = [ glibcLocales rsync ]; 27 27 ··· 33 33 ''; 34 34 35 35 PKG_CONFIG_UDEV_UDEVDIR = "lib/udev"; 36 - mesonFlags = stdenv.lib.optionals (!fuseSupport) [ "-Dfuse=false" ] 37 - ++ stdenv.lib.optionals (!udevSupport) [ "-Dudev=false" ] 38 - ++ stdenv.lib.optionals (!selinuxSupport) [ "-Dselinux=false" ]; 36 + mesonFlags = lib.optionals (!fuseSupport) [ "-Dfuse=false" ] 37 + ++ lib.optionals (!udevSupport) [ "-Dudev=false" ] 38 + ++ lib.optionals (!selinuxSupport) [ "-Dselinux=false" ]; 39 39 40 40 doCheck = true; 41 41 preCheck = ''
+1 -1
pkgs/applications/networking/sync/rclone/default.nix
··· 26 26 rcloneBin = 27 27 if stdenv.buildPlatform == stdenv.hostPlatform 28 28 then "$out" 29 - else stdenv.lib.getBin buildPackages.rclone; 29 + else lib.getBin buildPackages.rclone; 30 30 in 31 31 '' 32 32 installManPage rclone.1
+9 -9
pkgs/applications/networking/sync/rsync/default.nix
··· 24 24 25 25 patchesSrc = base.upstreamPatchTarball; 26 26 27 - srcs = [mainSrc] ++ stdenv.lib.optional enableCopyDevicesPatch patchesSrc; 28 - patches = stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff"; 27 + srcs = [mainSrc] ++ lib.optional enableCopyDevicesPatch patchesSrc; 28 + patches = lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff"; 29 29 30 30 buildInputs = [libiconv zlib popt] 31 - ++ stdenv.lib.optional enableACLs acl 32 - ++ stdenv.lib.optional enableZstd zstd 33 - ++ stdenv.lib.optional enableLZ4 lz4 34 - ++ stdenv.lib.optional enableOpenSSL openssl 35 - ++ stdenv.lib.optional enableXXHash xxHash; 31 + ++ lib.optional enableACLs acl 32 + ++ lib.optional enableZstd zstd 33 + ++ lib.optional enableLZ4 lz4 34 + ++ lib.optional enableOpenSSL openssl 35 + ++ lib.optional enableXXHash xxHash; 36 36 nativeBuildInputs = [perl]; 37 37 38 38 configureFlags = [ ··· 48 48 # The following PR should fix the cross-compilation issue. 49 49 # Test using `nix-build -A pkgsCross.aarch64-multiplatform.rsync`. 50 50 # https://github.com/WayneD/rsync/commit/b7fab6f285ff0ff3816b109a8c3131b6ded0b484 51 - ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "--enable-simd=no" 51 + ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "--enable-simd=no" 52 52 ; 53 53 54 54 passthru.tests = { inherit (nixosTests) rsyncd; }; 55 55 56 56 meta = base.meta // { 57 57 description = "A fast incremental file transfer utility"; 58 - maintainers = with stdenv.lib.maintainers; [ peti ehmry kampfschlaefer ]; 58 + maintainers = with lib.maintainers; [ peti ehmry kampfschlaefer ]; 59 59 }; 60 60 }
+1 -1
pkgs/applications/networking/sync/rsync/rrsync.nix
··· 27 27 28 28 meta = base.meta // { 29 29 description = "A helper to run rsync-only environments from ssh-logins"; 30 - maintainers = [ stdenv.lib.maintainers.kampfschlaefer ]; 30 + maintainers = [ lib.maintainers.kampfschlaefer ]; 31 31 }; 32 32 }
+5 -5
pkgs/applications/networking/sync/unison/default.nix
··· 1 - {stdenv, fetchFromGitHub, ocamlPackages, fontschumachermisc, xset, makeWrapper, ncurses, gnugrep 1 + {lib, stdenv, fetchFromGitHub, ocamlPackages, fontschumachermisc, xset, makeWrapper, ncurses, gnugrep 2 2 , enableX11 ? true}: 3 3 4 4 let inherit (ocamlPackages) ocaml lablgtk; in ··· 25 25 makeFlags = [ 26 26 "INSTALLDIR=$(out)/bin/" 27 27 "UISTYLE=${if enableX11 then "gtk2" else "text"}" 28 - ] ++ stdenv.lib.optional (!ocaml.nativeCompilers) "NATIVE=false"; 28 + ] ++ lib.optional (!ocaml.nativeCompilers) "NATIVE=false"; 29 29 30 30 preInstall = "mkdir -p $out/bin"; 31 31 ··· 41 41 meta = { 42 42 homepage = "https://www.cis.upenn.edu/~bcpierce/unison/"; 43 43 description = "Bidirectional file synchronizer"; 44 - license = stdenv.lib.licenses.gpl3Plus; 45 - maintainers = with stdenv.lib.maintainers; [viric]; 46 - platforms = with stdenv.lib.platforms; unix; 44 + license = lib.licenses.gpl3Plus; 45 + maintainers = with lib.maintainers; [viric]; 46 + platforms = with lib.platforms; unix; 47 47 }; 48 48 49 49 })
+6 -6
pkgs/applications/networking/znc/default.nix
··· 9 9 , withDebug ? false 10 10 }: 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "znc"; ··· 31 31 ++ optional withZlib zlib; 32 32 33 33 configureFlags = [ 34 - (stdenv.lib.enableFeature withPerl "perl") 35 - (stdenv.lib.enableFeature withPython "python") 36 - (stdenv.lib.enableFeature withTcl "tcl") 37 - (stdenv.lib.withFeatureAs withTcl "tcl" "${tcl}/lib") 38 - (stdenv.lib.enableFeature withCyrus "cyrus") 34 + (lib.enableFeature withPerl "perl") 35 + (lib.enableFeature withPython "python") 36 + (lib.enableFeature withTcl "tcl") 37 + (lib.withFeatureAs withTcl "tcl" "${tcl}/lib") 38 + (lib.enableFeature withCyrus "cyrus") 39 39 ] ++ optional (!withIPv6) [ "--disable-ipv6" ] 40 40 ++ optional withDebug [ "--enable-debug" ]; 41 41
+4 -4
pkgs/applications/networking/znc/modules.nix
··· 11 11 12 12 buildInputs = znc.buildInputs; 13 13 14 - meta = a.meta // { platforms = stdenv.lib.platforms.unix; }; 14 + meta = a.meta // { platforms = lib.platforms.unix; }; 15 15 passthru.module_name = module_name; 16 16 }); 17 17 ··· 93 93 meta = { 94 94 description = "ZNC FiSH module"; 95 95 homepage = "https://github.com/dctrwatson/znc-fish"; 96 - maintainers = [ stdenv.lib.maintainers.offline ]; 96 + maintainers = [ lib.maintainers.offline ]; 97 97 }; 98 98 }; 99 99 ··· 190 190 meta = { 191 191 description = "Push notification service module for ZNC"; 192 192 homepage = "https://github.com/jreese/znc-push"; 193 - license = stdenv.lib.licenses.mit; 194 - maintainers = with stdenv.lib.maintainers; [ offline schneefux ]; 193 + license = lib.licenses.mit; 194 + maintainers = with lib.maintainers; [ offline schneefux ]; 195 195 }; 196 196 }; 197 197
+2 -2
pkgs/applications/science/astronomy/astrolabe-generator/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper, unzip }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "astrolabe-generator"; ··· 21 21 --add-flags "-jar $out/share/java/AstrolabeGenerator-${version}.jar" 22 22 ''; 23 23 24 - meta = with stdenv.lib;{ 24 + meta = with lib;{ 25 25 homepage = "https://www.astrolabeproject.com"; 26 26 description = "A Java-based tool for generating EPS files for constructing astrolabes and related tools"; 27 27 license = licenses.gpl3;
+4 -4
pkgs/applications/science/astronomy/celestia/default.nix
··· 1 - { stdenv, fetchurl, freeglut, gtk2, gtkglext, libjpeg_turbo, libtheora, libXmu 1 + { lib, stdenv, fetchurl, freeglut, gtk2, gtkglext, libjpeg_turbo, libtheora, libXmu 2 2 , lua, libGLU, libGL, pkgconfig, perl, autoreconfHook 3 3 }: 4 4 ··· 67 67 meta = { 68 68 description = "Free space simulation"; 69 69 homepage = "https://celestia.space/"; 70 - license = stdenv.lib.licenses.gpl2; 70 + license = lib.licenses.gpl2; 71 71 72 - platforms = stdenv.lib.platforms.linux; 73 - maintainers = [ stdenv.lib.maintainers.peti ]; 72 + platforms = lib.platforms.linux; 73 + maintainers = [ lib.maintainers.peti ]; 74 74 }; 75 75 }
+7 -7
pkgs/applications/science/astronomy/gildas/default.nix
··· 1 - { stdenv, fetchurl, gtk2-x11 , pkgconfig , python3 , gfortran , lesstif 1 + { lib, stdenv, fetchurl, gtk2-x11 , pkgconfig , python3 , gfortran , lesstif 2 2 , cfitsio , getopt , perl , groff , which, darwin, ncurses 3 3 }: 4 4 ··· 22 22 nativeBuildInputs = [ pkgconfig groff perl getopt gfortran which ]; 23 23 24 24 buildInputs = [ gtk2-x11 lesstif cfitsio python3Env ncurses ] 25 - ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation ]); 25 + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation ]); 26 26 27 27 patches = [ ./wrapper.patch ./clang.patch ./aarch64.patch ]; 28 28 29 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument"; 29 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument"; 30 30 31 - NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin (with darwin.apple_sdk.frameworks; "-F${CoreFoundation}/Library/Frameworks"); 31 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin (with darwin.apple_sdk.frameworks; "-F${CoreFoundation}/Library/Frameworks"); 32 32 33 33 configurePhase='' 34 34 substituteInPlace admin/wrapper.sh --replace '%%OUT%%' $out ··· 62 62 few parts in C/C++ (mainly keyboard interaction, 63 63 plotting, widgets).''; 64 64 homepage = "http://www.iram.fr/IRAMFR/GILDAS/gildas.html"; 65 - license = stdenv.lib.licenses.free; 66 - maintainers = [ stdenv.lib.maintainers.bzizou stdenv.lib.maintainers.smaret ]; 67 - platforms = stdenv.lib.platforms.all; 65 + license = lib.licenses.free; 66 + maintainers = [ lib.maintainers.bzizou lib.maintainers.smaret ]; 67 + platforms = lib.platforms.all; 68 68 }; 69 69 70 70 }
+4 -4
pkgs/applications/science/astronomy/gravit/default.nix
··· 1 - { stdenv, fetchurl, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }: 1 + { lib, stdenv, fetchurl, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gravit-0.5.1"; ··· 24 24 meta = { 25 25 homepage = "https://gravit.slowchop.com"; 26 26 description = "Beautiful OpenGL-based gravity simulator"; 27 - license = stdenv.lib.licenses.gpl2; 27 + license = lib.licenses.gpl2; 28 28 29 29 longDescription = '' 30 30 Gravit is a gravity simulator which runs under Linux, Windows and ··· 36 36 view in 3D and zoom in and out. 37 37 ''; 38 38 39 - platforms = stdenv.lib.platforms.mesaPlatforms; 40 - hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out 39 + platforms = lib.platforms.mesaPlatforms; 40 + hydraPlatforms = lib.platforms.linux; # darwin times out 41 41 }; 42 42 }
+3 -3
pkgs/applications/science/astronomy/openspace/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchurl, makeWrapper, cmake 1 + { lib, stdenv, fetchFromGitHub, fetchurl, makeWrapper, cmake 2 2 , curl, boost, gdal, glew, soil 3 3 , libX11, libXi, libXxf86vm, libXcursor, libXrandr, libXinerama }: 4 4 ··· 83 83 WARNING: This build is not very usable for now. 84 84 ''; 85 85 homepage = "https://www.openspaceproject.com/"; 86 - license = stdenv.lib.licenses.mit; 87 - platforms = stdenv.lib.platforms.linux; 86 + license = lib.licenses.mit; 87 + platforms = lib.platforms.linux; 88 88 broken = true; # fails to build 89 89 }; 90 90 }
+1 -1
pkgs/applications/science/astronomy/xplanet/default.nix
··· 26 26 }) 27 27 ]; 28 28 29 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing"; 29 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing"; 30 30 31 31 meta = with lib; { 32 32 description = "Renders an image of the earth or other planets into the X root window";
+1 -1
pkgs/applications/science/biology/ants/default.nix
··· 20 20 ]; 21 21 22 22 nativeBuildInputs = [ cmake makeWrapper ]; 23 - buildInputs = [ itk4 vtk_7 ] ++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ]; 23 + buildInputs = [ itk4 vtk_7 ] ++ lib.optional stdenv.isDarwin [ Cocoa ]; 24 24 25 25 cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ]; 26 26
+2 -2
pkgs/applications/science/biology/bayescan/default.nix
··· 10 10 }; 11 11 12 12 nativeBuildInputs = [ unzip ]; 13 - buildInputs = stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp; 13 + buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp; 14 14 15 15 # Disable FORTIFY_SOURCE or the binary fails with "buffer overflow" 16 16 hardeningDisable = [ "fortify" ]; ··· 34 34 homepage = "http://cmpg.unibe.ch/software/BayeScan"; 35 35 license = licenses.gpl3; 36 36 maintainers = [ maintainers.bzizou ]; 37 - platforms = stdenv.lib.platforms.all; 37 + platforms = lib.platforms.all; 38 38 }; 39 39 }
+1 -1
pkgs/applications/science/biology/cmtk/default.nix
··· 11 11 12 12 nativeBuildInputs = [ cmake ]; 13 13 14 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing"; 14 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing"; 15 15 16 16 meta = with lib; { 17 17 description = "Computational Morphometry Toolkit ";
+1 -1
pkgs/applications/science/biology/conglomerate/default.nix
··· 23 23 24 24 postFixup = '' 25 25 for p in $out/bin/*; do 26 - wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${stdenv.lib.makeBinPath [ coreutils minc_tools ]}"; 26 + wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${lib.makeBinPath [ coreutils minc_tools ]}"; 27 27 done 28 28 ''; 29 29
+2 -2
pkgs/applications/science/biology/emboss/default.nix
··· 1 - {stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib}: 1 + {lib, stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "emboss-6.6.0"; ··· 22 22 user community, including libraries. The software automatically copes with 23 23 data in a variety of formats and even allows transparent retrieval of 24 24 sequence data from the web.''; 25 - license = stdenv.lib.licenses.gpl2; 25 + license = lib.licenses.gpl2; 26 26 homepage = "http://emboss.sourceforge.net/"; 27 27 }; 28 28 }
+4 -4
pkgs/applications/science/biology/iv/default.nix
··· 1 - { stdenv, fetchurl, neuron-version 1 + { lib, stdenv, fetchurl, neuron-version 2 2 , libX11, libXext, patchelf 3 3 }: 4 4 ··· 15 15 postInstall = '' 16 16 for dir in $out/*; do # */ 17 17 if [ -d $dir/lib ]; then 18 - mv $dir/* $out # */ 18 + mv $dir/* $out # */ 19 19 rmdir $dir 20 20 break 21 21 fi 22 22 done 23 - '' + stdenv.lib.optionalString stdenv.isLinux '' 23 + '' + lib.optionalString stdenv.isLinux '' 24 24 patchelf --add-needed ${libX11}/lib/libX11.so $out/lib/libIVhines.so 25 25 ''; 26 - meta = with stdenv.lib; 26 + meta = with lib; 27 27 { description = "InterViews graphical library for Neuron"; 28 28 license = licenses.bsd3; 29 29 homepage = "http://www.neuron.yale.edu/neuron";
+4 -4
pkgs/applications/science/biology/messer-slim/default.nix
··· 1 - { stdenv, fetchurl, cmake, gcc, gcc-unwrapped }: 1 + { lib, stdenv, fetchurl, cmake, gcc, gcc-unwrapped }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.2.1"; ··· 17 17 meta = { 18 18 description = "An evolutionary simulation framework"; 19 19 homepage = "https://messerlab.org/slim/"; 20 - license = with stdenv.lib.licenses; [ gpl3 ]; 21 - maintainers = with stdenv.lib.maintainers; [ bzizou ]; 22 - platforms = stdenv.lib.platforms.all; 20 + license = with lib.licenses; [ gpl3 ]; 21 + maintainers = with lib.maintainers; [ bzizou ]; 22 + platforms = lib.platforms.all; 23 23 }; 24 24 }
+1 -1
pkgs/applications/science/biology/minc-widgets/default.nix
··· 20 20 21 21 postFixup = '' 22 22 for p in $out/bin/*; do 23 - wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${stdenv.lib.makeBinPath [ coreutils minc_tools ]}"; 23 + wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${lib.makeBinPath [ coreutils minc_tools ]}"; 24 24 done 25 25 ''; 26 26
+1 -1
pkgs/applications/science/biology/muscle/default.nix
··· 30 30 maintainers = [ maintainers.unode ]; 31 31 # NOTE: Supposed to be compatible with darwin/intel & PPC but currently fails. 32 32 # Anyone with access to these platforms is welcome to give it a try 33 - platforms = stdenv.lib.platforms.linux; 33 + platforms = lib.platforms.linux; 34 34 }; 35 35 }
+5 -5
pkgs/applications/science/biology/neuron/default.nix
··· 24 24 sha256 = "0f26v3qvzblcdjg7isq0m9j2q8q7x3vhmkfllv8lsr3gyj44lljf"; 25 25 }; 26 26 27 - patches = (stdenv.lib.optional (stdenv.isDarwin) [ ./neuron-carbon-disable.patch ]); 27 + patches = (lib.optional (stdenv.isDarwin) [ ./neuron-carbon-disable.patch ]); 28 28 29 29 # With LLVM 3.8 and above, clang (really libc++) gets upset if you attempt to redefine these... 30 - postPatch = stdenv.lib.optionalString stdenv.cc.isClang '' 30 + postPatch = lib.optionalString stdenv.cc.isClang '' 31 31 substituteInPlace src/gnu/neuron_gnu_builtin.h \ 32 32 --replace 'double abs(double arg);' "" \ 33 33 --replace 'float abs(float arg);' "" \ 34 34 --replace 'short abs(short arg);' "" \ 35 35 --replace 'long abs(long arg);' "" 36 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 36 + '' + lib.optionalString stdenv.isDarwin '' 37 37 # we are darwin, but we don't have all the quirks the source wants to compensate for 38 38 substituteInPlace src/nrnpython/setup.py.in --replace 'readline="edit"' 'readline="readline"' 39 39 for f in src/nrnpython/*.[ch] ; do ··· 51 51 export prefix="''${prefix} --exec-prefix=''${out}" 52 52 ''; 53 53 54 - configureFlags = with stdenv.lib; 54 + configureFlags = with lib; 55 55 [ "--with-readline=${readline}" "--with-iv=${iv}" ] 56 56 ++ optionals (python != null) [ "--with-nrnpython=${python.interpreter}" ] 57 57 ++ (if mpi != null then ["--with-mpi" "--with-paranrn"] 58 58 else ["--without-mpi"]); 59 59 60 60 61 - postInstall = stdenv.lib.optionals (python != null) [ '' 61 + postInstall = lib.optionals (python != null) [ '' 62 62 ## standardise python neuron install dir if any 63 63 if [[ -d $out/lib/python ]]; then 64 64 mkdir -p ''${out}/${python.sitePackages}
+2 -2
pkgs/applications/science/biology/obitools/obitools3.nix
··· 1 - { stdenv, fetchurl, python3Packages, cmake, python3 }: 1 + { lib, stdenv, fetchurl, python3Packages, cmake, python3 }: 2 2 3 3 let 4 4 pythonPackages = python3Packages; ··· 26 26 27 27 doCheck = true; 28 28 29 - meta = with stdenv.lib ; { 29 + meta = with lib ; { 30 30 description = "Management of analyses and data in DNA metabarcoding"; 31 31 homepage = "https://git.metabarcoding.org/obitools/obitools3"; 32 32 license = licenses.cecill20;
+3 -3
pkgs/applications/science/biology/poretools/default.nix
··· 1 - { stdenv, pythonPackages, fetchFromGitHub }: 1 + { lib, stdenv, pythonPackages, fetchFromGitHub }: 2 2 3 3 pythonPackages.buildPythonPackage rec { 4 4 pname = "poretools"; ··· 15 15 16 16 meta = { 17 17 description = "a toolkit for working with nanopore sequencing data from Oxford Nanopore"; 18 - license = stdenv.lib.licenses.mit; 18 + license = lib.licenses.mit; 19 19 homepage = "https://poretools.readthedocs.io/en/latest/"; 20 - maintainers = [stdenv.lib.maintainers.rybern]; 20 + maintainers = [lib.maintainers.rybern]; 21 21 }; 22 22 }
+2 -2
pkgs/applications/science/biology/quast/default.nix
··· 1 - { stdenv, fetchurl, python3Packages, zlib, bash, coreutils }: 1 + { lib, stdenv, fetchurl, python3Packages, zlib, bash, coreutils }: 2 2 3 3 let 4 4 pythonPackages = python3Packages; ··· 48 48 # Tests need to download data files, so manual run after packaging is needed 49 49 doCheck = false; 50 50 51 - meta = with stdenv.lib ; { 51 + meta = with lib ; { 52 52 description = "Evaluates genome assemblies by computing various metrics"; 53 53 homepage = "https://github.com/ablab/quast"; 54 54 license = licenses.gpl2;
+1 -1
pkgs/applications/science/biology/raxml/default.nix
··· 15 15 sha256 = "1jqjzhch0rips0vp04prvb8vmc20c5pdmsqn8knadcf91yy859fh"; 16 16 }; 17 17 18 - buildInputs = stdenv.lib.optionals mpi [ pkgs.openmpi ]; 18 + buildInputs = lib.optionals mpi [ pkgs.openmpi ]; 19 19 20 20 # TODO darwin, AVX and AVX2 makefile targets 21 21 buildPhase = if mpi then ''
+1 -1
pkgs/applications/science/biology/samtools/default.nix
··· 14 14 buildInputs = [ zlib ncurses htslib ]; 15 15 16 16 configureFlags = [ "--with-htslib=${htslib}" ] 17 - ++ stdenv.lib.optional (ncurses == null) "--without-curses"; 17 + ++ lib.optional (ncurses == null) "--without-curses"; 18 18 19 19 preCheck = '' 20 20 patchShebangs test/
+4 -4
pkgs/applications/science/biology/stacks/default.nix
··· 1 - { stdenv, fetchurl, zlib }: 2 - 1 + { lib, stdenv, fetchurl, zlib }: 2 + 3 3 stdenv.mkDerivation rec { 4 4 pname = "stacks"; 5 5 version = "2.53"; ··· 13 13 meta = { 14 14 description = "Software pipeline for building loci from short-read sequences"; 15 15 homepage = "http://catchenlab.life.illinois.edu/stacks/"; 16 - maintainers = [ stdenv.lib.maintainers.bzizou ]; 17 - license = stdenv.lib.licenses.gpl3; 16 + maintainers = [ lib.maintainers.bzizou ]; 17 + license = lib.licenses.gpl3; 18 18 }; 19 19 }
+2 -2
pkgs/applications/science/chemistry/avogadro/default.nix
··· 1 - { stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, libGLU, libGL, libX11, doxygen }: 1 + { lib, stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, libGLU, libGL, libX11, doxygen }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "avogadro-1.1.1"; ··· 24 24 meta = { 25 25 description = "Molecule editor and visualizer"; 26 26 maintainers = [ ]; 27 - platforms = stdenv.lib.platforms.mesaPlatforms; 27 + platforms = lib.platforms.mesaPlatforms; 28 28 }; 29 29 }
+8 -8
pkgs/applications/science/chemistry/gwyddion/default.nix
··· 1 - { stdenv, fetchurl, gtk2, pkg-config, fftw, file, 1 + { lib, stdenv, fetchurl, gtk2, pkg-config, fftw, file, 2 2 pythonSupport ? false, pythonPackages ? null, 3 3 gnome2 ? null, 4 4 openexrSupport ? true, openexr ? null, ··· 40 40 url = "mirror://sourceforge/gwyddion/gwyddion-${version}.tar.xz"; 41 41 sha256 = "0z83p3ifdkv5dds8s6fqqbycql1zmgppdc7ygqmm12z5zlrl9p12"; 42 42 }; 43 - 43 + 44 44 nativeBuildInputs = [ pkg-config file ]; 45 - 46 - buildInputs = with stdenv.lib; 45 + 46 + buildInputs = with lib; 47 47 [ gtk2 fftw ] ++ 48 48 optional openglSupport gnome2.gtkglext ++ 49 49 optional openexrSupport openexr ++ ··· 57 57 optional libuniqueSupport libunique ++ 58 58 optional libzipSupport libzip; 59 59 60 - propagatedBuildInputs = with stdenv.lib; 60 + propagatedBuildInputs = with lib; 61 61 optionals pythonSupport [ pygtk pygobject2 python gnome2.gtksourceview ]; 62 62 63 63 # This patch corrects problems with python support, but should apply cleanly ··· 79 79 analysis of profilometry data or thickness maps from imaging 80 80 spectrophotometry. 81 81 ''; 82 - license = stdenv.lib.licenses.gpl2; 83 - platforms = with stdenv.lib.platforms; linux ++ darwin; 84 - maintainers = [ stdenv.lib.maintainers.cge ]; 82 + license = lib.licenses.gpl2; 83 + platforms = with lib.platforms; linux ++ darwin; 84 + maintainers = [ lib.maintainers.cge ]; 85 85 }; 86 86 }
+2 -2
pkgs/applications/science/chemistry/marvin/default.nix
··· 1 - { stdenv, fetchurl, dpkg, makeWrapper, coreutils, gawk, gnugrep, gnused, jre }: 1 + { lib, stdenv, fetchurl, dpkg, makeWrapper, coreutils, gawk, gnugrep, gnused, jre }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "marvin";
+1 -1
pkgs/applications/science/chemistry/quantum-espresso/default.nix
··· 21 21 ''; 22 22 23 23 buildInputs = [ fftw blas lapack gfortran ] 24 - ++ (stdenv.lib.optionals (mpi != null) [ mpi ]); 24 + ++ (lib.optionals (mpi != null) [ mpi ]); 25 25 26 26 configureFlags = if (mpi != null) then [ "LD=${mpi}/bin/mpif90" ] else [ "LD=${gfortran}/bin/gfortran" ]; 27 27
+1 -1
pkgs/applications/science/chemistry/siesta/default.nix
··· 17 17 }; 18 18 19 19 buildInputs = [ blas lapack gfortran ] 20 - ++ (stdenv.lib.optionals (mpi != null) [ mpi scalapack ]); 20 + ++ (lib.optionals (mpi != null) [ mpi scalapack ]); 21 21 22 22 enableParallelBuilding = true; 23 23
+4 -4
pkgs/applications/science/electronics/adms/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, flex, bison, gperf, 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, flex, bison, gperf, 2 2 libxml2, perl, perlPackages, gd }: 3 3 4 4 stdenv.mkDerivation rec { ··· 19 19 meta = { 20 20 description = "automatic device model synthesizer"; 21 21 homepage = "https://github.com/Qucs/adms"; 22 - license = stdenv.lib.licenses.gpl3; 23 - maintainers = with stdenv.lib.maintainers; [disassembler]; 24 - platforms = with stdenv.lib.platforms; linux; 22 + license = lib.licenses.gpl3; 23 + maintainers = with lib.maintainers; [disassembler]; 24 + platforms = with lib.platforms; linux; 25 25 }; 26 26 }
+3 -3
pkgs/applications/science/electronics/archimedes/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "archimedes-2.0.1"; ··· 11 11 meta = { 12 12 description = "GNU package for semiconductor device simulations"; 13 13 homepage = "https://www.gnu.org/software/archimedes"; 14 - license = stdenv.lib.licenses.gpl2Plus; 15 - platforms = with stdenv.lib.platforms; linux; 14 + license = lib.licenses.gpl2Plus; 15 + platforms = with lib.platforms; linux; 16 16 }; 17 17 }
+1 -1
pkgs/applications/science/electronics/bitscope/common.nix
··· 15 15 let 16 16 wrapBinary = libPaths: binaryName: '' 17 17 wrapProgram "$out/bin/${binaryName}" \ 18 - --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath libPaths}" 18 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath libPaths}" 19 19 ''; 20 20 pkg = stdenv.mkDerivation (rec { 21 21 inherit (attrs) version src;
+4 -4
pkgs/applications/science/electronics/caneda/default.nix
··· 1 - { mkDerivation, stdenv, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qwt }: 1 + { mkDerivation, lib, stdenv, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qwt }: 2 2 3 3 mkDerivation rec { 4 4 pname = "caneda"; ··· 17 17 meta = { 18 18 description = "Open source EDA software focused on easy of use and portability"; 19 19 homepage = "http://caneda.org"; 20 - license = stdenv.lib.licenses.gpl2Plus; 21 - maintainers = with stdenv.lib.maintainers; [viric]; 22 - platforms = with stdenv.lib.platforms; linux; 20 + license = lib.licenses.gpl2Plus; 21 + maintainers = with lib.maintainers; [viric]; 22 + platforms = with lib.platforms; linux; 23 23 }; 24 24 }
+1 -1
pkgs/applications/science/electronics/eagle/eagle.nix
··· 5 5 }: 6 6 7 7 let 8 - libPath = stdenv.lib.makeLibraryPath 8 + libPath = lib.makeLibraryPath 9 9 [ libXrender libXrandr libXcursor libX11 libXext libXi libxcb 10 10 libGL glib nss nspr expat alsaLib 11 11 qtbase qtdeclarative qtsvg qtlocation qtwebchannel qtwebengine
+1 -1
pkgs/applications/science/electronics/eagle/eagle7.nix
··· 5 5 6 6 let 7 7 8 - libPath = stdenv.lib.makeLibraryPath 8 + libPath = lib.makeLibraryPath 9 9 [ zlib freetype fontconfig openssl libXrender libXrandr libXcursor libX11 10 10 libXext libXi libxcb cups 11 11 ];
+4 -4
pkgs/applications/science/electronics/fritzing/default.nix
··· 1 - { mkDerivation, stdenv, fetchpatch, fetchFromGitHub, qmake, pkgconfig 1 + { mkDerivation, lib, stdenv, fetchpatch, fetchFromGitHub, qmake, pkgconfig 2 2 , qtbase, qtsvg, qttools, qtserialport, boost, libgit2 3 3 }: 4 4 ··· 79 79 meta = { 80 80 description = "An open source prototyping tool for Arduino-based projects"; 81 81 homepage = "https://fritzing.org/"; 82 - license = stdenv.lib.licenses.gpl3; 83 - maintainers = [ stdenv.lib.maintainers.robberer ]; 84 - platforms = stdenv.lib.platforms.linux; 82 + license = lib.licenses.gpl3; 83 + maintainers = [ lib.maintainers.robberer ]; 84 + platforms = lib.platforms.linux; 85 85 }; 86 86 }
+4 -4
pkgs/applications/science/electronics/gtkwave/default.nix
··· 1 - { stdenv, fetchurl, glib, gtk3, gperf, pkgconfig, bzip2, tcl, tk, wrapGAppsHook, judy, xz }: 1 + { lib, stdenv, fetchurl, glib, gtk3, gperf, pkgconfig, bzip2, tcl, tk, wrapGAppsHook, judy, xz }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gtkwave"; ··· 22 22 meta = { 23 23 description = "VCD/Waveform viewer for Unix and Win32"; 24 24 homepage = "http://gtkwave.sourceforge.net"; 25 - license = stdenv.lib.licenses.gpl2Plus; 26 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 27 - platforms = stdenv.lib.platforms.linux; 25 + license = lib.licenses.gpl2Plus; 26 + maintainers = with lib.maintainers; [ thoughtpolice ]; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+2 -2
pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix
··· 24 24 nativeBuildInputs = [ cmake ninja pkgconfig ]; 25 25 buildInputs = [ qtbase qtsvg boost rapidjson igraph spdlog fmt graphviz wrapQtAppsHook ] 26 26 ++ (with python3Packages; [ python pybind11 ]) 27 - ++ stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp; 27 + ++ lib.optional stdenv.cc.isClang llvmPackages.openmp; 28 28 29 - cmakeFlags = with stdenv.lib.versions; [ 29 + cmakeFlags = with lib.versions; [ 30 30 "-DHAL_VERSION_RETURN=${version}" 31 31 "-DHAL_VERSION_MAJOR=${major version}" 32 32 "-DHAL_VERSION_MINOR=${minor version}"
+6 -6
pkgs/applications/science/electronics/kicad/base.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitLab 3 3 , cmake 4 4 , libGLU ··· 43 43 , gtk3 44 44 }: 45 45 46 - assert stdenv.lib.asserts.assertMsg (!(withOCE && stdenv.isAarch64)) "OCE fails a test on Aarch64"; 47 - assert stdenv.lib.asserts.assertMsg (!(withOCC && withOCE)) 46 + assert lib.asserts.assertMsg (!(withOCE && stdenv.isAarch64)) "OCE fails a test on Aarch64"; 47 + assert lib.asserts.assertMsg (!(withOCC && withOCE)) 48 48 "Only one of OCC and OCE may be enabled"; 49 49 let 50 - inherit (stdenv.lib) optional optionals; 50 + inherit (lib) optional optionals; 51 51 in 52 52 stdenv.mkDerivation rec { 53 53 pname = "kicad-base"; ··· 140 140 the libraries are passed via an env var in the wrapper, default.nix 141 141 ''; 142 142 homepage = "https://www.kicad-pcb.org/"; 143 - license = stdenv.lib.licenses.agpl3; 144 - platforms = stdenv.lib.platforms.all; 143 + license = lib.licenses.agpl3; 144 + platforms = lib.platforms.all; 145 145 }; 146 146 }
+9 -9
pkgs/applications/science/electronics/kicad/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitLab 3 3 , gnome3 4 4 , wxGTK30 ··· 70 70 # } 71 71 72 72 assert withNgspice -> libngspice != null; 73 - assert stdenv.lib.assertMsg (!ngspiceSupport) 73 + assert lib.assertMsg (!ngspiceSupport) 74 74 "`nspiceSupport` was renamed to `withNgspice` for the sake of consistency with other kicad nix arguments."; 75 - assert stdenv.lib.assertMsg (!oceSupport) 75 + assert lib.assertMsg (!oceSupport) 76 76 "`oceSupport` was renamed to `withOCE` for the sake of consistency with other kicad nix arguments."; 77 - assert stdenv.lib.assertMsg (!scriptingSupport) 77 + assert lib.assertMsg (!scriptingSupport) 78 78 "`scriptingSupport` was renamed to `withScripting` for the sake of consistency with other kicad nix arguments."; 79 - assert stdenv.lib.assertMsg (!withOCCT) 79 + assert lib.assertMsg (!withOCCT) 80 80 "`withOCCT` was renamed to `withOCC` for the sake of consistency with upstream cmake options."; 81 81 let 82 82 baseName = if (stable) then "kicad" else "kicad-unstable"; ··· 151 151 python = python3; 152 152 wxPython = python.pkgs.wxPython_4_0; 153 153 154 - inherit (stdenv.lib) concatStringsSep flatten optionalString optionals; 154 + inherit (lib) concatStringsSep flatten optionalString optionals; 155 155 in 156 156 stdenv.mkDerivation rec { 157 157 ··· 251 251 KiCad is an open source software suite for Electronic Design Automation. 252 252 The Programs handle Schematic Capture, and PCB Layout with Gerber output. 253 253 ''; 254 - license = stdenv.lib.licenses.agpl3; 254 + license = lib.licenses.agpl3; 255 255 # berce seems inactive... 256 - maintainers = with stdenv.lib.maintainers; [ evils kiwi berce ]; 256 + maintainers = with lib.maintainers; [ evils kiwi berce ]; 257 257 # kicad is cross platform 258 - platforms = stdenv.lib.platforms.all; 258 + platforms = lib.platforms.all; 259 259 # despite that, nipkgs' wxGTK for darwin is "wxmac" 260 260 # and wxPython_4_0 does not account for this 261 261 # adjusting this package to downgrade to python2Packages.wxPython (wxPython 3),
+3 -3
pkgs/applications/science/electronics/kicad/libraries.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , cmake 3 3 , gettext 4 4 , libSrc ··· 15 15 nativeBuildInputs = [ cmake ]; 16 16 17 17 meta = rec { 18 - license = stdenv.lib.licenses.cc-by-sa-40; 19 - platforms = stdenv.lib.platforms.all; 18 + license = lib.licenses.cc-by-sa-40; 19 + platforms = lib.platforms.all; 20 20 # the 3d models are a ~1 GiB download and occupy ~5 GiB in store. 21 21 # this would exceed the hydra output limit 22 22 hydraPlatforms = if (name == "packages3d") then [ ] else platforms;
+3 -3
pkgs/applications/science/electronics/qfsm/default.nix
··· 1 - { stdenv, fetchurl, qt4, cmake, graphviz, pkg-config }: 1 + { lib, stdenv, fetchurl, qt4, cmake, graphviz, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qfsm-0.54.0"; ··· 21 21 meta = { 22 22 description = "Graphical editor for finite state machines"; 23 23 homepage = "http://qfsm.sourceforge.net/"; 24 - license = stdenv.lib.licenses.gpl3Plus; 25 - platforms = stdenv.lib.platforms.unix; 24 + license = lib.licenses.gpl3Plus; 25 + platforms = lib.platforms.unix; 26 26 }; 27 27 }
+4 -4
pkgs/applications/science/electronics/qucs/default.nix
··· 1 - {stdenv, fetchFromGitHub, flex, bison, qt4, libX11, cmake, gperf, adms }: 1 + {lib, stdenv, fetchFromGitHub, flex, bison, qt4, libX11, cmake, gperf, adms }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.0.19"; ··· 23 23 meta = { 24 24 description = "Integrated circuit simulator"; 25 25 homepage = "http://qucs.sourceforge.net"; 26 - license = stdenv.lib.licenses.gpl2Plus; 27 - maintainers = with stdenv.lib.maintainers; [viric]; 28 - platforms = with stdenv.lib.platforms; linux; 26 + license = lib.licenses.gpl2Plus; 27 + maintainers = with lib.maintainers; [viric]; 28 + platforms = with lib.platforms; linux; 29 29 }; 30 30 }
+6 -6
pkgs/applications/science/electronics/tkgate/1.x.nix
··· 1 - { stdenv, fetchurl, tcl, tk, libX11, glibc, which, yacc, flex, imake, xorgproto, gccmakedep }: 1 + { lib, stdenv, fetchurl, tcl, tk, libX11, glibc, which, yacc, flex, imake, xorgproto, gccmakedep }: 2 2 3 3 let 4 - libiconvInc = stdenv.lib.optionalString stdenv.isLinux "${glibc.dev}/include"; 5 - libiconvLib = stdenv.lib.optionalString stdenv.isLinux "${glibc.out}/lib"; 4 + libiconvInc = lib.optionalString stdenv.isLinux "${glibc.dev}/include"; 5 + libiconvLib = lib.optionalString stdenv.isLinux "${glibc.out}/lib"; 6 6 in 7 7 stdenv.mkDerivation rec { 8 8 name = "tkgate-1.8.7"; ··· 35 35 meta = { 36 36 description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor"; 37 37 homepage = "http://www.tkgate.org/"; 38 - license = stdenv.lib.licenses.gpl2Plus; 39 - maintainers = [ stdenv.lib.maintainers.peti ]; 40 - hydraPlatforms = stdenv.lib.platforms.linux; 38 + license = lib.licenses.gpl2Plus; 39 + maintainers = [ lib.maintainers.peti ]; 40 + hydraPlatforms = lib.platforms.linux; 41 41 }; 42 42 }
+1 -1
pkgs/applications/science/electronics/verilog/default.nix
··· 26 26 src = fetchFromGitHub { 27 27 owner = "steveicarus"; 28 28 repo = pname; 29 - rev = "v${stdenv.lib.replaceStrings ["."] ["_"] version}"; 29 + rev = "v${lib.replaceStrings ["."] ["_"] version}"; 30 30 sha256 = "0nzcyi6l2zv9wxzsv9i963p3igyjds0n55x0ph561mc3pfbc7aqp"; 31 31 }; 32 32
+1 -1
pkgs/applications/science/electronics/vhd2vl/default.nix
··· 17 17 sha256 = "17va2pil4938j8c93anhy45zzgnvq3k71a7glj02synfrsv6fs8n"; 18 18 }; 19 19 20 - patches = stdenv.lib.optionals (!stdenv.isAarch64) [ 20 + patches = lib.optionals (!stdenv.isAarch64) [ 21 21 # fix build with verilog 11.0 - https://github.com/ldoolitt/vhd2vl/pull/15 22 22 # for some strange reason, this is not needed for aarch64 23 23 (fetchpatch {
+1 -1
pkgs/applications/science/electronics/xcircuit/default.nix
··· 4 4 let 5 5 version = "3.10.12"; 6 6 name = "xcircuit-${version}"; 7 - inherit (stdenv.lib) getBin; 7 + inherit (lib) getBin; 8 8 9 9 in stdenv.mkDerivation { 10 10 inherit name version;
+4 -4
pkgs/applications/science/electronics/xoscope/default.nix
··· 1 - {stdenv, fetchurl, gtk2, pkgconfig}: 1 + {lib, stdenv, fetchurl, gtk2, pkgconfig}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "xoscope-2.0"; ··· 17 17 meta = { 18 18 description = "Oscilloscope through the sound card"; 19 19 homepage = "http://xoscope.sourceforge.net"; 20 - license = stdenv.lib.licenses.gpl2Plus; 21 - maintainers = with stdenv.lib.maintainers; [viric]; 22 - platforms = with stdenv.lib.platforms; linux; 20 + license = lib.licenses.gpl2Plus; 21 + maintainers = with lib.maintainers; [viric]; 22 + platforms = with lib.platforms; linux; 23 23 }; 24 24 }
+3 -3
pkgs/applications/science/geometry/tetgen/1.4.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "tetgen-1.4.3"; ··· 16 16 meta = { 17 17 description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator"; 18 18 homepage = "http://tetgen.org/"; 19 - license = stdenv.lib.licenses.mit; 20 - platforms = stdenv.lib.platforms.linux; 19 + license = lib.licenses.mit; 20 + platforms = lib.platforms.linux; 21 21 }; 22 22 }
+3 -3
pkgs/applications/science/geometry/tetgen/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 let version = "1.5.1"; in 4 4 stdenv.mkDerivation { ··· 19 19 inherit version; 20 20 description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator"; 21 21 homepage = "http://tetgen.org/"; 22 - license = stdenv.lib.licenses.agpl3Plus; 23 - platforms = stdenv.lib.platforms.linux; 22 + license = lib.licenses.agpl3Plus; 23 + platforms = lib.platforms.linux; 24 24 }; 25 25 }
+4 -4
pkgs/applications/science/logic/abella/default.nix
··· 1 - { stdenv, fetchurl, rsync, ocamlPackages }: 1 + { lib, stdenv, fetchurl, rsync, ocamlPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "abella"; ··· 31 31 objects with binding. 32 32 ''; 33 33 homepage = "http://abella-prover.org/"; 34 - license = stdenv.lib.licenses.gpl3; 35 - maintainers = with stdenv.lib.maintainers; [ bcdarwin ciil ]; 36 - platforms = stdenv.lib.platforms.unix; 34 + license = lib.licenses.gpl3; 35 + maintainers = with lib.maintainers; [ bcdarwin ciil ]; 36 + platforms = lib.platforms.unix; 37 37 }; 38 38 }
+4 -4
pkgs/applications/science/logic/aiger/default.nix
··· 1 - { stdenv, fetchurl, picosat }: 1 + { lib, stdenv, fetchurl, picosat }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "aiger"; ··· 48 48 meta = { 49 49 description = "And-Inverter Graph (AIG) utilities"; 50 50 homepage = "http://fmv.jku.at/aiger/"; 51 - license = stdenv.lib.licenses.mit; 52 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 53 - platforms = stdenv.lib.platforms.unix; 51 + license = lib.licenses.mit; 52 + maintainers = with lib.maintainers; [ thoughtpolice ]; 53 + platforms = lib.platforms.unix; 54 54 }; 55 55 }
+5 -5
pkgs/applications/science/logic/avy/default.nix
··· 1 - { stdenv, fetchgit, cmake, zlib, boost }: 1 + { lib, stdenv, fetchgit, cmake, zlib, boost }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "avy"; ··· 15 15 buildInputs = [ zlib boost.out boost.dev ]; 16 16 NIX_CFLAGS_COMPILE = toString ([ "-Wno-narrowing" ] 17 17 # Squelch endless stream of warnings on same few things 18 - ++ stdenv.lib.optionals stdenv.cc.isClang [ 18 + ++ lib.optionals stdenv.cc.isClang [ 19 19 "-Wno-empty-body" 20 20 "-Wno-tautological-compare" 21 21 "-Wc++11-compat-deprecated-writable-strings" ··· 40 40 meta = { 41 41 description = "AIGER model checking for Property Directed Reachability"; 42 42 homepage = "https://arieg.bitbucket.io/avy/"; 43 - license = stdenv.lib.licenses.mit; 44 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 45 - platforms = stdenv.lib.platforms.linux; 43 + license = lib.licenses.mit; 44 + maintainers = with lib.maintainers; [ thoughtpolice ]; 45 + platforms = lib.platforms.linux; 46 46 # See pkgs/applications/science/logic/glucose/default.nix 47 47 # (The error is different due to glucose-fenv.patch, but the same) 48 48 badPlatforms = [ "aarch64-linux" ];
+2 -2
pkgs/applications/science/logic/boolector/default.nix
··· 40 40 in 41 41 # tests modelgen and modelgensmt2 spawn boolector in another processes and 42 42 # macOS strips DYLD_LIBRARY_PATH, hardcode it for testing 43 - stdenv.lib.optionalString stdenv.isDarwin '' 43 + lib.optionalString stdenv.isDarwin '' 44 44 cp -r bin bin.back 45 45 install_name_tool -change libboolector.dylib $(pwd)/lib/libboolector.dylib bin/boolector 46 46 '' + '' ··· 48 48 patchShebangs .. 49 49 ''; 50 50 51 - postCheck = stdenv.lib.optionalString stdenv.isDarwin '' 51 + postCheck = lib.optionalString stdenv.isDarwin '' 52 52 rm -rf bin 53 53 mv bin.back bin 54 54 '';
+1 -1
pkgs/applications/science/logic/btor2tools/default.nix
··· 11 11 sha256 = "0mfqmkgvyw8fa2c09kww107dmk180ch1hp98r5kv41vnc04iqb0s"; 12 12 }; 13 13 14 - nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; 14 + nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 15 15 16 16 installPhase = '' 17 17 mkdir -p $out $dev/include/btor2parser/ $lib/lib
+1 -1
pkgs/applications/science/logic/coq/default.nix
··· 49 49 args.version; 50 50 version = fetched.version; 51 51 coq-version = args.coq-version or (if version != "dev" then versions.majorMinor version else "dev"); 52 - versionAtLeast = v: (coq-version == "dev") || (stdenv.lib.versionAtLeast coq-version v); 52 + versionAtLeast = v: (coq-version == "dev") || (lib.versionAtLeast coq-version v); 53 53 ideFlags = optionalString (buildIde && !versionAtLeast "8.10") 54 54 "-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt"; 55 55 csdpPatch = if csdp != null then ''
+4 -4
pkgs/applications/science/logic/cryptoverif/default.nix
··· 1 - { stdenv, fetchurl, ocaml }: 1 + { lib, stdenv, fetchurl, ocaml }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cryptoverif"; ··· 30 30 meta = { 31 31 description = "Cryptographic protocol verifier in the computational model"; 32 32 homepage = "https://prosecco.gforge.inria.fr/personal/bblanche/cryptoverif/"; 33 - license = stdenv.lib.licenses.cecill-b; 34 - platforms = stdenv.lib.platforms.unix; 35 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 33 + license = lib.licenses.cecill-b; 34 + platforms = lib.platforms.unix; 35 + maintainers = [ lib.maintainers.thoughtpolice ]; 36 36 }; 37 37 }
+4 -4
pkgs/applications/science/logic/ekrhyper/default.nix
··· 1 - {stdenv, fetchurl, ocaml, perl}: 1 + {lib, stdenv, fetchurl, ocaml, perl}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 25 25 meta = { 26 26 inherit (s) version; 27 27 description = "Automated first-order theorem prover"; 28 - license = stdenv.lib.licenses.gpl2 ; 29 - maintainers = [stdenv.lib.maintainers.raskin]; 30 - platforms = stdenv.lib.platforms.linux; 28 + license = lib.licenses.gpl2 ; 29 + maintainers = [lib.maintainers.raskin]; 30 + platforms = lib.platforms.linux; 31 31 }; 32 32 }
+4 -4
pkgs/applications/science/logic/gappa/default.nix
··· 1 - { stdenv, fetchurl, gmp, mpfr, boost }: 1 + { lib, stdenv, fetchurl, gmp, mpfr, boost }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gappa-1.3.5"; ··· 16 16 meta = { 17 17 homepage = "http://gappa.gforge.inria.fr/"; 18 18 description = "Verifying and formally proving properties on numerical programs dealing with floating-point or fixed-point arithmetic"; 19 - license = with stdenv.lib.licenses; [ cecill20 gpl2 ]; 20 - maintainers = with stdenv.lib.maintainers; [ vbgl ]; 21 - platforms = stdenv.lib.platforms.all; 19 + license = with lib.licenses; [ cecill20 gpl2 ]; 20 + maintainers = with lib.maintainers; [ vbgl ]; 21 + platforms = lib.platforms.all; 22 22 }; 23 23 }
+1 -1
pkgs/applications/science/logic/isabelle/default.nix
··· 18 18 }; 19 19 20 20 buildInputs = [ perl polyml z3 ] 21 - ++ stdenv.lib.optionals (!stdenv.isDarwin) [ nettools java ]; 21 + ++ lib.optionals (!stdenv.isDarwin) [ nettools java ]; 22 22 23 23 sourceRoot = dirname; 24 24
+4 -4
pkgs/applications/science/logic/jonprl/default.nix
··· 1 - { fetchgit, stdenv, smlnj, which }: 1 + { fetchgit, lib, stdenv, smlnj, which }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jonprl"; ··· 27 27 Inspired by Nuprl 28 28 ''; 29 29 homepage = "https://github.com/jonsterling/JonPRL"; 30 - license = stdenv.lib.licenses.mit; 31 - maintainers = with stdenv.lib.maintainers; [ puffnfresh ]; 32 - platforms = stdenv.lib.platforms.linux; 30 + license = lib.licenses.mit; 31 + maintainers = with lib.maintainers; [ puffnfresh ]; 32 + platforms = lib.platforms.linux; 33 33 broken = true; 34 34 }; 35 35 }
+4 -4
pkgs/applications/science/logic/lci/default.nix
··· 1 - {stdenv, fetchurl, readline}: 1 + {lib, stdenv, fetchurl, readline}: 2 2 stdenv.mkDerivation rec { 3 3 version = "0.6"; 4 4 pname = "lci"; ··· 9 9 buildInputs = [readline]; 10 10 meta = { 11 11 description = ''Lambda calculus interpreter''; 12 - maintainers = with stdenv.lib.maintainers; [raskin]; 13 - platforms = with stdenv.lib.platforms; linux; 14 - license = stdenv.lib.licenses.gpl3; 12 + maintainers = with lib.maintainers; [raskin]; 13 + platforms = with lib.platforms; linux; 14 + license = lib.licenses.gpl3; 15 15 }; 16 16 }
+1 -1
pkgs/applications/science/logic/lean/default.nix
··· 22 22 23 23 postPatch = "patchShebangs ."; 24 24 25 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 25 + postInstall = lib.optionalString stdenv.isDarwin '' 26 26 substituteInPlace $out/bin/leanpkg \ 27 27 --replace "greadlink" "${coreutils}/bin/readlink" 28 28 '';
+4 -4
pkgs/applications/science/logic/leo3/binary.nix
··· 1 - {stdenv, fetchurl, openjdk, runtimeShell}: 1 + {lib, stdenv, fetchurl, openjdk, runtimeShell}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "leo3"; 4 4 version = "1.2"; ··· 21 21 meta = { 22 22 inherit version; 23 23 description = "An automated theorem prover for classical higher-order logic with choice"; 24 - license = stdenv.lib.licenses.bsd3; 25 - maintainers = [stdenv.lib.maintainers.raskin]; 26 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.bsd3; 25 + maintainers = [lib.maintainers.raskin]; 26 + platforms = lib.platforms.linux; 27 27 homepage = "https://page.mi.fu-berlin.de/lex/leo3/"; 28 28 }; 29 29 }
+6 -6
pkgs/applications/science/logic/logisim/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper }: 2 2 3 3 let version = "2.7.1"; in 4 4 5 5 stdenv.mkDerivation { 6 6 pname = "logisim"; 7 7 inherit version; 8 - 8 + 9 9 src = fetchurl { 10 10 url = "mirror://sourceforge/project/circuit/2.7.x/${version}/logisim-generic-${version}.jar"; 11 11 sha256 = "1hkvc9zc7qmvjbl9579p84hw3n8wl3275246xlzj136i5b0phain"; 12 12 }; 13 - 13 + 14 14 phases = [ "installPhase" ]; 15 15 16 16 nativeBuildInputs = [makeWrapper]; ··· 19 19 mkdir -pv $out/bin 20 20 makeWrapper ${jre}/bin/java $out/bin/logisim --add-flags "-jar $src" 21 21 ''; 22 - 22 + 23 23 meta = { 24 24 homepage = "http://ozark.hendrix.edu/~burch/logisim"; 25 25 description = "Educational tool for designing and simulating digital logic circuits"; 26 - license = stdenv.lib.licenses.gpl2Plus; 27 - platforms = stdenv.lib.platforms.unix; 26 + license = lib.licenses.gpl2Plus; 27 + platforms = lib.platforms.unix; 28 28 }; 29 29 }
+4 -4
pkgs/applications/science/logic/ltl2ba/default.nix
··· 1 - { fetchurl, stdenv }: 1 + { fetchurl, lib, stdenv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ltl2ba"; ··· 24 24 meta = { 25 25 description = "Fast translation from LTL formulae to Buchi automata"; 26 26 homepage = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba"; 27 - license = stdenv.lib.licenses.gpl2Plus; 28 - platforms = stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.linux; 29 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 27 + license = lib.licenses.gpl2Plus; 28 + platforms = lib.platforms.darwin ++ lib.platforms.linux; 29 + maintainers = [ lib.maintainers.thoughtpolice ]; 30 30 }; 31 31 }
+4 -4
pkgs/applications/science/logic/mcy/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , yosys, symbiyosys, python3 3 3 }: 4 4 ··· 44 44 meta = { 45 45 description = "Mutation-based coverage testing for hardware designs, with Yosys"; 46 46 homepage = "https://github.com/YosysHQ/mcy"; 47 - license = stdenv.lib.licenses.isc; 48 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 49 - platforms = stdenv.lib.platforms.all; 47 + license = lib.licenses.isc; 48 + maintainers = with lib.maintainers; [ thoughtpolice ]; 49 + platforms = lib.platforms.all; 50 50 }; 51 51 }
+2 -2
pkgs/applications/science/logic/monosat/default.nix
··· 1 - { stdenv, fetchpatch, fetchFromGitHub, cmake, zlib, gmp, jdk8, 1 + { lib, stdenv, fetchpatch, fetchFromGitHub, cmake, zlib, gmp, jdk8, 2 2 # The JDK we use on Darwin currenly makes extensive use of rpaths which are 3 3 # annoying and break the python library, so let's not bother for now 4 4 includeJava ? !stdenv.hostPlatform.isDarwin, includeGplCode ? true }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 8 8 let 9 9 boolToCmake = x: if x then "ON" else "OFF";
+4 -4
pkgs/applications/science/logic/ott/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, ocaml, opaline }: 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, ocaml, opaline }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ott"; ··· 38 38 target-system terms. 39 39 ''; 40 40 homepage = "http://www.cl.cam.ac.uk/~pes20/ott"; 41 - license = stdenv.lib.licenses.bsd3; 42 - maintainers = with stdenv.lib.maintainers; [ jwiegley ]; 43 - platforms = stdenv.lib.platforms.unix; 41 + license = lib.licenses.bsd3; 42 + maintainers = with lib.maintainers; [ jwiegley ]; 43 + platforms = lib.platforms.unix; 44 44 }; 45 45 }
+5 -5
pkgs/applications/science/logic/otter/default.nix
··· 1 - {stdenv, fetchurl, tcsh, libXaw, libXt, libX11}: 1 + {lib, stdenv, fetchurl, tcsh, libXaw, libXt, libX11}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 27 27 find . -perm -0100 -type f | xargs sed -i -e "s@/bin/rm@$(type -P rm)@g" 28 28 find . -perm -0100 -type f | xargs sed -i -e "s@/bin/mv@$(type -P mv)@g" 29 29 30 - sed -i -e "s/^XLIBS *=.*/XLIBS=-lXaw -lXt -lX11/" source/formed/Makefile 30 + sed -i -e "s/^XLIBS *=.*/XLIBS=-lXaw -lXt -lX11/" source/formed/Makefile 31 31 32 32 make all 33 33 make -C examples all ··· 45 45 meta = { 46 46 inherit (s) version; 47 47 description = "A reliable first-order theorem prover"; 48 - license = stdenv.lib.licenses.publicDomain ; 49 - maintainers = [stdenv.lib.maintainers.raskin]; 50 - platforms = stdenv.lib.platforms.linux; 48 + license = lib.licenses.publicDomain ; 49 + maintainers = [lib.maintainers.raskin]; 50 + platforms = lib.platforms.linux; 51 51 broken = true; 52 52 }; 53 53 }
+3 -3
pkgs/applications/science/logic/petrinizer/default.nix
··· 1 1 { mkDerivation, callPackage, buildPackages 2 2 , async, base, bytestring, containers, fetchFromGitLab, mtl 3 - , parallel-io, parsec, stdenv, stm, transformers 3 + , parallel-io, parsec, lib, stdenv, stm, transformers 4 4 }: 5 5 let 6 6 z3 = callPackage ./z3.nix { gomp = null; z3 = buildPackages.z3; }; ··· 26 26 transformers 27 27 ]; 28 28 description = "Safety and Liveness Analysis of Petri Nets with SMT solvers"; 29 - license = stdenv.lib.licenses.gpl3; 30 - maintainers = with stdenv.lib.maintainers; [ raskin ]; 29 + license = lib.licenses.gpl3; 30 + maintainers = with lib.maintainers; [ raskin ]; 31 31 }
+2 -2
pkgs/applications/science/logic/petrinizer/sbv-7.13.nix
··· 1 1 { mkDerivation, array, async, base, bytestring, containers 2 2 , crackNum, deepseq, directory, doctest, filepath, generic-deriving 3 3 , ghc, Glob, hlint, mtl, pretty, process, QuickCheck, random 4 - , stdenv, syb, tasty, tasty-golden, tasty-hunit, tasty-quickcheck 4 + , lib, stdenv, syb, tasty, tasty-golden, tasty-hunit, tasty-quickcheck 5 5 , template-haskell, time, z3 6 6 }: 7 7 mkDerivation { ··· 22 22 testSystemDepends = [ z3 ]; 23 23 homepage = "http://leventerkok.github.com/sbv/"; 24 24 description = "SMT Based Verification: Symbolic Haskell theorem prover using SMT solving"; 25 - license = stdenv.lib.licenses.bsd3; 25 + license = lib.licenses.bsd3; 26 26 }
+2 -2
pkgs/applications/science/logic/petrinizer/z3.nix
··· 1 1 { mkDerivation, fetchpatch 2 - , base, containers, gomp, hspec, QuickCheck, stdenv 2 + , base, containers, gomp, hspec, QuickCheck, lib, stdenv 3 3 , transformers, z3 4 4 }: 5 5 mkDerivation { ··· 13 13 testHaskellDepends = [ base hspec QuickCheck ]; 14 14 homepage = "https://github.com/IagoAbal/haskell-z3"; 15 15 description = "Bindings for the Z3 Theorem Prover"; 16 - license = stdenv.lib.licenses.bsd3; 16 + license = lib.licenses.bsd3; 17 17 doCheck = false; 18 18 patches = [ 19 19 (fetchpatch {
+5 -5
pkgs/applications/science/logic/picosat/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "picosat"; ··· 19 19 20 20 configurePhase = "./configure.sh --shared --trace"; 21 21 22 - makeFlags = stdenv.lib.optional stdenv.isDarwin 22 + makeFlags = lib.optional stdenv.isDarwin 23 23 "SONAME=-Wl,-install_name,$(out)/lib/libpicosat.so"; 24 24 25 25 installPhase = '' ··· 37 37 meta = { 38 38 description = "SAT solver with proof and core support"; 39 39 homepage = "http://fmv.jku.at/picosat/"; 40 - license = stdenv.lib.licenses.mit; 41 - platforms = stdenv.lib.platforms.unix; 42 - maintainers = with stdenv.lib.maintainers; [ roconnor thoughtpolice ]; 40 + license = lib.licenses.mit; 41 + platforms = lib.platforms.unix; 42 + maintainers = with lib.maintainers; [ roconnor thoughtpolice ]; 43 43 }; 44 44 }
+3 -3
pkgs/applications/science/logic/potassco/clingcon.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , cmake 4 4 , bison ··· 34 34 meta = { 35 35 inherit version; 36 36 description = "Extension of clingo to handle constraints over integers"; 37 - license = stdenv.lib.licenses.gpl3; # for now GPL3, next version MIT! 38 - platforms = stdenv.lib.platforms.unix; 37 + license = lib.licenses.gpl3; # for now GPL3, next version MIT! 38 + platforms = lib.platforms.unix; 39 39 homepage = "https://potassco.org/"; 40 40 downloadPage = "https://github.com/potassco/clingcon/releases/"; 41 41 changelog = "https://github.com/potassco/clingcon/releases/tag/v${version}";
+4 -4
pkgs/applications/science/logic/potassco/clingo.nix
··· 1 - { stdenv, fetchzip, cmake }: 1 + { lib, stdenv, fetchzip, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "clingo"; ··· 16 16 meta = { 17 17 inherit version; 18 18 description = "ASP system to ground and solve logic programs"; 19 - license = stdenv.lib.licenses.mit; 20 - maintainers = [stdenv.lib.maintainers.raskin]; 21 - platforms = stdenv.lib.platforms.unix; 19 + license = lib.licenses.mit; 20 + maintainers = [lib.maintainers.raskin]; 21 + platforms = lib.platforms.unix; 22 22 homepage = "https://potassco.org/"; 23 23 downloadPage = "https://github.com/potassco/clingo/releases/"; 24 24 };
+2 -2
pkgs/applications/science/logic/prover9/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "prover9-2009-11a"; ··· 39 39 for first-order and equational logic. Prover9 is a successor of 40 40 the Otter Prover. This is the LADR command-line version. 41 41 ''; 42 - platforms = stdenv.lib.platforms.linux; 42 + platforms = lib.platforms.linux; 43 43 maintainers = []; 44 44 }; 45 45 }
+4 -4
pkgs/applications/science/logic/proverif/default.nix
··· 1 - { stdenv, fetchurl, ocamlPackages }: 1 + { lib, stdenv, fetchurl, ocamlPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "proverif"; ··· 22 22 meta = { 23 23 description = "Cryptographic protocol verifier in the Dolev-Yao model"; 24 24 homepage = "https://prosecco.gforge.inria.fr/personal/bblanche/proverif/"; 25 - license = stdenv.lib.licenses.gpl2; 26 - platforms = stdenv.lib.platforms.unix; 27 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 25 + license = lib.licenses.gpl2; 26 + platforms = lib.platforms.unix; 27 + maintainers = [ lib.maintainers.thoughtpolice ]; 28 28 }; 29 29 }
+4 -4
pkgs/applications/science/logic/redprl/default.nix
··· 1 - { stdenv, fetchgit, mlton }: 1 + { lib, stdenv, fetchgit, mlton }: 2 2 stdenv.mkDerivation { 3 3 name = "redprl-2017-03-28"; 4 4 src = fetchgit { ··· 21 21 meta = { 22 22 description = "A proof assistant for Nominal Computational Type Theory"; 23 23 homepage = "http://www.redprl.org/"; 24 - license = stdenv.lib.licenses.mit; 25 - maintainers = [ stdenv.lib.maintainers.acowley ]; 26 - platforms = stdenv.lib.platforms.unix; 24 + license = lib.licenses.mit; 25 + maintainers = [ lib.maintainers.acowley ]; 26 + platforms = lib.platforms.unix; 27 27 }; 28 28 }
+3 -3
pkgs/applications/science/logic/sad/default.nix
··· 31 31 The system for automated deduction is intended for automated processing of formal mathematical texts 32 32 written in a special language called ForTheL (FORmal THEory Language) or in a traditional first-order language 33 33 ''; 34 - license = stdenv.lib.licenses.gpl3Plus; 35 - maintainers = [ stdenv.lib.maintainers.schmitthenner ]; 34 + license = lib.licenses.gpl3Plus; 35 + maintainers = [ lib.maintainers.schmitthenner ]; 36 36 homepage = "http://nevidal.org/sad.en.html"; 37 - platforms = stdenv.lib.platforms.linux; 37 + platforms = lib.platforms.linux; 38 38 broken = true; # ghc-8.4.4 is gone from Nixpkgs 39 39 }; 40 40 }
+6 -6
pkgs/applications/science/logic/satallax/default.nix
··· 1 - {stdenv, fetchurl, ocaml, zlib, which, eprover, makeWrapper, coq}: 1 + {lib, stdenv, fetchurl, ocaml, zlib, which, eprover, makeWrapper, coq}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "satallax"; 4 4 version = "2.7"; ··· 30 30 mkdir -p "$out/libexec/satallax" 31 31 cp picosat-*/picosat picosat-*/picomus "$out/libexec/satallax" 32 32 33 - ( 33 + ( 34 34 cd minisat 35 35 export MROOT=$PWD 36 36 cd core ··· 46 46 mkdir -p "$out/share/doc/satallax" "$out/bin" "$out/lib" "$out/lib/satallax" 47 47 cp bin/satallax.opt "$out/bin/satallax" 48 48 wrapProgram "$out/bin/satallax" \ 49 - --suffix PATH : "${stdenv.lib.makeBinPath [ coq eprover ]}:$out/libexec/satallax" \ 49 + --suffix PATH : "${lib.makeBinPath [ coq eprover ]}:$out/libexec/satallax" \ 50 50 --add-flags "-M" --add-flags "$out/lib/satallax/modes" 51 51 52 52 cp LICENSE README "$out/share/doc/satallax" ··· 61 61 meta = { 62 62 inherit version; 63 63 description = ''Automated theorem prover for higher-order logic''; 64 - license = stdenv.lib.licenses.mit ; 65 - maintainers = [stdenv.lib.maintainers.raskin]; 66 - platforms = stdenv.lib.platforms.linux; 64 + license = lib.licenses.mit ; 65 + maintainers = [lib.maintainers.raskin]; 66 + platforms = lib.platforms.linux; 67 67 downloadPage = "http://www.ps.uni-saarland.de/~cebrown/satallax/downloads.php"; 68 68 homepage = "http://www.ps.uni-saarland.de/~cebrown/satallax/index.php"; 69 69 updateWalker = true;
+5 -5
pkgs/applications/science/logic/saw-tools/default.nix
··· 1 - { stdenv, fetchurl, gmp4, ncurses, zlib, clang }: 1 + { lib, stdenv, fetchurl, gmp4, ncurses, zlib, clang }: 2 2 3 3 let 4 - libPath = stdenv.lib.makeLibraryPath 4 + libPath = lib.makeLibraryPath 5 5 [ stdenv.cc.libc 6 6 stdenv.cc.cc 7 7 gmp4 ··· 53 53 meta = { 54 54 description = "Tools for software verification and analysis"; 55 55 homepage = "https://saw.galois.com"; 56 - license = stdenv.lib.licenses.unfreeRedistributable; 57 - platforms = stdenv.lib.platforms.linux; 58 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 56 + license = lib.licenses.unfreeRedistributable; 57 + platforms = lib.platforms.linux; 58 + maintainers = [ lib.maintainers.thoughtpolice ]; 59 59 }; 60 60 }
+4 -4
pkgs/applications/science/logic/statverif/default.nix
··· 1 - { stdenv, fetchurl, ocaml }: 1 + { lib, stdenv, fetchurl, ocaml }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "statverif"; ··· 27 27 meta = { 28 28 description = "Verification of stateful processes (via Proverif)"; 29 29 homepage = "https://markryan.eu/research/statverif/"; 30 - license = stdenv.lib.licenses.gpl2; 31 - platforms = stdenv.lib.platforms.unix; 32 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 30 + license = lib.licenses.gpl2; 31 + platforms = lib.platforms.unix; 32 + maintainers = [ lib.maintainers.thoughtpolice ]; 33 33 }; 34 34 }
+4 -4
pkgs/applications/science/logic/symbiyosys/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , bash, python3, yosys 3 3 , yices, boolector, z3, aiger 4 4 }: ··· 51 51 meta = { 52 52 description = "Tooling for Yosys-based verification flows"; 53 53 homepage = "https://symbiyosys.readthedocs.io/"; 54 - license = stdenv.lib.licenses.isc; 55 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice emily ]; 56 - platforms = stdenv.lib.platforms.all; 54 + license = lib.licenses.isc; 55 + maintainers = with lib.maintainers; [ thoughtpolice emily ]; 56 + platforms = lib.platforms.all; 57 57 }; 58 58 }
+4 -4
pkgs/applications/science/logic/tlaplus/default.nix
··· 1 - { stdenv, fetchFromGitHub, makeWrapper 1 + { lib, stdenv, fetchFromGitHub, makeWrapper 2 2 , adoptopenjdk-bin, jre, ant 3 3 }: 4 4 ··· 33 33 meta = { 34 34 description = "An algorithm specification language with model checking tools"; 35 35 homepage = "http://lamport.azurewebsites.net/tla/tla.html"; 36 - license = stdenv.lib.licenses.mit; 37 - platforms = stdenv.lib.platforms.unix; 38 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 36 + license = lib.licenses.mit; 37 + platforms = lib.platforms.unix; 38 + maintainers = [ lib.maintainers.thoughtpolice ]; 39 39 }; 40 40 }
+3 -3
pkgs/applications/science/logic/tlaplus/tlaps.nix
··· 1 1 { fetchurl 2 - , stdenv 2 + , lib, stdenv 3 3 , ocaml, isabelle, cvc3, perl, wget, which 4 4 }: 5 5 ··· 46 46 consistent abstraction over the various “backend” verifiers. 47 47 ''; 48 48 homepage = "https://tla.msr-inria.inria.fr/tlaps/content/Home.html"; 49 - license = stdenv.lib.licenses.bsd2; 50 - platforms = stdenv.lib.platforms.unix; 49 + license = lib.licenses.bsd2; 50 + platforms = lib.platforms.unix; 51 51 maintainers = [ ]; 52 52 }; 53 53
+1 -1
pkgs/applications/science/logic/tlaplus/toolbox.nix
··· 75 75 ''; 76 76 # http://lamport.azurewebsites.net/tla/license.html 77 77 license = with lib.licenses; [ mit ]; 78 - platforms = stdenv.lib.platforms.linux; 78 + platforms = lib.platforms.linux; 79 79 maintainers = [ ]; 80 80 }; 81 81 }
+4 -4
pkgs/applications/science/logic/twelf/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, smlnj, rsync }: 1 + { lib, stdenv, fetchurl, pkgconfig, smlnj, rsync }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "twelf"; ··· 44 44 Standard ML. 45 45 ''; 46 46 homepage = "http://twelf.org/wiki/Main_Page"; 47 - license = stdenv.lib.licenses.mit; 48 - maintainers = with stdenv.lib.maintainers; [ jwiegley ]; 49 - platforms = stdenv.lib.platforms.unix; 47 + license = lib.licenses.mit; 48 + maintainers = with lib.maintainers; [ jwiegley ]; 49 + platforms = lib.platforms.unix; 50 50 }; 51 51 }
+4 -4
pkgs/applications/science/logic/verifast/default.nix
··· 1 - { stdenv, fetchurl, gtk2, gdk-pixbuf, atk, pango, glib, cairo, freetype 1 + { lib, stdenv, fetchurl, gtk2, gdk-pixbuf, atk, pango, glib, cairo, freetype 2 2 , fontconfig, libxml2, gnome2 }: 3 3 4 4 let 5 5 6 - libPath = stdenv.lib.makeLibraryPath 6 + libPath = lib.makeLibraryPath 7 7 [ stdenv.cc.libc stdenv.cc.cc gtk2 gdk-pixbuf atk pango glib cairo 8 8 freetype fontconfig libxml2 gnome2.gtksourceview 9 9 ] + ":${stdenv.cc.cc.lib}/lib64:$out/libexec"; ··· 43 43 meta = { 44 44 description = "Verification for C and Java programs via separation logic"; 45 45 homepage = "http://people.cs.kuleuven.be/~bart.jacobs/verifast/"; 46 - license = stdenv.lib.licenses.mit; 46 + license = lib.licenses.mit; 47 47 platforms = [ "x86_64-linux" ]; 48 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 48 + maintainers = [ lib.maintainers.thoughtpolice ]; 49 49 }; 50 50 }
+4 -4
pkgs/applications/science/logic/workcraft/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "workcraft"; ··· 25 25 meta = { 26 26 homepage = "https://workcraft.org/"; 27 27 description = "Framework for interpreted graph modeling, verification and synthesis"; 28 - platforms = stdenv.lib.platforms.linux; 29 - license = stdenv.lib.licenses.mit; 30 - maintainers = with stdenv.lib.maintainers; [ timor ]; 28 + platforms = lib.platforms.linux; 29 + license = lib.licenses.mit; 30 + maintainers = with lib.maintainers; [ timor ]; 31 31 inherit version; 32 32 }; 33 33 }
+1 -1
pkgs/applications/science/logic/yices/default.nix
··· 28 28 # Includes a fix for the embedded soname being libyices.so.2.5, but 29 29 # only installing the libyices.so.2.5.x file. 30 30 installPhase = let 31 - ver_XdotY = stdenv.lib.versions.majorMinor version; 31 + ver_XdotY = lib.versions.majorMinor version; 32 32 in '' 33 33 make install LDCONFIG=true 34 34 ln -sfr $out/lib/libyices.so.{${version},${ver_XdotY}}
+4 -4
pkgs/applications/science/logic/z3/4.4.0.nix
··· 1 - { stdenv, fetchFromGitHub, python }: 1 + { lib, stdenv, fetchFromGitHub, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "z3-${version}"; ··· 34 34 meta = { 35 35 description = "A high-performance theorem prover and SMT solver"; 36 36 homepage = "https://github.com/Z3Prover/z3"; 37 - license = stdenv.lib.licenses.mit; 38 - platforms = stdenv.lib.platforms.x86_64; 39 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice ttuegel ]; 37 + license = lib.licenses.mit; 38 + platforms = lib.platforms.x86_64; 39 + maintainers = with lib.maintainers; [ thoughtpolice ttuegel ]; 40 40 }; 41 41 }
+5 -5
pkgs/applications/science/logic/z3/default.nix
··· 1 - { stdenv, fetchFromGitHub, python, fixDarwinDylibNames 1 + { lib, stdenv, fetchFromGitHub, python, fixDarwinDylibNames 2 2 , javaBindings ? false 3 3 , ocamlBindings ? false 4 4 , pythonBindings ? true ··· 9 9 assert javaBindings -> jdk != null; 10 10 assert ocamlBindings -> ocaml != null && findlib != null && zarith != null; 11 11 12 - with stdenv.lib; 12 + with lib; 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "z3"; ··· 59 59 meta = { 60 60 description = "A high-performance theorem prover and SMT solver"; 61 61 homepage = "https://github.com/Z3Prover/z3"; 62 - license = stdenv.lib.licenses.mit; 63 - platforms = stdenv.lib.platforms.unix; 64 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice ttuegel ]; 62 + license = lib.licenses.mit; 63 + platforms = lib.platforms.unix; 64 + maintainers = with lib.maintainers; [ thoughtpolice ttuegel ]; 65 65 }; 66 66 }
+2 -2
pkgs/applications/science/logic/z3/tptp.nix
··· 1 - {stdenv, z3, cmake}: 1 + {lib, stdenv, z3, cmake}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "z3-tptp"; 4 4 version = z3.version; ··· 26 26 inherit version; 27 27 inherit (z3.meta) license homepage platforms; 28 28 description = ''TPTP wrapper for Z3 prover''; 29 - maintainers = [stdenv.lib.maintainers.raskin]; 29 + maintainers = [lib.maintainers.raskin]; 30 30 }; 31 31 }
+1 -1
pkgs/applications/science/machine-learning/sc2-headless/default.nix
··· 49 49 ''; 50 50 51 51 meta = { 52 - platforms = stdenv.lib.platforms.linux; 52 + platforms = lib.platforms.linux; 53 53 description = "Starcraft II headless linux client for machine learning research"; 54 54 license = { 55 55 fullName = "BLIZZARD® STARCRAFT® II AI AND MACHINE LEARNING LICENSE";
+3 -3
pkgs/applications/science/math/LiE/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , bison, readline }: 3 3 4 4 stdenv.mkDerivation { ··· 10 10 meta = { 11 11 description = "A Computer algebra package for Lie group computations"; 12 12 homepage = "http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/"; 13 - license = stdenv.lib.licenses.lgpl3; # see the website 13 + license = lib.licenses.lgpl3; # see the website 14 14 15 15 longDescription = '' 16 16 LiE is a computer algebra system that is specialised in computations ··· 19 19 characteristics, we refer to the following sources of information. 20 20 ''; # take from the website 21 21 22 - platforms = stdenv.lib.platforms.linux; 22 + platforms = lib.platforms.linux; 23 23 maintainers = [ ]; # this package is probably not going to change anyway 24 24 }; 25 25
+5 -5
pkgs/applications/science/math/R/default.nix
··· 25 25 bzip2 gfortran libX11 libXmu libXt libXt libjpeg libpng libtiff ncurses 26 26 pango pcre2 perl readline texLive xz zlib less texinfo graphviz icu 27 27 pkgconfig bison imake which blas lapack curl tcl tk jdk 28 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ]; 28 + ] ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ]; 29 29 30 30 patches = [ 31 31 ./no-usr-local-search-paths.patch 32 32 ./fix-failing-test.patch 33 33 ]; 34 34 35 - prePatch = stdenv.lib.optionalString stdenv.isDarwin '' 35 + prePatch = lib.optionalString stdenv.isDarwin '' 36 36 substituteInPlace configure --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib" 37 37 ''; 38 38 ··· 41 41 preConfigure = '' 42 42 configureFlagsArray=( 43 43 --disable-lto 44 - --with${stdenv.lib.optionalString (!withRecommendedPackages) "out"}-recommended-packages 44 + --with${lib.optionalString (!withRecommendedPackages) "out"}-recommended-packages 45 45 --with-blas="-L${blas}/lib -lblas" 46 46 --with-lapack="-L${lapack}/lib -llapack" 47 47 --with-readline ··· 51 51 --with-jpeglib 52 52 --with-libtiff 53 53 --with-ICU 54 - ${stdenv.lib.optionalString enableStrictBarrier "--enable-strict-barrier"} 54 + ${lib.optionalString enableStrictBarrier "--enable-strict-barrier"} 55 55 ${if static then "--enable-R-static-lib" else "--enable-R-shlib"} 56 56 AR=$(type -p ar) 57 57 AWK=$(type -p gawk) ··· 61 61 JAVA_HOME="${jdk}" 62 62 RANLIB=$(type -p ranlib) 63 63 R_SHELL="${stdenv.shell}" 64 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 64 + '' + lib.optionalString stdenv.isDarwin '' 65 65 --disable-R-framework 66 66 OBJC="clang" 67 67 CPPFLAGS="-isystem ${libcxx}/include/c++/v1"
+2 -2
pkgs/applications/science/math/bcal/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages, readline, bc }: 1 + { lib, stdenv, fetchFromGitHub, python3Packages, readline, bc }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "bcal";
+9 -9
pkgs/applications/science/math/cplex/default.nix
··· 1 1 { lib, stdenv, makeWrapper, openjdk, gtk2, xorg, glibcLocales, releasePath ? null }: 2 2 3 3 # To use this package, you need to download your own cplex installer from IBM 4 - # and override the releasePath attribute to point to the location of the file. 4 + # and override the releasePath attribute to point to the location of the file. 5 5 # 6 6 # Note: cplex creates an individual build for each license which screws 7 7 # somewhat with the use of functions like requireFile as the hash will be ··· 10 10 stdenv.mkDerivation rec { 11 11 pname = "cplex"; 12 12 version = "128"; 13 - 13 + 14 14 src = 15 15 if releasePath == null then 16 16 throw '' 17 17 This nix expression requires that the cplex installer is already 18 - downloaded to your machine. Get it from IBM: 19 - https://developer.ibm.com/docloud/blog/2017/12/20/cplex-optimization-studio-12-8-now-available/ 18 + downloaded to your machine. Get it from IBM: 19 + https://developer.ibm.com/docloud/blog/2017/12/20/cplex-optimization-studio-12-8-now-available/ 20 20 21 21 Set `cplex.releasePath = /path/to/download;` in your 22 22 ~/.config/nixpkgs/config.nix for `nix-*` commands, or ··· 49 49 $out/bin 50 50 ''; 51 51 52 - fixupPhase = 53 - let 54 - libraryPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc gtk2 xorg.libXtst ]; 52 + fixupPhase = 53 + let 54 + libraryPath = lib.makeLibraryPath [ stdenv.cc.cc gtk2 xorg.libXtst ]; 55 55 in '' 56 56 interpreter=${stdenv.glibc}/lib/ld-linux-x86-64.so.2 57 57 ··· 63 63 --set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive; 64 64 done 65 65 66 - for pgm in $out/cplex/bin/x86-64_linux/cplex $out/cpoptimizer/bin/x86-64_linux/cpoptimizer $out/opl/oplide/jre/bin/*; 66 + for pgm in $out/cplex/bin/x86-64_linux/cplex $out/cpoptimizer/bin/x86-64_linux/cpoptimizer $out/opl/oplide/jre/bin/*; 67 67 do 68 68 if grep ELF $pgm > /dev/null; 69 69 then ··· 76 76 libArch = "x86-64_linux"; 77 77 libSuffix = "${version}0"; 78 78 }; 79 - 79 + 80 80 meta = with lib; { 81 81 description = "Optimization solver for mathematical programming"; 82 82 homepage = "https://www.ibm.com/be-en/marketplace/ibm-ilog-cplex";
+1 -1
pkgs/applications/science/math/csdp/default.nix
··· 24 24 license = lib.licenses.cpl10; 25 25 maintainers = [ lib.maintainers.roconnor ]; 26 26 description = "A C Library for Semidefinite Programming"; 27 - platforms = stdenv.lib.platforms.unix; 27 + platforms = lib.platforms.unix; 28 28 }; 29 29 }
+5 -5
pkgs/applications/science/math/ecm/default.nix
··· 1 - { stdenv, fetchurl, gmp, m4 }: 1 + { lib, stdenv, fetchurl, gmp, m4 }: 2 2 3 3 let 4 4 pname = "ecm"; ··· 15 15 }; 16 16 17 17 # See https://trac.sagemath.org/ticket/19233 18 - configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-asm-redc"; 18 + configureFlags = lib.optional stdenv.isDarwin "--disable-asm-redc"; 19 19 20 20 buildInputs = [ m4 gmp ]; 21 21 ··· 23 23 24 24 meta = { 25 25 description = "Elliptic Curve Method for Integer Factorization"; 26 - license = stdenv.lib.licenses.gpl2Plus; 26 + license = lib.licenses.gpl2Plus; 27 27 homepage = "http://ecm.gforge.inria.fr/"; 28 - maintainers = [ stdenv.lib.maintainers.roconnor ]; 29 - platforms = with stdenv.lib.platforms; linux ++ darwin; 28 + maintainers = [ lib.maintainers.roconnor ]; 29 + platforms = with lib.platforms; linux ++ darwin; 30 30 }; 31 31 }
+4 -4
pkgs/applications/science/math/eukleides/default.nix
··· 1 - { stdenv, fetchurl, bison, flex, texinfo, readline, texLive }: 1 + { lib, stdenv, fetchurl, bison, flex, texinfo, readline, texLive }: 2 2 3 3 let 4 4 name = "eukleides"; ··· 20 20 meta = { 21 21 description = "Geometry Drawing Language"; 22 22 homepage = "http://www.eukleides.org/"; 23 - license = stdenv.lib.licenses.gpl2; 23 + license = lib.licenses.gpl2; 24 24 25 25 longDescription = '' 26 26 Eukleides is a computer language devoted to elementary plane ··· 31 31 circles and conics. 32 32 ''; 33 33 34 - platforms = stdenv.lib.platforms.linux; 35 - maintainers = [ stdenv.lib.maintainers.peti ]; 34 + platforms = lib.platforms.linux; 35 + maintainers = [ lib.maintainers.peti ]; 36 36 }; 37 37 }
+4 -4
pkgs/applications/science/math/fricas/default.nix
··· 1 - { stdenv, fetchurl, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }: 1 + { lib, stdenv, fetchurl, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }: 2 2 3 3 let 4 4 version = "1.3.4"; ··· 19 19 meta = { 20 20 homepage = "http://fricas.sourceforge.net/"; 21 21 description = "An advanced computer algebra system"; 22 - license = stdenv.lib.licenses.bsd3; 22 + license = lib.licenses.bsd3; 23 23 24 - platforms = stdenv.lib.platforms.linux; 25 - maintainers = [ stdenv.lib.maintainers.sprock ]; 24 + platforms = lib.platforms.linux; 25 + maintainers = [ lib.maintainers.sprock ]; 26 26 }; 27 27 }
+3 -3
pkgs/applications/science/math/geogebra/geogebra6.nix
··· 1 - { stdenv, unzip, fetchurl, electron_6, makeWrapper, geogebra }: 1 + { lib, stdenv, unzip, fetchurl, electron_6, makeWrapper, geogebra }: 2 2 let 3 3 pname = "geogebra"; 4 4 version = "6-0-609-0"; ··· 6 6 srcIcon = geogebra.srcIcon; 7 7 desktopItem = geogebra.desktopItem; 8 8 9 - meta = with stdenv.lib; geogebra.meta // { 9 + meta = with lib; geogebra.meta // { 10 10 license = licenses.geogebra; 11 11 maintainers = with maintainers; [ voidless ]; 12 12 platforms = with platforms; linux ++ darwin; ··· 38 38 installPhase = '' 39 39 mkdir -p $out/libexec/geogebra/ $out/bin 40 40 cp -r GeoGebra-linux-x64/{resources,locales} "$out/" 41 - makeWrapper ${stdenv.lib.getBin electron_6}/bin/electron $out/bin/geogebra --add-flags "$out/resources/app" 41 + makeWrapper ${lib.getBin electron_6}/bin/electron $out/bin/geogebra --add-flags "$out/resources/app" 42 42 install -Dm644 "${desktopItem}/share/applications/"* \ 43 43 -t $out/share/applications/ 44 44
+5 -5
pkgs/applications/science/math/gfan/default.nix
··· 1 - {stdenv, fetchurl, gmp, mpir, cddlib}: 1 + {lib, stdenv, fetchurl, gmp, mpir, cddlib}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "gfan"; 4 4 version = "0.6.2"; ··· 12 12 ./gfan-0.6.2-cddlib-prefix.patch 13 13 ]; 14 14 15 - postPatch = stdenv.lib.optionalString stdenv.cc.isClang '' 15 + postPatch = lib.optionalString stdenv.cc.isClang '' 16 16 substituteInPlace Makefile --replace "-fno-guess-branch-probability" "" 17 17 ''; 18 18 ··· 23 23 meta = { 24 24 inherit version; 25 25 description = ''A software package for computing Gröbner fans and tropical varieties''; 26 - license = stdenv.lib.licenses.gpl2 ; 27 - maintainers = [stdenv.lib.maintainers.raskin]; 28 - platforms = stdenv.lib.platforms.unix; 26 + license = lib.licenses.gpl2 ; 27 + maintainers = [lib.maintainers.raskin]; 28 + platforms = lib.platforms.unix; 29 29 homepage = "http://home.math.au.dk/jensen/software/gfan/gfan.html"; 30 30 }; 31 31 }
+6 -6
pkgs/applications/science/math/giac/default.nix
··· 16 16 sha256 = "1d0h1yb7qvh9x7wwv9yrzmcp712f49w1iljkxp4y6g9pzsmg1mmv"; 17 17 }; 18 18 19 - patches = stdenv.lib.optionals (!enableGUI) [ 19 + patches = lib.optionals (!enableGUI) [ 20 20 # when enableGui is false, giac is compiled without fltk. That means some 21 21 # outputs differ in the make check. Patch around this: 22 22 (fetchpatch { ··· 41 41 readline gettext libpng libao perl ecm 42 42 # gfortran.cc default output contains static libraries compiled without -fPIC 43 43 # we want libgfortran.so.3 instead 44 - (stdenv.lib.getLib gfortran.cc) 44 + (lib.getLib gfortran.cc) 45 45 lapack blas 46 - ] ++ stdenv.lib.optionals enableGUI [ 46 + ] ++ lib.optionals enableGUI [ 47 47 libGL libGLU fltk xorg.libX11 48 48 ]; 49 49 ··· 56 56 57 57 # xcas Phys and Turtle menus are broken with split outputs 58 58 # and interactive use is likely to need docs 59 - outputs = [ "out" ] ++ stdenv.lib.optional (!enableGUI) "doc"; 59 + outputs = [ "out" ] ++ lib.optional (!enableGUI) "doc"; 60 60 61 61 doCheck = true; 62 62 preCheck = '' ··· 74 74 "--enable-gc" "--enable-png" "--enable-gsl" "--enable-lapack" 75 75 "--enable-pari" "--enable-ntl" "--enable-gmpxx" # "--enable-cocoa" 76 76 "--enable-ao" "--enable-ecm" "--enable-glpk" 77 - ] ++ stdenv.lib.optionals enableGUI [ 77 + ] ++ lib.optionals enableGUI [ 78 78 "--enable-gui" "--with-x" 79 79 ]; 80 80 ··· 94 94 mv "$out/share/giac/doc" "$doc/share/giac" 95 95 mv "$out/share/giac/examples" "$doc/share/giac" 96 96 fi 97 - '' + stdenv.lib.optionalString (!enableGUI) '' 97 + '' + lib.optionalString (!enableGUI) '' 98 98 for i in pixmaps application-registry applications icons; do 99 99 rm -r "$out/share/$i"; 100 100 done;
+1 -1
pkgs/applications/science/math/ginac/default.nix
··· 10 10 11 11 propagatedBuildInputs = [ cln ]; 12 12 13 - buildInputs = [ readline ] ++ stdenv.lib.optional stdenv.isDarwin gmp; 13 + buildInputs = [ readline ] ++ lib.optional stdenv.isDarwin gmp; 14 14 15 15 nativeBuildInputs = [ pkgconfig python ]; 16 16
+2 -2
pkgs/applications/science/math/glsurf/default.nix
··· 1 - { stdenv, fetchurl, ocamlPackages, libGLU, libGL, freeglut 1 + { lib, stdenv, fetchurl, ocamlPackages, libGLU, libGL, freeglut 2 2 , libmysqlclient, mpfr, gmp, libtiff, libjpeg, libpng, giflib 3 3 }: 4 4 ··· 26 26 meta = { 27 27 homepage = "https://raffalli.eu/~christophe/glsurf/"; 28 28 description = "A program to draw implicit surfaces and curves"; 29 - license = stdenv.lib.licenses.lgpl21; 29 + license = lib.licenses.lgpl21; 30 30 }; 31 31 }
+2 -2
pkgs/applications/science/math/gmsh/default.nix
··· 1 - { stdenv, fetchurl, cmake, blas, lapack, gfortran, gmm, fltk, libjpeg 1 + { lib, stdenv, fetchurl, cmake, blas, lapack, gfortran, gmm, fltk, libjpeg 2 2 , zlib, libGL, libGLU, xorg, opencascade-occt }: 3 3 4 4 assert (!blas.isILP64) && (!lapack.isILP64); ··· 24 24 description = "A three-dimensional finite element mesh generator"; 25 25 homepage = "http://gmsh.info/"; 26 26 platforms = [ "x86_64-linux" ]; 27 - license = stdenv.lib.licenses.gpl2Plus; 27 + license = lib.licenses.gpl2Plus; 28 28 }; 29 29 }
+1 -1
pkgs/applications/science/math/gurobi/default.nix
··· 6 6 pname = "gurobi"; 7 7 version = "${majorVersion}.0"; 8 8 9 - src = with stdenv.lib; fetchurl { 9 + src = with lib; fetchurl { 10 10 url = "http://packages.gurobi.com/${versions.majorMinor version}/gurobi${version}_linux64.tar.gz"; 11 11 sha256 = "1yjqbzqnq4jjkjm616d36bgd3rmqr0a1ii17n0prpdjzmdlq63dz"; 12 12 };
+7 -7
pkgs/applications/science/math/mathematica/10.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , coreutils 3 3 , patchelf 4 4 , requireFile ··· 30 30 31 31 src = requireFile rec { 32 32 name = "Mathematica_${version}_LINUX.sh"; 33 - message = '' 33 + message = '' 34 34 This nix expression requires that ${name} is 35 35 already part of the store. Find the file on your Mathematica CD 36 36 and add it to the nix store with nix-store --add-fixed sha256 <FILE>. ··· 69 69 libSM 70 70 ]); 71 71 72 - ldpath = stdenv.lib.makeLibraryPath buildInputs 73 - + stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 74 - (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs); 72 + ldpath = lib.makeLibraryPath buildInputs 73 + + lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 74 + (":" + lib.makeSearchPathOutput "lib" "lib64" buildInputs); 75 75 76 76 phases = "unpackPhase installPhase fixupPhase"; 77 77 ··· 104 104 echo "patching $f executable <<" 105 105 patchelf --shrink-rpath "$f" 106 106 patchelf \ 107 - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 107 + --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 108 108 --set-rpath "$(patchelf --print-rpath "$f"):${ldpath}" \ 109 109 "$f" \ 110 110 && patchelf --shrink-rpath "$f" \ ··· 131 131 meta = { 132 132 description = "Wolfram Mathematica computational software system"; 133 133 homepage = "http://www.wolfram.com/mathematica/"; 134 - license = stdenv.lib.licenses.unfree; 134 + license = lib.licenses.unfree; 135 135 }; 136 136 }
+7 -7
pkgs/applications/science/math/mathematica/11.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , coreutils 3 3 , patchelf 4 4 , requireFile ··· 26 26 let 27 27 l10n = 28 28 import ./l10ns.nix { 29 - lib = stdenv.lib; 29 + lib = lib; 30 30 inherit requireFile lang; 31 31 majorVersion = "11"; 32 32 }; ··· 70 70 libSM 71 71 ]); 72 72 73 - ldpath = stdenv.lib.makeLibraryPath buildInputs 74 - + stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 75 - (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs); 73 + ldpath = lib.makeLibraryPath buildInputs 74 + + lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 75 + (":" + lib.makeSearchPathOutput "lib" "lib64" buildInputs); 76 76 77 77 phases = "unpackPhase installPhase fixupPhase"; 78 78 ··· 118 118 echo "patching $f executable <<" 119 119 patchelf --shrink-rpath "$f" 120 120 patchelf \ 121 - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 121 + --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 122 122 --set-rpath "$(patchelf --print-rpath "$f"):${ldpath}" \ 123 123 "$f" \ 124 124 && patchelf --shrink-rpath "$f" \ ··· 145 145 meta = { 146 146 description = "Wolfram Mathematica computational software system"; 147 147 homepage = "http://www.wolfram.com/mathematica/"; 148 - license = stdenv.lib.licenses.unfree; 148 + license = lib.licenses.unfree; 149 149 }; 150 150 }
+6 -6
pkgs/applications/science/math/mathematica/9.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , coreutils 3 3 , patchelf 4 4 , requireFile ··· 27 27 28 28 src = requireFile { 29 29 name = "Mathematica_9.0.0_LINUX.sh"; 30 - message = '' 30 + message = '' 31 31 This nix expression requires that Mathematica_9.0.0_LINUX.sh is 32 32 already part of the store. Find the file on your Mathematica CD 33 33 and add it to the nix store with nix-store --add-fixed sha256 <FILE>. ··· 59 59 libxcb 60 60 ]); 61 61 62 - ldpath = stdenv.lib.makeLibraryPath buildInputs 63 - + stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 64 - (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs); 62 + ldpath = lib.makeLibraryPath buildInputs 63 + + lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 64 + (":" + lib.makeSearchPathOutput "lib" "lib64" buildInputs); 65 65 66 66 phases = "unpackPhase installPhase fixupPhase"; 67 67 ··· 117 117 meta = { 118 118 description = "Wolfram Mathematica computational software system"; 119 119 homepage = "http://www.wolfram.com/mathematica/"; 120 - license = stdenv.lib.licenses.unfree; 120 + license = lib.licenses.unfree; 121 121 }; 122 122 }
+6 -6
pkgs/applications/science/math/mathematica/default.nix
··· 28 28 let 29 29 l10n = 30 30 import ./l10ns.nix { 31 - lib = stdenv.lib; 31 + lib = lib; 32 32 inherit requireFile lang; 33 33 }; 34 34 in ··· 74 74 libSM 75 75 ]); 76 76 77 - ldpath = stdenv.lib.makeLibraryPath buildInputs 78 - + stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 79 - (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs); 77 + ldpath = lib.makeLibraryPath buildInputs 78 + + lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 79 + (":" + lib.makeSearchPathOutput "lib" "lib64" buildInputs); 80 80 81 81 unpackPhase = '' 82 82 echo "=== Extracting makeself archive ===" ··· 125 125 echo "patching $f executable <<" 126 126 patchelf --shrink-rpath "$f" 127 127 patchelf \ 128 - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 128 + --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 129 129 --set-rpath "$(patchelf --print-rpath "$f"):${ldpath}" \ 130 130 "$f" \ 131 131 && patchelf --shrink-rpath "$f" \ ··· 144 144 ''; 145 145 146 146 dontBuild = true; 147 - 147 + 148 148 # This is primarily an IO bound build; there's little benefit to building remotely. 149 149 preferLocalBuild = true; 150 150
+9 -9
pkgs/applications/science/math/maxima/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python, makeWrapper, autoreconfHook 1 + { lib, stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python, makeWrapper, autoreconfHook 2 2 , rlwrap ? null, tk ? null, gnuplot ? null, ecl ? null, ecl-fasl ? false 3 3 }: 4 4 ··· 7 7 version = "5.44.0"; 8 8 9 9 searchPath = 10 - stdenv.lib.makeBinPath 11 - (stdenv.lib.filter (x: x != null) [ sbcl ecl rlwrap tk gnuplot ]); 10 + lib.makeBinPath 11 + (lib.filter (x: x != null) [ sbcl ecl rlwrap tk gnuplot ]); 12 12 in 13 13 stdenv.mkDerivation ({ 14 14 inherit version; ··· 21 21 22 22 nativeBuildInputs = [ autoreconfHook ]; 23 23 24 - buildInputs = stdenv.lib.filter (x: x != null) [ 24 + buildInputs = lib.filter (x: x != null) [ 25 25 sbcl ecl texinfo perl python makeWrapper 26 26 gnuplot # required in the test suite 27 27 ]; ··· 40 40 ln -s ../maxima/${version}/emacs $out/share/emacs/site-lisp 41 41 ln -s ../maxima/${version}/doc $out/share/doc/maxima 42 42 '' 43 - + (stdenv.lib.optionalString ecl-fasl '' 43 + + (lib.optionalString ecl-fasl '' 44 44 cp src/binary-ecl/maxima.fas* "$out/lib/maxima/${version}/binary-ecl/" 45 45 '') 46 46 ; ··· 63 63 url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/undoing_true_false_printing_patch.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 64 64 sha256 = "0fvi3rcjv6743sqsbgdzazy9jb6r1p1yq63zyj9fx42wd1hgf7yx"; 65 65 }) 66 - ] ++ stdenv.lib.optionals ecl-fasl [ 66 + ] ++ lib.optionals ecl-fasl [ 67 67 # build fasl, needed for ECL support 68 68 (fetchpatch { 69 69 url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/maxima.system.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; ··· 94 94 meta = { 95 95 description = "Computer algebra system"; 96 96 homepage = "http://maxima.sourceforge.net"; 97 - license = stdenv.lib.licenses.gpl2; 97 + license = lib.licenses.gpl2; 98 98 99 99 longDescription = '' 100 100 Maxima is a fairly complete computer algebra system written in ··· 103 103 symbolic integration, 3D plotting, and an ODE solver. 104 104 ''; 105 105 106 - platforms = stdenv.lib.platforms.unix; 107 - maintainers = [ stdenv.lib.maintainers.peti ]; 106 + platforms = lib.platforms.unix; 107 + maintainers = [ lib.maintainers.peti ]; 108 108 }; 109 109 })
+4 -4
pkgs/applications/science/math/msieve/default.nix
··· 1 - {stdenv, fetchurl, zlib, gmp, ecm }: 1 + {lib, stdenv, fetchurl, zlib, gmp, ecm }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "msieve-1.53"; ··· 22 22 23 23 meta = { 24 24 description = "A C library implementing a suite of algorithms to factor large integers"; 25 - license = stdenv.lib.licenses.publicDomain; 25 + license = lib.licenses.publicDomain; 26 26 homepage = "http://msieve.sourceforge.net/"; 27 - maintainers = [ stdenv.lib.maintainers.roconnor ]; 28 - platforms = [ "x86_64-linux" ] ++ stdenv.lib.platforms.darwin; 27 + maintainers = [ lib.maintainers.roconnor ]; 28 + platforms = [ "x86_64-linux" ] ++ lib.platforms.darwin; 29 29 }; 30 30 }
+2 -2
pkgs/applications/science/math/palp/default.nix
··· 20 20 "format" 21 21 ]; 22 22 23 - patchPhase = stdenv.lib.optionalString stdenv.isDarwin '' 23 + patchPhase = lib.optionalString stdenv.isDarwin '' 24 24 substituteInPlace GNUmakefile --replace gcc cc 25 25 ''; 26 26 ··· 46 46 for file in poly class cws nef mori; do 47 47 cp -p $file.x "$out/bin/$file-${dim}d.x" 48 48 done 49 - '' + stdenv.lib.optionalString doSymlink '' 49 + '' + lib.optionalString doSymlink '' 50 50 cd "$out/bin" 51 51 for file in poly class cws nef mori; do 52 52 ln -sf $file-6d.x $file.x
+5 -5
pkgs/applications/science/math/pari/default.nix
··· 16 16 17 17 src = fetchurl { 18 18 # Versions with current majorMinor values are at http://pari.math.u-bordeaux.fr/pub/pari/unix/${pname}-${version}.tar.gz 19 - url = "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; 19 + url = "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; 20 20 sha256 = "sha256-v8iPxPc1L0hA5uNSxy8DacvqikVAOxg0piafNwmXCxw="; 21 21 }; 22 22 ··· 26 26 libX11 27 27 tex 28 28 perl 29 - ] ++ stdenv.lib.optionals withThread [ 29 + ] ++ lib.optionals withThread [ 30 30 libpthreadstubs 31 31 ]; 32 32 ··· 34 34 configureFlags = [ 35 35 "--with-gmp=${gmp.dev}" 36 36 "--with-readline=${readline.dev}" 37 - ] ++ stdenv.lib.optional stdenv.isDarwin "--host=x86_64-darwin" 38 - ++ stdenv.lib.optional withThread "--mt=pthread"; 37 + ] ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin" 38 + ++ lib.optional withThread "--mt=pthread"; 39 39 40 40 preConfigure = '' 41 41 export LD=$CC 42 42 ''; 43 43 44 - postConfigure = stdenv.lib.optionalString stdenv.isDarwin '' 44 + postConfigure = lib.optionalString stdenv.isDarwin '' 45 45 echo 'echo x86_64-darwin' > config/arch-osname 46 46 ''; 47 47
+4 -4
pkgs/applications/science/math/pcalc/default.nix
··· 1 - { stdenv, fetchgit, bison, flex }: 1 + { lib, stdenv, fetchgit, bison, flex }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "pcalc"; ··· 19 19 homepage = "http://pcalc.sourceforge.net/"; 20 20 description = "Programmer's calculator"; 21 21 license = licenses.gpl2; 22 - maintainers = with stdenv.lib.maintainers; [ ftrvxmtrx ]; 23 - platforms = stdenv.lib.platforms.linux; 22 + maintainers = with lib.maintainers; [ ftrvxmtrx ]; 23 + platforms = lib.platforms.linux; 24 24 inherit version; 25 25 }; 26 26 }
+4 -4
pkgs/applications/science/math/perseus/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "perseus-4-beta"; ··· 33 33 matrices and so forth. 34 34 ''; 35 35 homepage = "http://www.sas.upenn.edu/~vnanda/perseus/index.html"; 36 - license = stdenv.lib.licenses.gpl3; 37 - maintainers = with stdenv.lib.maintainers; [erikryb]; 38 - platforms = stdenv.lib.platforms.linux; 36 + license = lib.licenses.gpl3; 37 + maintainers = with lib.maintainers; [erikryb]; 38 + platforms = lib.platforms.linux; 39 39 }; 40 40 }
+4 -4
pkgs/applications/science/math/polymake/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , ninja, libxml2, libxslt, readline, perl, gmp, mpfr, boost 3 3 , bliss, ppl, singular, cddlib, lrs, nauty 4 4 , ant, openjdk ··· 39 39 meta = { 40 40 inherit version; 41 41 description = "Software for research in polyhedral geometry"; 42 - license = stdenv.lib.licenses.gpl2 ; 43 - maintainers = [stdenv.lib.maintainers.raskin]; 44 - platforms = stdenv.lib.platforms.linux; 42 + license = lib.licenses.gpl2 ; 43 + maintainers = [lib.maintainers.raskin]; 44 + platforms = lib.platforms.linux; 45 45 homepage = "https://www.polymake.org/doku.php"; 46 46 }; 47 47 }
+4 -4
pkgs/applications/science/math/pspp/default.nix
··· 1 - { stdenv, fetchurl, libxml2, readline, zlib, perl, cairo, gtk3, gsl 1 + { lib, stdenv, fetchurl, libxml2, readline, zlib, perl, cairo, gtk3, gsl 2 2 , pkgconfig, gtksourceview, pango, gettext, dconf 3 3 , makeWrapper, gsettings-desktop-schemas, hicolor-icon-theme 4 4 , texinfo, ssw, python3 ··· 28 28 --prefix XDG_DATA_DIRS : "$out/share" \ 29 29 --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \ 30 30 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ 31 - --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" 31 + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" 32 32 ''; 33 33 34 34 meta = { 35 35 homepage = "https://www.gnu.org/software/pspp/"; 36 36 description = "A free replacement for SPSS, a program for statistical analysis of sampled data"; 37 - license = stdenv.lib.licenses.gpl3Plus; 37 + license = lib.licenses.gpl3Plus; 38 38 39 39 longDescription = '' 40 40 PSPP is a program for statistical analysis of sampled data. It is ··· 48 48 more traditional syntax commands. 49 49 ''; 50 50 51 - platforms = stdenv.lib.platforms.unix; 51 + platforms = lib.platforms.unix; 52 52 }; 53 53 }
+5 -5
pkgs/applications/science/math/ratpoints/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, gmp }: 1 + { lib, stdenv, fetchurl, fetchpatch, gmp }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "ratpoints"; 4 4 version = "2.1.3.p4"; ··· 20 20 buildInputs = [ gmp ]; 21 21 22 22 makeFlags = [ "CC=cc" ]; 23 - buildFlags = stdenv.lib.optional stdenv.isDarwin ["CCFLAGS2=-lgmp -lc -lm" "CCFLAGS=-UUSE_SSE"]; 23 + buildFlags = lib.optional stdenv.isDarwin ["CCFLAGS2=-lgmp -lc -lm" "CCFLAGS=-UUSE_SSE"]; 24 24 installFlags = [ "INSTALL_DIR=$(out)" ]; 25 25 26 26 preInstall = ''mkdir -p "$out"/{bin,share,lib,include}''; ··· 28 28 meta = { 29 29 inherit version; 30 30 description = ''A program to find rational points on hyperelliptic curves''; 31 - license = stdenv.lib.licenses.gpl2Plus; 32 - maintainers = [stdenv.lib.maintainers.raskin]; 33 - platforms = stdenv.lib.platforms.unix; 31 + license = lib.licenses.gpl2Plus; 32 + maintainers = [lib.maintainers.raskin]; 33 + platforms = lib.platforms.unix; 34 34 homepage = "http://www.mathe2.uni-bayreuth.de/stoll/programs/"; 35 35 updateWalker = true; 36 36 };
+6 -6
pkgs/applications/science/math/ripser/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub 1 + { lib, stdenv, fetchurl, fetchFromGitHub 2 2 , assembleReductionMatrix ? false 3 3 , useCoefficients ? false 4 4 , indicateProgress ? false ··· 6 6 , fileFormat ? "lowerTriangularCsv" 7 7 }: 8 8 9 - with stdenv.lib; 9 + with lib; 10 10 11 11 assert assertOneOf "fileFormat" fileFormat 12 12 ["lowerTriangularCsv" "upperTriangularCsv" "dipha"]; 13 13 assert useGoogleHashmap -> sparsehash != null; 14 14 15 15 let 16 - inherit (stdenv.lib) optional; 16 + inherit (lib) optional; 17 17 version = "1.0"; 18 18 in 19 19 stdenv.mkDerivation { ··· 60 60 meta = { 61 61 description = "A lean C++ code for the computation of Vietoris–Rips persistence barcodes"; 62 62 homepage = "https://github.com/Ripser/ripser"; 63 - license = stdenv.lib.licenses.lgpl3; 64 - maintainers = with stdenv.lib.maintainers; [erikryb]; 65 - platforms = stdenv.lib.platforms.linux; 63 + license = lib.licenses.lgpl3; 64 + maintainers = with lib.maintainers; [erikryb]; 65 + platforms = lib.platforms.linux; 66 66 }; 67 67 }
+1 -1
pkgs/applications/science/math/sage/sage.nix
··· 40 40 mkdir -p "$out/bin" 41 41 makeWrapper "${sage-with-env}/bin/sage" "$out/bin/sage" \ 42 42 --set SAGE_DOC_SRC_OVERRIDE "${src}/src/doc" ${ 43 - stdenv.lib.optionalString withDoc "--set SAGE_DOC_OVERRIDE ${sagedoc}/share/doc/sage" 43 + lib.optionalString withDoc "--set SAGE_DOC_OVERRIDE ${sagedoc}/share/doc/sage" 44 44 } \ 45 45 --prefix JUPYTER_PATH : "${kernel-specs}" 46 46 '';
+4 -4
pkgs/applications/science/math/scilab/default.nix
··· 35 35 # do not compile with PVM library 36 36 "--without-pvm" 37 37 # compile with GTK 38 - (stdenv.lib.enableFeature withGtk "gtk") 39 - (stdenv.lib.enableFeature withGtk "gtk2") 38 + (lib.enableFeature withGtk "gtk") 39 + (lib.enableFeature withGtk "gtk2") 40 40 # compile with ocaml 41 - (stdenv.lib.withFeature withOCaml "ocaml") 41 + (lib.withFeature withOCaml "ocaml") 42 42 # do not compile Java interface 43 43 "--without-java" 44 44 # use the X Window System 45 - (stdenv.lib.withFeature withX "x") 45 + (lib.withFeature withX "x") 46 46 # compile with TCL/TK 47 47 ] ++ lib.optionals withTk [ 48 48 "--with-tk"
+5 -5
pkgs/applications/science/math/scotch/default.nix
··· 1 - { stdenv, fetchurl, bison, openmpi, flex, zlib}: 1 + { lib, stdenv, fetchurl, bison, openmpi, flex, zlib}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "6.0.4"; ··· 24 24 meta = { 25 25 description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering"; 26 26 longDescription = '' 27 - Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering, 27 + Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering, 28 28 and sparse matrix ordering. 29 29 ''; 30 30 homepage = "http://www.labri.fr/perso/pelegrin/scotch"; 31 - license = stdenv.lib.licenses.cecill-c; 32 - maintainers = [ stdenv.lib.maintainers.bzizou ]; 33 - platforms = stdenv.lib.platforms.linux; 31 + license = lib.licenses.cecill-c; 32 + maintainers = [ lib.maintainers.bzizou ]; 33 + platforms = lib.platforms.linux; 34 34 }; 35 35 } 36 36
+5 -5
pkgs/applications/science/math/weka/default.nix
··· 1 - { stdenv, fetchurl, jre, unzip, makeWrapper }: 1 + { lib, stdenv, fetchurl, jre, unzip, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "weka"; 5 5 version = "3.9.2"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://sourceforge/weka/${stdenv.lib.replaceChars ["."]["-"] "${pname}-${version}"}.zip"; 8 + url = "mirror://sourceforge/weka/${lib.replaceChars ["."]["-"] "${pname}-${version}"}.zip"; 9 9 sha256 = "0zwmhspmqb0a7cm6k6i0s6q3w19ws1g9dx3cp2v3g3vsif6cdh31"; 10 10 }; 11 11 ··· 24 24 meta = { 25 25 homepage = "http://www.cs.waikato.ac.nz/ml/weka/"; 26 26 description = "Collection of machine learning algorithms for data mining tasks"; 27 - license = stdenv.lib.licenses.gpl2Plus; 28 - maintainers = [ stdenv.lib.maintainers.mimame ]; 29 - platforms = stdenv.lib.platforms.unix; 27 + license = lib.licenses.gpl2Plus; 28 + maintainers = [ lib.maintainers.mimame ]; 29 + platforms = lib.platforms.unix; 30 30 }; 31 31 }
+6 -6
pkgs/applications/science/math/yacas/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, perl 1 + { lib, stdenv, fetchFromGitHub, cmake, perl 2 2 , enableGui ? false, qt5 3 3 , enableJupyter ? false, boost, jsoncpp, openssl, zmqpp 4 4 }: ··· 24 24 # Perl is only for the documentation 25 25 nativeBuildInputs = [ cmake perl ]; 26 26 buildInputs = [ 27 - ] ++ stdenv.lib.optionals enableGui (with qt5; [ qtbase qtwebkit ]) 28 - ++ stdenv.lib.optionals enableJupyter [ boost jsoncpp openssl zmqpp ] 27 + ] ++ lib.optionals enableGui (with qt5; [ qtbase qtwebkit ]) 28 + ++ lib.optionals enableJupyter [ boost jsoncpp openssl zmqpp ] 29 29 ; 30 30 31 31 meta = { 32 32 description = "Easy to use, general purpose Computer Algebra System"; 33 33 homepage = "http://www.yacas.org/"; 34 - license = stdenv.lib.licenses.gpl2Plus; 35 - maintainers = with stdenv.lib.maintainers; [viric]; 36 - platforms = with stdenv.lib.platforms; linux; 34 + license = lib.licenses.gpl2Plus; 35 + maintainers = with lib.maintainers; [viric]; 36 + platforms = with lib.platforms; linux; 37 37 broken = enableGui || enableJupyter; 38 38 }; 39 39 }
+3 -3
pkgs/applications/science/medicine/aliza/default.nix
··· 1 - { stdenv, fetchurl, rpmextract, makeWrapper, patchelf, qt4, zlib, libX11, libXt, libSM, libICE, libXext, libGLU, libGL }: 1 + { lib, stdenv, fetchurl, rpmextract, makeWrapper, patchelf, qt4, zlib, libX11, libXt, libSM, libICE, libXext, libGLU, libGL }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation { 5 5 pname = "aliza"; 6 6 version = "1.98.32"; ··· 27 27 ''; 28 28 29 29 postInstall = let 30 - libs = stdenv.lib.makeLibraryPath [ qt4 zlib stdenv.cc.cc libSM libICE libX11 libXext libXt libGLU libGL ]; 30 + libs = lib.makeLibraryPath [ qt4 zlib stdenv.cc.cc libSM libICE libX11 libXext libXt libGLU libGL ]; 31 31 in '' 32 32 ${patchelf}/bin/patchelf \ 33 33 --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+2 -2
pkgs/applications/science/medicine/dcmtk/default.nix
··· 1 - { stdenv, fetchFromGitHub, zlib, libtiff, libxml2, openssl, libiconv, libpng, cmake }: 1 + { lib, stdenv, fetchFromGitHub, zlib, libtiff, libxml2, openssl, libiconv, libpng, cmake }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 pname = "dcmtk"; 6 6 version = "3.6.5";
+3 -3
pkgs/applications/science/misc/boinc/default.nix
··· 1 - { fetchFromGitHub, stdenv, autoconf, automake, pkgconfig, m4, curl, 1 + { fetchFromGitHub, lib, stdenv, autoconf, automake, pkgconfig, m4, curl, 2 2 libGLU, libGL, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK30, xcbutil, 3 3 sqlite, gtk2, patchelf, libXScrnSaver, libnotify, libX11, libxcb }: 4 4 ··· 40 40 meta = { 41 41 description = "Free software for distributed and grid computing"; 42 42 homepage = "https://boinc.berkeley.edu/"; 43 - license = stdenv.lib.licenses.lgpl2Plus; 44 - platforms = stdenv.lib.platforms.linux; # arbitrary choice 43 + license = lib.licenses.lgpl2Plus; 44 + platforms = lib.platforms.linux; # arbitrary choice 45 45 }; 46 46 }
+4 -4
pkgs/applications/science/misc/cytoscape/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper, substituteAll, coreutils }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper, substituteAll, coreutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cytoscape"; ··· 36 36 meta = { 37 37 homepage = "http://www.cytoscape.org"; 38 38 description = "A general platform for complex network analysis and visualization"; 39 - license = stdenv.lib.licenses.lgpl21; 40 - maintainers = [stdenv.lib.maintainers.mimame]; 41 - platforms = stdenv.lib.platforms.unix; 39 + license = lib.licenses.lgpl21; 40 + maintainers = [lib.maintainers.mimame]; 41 + platforms = lib.platforms.unix; 42 42 }; 43 43 }
+3 -3
pkgs/applications/science/misc/fityk/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 2 2 , xylib, readline, gnuplot, swig3 }: 3 3 4 4 let ··· 21 21 22 22 meta = { 23 23 description = "Curve fitting and peak fitting software"; 24 - license = stdenv.lib.licenses.gpl2; 24 + license = lib.licenses.gpl2; 25 25 homepage = "http://fityk.nieto.pl/"; 26 - platforms = stdenv.lib.platforms.linux; 26 + platforms = lib.platforms.linux; 27 27 }; 28 28 }
+4 -4
pkgs/applications/science/misc/foldingathome/client.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , autoPatchelfHook 3 3 , buildFHSUserEnv 4 4 , dpkg ··· 9 9 , extraPkgs ? [] 10 10 }: 11 11 let 12 - majMin = stdenv.lib.versions.majorMinor version; 12 + majMin = lib.versions.majorMinor version; 13 13 version = "7.6.13"; 14 14 15 15 fahclient = stdenv.mkDerivation rec { ··· 52 52 meta = { 53 53 description = "Folding@home client"; 54 54 homepage = "https://foldingathome.org/"; 55 - license = stdenv.lib.licenses.unfree; 56 - maintainers = [ stdenv.lib.maintainers.zimbatm ]; 55 + license = lib.licenses.unfree; 56 + maintainers = [ lib.maintainers.zimbatm ]; 57 57 platforms = [ "x86_64-linux" ]; 58 58 }; 59 59 }
+4 -4
pkgs/applications/science/misc/foldingathome/control.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , autoPatchelfHook 3 3 , dpkg 4 4 , fahviewer ··· 7 7 , python2 8 8 }: 9 9 let 10 - majMin = stdenv.lib.versions.majorMinor version; 10 + majMin = lib.versions.majorMinor version; 11 11 version = "7.6.21"; 12 12 13 13 python = python2.withPackages ··· 53 53 meta = { 54 54 description = "Folding@home control"; 55 55 homepage = "https://foldingathome.org/"; 56 - license = stdenv.lib.licenses.unfree; 57 - maintainers = [ stdenv.lib.maintainers.zimbatm ]; 56 + license = lib.licenses.unfree; 57 + maintainers = [ lib.maintainers.zimbatm ]; 58 58 platforms = [ "x86_64-linux" ]; 59 59 }; 60 60 }
+4 -4
pkgs/applications/science/misc/foldingathome/viewer.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , autoPatchelfHook 3 3 , dpkg 4 4 , fetchurl ··· 10 10 , zlib 11 11 }: 12 12 let 13 - majMin = stdenv.lib.versions.majorMinor version; 13 + majMin = lib.versions.majorMinor version; 14 14 version = "7.6.21"; 15 15 in 16 16 stdenv.mkDerivation rec { ··· 48 48 meta = { 49 49 description = "Folding@home viewer"; 50 50 homepage = "https://foldingathome.org/"; 51 - license = stdenv.lib.licenses.unfree; 52 - maintainers = [ stdenv.lib.maintainers.zimbatm ]; 51 + license = lib.licenses.unfree; 52 + maintainers = [ lib.maintainers.zimbatm ]; 53 53 platforms = [ "x86_64-linux" ]; 54 54 }; 55 55 }
+4 -4
pkgs/applications/science/misc/golly/beta.nix
··· 1 - {stdenv, fetchgit 1 + {lib, stdenv, fetchgit 2 2 , wxGTK, perl, python2, zlib, libGLU, libGL, libX11 3 3 , automake, autoconf 4 4 }: ··· 43 43 meta = { 44 44 inherit version; 45 45 description = "Cellular automata simulation program"; 46 - license = stdenv.lib.licenses.gpl2; 47 - maintainers = [stdenv.lib.maintainers.raskin]; 48 - platforms = stdenv.lib.platforms.linux; 46 + license = lib.licenses.gpl2; 47 + maintainers = [lib.maintainers.raskin]; 48 + platforms = lib.platforms.linux; 49 49 downloadPage = "https://sourceforge.net/projects/golly/files/golly"; 50 50 }; 51 51 }
+4 -4
pkgs/applications/science/misc/golly/default.nix
··· 1 - {stdenv, fetchurl, wxGTK, perl, python2, zlib, libGLU, libGL, libX11}: 1 + {lib, stdenv, fetchurl, wxGTK, perl, python2, zlib, libGLU, libGL, libX11}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "golly"; 4 4 version = "3.3"; ··· 31 31 meta = { 32 32 inherit version; 33 33 description = "Cellular automata simulation program"; 34 - license = stdenv.lib.licenses.gpl2; 35 - maintainers = [stdenv.lib.maintainers.raskin]; 36 - platforms = stdenv.lib.platforms.linux; 34 + license = lib.licenses.gpl2; 35 + maintainers = [lib.maintainers.raskin]; 36 + platforms = lib.platforms.linux; 37 37 downloadPage = "https://sourceforge.net/projects/golly/files/golly"; 38 38 }; 39 39 }
+3 -3
pkgs/applications/science/misc/megam/default.nix
··· 1 - { fetchurl, stdenv, ocaml, makeWrapper, ncurses }: 1 + { fetchurl, lib, stdenv, ocaml, makeWrapper, ncurses }: 2 2 3 3 let version = "0.92"; in 4 4 stdenv.mkDerivation { ··· 11 11 }; 12 12 13 13 patches = [ ./ocaml-includes.patch ./ocaml-3.12.patch ]; 14 - 14 + 15 15 buildInputs = [ ocaml ncurses ]; 16 16 17 17 nativeBuildInputs = [ makeWrapper ]; ··· 42 42 license = "non-commercial"; 43 43 44 44 maintainers = [ ]; 45 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 45 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 46 46 }; 47 47 }
+2 -2
pkgs/applications/science/misc/openmodelica/default.nix
··· 5 5 6 6 let 7 7 8 - fakegit = import ./fakegit.nix {inherit stdenv fetchgit fetchsvn bash;} ; 8 + fakegit = import ./fakegit.nix { inherit lib stdenv fetchgit fetchsvn bash; }; 9 9 10 10 in 11 11 ··· 38 38 for e in $(cd $out/bin && ls); do 39 39 wrapProgram $out/bin/$e \ 40 40 --prefix PATH : "${gnumake}/bin" \ 41 - --prefix LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ lapack blas ]}" 41 + --prefix LIBRARY_PATH : "${lib.makeLibraryPath [ lapack blas ]}" 42 42 done 43 43 ''; 44 44
+5 -5
pkgs/applications/science/misc/openmodelica/fakegit.nix
··· 1 - {stdenv, fetchgit, fetchsvn, bash } : 1 + { lib, stdenv, fetchgit, fetchsvn, bash }: 2 2 3 3 let 4 4 mkscript = path : text : '' ··· 11 11 sed -i "s@%out@$out@g" ${path} 12 12 chmod +x ${path} 13 13 ''; 14 - 14 + 15 15 hashname = r: let 16 - rpl = stdenv.lib.replaceChars [":" "/"] ["_" "_"]; 16 + rpl = lib.replaceChars [":" "/"] ["_" "_"]; 17 17 in 18 18 (rpl r.url) + "-" + (rpl r.rev); 19 19 ··· 24 24 25 25 buildCommand = '' 26 26 mkdir -pv $out/repos 27 - ${stdenv.lib.concatMapStrings 27 + ${lib.concatMapStrings 28 28 (r : '' 29 29 cp -r ${fetchgit r} $out/repos/${hashname r} 30 30 '' ··· 55 55 chmod u+w -R $DEST 56 56 ''} 57 57 58 - ${stdenv.lib.concatMapStrings 58 + ${lib.concatMapStrings 59 59 (r : '' 60 60 cp -r ${fetchsvn r} $out/repos/${hashname r} 61 61 ''
+4 -4
pkgs/applications/science/misc/openmvg/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, cmake 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, cmake 2 2 , libjpeg ? null 3 3 , zlib ? null 4 4 , libpng ? null ··· 42 42 meta = { 43 43 description = "A library for computer-vision scientists and targeted for the Multiple View Geometry community"; 44 44 homepage = "https://openmvg.readthedocs.io/en/latest/"; 45 - license = stdenv.lib.licenses.mpl20; 46 - platforms = stdenv.lib.platforms.linux; 47 - maintainers = with stdenv.lib.maintainers; [ mdaiter ]; 45 + license = lib.licenses.mpl20; 46 + platforms = lib.platforms.linux; 47 + maintainers = with lib.maintainers; [ mdaiter ]; 48 48 }; 49 49 }
+5 -5
pkgs/applications/science/misc/root/5.nix
··· 13 13 14 14 nativeBuildInputs = [ cmake pkg-config ]; 15 15 buildInputs = [ pcre python2 zlib libxml2 lz4 lzma gsl_1 xxHash ] 16 - ++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ] 17 - ++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ] 16 + ++ lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ] 17 + ++ lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ] 18 18 ; 19 19 20 20 patches = [ ··· 30 30 31 31 preConfigure = '' 32 32 patchShebangs build/unix/ 33 - ln -s ${stdenv.lib.getDev stdenv.cc.libc}/include/AvailabilityMacros.h cint/cint/include/ 33 + ln -s ${lib.getDev stdenv.cc.libc}/include/AvailabilityMacros.h cint/cint/include/ 34 34 '' 35 35 # Fix CINTSYSDIR for "build" version of rootcint 36 36 # This is probably a bug that breaks out-of-source builds 37 37 + '' 38 38 substituteInPlace cint/cint/src/loadfile.cxx\ 39 39 --replace 'env = "cint";' 'env = "'`pwd`'/cint";' 40 - '' + stdenv.lib.optionalString noSplash '' 40 + '' + lib.optionalString noSplash '' 41 41 substituteInPlace rootx/src/rootx.cxx --replace "gNoLogo = false" "gNoLogo = true" 42 42 ''; 43 43 ··· 75 75 "-Dxml=ON" 76 76 "-Dxrootd=OFF" 77 77 ] 78 - ++ stdenv.lib.optional stdenv.isDarwin "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks"; 78 + ++ lib.optional stdenv.isDarwin "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks"; 79 79 80 80 setupHook = ./setup-hook.sh; 81 81
+3 -3
pkgs/applications/science/misc/root/default.nix
··· 29 29 --replace 'set(lcgpackages ' '#set(lcgpackages ' 30 30 31 31 patchShebangs build/unix/ 32 - '' + stdenv.lib.optionalString noSplash '' 32 + '' + lib.optionalString noSplash '' 33 33 substituteInPlace rootx/src/rootx.cxx --replace "gNoLogo = false" "gNoLogo = true" 34 34 ''; 35 35 ··· 70 70 "-Dxml=ON" 71 71 "-Dxrootd=OFF" 72 72 ] 73 - ++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.lib.getDev stdenv.cc.libc}/include" 74 - ++ stdenv.lib.optionals stdenv.isDarwin [ 73 + ++ lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${lib.getDev stdenv.cc.libc}/include" 74 + ++ lib.optionals stdenv.isDarwin [ 75 75 "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks" 76 76 "-DCMAKE_DISABLE_FIND_PACKAGE_Python2=TRUE" 77 77
+2 -2
pkgs/applications/science/misc/simgrid/default.nix
··· 1 - { stdenv, fetchFromGitLab, cmake, perl, python3, boost, valgrind 1 + { lib, stdenv, fetchFromGitLab, cmake, perl, python3, boost, valgrind 2 2 # Optional requirements 3 3 # Lua 5.3 needed and not available now 4 4 #, luaSupport ? false, lua5 ··· 10 10 , moreTests ? false 11 11 }: 12 12 13 - with stdenv.lib; 13 + with lib; 14 14 15 15 let 16 16 optionOnOff = option: if option then "on" else "off";
+3 -3
pkgs/applications/science/misc/tulip/default.nix
··· 1 - { fetchurl, stdenv, libxml2, freetype, libGLU, libGL, glew, qt4 1 + { fetchurl, lib, stdenv, libxml2, freetype, libGLU, libGL, glew, qt4 2 2 , cmake, makeWrapper, libjpeg, python }: 3 3 4 4 let version = "5.2.1"; in ··· 31 31 32 32 homepage = "http://tulip.labri.fr/"; 33 33 34 - license = stdenv.lib.licenses.gpl3Plus; 34 + license = lib.licenses.gpl3Plus; 35 35 36 36 maintainers = [ ]; 37 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 37 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 38 38 }; 39 39 }
+4 -4
pkgs/applications/science/misc/vite/default.nix
··· 1 - { fetchsvn, stdenv, cmake, qt4, libGLU, libGL }: 1 + { fetchsvn, lib, stdenv, cmake, qt4, libGLU, libGL }: 2 2 3 3 # ViTE 1.1 has several bugs, so use the SVN version. 4 4 let ··· 38 38 ''; 39 39 40 40 homepage = "http://vite.gforge.inria.fr/"; 41 - license = stdenv.lib.licenses.cecill20; 42 - maintainers = with stdenv.lib.maintainers; [ ]; 43 - platforms = stdenv.lib.platforms.linux; 41 + license = lib.licenses.cecill20; 42 + maintainers = with lib.maintainers; [ ]; 43 + platforms = lib.platforms.linux; 44 44 }; 45 45 }
+1 -1
pkgs/applications/science/molecular-dynamics/gromacs/default.nix
··· 33 33 34 34 nativeBuildInputs = [ cmake ]; 35 35 buildInputs = [ fftw perl hwloc ] 36 - ++ (stdenv.lib.optionals mpiEnabled [ openmpi ]); 36 + ++ (lib.optionals mpiEnabled [ openmpi ]); 37 37 38 38 cmakeFlags = [ 39 39 "-DGMX_SIMD:STRING=${SIMD cpuAcceleration}"
+2 -2
pkgs/applications/science/molecular-dynamics/lammps/default.nix
··· 28 28 }; 29 29 30 30 buildInputs = [ fftw libpng blas lapack gzip ] 31 - ++ (stdenv.lib.optionals withMPI [ mpi ]); 31 + ++ (lib.optionals withMPI [ mpi ]); 32 32 33 33 configurePhase = '' 34 34 cd src 35 - for pack in ${stdenv.lib.concatStringsSep " " packages}; do make "yes-$pack" SHELL=$SHELL; done 35 + for pack in ${lib.concatStringsSep " " packages}; do make "yes-$pack" SHELL=$SHELL; done 36 36 ''; 37 37 38 38 # Must do manual build due to LAMMPS requiring a seperate build for
+5 -5
pkgs/applications/science/physics/sacrifice/default.nix
··· 1 - { stdenv, fetchurl, boost, hepmc2, lhapdf, pythia, makeWrapper }: 1 + { lib, stdenv, fetchurl, boost, hepmc2, lhapdf, pythia, makeWrapper }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "sacrifice"; ··· 20 20 preConfigure = '' 21 21 substituteInPlace configure --replace HAVE_LCG=yes HAVE_LCG=no 22 22 '' 23 - + stdenv.lib.optionalString stdenv.isDarwin '' 23 + + lib.optionalString stdenv.isDarwin '' 24 24 substituteInPlace configure --replace LIB_SUFFIX=\"so\" LIB_SUFFIX=\"dylib\" 25 25 ''; 26 26 ··· 40 40 41 41 meta = { 42 42 description = "A standalone contribution to AGILe for steering Pythia 8"; 43 - license = stdenv.lib.licenses.gpl2; 43 + license = lib.licenses.gpl2; 44 44 homepage = "https://agile.hepforge.org/trac/wiki/Sacrifice"; 45 - platforms = stdenv.lib.platforms.unix; 46 - maintainers = with stdenv.lib.maintainers; [ veprbl ]; 45 + platforms = lib.platforms.unix; 46 + maintainers = with lib.maintainers; [ veprbl ]; 47 47 }; 48 48 }
+2 -2
pkgs/applications/science/physics/xfitter/default.nix
··· 24 24 # 25 25 # gfortran: error: unrecognized command line option '-stdlib=libc++' 26 26 # 27 - stdenv.lib.optionalString stdenv.isDarwin '' 27 + lib.optionalString stdenv.isDarwin '' 28 28 substituteInPlace src/Makefile.in \ 29 29 --replace "F77LD = \$(F77)" "F77LD = \$(CXXLD)" \ 30 30 ''; ··· 41 41 buildInputs = 42 42 [ apfel apfelgrid applgrid blas lhapdf lapack mela root5 qcdnum libtirpc ] 43 43 # pdf2yaml requires fmemopen and open_memstream which are not readily available on Darwin 44 - ++ stdenv.lib.optional (!stdenv.isDarwin) libyaml 44 + ++ lib.optional (!stdenv.isDarwin) libyaml 45 45 ; 46 46 propagatedBuildInputs = [ lynx ]; 47 47
+1 -1
pkgs/applications/science/programming/fdr/default.nix
··· 6 6 sha256 = "0n2yqichym5xdawlgk3r7yha88k7ycnx6585jfrcm7043sls1i88"; 7 7 }; 8 8 9 - libPath = stdenv.lib.makeLibraryPath [ 9 + libPath = lib.makeLibraryPath [ 10 10 stdenv.cc.cc 11 11 python27Packages.python 12 12 qtbase
+1 -1
pkgs/applications/science/programming/plm/default.nix
··· 30 30 description = "Free cross-platform programming exerciser"; 31 31 license = licenses.gpl3; 32 32 maintainers = [ ]; 33 - platforms = stdenv.lib.platforms.all; 33 + platforms = lib.platforms.all; 34 34 broken = true; 35 35 }; 36 36 }
+4 -4
pkgs/applications/science/robotics/yarp/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, ace 1 + { lib, stdenv, fetchFromGitHub, cmake, ace 2 2 }: 3 3 4 4 stdenv.mkDerivation rec { ··· 28 28 meta = { 29 29 description = "Yet Another Robot Platform"; 30 30 homepage = "http://yarp.it"; 31 - license = stdenv.lib.licenses.lgpl21; 32 - platforms = stdenv.lib.platforms.linux; 33 - maintainers = [ stdenv.lib.maintainers.nico202 ]; 31 + license = lib.licenses.lgpl21; 32 + platforms = lib.platforms.linux; 33 + maintainers = [ lib.maintainers.nico202 ]; 34 34 }; 35 35 } 36 36
+4 -4
pkgs/applications/search/doodle/default.nix
··· 1 - { stdenv, fetchurl, libextractor, gettext }: 1 + { lib, stdenv, fetchurl, libextractor, gettext }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "doodle-0.7.1"; ··· 13 13 meta = { 14 14 homepage = "https://grothoff.org/christian/doodle/"; 15 15 description = "Tool to quickly index and search documents on a computer"; 16 - license = stdenv.lib.licenses.gpl2Plus; 17 - maintainers = with stdenv.lib.maintainers; [viric]; 18 - platforms = with stdenv.lib.platforms; linux; 16 + license = lib.licenses.gpl2Plus; 17 + maintainers = with lib.maintainers; [viric]; 18 + platforms = with lib.platforms; linux; 19 19 }; 20 20 }
+1 -1
pkgs/applications/search/recoll/default.nix
··· 85 85 substituteInPlace $f --replace /usr/bin/perl ${lib.getBin perl}/bin/perl 86 86 fi 87 87 done 88 - '' + stdenv.lib.optionalString stdenv.isLinux '' 88 + '' + lib.optionalString stdenv.isLinux '' 89 89 substituteInPlace $f --replace '"lyx"' '"${lib.getBin lyx}/bin/lyx"' 90 90 ''; 91 91
+5 -5
pkgs/applications/terminal-emulators/cool-retro-term/default.nix
··· 1 - { stdenv, fetchFromGitHub, mkDerivation, qtbase, qtquick1, qmltermwidget 1 + { lib, stdenv, fetchFromGitHub, mkDerivation, qtbase, qtquick1, qmltermwidget 2 2 , qtquickcontrols, qtgraphicaleffects, qmake }: 3 3 4 4 mkDerivation rec { ··· 25 25 mv $out/usr/share $out/share 26 26 mv $out/usr/bin $out/bin 27 27 rmdir $out/usr 28 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 28 + '' + lib.optionalString stdenv.isDarwin '' 29 29 ln -s $out/bin/cool-retro-term.app/Contents/MacOS/cool-retro-term $out/bin/cool-retro-term 30 30 ''; 31 31 ··· 39 39 eye-candy, customizable, and reasonably lightweight. 40 40 ''; 41 41 homepage = "https://github.com/Swordfish90/cool-retro-term"; 42 - license = stdenv.lib.licenses.gpl3Plus; 43 - platforms = with stdenv.lib.platforms; linux ++ darwin; 44 - maintainers = with stdenv.lib.maintainers; [ skeidel ]; 42 + license = lib.licenses.gpl3Plus; 43 + platforms = with lib.platforms; linux ++ darwin; 44 + maintainers = with lib.maintainers; [ skeidel ]; 45 45 }; 46 46 }
+1 -1
pkgs/applications/terminal-emulators/germinal/default.nix
··· 40 40 fixupPhase = '' 41 41 runHook preFixup 42 42 wrapProgram $out/bin/germinal \ 43 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ tmux ]}" \ 43 + --prefix PATH ":" "${lib.makeBinPath [ tmux ]}" \ 44 44 "''${gappsWrapperArgs[@]}" 45 45 runHook postFixup 46 46 '';
+1 -1
pkgs/applications/terminal-emulators/guake/default.nix
··· 63 63 ]; 64 64 65 65 preFixup = '' 66 - gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libutempter ]}") 66 + gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libutempter ]}") 67 67 ''; 68 68 69 69 meta = with lib; {
+1 -1
pkgs/applications/terminal-emulators/hyper/default.nix
··· 4 4 , libxcb, nss, nspr, alsaLib, cups, expat, udev, libpulseaudio }: 5 5 6 6 let 7 - libPath = stdenv.lib.makeLibraryPath [ 7 + libPath = lib.makeLibraryPath [ 8 8 stdenv.cc.cc gtk2 gnome2.GConf atk glib pango gdk-pixbuf cairo freetype fontconfig dbus 9 9 libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libxcb 10 10 libXrender libX11 libXtst libXScrnSaver nss nspr alsaLib cups expat udev libpulseaudio
+7 -7
pkgs/applications/terminal-emulators/kitty/default.nix
··· 35 35 harfbuzz 36 36 ncurses 37 37 lcms2 38 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 38 + ] ++ lib.optionals stdenv.isDarwin [ 39 39 Cocoa 40 40 CoreGraphics 41 41 Foundation ··· 45 45 libpng 46 46 python3 47 47 zlib 48 - ] ++ stdenv.lib.optionals stdenv.isLinux [ 48 + ] ++ lib.optionals stdenv.isLinux [ 49 49 fontconfig libunistring libcanberra libX11 50 50 libXrandr libXinerama libXcursor libxkbcommon libXi libXext 51 51 wayland-protocols wayland dbus ··· 54 54 nativeBuildInputs = [ 55 55 pkgconfig sphinx ncurses 56 56 installShellFiles 57 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 57 + ] ++ lib.optionals stdenv.isDarwin [ 58 58 imagemagick 59 59 libicns # For the png2icns tool. 60 60 ]; 61 61 62 - propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux libGL; 62 + propagatedBuildInputs = lib.optional stdenv.isLinux libGL; 63 63 64 64 outputs = [ "out" "terminfo" ]; 65 65 ··· 68 68 ]; 69 69 70 70 # Causes build failure due to warning 71 - hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "strictoverflow"; 71 + hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; 72 72 73 73 dontConfigure = true; 74 74 ··· 80 80 '' else '' 81 81 ${python.interpreter} setup.py linux-package \ 82 82 --update-check-interval=0 \ 83 - --egl-library='${stdenv.lib.getLib libGL}/lib/libEGL.so.1' \ 83 + --egl-library='${lib.getLib libGL}/lib/libEGL.so.1' \ 84 84 --startup-notification-library='${libstartup_notification}/lib/libstartup-notification-1.so' \ 85 85 --canberra-library='${libcanberra}/lib/libcanberra.so' 86 86 ''; ··· 110 110 '' else '' 111 111 cp -r linux-package/{bin,share,lib} $out 112 112 ''} 113 - wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${stdenv.lib.makeBinPath [ imagemagick xsel ncurses.dev ]}" 113 + wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${lib.makeBinPath [ imagemagick xsel ncurses.dev ]}" 114 114 runHook postInstall 115 115 116 116 installShellCompletion --cmd kitty \
+1 -1
pkgs/applications/terminal-emulators/lilyterm/default.nix
··· 29 29 }; 30 30 31 31 in 32 - with stdenv.lib; 32 + with lib; 33 33 stdenv.mkDerivation rec { 34 34 inherit pname; 35 35
+4 -4
pkgs/applications/terminal-emulators/lxterminal/default.nix
··· 1 - { stdenv, fetchurl, automake, autoconf, intltool, pkgconfig, gtk3, vte, wrapGAppsHook 1 + { lib, stdenv, fetchurl, automake, autoconf, intltool, pkgconfig, gtk3, vte, wrapGAppsHook 2 2 , libxslt, docbook_xml_dtd_412, docbook_xsl, libxml2, findXMLCatalogs 3 3 }: 4 4 ··· 43 43 unnecessary dependencies. 44 44 ''; 45 45 homepage = "https://wiki.lxde.org/en/LXTerminal"; 46 - license = stdenv.lib.licenses.gpl2; 47 - maintainers = [ stdenv.lib.maintainers.velovix ]; 48 - platforms = stdenv.lib.platforms.linux; 46 + license = lib.licenses.gpl2; 47 + maintainers = [ lib.maintainers.velovix ]; 48 + platforms = lib.platforms.linux; 49 49 }; 50 50 }
+3 -3
pkgs/applications/terminal-emulators/rxvt-unicode/default.nix
··· 1 - { stdenv, fetchurl, makeDesktopItem 1 + { lib, stdenv, fetchurl, makeDesktopItem 2 2 , libX11, libXt, libXft, libXrender 3 3 , ncurses, fontconfig, freetype 4 4 , pkgconfig, gdk-pixbuf, perl ··· 23 23 }; 24 24 in 25 25 26 - with stdenv.lib; 26 + with lib; 27 27 28 28 stdenv.mkDerivation { 29 29 name = "${pname}-unwrapped-${version}"; ··· 64 64 mkdir -p $terminfo/share/terminfo 65 65 export TERMINFO=$terminfo/share/terminfo 66 66 '' 67 - + stdenv.lib.optionalString perlSupport '' 67 + + lib.optionalString perlSupport '' 68 68 # make urxvt find its perl file lib/perl5/site_perl 69 69 # is added to PERL5LIB automatically 70 70 mkdir -p $out/$(dirname ${perl.libPrefix})
+2 -2
pkgs/applications/terminal-emulators/st/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, writeText, libX11, ncurses 1 + { lib, stdenv, fetchurl, pkgconfig, writeText, libX11, ncurses 2 2 , libXft, conf ? null, patches ? [], extraLibs ? []}: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "st";
+2 -2
pkgs/applications/terminal-emulators/st/xst.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, libX11, ncurses, libXext, libXft, fontconfig }: 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, libX11, ncurses, libXext, libXft, fontconfig }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 let 6 6 version = "0.7.2";
+1 -1
pkgs/applications/terminal-emulators/terminus/default.nix
··· 5 5 , nss, nspr, alsaLib, cups, expat, systemd, libpulseaudio }: 6 6 7 7 let 8 - libPath = stdenv.lib.makeLibraryPath [ 8 + libPath = lib.makeLibraryPath [ 9 9 stdenv.cc.cc gtk2 atk glib pango gdk-pixbuf cairo freetype fontconfig dbus 10 10 libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libxcb 11 11 libXrender libX11 libXtst libXScrnSaver gnome2.GConf nss nspr alsaLib cups expat systemd libpulseaudio
+1 -1
pkgs/applications/terminal-emulators/termite/default.nix
··· 47 47 url = "https://github.com/thestinger/termite/commit/7e9a93b421b9596f8980645a46ac2ad5468dac06.patch"; 48 48 sha256 = "0vph2m5919f7w1xnc8i6z0j44clsm1chxkfg7l71nahxyfw5yh4j"; 49 49 }) 50 - ] ++ stdenv.lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch; 50 + ] ++ lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch; 51 51 52 52 makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ]; 53 53
+4 -4
pkgs/applications/terminal-emulators/wezterm/default.nix
··· 34 34 zlib 35 35 fontconfig 36 36 freetype 37 - ] ++ stdenv.lib.optionals (stdenv.isLinux) [ 37 + ] ++ lib.optionals (stdenv.isLinux) [ 38 38 libX11 39 39 xcbutil 40 40 libxcb ··· 47 47 wayland 48 48 libGLU 49 49 libGL 50 - ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ 50 + ] ++ lib.optionals (stdenv.isDarwin) [ 51 51 Foundation 52 52 CoreGraphics 53 53 Cocoa ··· 78 78 buildInputs = runtimeDeps; 79 79 80 80 installPhase = '' 81 - '' + stdenv.lib.optionalString stdenv.isLinux '' 81 + '' + lib.optionalString stdenv.isLinux '' 82 82 for artifact in wezterm wezterm-gui wezterm-mux-server strip-ansi-escapes; do 83 83 patchelf --set-rpath "${lib.makeLibraryPath runtimeDeps}" $releaseDir/$artifact 84 84 install -D $releaseDir/$artifact -t $out/bin 85 85 done 86 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 86 + '' + lib.optionalString stdenv.isDarwin '' 87 87 mkdir -p "$out/Applications" 88 88 OUT_APP="$out/Applications/WezTerm.app" 89 89 cp -r assets/macos/WezTerm.app "$OUT_APP"
+9 -9
pkgs/applications/terminal-emulators/xterm/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, xorg, ncurses, freetype, fontconfig, pkgconfig 1 + { lib, stdenv, fetchurl, fetchpatch, xorg, ncurses, freetype, fontconfig, pkgconfig 2 2 , makeWrapper, nixosTests, writeScript, common-updater-scripts, git, nixfmt, nix 3 3 , gnused, coreutils, enableDecLocator ? true }: 4 4 ··· 32 32 ]; 33 33 34 34 patches = [ ./sixel-256.support.patch ] 35 - ++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch { 35 + ++ lib.optional stdenv.hostPlatform.isMusl (fetchpatch { 36 36 name = "posix-ptys.patch"; 37 37 url = 38 38 "https://git.alpinelinux.org/aports/plain/community/xterm/posix-ptys.patch?id=3aa532e77875fa1db18c7fcb938b16647031bcc1"; ··· 51 51 "--enable-mini-luit" 52 52 "--with-tty-group=tty" 53 53 "--with-app-defaults=$(out)/lib/X11/app-defaults" 54 - ] ++ stdenv.lib.optional enableDecLocator "--enable-dec-locator"; 54 + ] ++ lib.optional enableDecLocator "--enable-dec-locator"; 55 55 56 56 # Work around broken "plink.sh". 57 57 NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig"; ··· 79 79 80 80 updateScript = let 81 81 # Tags that end in letters are unstable 82 - suffixes = stdenv.lib.concatStringsSep " " 82 + suffixes = lib.concatStringsSep " " 83 83 (map (c: "-c versionsort.suffix='${c}'") 84 - (stdenv.lib.stringToCharacters "abcdefghijklmnopqrstuvwxyz")); 84 + (lib.stringToCharacters "abcdefghijklmnopqrstuvwxyz")); 85 85 in writeScript "update.sh" '' 86 86 #!${stdenv.shell} 87 87 set -o errexit 88 88 PATH=${ 89 - stdenv.lib.makeBinPath [ 89 + lib.makeBinPath [ 90 90 common-updater-scripts 91 91 git 92 92 nixfmt ··· 112 112 113 113 meta = { 114 114 homepage = "https://invisible-island.net/xterm"; 115 - license = with stdenv.lib.licenses; [ mit ]; 116 - maintainers = with stdenv.lib.maintainers; [ nequissimus vrthra ]; 117 - platforms = with stdenv.lib.platforms; linux ++ darwin; 115 + license = with lib.licenses; [ mit ]; 116 + maintainers = with lib.maintainers; [ nequissimus vrthra ]; 117 + platforms = with lib.platforms; linux ++ darwin; 118 118 }; 119 119 }
+4 -4
pkgs/applications/terminal-emulators/xtermcontrol/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.7"; ··· 18 18 To complete the feature set; xtermcontrol lets advanced users issue any xterm control sequence of their choosing. 19 19 ''; 20 20 homepage = "http://thrysoee.dk/xtermcontrol"; 21 - license = stdenv.lib.licenses.gpl2; 22 - platforms = stdenv.lib.platforms.unix; 23 - maintainers = [ stdenv.lib.maintainers.derchris ]; 21 + license = lib.licenses.gpl2; 22 + platforms = lib.platforms.unix; 23 + maintainers = [ lib.maintainers.derchris ]; 24 24 }; 25 25 }
+4 -4
pkgs/applications/terminal-emulators/yaft/default.nix
··· 1 - { stdenv, fetchFromGitHub, ncurses }: 1 + { lib, stdenv, fetchFromGitHub, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.2.9"; ··· 18 18 meta = { 19 19 homepage = "https://github.com/uobikiemukot/yaft"; 20 20 description = "Yet another framebuffer terminal"; 21 - license = stdenv.lib.licenses.mit; 22 - maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; 23 - platforms = with stdenv.lib.platforms; linux; 21 + license = lib.licenses.mit; 22 + maintainers = [ lib.maintainers.matthiasbeyer ]; 23 + platforms = with lib.platforms; linux; 24 24 }; 25 25 }
+4 -4
pkgs/applications/version-management/bitkeeper/default.nix
··· 1 - { stdenv, fetchurl, perl, gperf, bison, groff 1 + { lib, stdenv, fetchurl, perl, gperf, bison, groff 2 2 , pkgconfig, libXft, pcre 3 3 , libtomcrypt, libtommath, lz4 }: 4 4 ··· 48 48 scales up to very large projects and down to tiny ones. 49 49 ''; 50 50 homepage = "https://www.bitkeeper.org/"; 51 - license = stdenv.lib.licenses.asl20; 52 - platforms = stdenv.lib.platforms.linux; 53 - maintainers = with stdenv.lib.maintainers; [ wscott thoughtpolice ]; 51 + license = lib.licenses.asl20; 52 + platforms = lib.platforms.linux; 53 + maintainers = with lib.maintainers; [ wscott thoughtpolice ]; 54 54 broken = true; # seems to fail on recent glibc versions 55 55 }; 56 56 }
+2 -2
pkgs/applications/version-management/commitizen/node-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 }; ··· 14 14 import ./node-packages.nix { 15 15 inherit (pkgs) fetchurl fetchgit; 16 16 inherit nodeEnv; 17 - } 17 + }
+23 -23
pkgs/applications/version-management/commitizen/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 nodejs; ··· 470 470 name = "node-dependencies-${name}-${version}"; 471 471 472 472 buildInputs = [ tarWrapper python nodejs ] 473 - ++ stdenv.lib.optional (stdenv.isLinux) util-linux 474 - ++ stdenv.lib.optional (stdenv.isDarwin) libtool 473 + ++ lib.optional (stdenv.isLinux) util-linux 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) util-linux ++ buildInputs; 519 + buildInputs = [ python nodejs ] ++ lib.optional (stdenv.isLinux) util-linux ++ 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 }
+3 -3
pkgs/applications/version-management/cvsps/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, cvs, zlib }: 1 + { lib, stdenv, fetchurl, fetchpatch, cvs, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cvsps"; ··· 55 55 same time (using a single "cvs commit" command). 56 56 ''; 57 57 homepage = "http://www.cobite.com/cvsps/"; 58 - license = stdenv.lib.licenses.gpl2; 59 - platforms = stdenv.lib.platforms.unix; 58 + license = lib.licenses.gpl2; 59 + platforms = lib.platforms.unix; 60 60 }; 61 61 }
+9 -9
pkgs/applications/version-management/cvsq/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , makeWrapper 4 4 , cvs ··· 28 28 postInstall = '' 29 29 substituteInPlace $out/bin/cvsq --replace "/bin/sh" "${stdenv.shell}" 30 30 substituteInPlace $out/bin/lcvs --replace "/bin/sh" "${stdenv.shell}" 31 - wrapProgram $out/bin/cvsq --prefix PATH : ${stdenv.lib.makeBinPath 31 + wrapProgram $out/bin/cvsq --prefix PATH : ${lib.makeBinPath 32 32 [ cvs nettools findutils rsync coreutils diffutils ]} 33 - wrapProgram $out/bin/cvsq-branch --prefix PATH : ${stdenv.lib.makeBinPath 33 + wrapProgram $out/bin/cvsq-branch --prefix PATH : ${lib.makeBinPath 34 34 [ cvs nettools findutils rsync coreutils diffutils ]} 35 - wrapProgram $out/bin/cvsq-merge --prefix PATH : ${stdenv.lib.makeBinPath 35 + wrapProgram $out/bin/cvsq-merge --prefix PATH : ${lib.makeBinPath 36 36 [ cvs nettools findutils rsync coreutils diffutils ]} 37 - wrapProgram $out/bin/cvsq-switch --prefix PATH : ${stdenv.lib.makeBinPath 37 + wrapProgram $out/bin/cvsq-switch --prefix PATH : ${lib.makeBinPath 38 38 [ cvs nettools findutils rsync coreutils diffutils ]} 39 - wrapProgram $out/bin/lcvs --prefix PATH : ${stdenv.lib.makeBinPath 39 + wrapProgram $out/bin/lcvs --prefix PATH : ${lib.makeBinPath 40 40 [ cvs nettools findutils rsync coreutils diffutils ]} 41 41 ''; 42 42 ··· 60 60 be used for commits (that's what cvsq is for). 61 61 ''; 62 62 homepage = "https://www.linta.de/~aehlig/cvsq/"; 63 - license = stdenv.lib.licenses.bsd3; 64 - maintainers = with stdenv.lib.maintainers; [ clkamp ]; 65 - platforms = stdenv.lib.platforms.all; 63 + license = lib.licenses.bsd3; 64 + maintainers = with lib.maintainers; [ clkamp ]; 65 + platforms = lib.platforms.all; 66 66 }; 67 67 }
+2 -2
pkgs/applications/version-management/fossil/default.nix
··· 29 29 nativeBuildInputs = [ installShellFiles tcl ]; 30 30 31 31 buildInputs = [ zlib openssl readline sqlite which ed ] 32 - ++ stdenv.lib.optional stdenv.isDarwin libiconv; 32 + ++ lib.optional stdenv.isDarwin libiconv; 33 33 34 34 doCheck = stdenv.hostPlatform == stdenv.buildPlatform; 35 35 36 36 configureFlags = [ "--disable-internal-sqlite" ] 37 - ++ stdenv.lib.optional withJson "--json"; 37 + ++ lib.optional withJson "--json"; 38 38 39 39 preCheck = '' 40 40 export TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}"
+5 -5
pkgs/applications/version-management/git-and-tools/cgit/default.nix
··· 1 - { stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt 1 + { lib, stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt 2 2 , docbook_xsl, pkgconfig, luajit 3 3 , coreutils, gnused, groff, docutils 4 4 , gzip, bzip2, lzip, xz, zstd ··· 65 65 wrapPythonProgramsIn "$out/lib/cgit/filters" "$out $pythonPath" 66 66 67 67 for script in $out/lib/cgit/filters/*.sh $out/lib/cgit/filters/html-converters/txt2html; do 68 - wrapProgram $script --prefix PATH : '${stdenv.lib.makeBinPath [ coreutils gnused ]}' 68 + wrapProgram $script --prefix PATH : '${lib.makeBinPath [ coreutils gnused ]}' 69 69 done 70 70 ''; 71 71 ··· 75 75 homepage = "https://git.zx2c4.com/cgit/about/"; 76 76 repositories.git = "git://git.zx2c4.com/cgit"; 77 77 description = "Web frontend for git repositories"; 78 - license = stdenv.lib.licenses.gpl2; 79 - platforms = stdenv.lib.platforms.linux; 80 - maintainers = with stdenv.lib.maintainers; [ bjornfor ]; 78 + license = lib.licenses.gpl2; 79 + platforms = lib.platforms.linux; 80 + maintainers = with lib.maintainers; [ bjornfor ]; 81 81 }; 82 82 }
+3 -3
pkgs/applications/version-management/git-and-tools/darcs-to-git/default.nix
··· 1 - { stdenv, fetchgit, ruby, gnugrep, diffutils, git, darcs }: 1 + { lib, stdenv, fetchgit, ruby, gnugrep, diffutils, git, darcs }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "darcs-to-git"; ··· 74 74 meta = { 75 75 description = "Converts a Darcs repository into a Git repository"; 76 76 homepage = "http://www.sanityinc.com/articles/converting-darcs-repositories-to-git"; 77 - license = stdenv.lib.licenses.mit; 78 - platforms = stdenv.lib.platforms.unix; 77 + license = lib.licenses.mit; 78 + platforms = lib.platforms.unix; 79 79 }; 80 80 }
+3 -3
pkgs/applications/version-management/git-and-tools/ghq/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "ghq"; ··· 28 28 meta = { 29 29 description = "Remote repository management made easy"; 30 30 homepage = "https://github.com/x-motemen/ghq"; 31 - maintainers = with stdenv.lib.maintainers; [ sigma ]; 32 - license = stdenv.lib.licenses.mit; 31 + maintainers = with lib.maintainers; [ sigma ]; 32 + license = lib.licenses.mit; 33 33 }; 34 34 }
+1 -1
pkgs/applications/version-management/git-and-tools/git-absorb/default.nix
··· 13 13 14 14 nativeBuildInputs = [ installShellFiles ]; 15 15 16 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]; 16 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 17 17 18 18 cargoSha256 = "0h0vlz4qd8i9bf1mgjr618zbdwfp6bmy7ql9a1xzjmfdpkl3cgk9"; 19 19
+2 -2
pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix
··· 1 - { stdenv, buildGoPackage, fetchgit }: 1 + { lib, stdenv, buildGoPackage, fetchgit }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "git-annex-remote-b2"; 5 - version = "20151212-${stdenv.lib.strings.substring 0 7 rev}"; 5 + version = "20151212-${lib.strings.substring 0 7 rev}"; 6 6 rev = "4db46b9fc9ef7b3f4851c2a6b061cb8f90f553ba"; 7 7 8 8 goPackagePath = "github.com/encryptio/git-annex-remote-b2";
+1 -1
pkgs/applications/version-management/git-and-tools/git-annex-remote-rclone/default.nix
··· 20 20 mkdir -p $out/bin 21 21 cp git-annex-remote-rclone $out/bin 22 22 wrapProgram "$out/bin/git-annex-remote-rclone" \ 23 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ rclone ]}" 23 + --prefix PATH ":" "${lib.makeBinPath [ rclone ]}" 24 24 ''; 25 25 26 26 meta = with lib; {
+4 -4
pkgs/applications/version-management/git-and-tools/git-annex-utils/default.nix
··· 1 - { stdenv, fetchgit, autoconf, automake, libtool, gmp }: 1 + { lib, stdenv, fetchgit, autoconf, automake, libtool, gmp }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "git-annex-utils"; ··· 18 18 Currently there is only one utility gadu, a du like utility for annexed files. 19 19 ''; 20 20 homepage = "http://git-annex.mysteryvortex.com/git-annex-utils.html"; 21 - license = stdenv.lib.licenses.gpl3; 22 - maintainers = with stdenv.lib.maintainers; [ woffs ]; 23 - platforms = stdenv.lib.platforms.all; 21 + license = lib.licenses.gpl3; 22 + maintainers = with lib.maintainers; [ woffs ]; 23 + platforms = lib.platforms.all; 24 24 }; 25 25 }
+3 -3
pkgs/applications/version-management/git-and-tools/git-appraise/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "git-appraise-unstable"; ··· 17 17 meta = { 18 18 description = "Distributed code review system for Git repos"; 19 19 homepage = "https://github.com/google/git-appraise"; 20 - license = stdenv.lib.licenses.asl20; 21 - maintainers = [ stdenv.lib.maintainers.vdemeester ]; 20 + license = lib.licenses.asl20; 21 + maintainers = [ lib.maintainers.vdemeester ]; 22 22 }; 23 23 }
+5 -5
pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
··· 1 - { fetchFromGitHub, python2Packages, stdenv, git, graphviz }: 1 + { fetchFromGitHub, python2Packages, lib, stdenv, git, graphviz }: 2 2 3 3 python2Packages.buildPythonApplication rec { 4 4 pname = "git-big-picture"; ··· 17 17 18 18 postFixup = '' 19 19 wrapProgram $out/bin/git-big-picture \ 20 - --prefix PATH ":" ${ stdenv.lib.makeBinPath buildInputs } 20 + --prefix PATH ":" ${ lib.makeBinPath buildInputs } 21 21 ''; 22 22 23 23 meta = { 24 24 description = "Tool for visualization of Git repositories"; 25 25 homepage = "https://github.com/esc/git-big-picture"; 26 - license = stdenv.lib.licenses.gpl3; 27 - platforms = stdenv.lib.platforms.linux; 28 - maintainers = [ stdenv.lib.maintainers.nthorne ]; 26 + license = lib.licenses.gpl3; 27 + platforms = lib.platforms.linux; 28 + maintainers = [ lib.maintainers.nthorne ]; 29 29 }; 30 30 }
+1 -1
pkgs/applications/version-management/git-and-tools/git-dit/default.nix
··· 38 38 openssl_1_0_2 39 39 libssh 40 40 zlib 41 - ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ 41 + ] ++ lib.optionals (stdenv.isDarwin) [ 42 42 curl 43 43 libiconv 44 44 CoreFoundation
+2 -2
pkgs/applications/version-management/git-and-tools/git-gone/default.nix
··· 16 16 nativeBuildInputs = [ pkgconfig makeWrapper installShellFiles ]; 17 17 18 18 buildInputs = [ openssl ] 19 - ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]; 19 + ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 20 20 21 21 postInstall = '' 22 22 installManPage git-gone.1 23 23 ''; 24 24 25 25 postFixup = '' 26 - wrapProgram $out/bin/git-gone --prefix PATH : "${stdenv.lib.makeBinPath [ git ]}" 26 + wrapProgram $out/bin/git-gone --prefix PATH : "${lib.makeBinPath [ git ]}" 27 27 ''; 28 28 29 29 meta = with lib; {
+1 -1
pkgs/applications/version-management/git-and-tools/git-ignore/default.nix
··· 17 17 18 18 nativeBuildInputs = [ pkgconfig installShellFiles ]; 19 19 buildInputs = [ openssl ] 20 - ++ stdenv.lib.optionals stdenv.isDarwin [ 20 + ++ lib.optionals stdenv.isDarwin [ 21 21 darwin.apple_sdk.frameworks.Security 22 22 ]; 23 23
+1 -1
pkgs/applications/version-management/git-and-tools/git-interactive-rebase-tool/default.nix
··· 13 13 14 14 cargoSha256 = "0jc6mhszxmwsdjk73wkfi0jjp9vkzzl9kk0dbnry6w7dyr5if8cc"; 15 15 16 - buildInputs = [ ncurses5 ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]; 16 + buildInputs = [ ncurses5 ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 17 17 18 18 cargoParallelTestThreads = false; 19 19
+2 -2
pkgs/applications/version-management/git-and-tools/git-octopus/default.nix
··· 1 - { stdenv, fetchFromGitHub, git, perl, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, git, perl, makeWrapper }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "git-octopus";
+1 -1
pkgs/applications/version-management/git-and-tools/git-open/default.nix
··· 19 19 mkdir -p $out/bin 20 20 cp git-open $out/bin 21 21 wrapProgram $out/bin/git-open \ 22 - --prefix PATH : "${stdenv.lib.makeBinPath [ git xdg_utils gnugrep ]}" 22 + --prefix PATH : "${lib.makeBinPath [ git xdg_utils gnugrep ]}" 23 23 ''; 24 24 25 25 meta = with lib; {
+1 -1
pkgs/applications/version-management/git-and-tools/git-recent/default.nix
··· 22 22 mkdir -p $out/bin 23 23 cp git-recent $out/bin 24 24 wrapProgram $out/bin/git-recent \ 25 - --prefix PATH : "${stdenv.lib.makeBinPath [ git less util-linux ]}" 25 + --prefix PATH : "${lib.makeBinPath [ git less util-linux ]}" 26 26 ''; 27 27 28 28 meta = with lib; {
+1 -1
pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix
··· 22 22 installPhase = '' 23 23 prefix="$out" ./install.sh 24 24 wrapProgram "$out/bin/git-remote-gcrypt" \ 25 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg curl rsync coreutils 25 + --prefix PATH ":" "${lib.makeBinPath [ gnupg curl rsync coreutils 26 26 gawk gnused gnugrep ]}" 27 27 ''; 28 28
+1 -1
pkgs/applications/version-management/git-and-tools/git-reparent/default.nix
··· 20 20 ''; 21 21 22 22 postFixup = '' 23 - wrapProgram $out/bin/git-reparent --prefix PATH : "${stdenv.lib.makeBinPath [ git gnused ]}" 23 + wrapProgram $out/bin/git-reparent --prefix PATH : "${lib.makeBinPath [ git gnused ]}" 24 24 ''; 25 25 26 26 meta = with lib; {
+3 -3
pkgs/applications/version-management/git-and-tools/git-secret/default.nix
··· 29 29 meta = { 30 30 description = "A bash-tool to store your private data inside a git repository"; 31 31 homepage = "https://git-secret.io"; 32 - license = stdenv.lib.licenses.mit; 33 - maintainers = [ stdenv.lib.maintainers.lo1tuma ]; 34 - platforms = stdenv.lib.platforms.all; 32 + license = lib.licenses.mit; 33 + maintainers = [ lib.maintainers.lo1tuma ]; 34 + platforms = lib.platforms.all; 35 35 }; 36 36 }
+1 -1
pkgs/applications/version-management/git-and-tools/git-secrets/default.nix
··· 20 20 install -m444 -Dt $out/share/man/man1 git-secrets.1 21 21 22 22 wrapProgram $out/bin/git-secrets \ 23 - --prefix PATH : "${stdenv.lib.makeBinPath [ git coreutils ]}" 23 + --prefix PATH : "${lib.makeBinPath [ git coreutils ]}" 24 24 ''; 25 25 26 26 meta = with lib; {
+1 -1
pkgs/applications/version-management/git-and-tools/git-standup/default.nix
··· 19 19 install -Dm755 -t $out/bin git-standup 20 20 21 21 wrapProgram $out/bin/git-standup \ 22 - --prefix PATH : "${stdenv.lib.makeBinPath [ git ]}" 22 + --prefix PATH : "${lib.makeBinPath [ git ]}" 23 23 ''; 24 24 25 25 meta = with lib; {
+1 -1
pkgs/applications/version-management/git-and-tools/git-subset/default.nix
··· 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 18 - buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ curl libiconv Security ]; 18 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl libiconv Security ]; 19 19 20 20 meta = with lib; { 21 21 description = "Super fast Git tree filtering";
+5 -5
pkgs/applications/version-management/git-and-tools/git-sync/default.nix
··· 1 - { stdenv, fetchFromGitHub, coreutils, gnugrep, gnused, makeWrapper, git 1 + { lib, stdenv, fetchFromGitHub, coreutils, gnugrep, gnused, makeWrapper, git 2 2 }: 3 3 4 4 stdenv.mkDerivation rec { ··· 21 21 cp -a git-sync $out/bin/git-sync 22 22 ''; 23 23 24 - wrapperPath = with stdenv.lib; makeBinPath [ 24 + wrapperPath = with lib; makeBinPath [ 25 25 coreutils 26 26 git 27 27 gnugrep ··· 38 38 meta = { 39 39 description = "A script to automatically synchronize a git repository"; 40 40 homepage = "https://github.com/simonthum/git-sync"; 41 - maintainers = with stdenv.lib.maintainers; [ imalison ]; 42 - license = stdenv.lib.licenses.cc0; 43 - platforms = with stdenv.lib.platforms; unix; 41 + maintainers = with lib.maintainers; [ imalison ]; 42 + license = lib.licenses.cc0; 43 + platforms = with lib.platforms; unix; 44 44 }; 45 45 }
+1 -1
pkgs/applications/version-management/git-and-tools/git-test/default.nix
··· 20 20 install -m444 -Dt $out/share/man/man1 git-test.1 21 21 22 22 wrapProgram $out/bin/git-test \ 23 - --prefix PATH : "${stdenv.lib.makeBinPath [ git ]}" 23 + --prefix PATH : "${lib.makeBinPath [ git ]}" 24 24 ''; 25 25 26 26 meta = with lib; {
+1 -1
pkgs/applications/version-management/git-and-tools/git-trim/default.nix
··· 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 18 - buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]; 18 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 19 19 20 20 postInstall = '' 21 21 install -Dm644 -t $out/share/man/man1/ docs/git-trim.1
+1 -1
pkgs/applications/version-management/git-and-tools/git-workspace/default.nix
··· 19 19 cargoSha256 = "0zkns037vgy96ybmn80px515ivz6yhj5br5mwbvxgl73va92wd9v"; 20 20 21 21 nativeBuildInputs = [ pkgconfig ]; 22 - buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security; 22 + buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 23 23 24 24 meta = with lib; { 25 25 description = "Sync personal and work git repositories from multiple providers";
+35 -35
pkgs/applications/version-management/git-and-tools/git/default.nix
··· 1 - { fetchurl, stdenv, buildPackages 1 + { fetchurl, lib, stdenv, buildPackages 2 2 , fetchpatch 3 3 , curl, openssl, zlib, expat, perlPackages, python3, gettext, cpio 4 4 , gnugrep, gnused, gawk, coreutils # needed at runtime by git-filter-branch etc ··· 38 38 sha256 = "06ad6dylgla34k9am7d5z8y3rryc8ln3ibq5z0d74rcm20hm0wsm"; 39 39 }; 40 40 41 - outputs = [ "out" ] ++ stdenv.lib.optional withManual "doc"; 41 + outputs = [ "out" ] ++ lib.optional withManual "doc"; 42 42 43 43 hardeningDisable = [ "format" ]; 44 44 ··· 66 66 ''; 67 67 68 68 nativeBuildInputs = [ gettext perlPackages.perl ] 69 - ++ stdenv.lib.optionals withManual [ asciidoctor texinfo xmlto docbook2x 69 + ++ lib.optionals withManual [ asciidoctor texinfo xmlto docbook2x 70 70 docbook_xsl docbook_xsl_ns docbook_xml_dtd_45 libxslt ]; 71 71 buildInputs = [curl openssl zlib expat cpio makeWrapper libiconv] 72 - ++ stdenv.lib.optionals perlSupport [ perlPackages.perl ] 73 - ++ stdenv.lib.optionals guiSupport [tcl tk] 74 - ++ stdenv.lib.optionals withpcre2 [ pcre2 ] 75 - ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ] 76 - ++ stdenv.lib.optionals withLibsecret [ pkgconfig glib libsecret ]; 72 + ++ lib.optionals perlSupport [ perlPackages.perl ] 73 + ++ lib.optionals guiSupport [tcl tk] 74 + ++ lib.optionals withpcre2 [ pcre2 ] 75 + ++ lib.optionals stdenv.isDarwin [ darwin.Security ] 76 + ++ lib.optionals withLibsecret [ pkgconfig glib libsecret ]; 77 77 78 78 # required to support pthread_cancel() 79 - NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.cc.isClang) "-lgcc_s" 80 - + stdenv.lib.optionalString (stdenv.isFreeBSD) "-lthr"; 79 + NIX_LDFLAGS = lib.optionalString (!stdenv.cc.isClang) "-lgcc_s" 80 + + lib.optionalString (stdenv.isFreeBSD) "-lthr"; 81 81 82 - configureFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 82 + configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 83 83 "ac_cv_fread_reads_directories=yes" 84 84 "ac_cv_snprintf_returns_bogus=no" 85 85 "ac_cv_iconv_omits_bom=no" ··· 96 96 ] 97 97 ++ (if perlSupport then ["PERL_PATH=${perlPackages.perl}/bin/perl"] else ["NO_PERL=1"]) 98 98 ++ (if pythonSupport then ["PYTHON_PATH=${python3}/bin/python"] else ["NO_PYTHON=1"]) 99 - ++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="] 99 + ++ lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="] 100 100 ++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc"]) 101 - ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"] 102 - ++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1" 103 - ++ stdenv.lib.optional (!nlsSupport) "NO_GETTEXT=1" 101 + ++ lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"] 102 + ++ lib.optional withpcre2 "USE_LIBPCRE2=1" 103 + ++ lib.optional (!nlsSupport) "NO_GETTEXT=1" 104 104 # git-gui refuses to start with the version of tk distributed with 105 105 # macOS Catalina. We can prevent git from building the .app bundle 106 106 # by specifying an invalid tk framework. The postInstall step will ··· 108 108 # acceptable version. 109 109 # 110 110 # See https://github.com/Homebrew/homebrew-core/commit/dfa3ccf1e7d3901e371b5140b935839ba9d8b706 111 - ++ stdenv.lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent"; 111 + ++ lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent"; 112 112 113 113 114 114 postBuild = '' 115 115 make -C contrib/subtree 116 - '' + (stdenv.lib.optionalString perlSupport '' 116 + '' + (lib.optionalString perlSupport '' 117 117 make -C contrib/diff-highlight 118 - '') + (stdenv.lib.optionalString stdenv.isDarwin '' 118 + '') + (lib.optionalString stdenv.isDarwin '' 119 119 make -C contrib/credential/osxkeychain 120 - '') + (stdenv.lib.optionalString withLibsecret '' 120 + '') + (lib.optionalString withLibsecret '' 121 121 make -C contrib/credential/libsecret 122 122 ''); 123 123 ··· 129 129 130 130 installFlags = [ "NO_INSTALL_HARDLINKS=1" ]; 131 131 132 - preInstall = (stdenv.lib.optionalString stdenv.isDarwin '' 132 + preInstall = (lib.optionalString stdenv.isDarwin '' 133 133 mkdir -p $out/bin 134 134 ln -s $out/share/git/contrib/credential/osxkeychain/git-credential-osxkeychain $out/bin/ 135 135 rm -f $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain.o 136 - '') + (stdenv.lib.optionalString withLibsecret '' 136 + '') + (lib.optionalString withLibsecret '' 137 137 mkdir -p $out/bin 138 138 ln -s $out/share/git/contrib/credential/libsecret/git-credential-libsecret $out/bin/ 139 139 rm -f $PWD/contrib/credential/libsecret/git-credential-libsecret.o ··· 146 146 } 147 147 148 148 # Install git-subtree. 149 - make -C contrib/subtree install ${stdenv.lib.optionalString withManual "USE_ASCIIDOCTOR=1 install-doc"} 149 + make -C contrib/subtree install ${lib.optionalString withManual "USE_ASCIIDOCTOR=1 install-doc"} 150 150 rm -rf contrib/subtree 151 151 152 152 # Install contrib stuff. ··· 170 170 '${gnugrep}/bin/grep', '${gnused}/bin/sed', '${gawk}/bin/awk', 171 171 '${coreutils}/bin/cut', '${coreutils}/bin/basename', '${coreutils}/bin/dirname', 172 172 '${coreutils}/bin/wc', '${coreutils}/bin/tr' 173 - ${stdenv.lib.optionalString perlSupport ", '${perlPackages.perl}/bin/perl'"} 173 + ${lib.optionalString perlSupport ", '${perlPackages.perl}/bin/perl'"} 174 174 ); 175 175 } 176 176 foreach $c (@a) { ··· 186 186 # Also put git-http-backend into $PATH, so that we can use smart 187 187 # HTTP(s) transports for pushing 188 188 ln -s $out/libexec/git-core/git-http-backend $out/bin/git-http-backend 189 - '' + stdenv.lib.optionalString perlSupport '' 189 + '' + lib.optionalString perlSupport '' 190 190 # wrap perl commands 191 191 makeWrapper "$out/share/git/contrib/credential/netrc/git-credential-netrc.perl" $out/bin/git-credential-netrc \ 192 192 --set PERL5LIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}" ··· 206 206 sed -i -e "s|'compressor' => \['gzip'|'compressor' => ['${gzip}/bin/gzip'|" \ 207 207 $out/share/gitweb/gitweb.cgi 208 208 # Give access to CGI.pm and friends (was removed from perl core in 5.22) 209 - for p in ${stdenv.lib.concatStringsSep " " gitwebPerlLibs}; do 209 + for p in ${lib.concatStringsSep " " gitwebPerlLibs}; do 210 210 sed -i -e "/use CGI /i use lib \"$p/${perlPackages.perl.libPrefix}\";" \ 211 211 "$out/share/gitweb/gitweb.cgi" 212 212 done ··· 230 230 notSupported $out/libexec/git-core/git-send-email 231 231 '') 232 232 233 - + stdenv.lib.optionalString withManual ''# Install man pages 233 + + lib.optionalString withManual ''# Install man pages 234 234 make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES USE_ASCIIDOCTOR=1 PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-html \ 235 235 -C Documentation '' 236 236 ··· 248 248 notSupported "$out/$prog" 249 249 done 250 250 '') 251 - + stdenv.lib.optionalString stdenv.isDarwin '' 251 + + lib.optionalString stdenv.isDarwin '' 252 252 # enable git-credential-osxkeychain by default if darwin 253 253 mkdir -p $out/etc 254 254 cat > $out/etc/gitconfig << EOF ··· 275 275 installCheckFlagsArray+=( 276 276 GIT_PROVE_OPTS="--jobs $NIX_BUILD_CORES --failures --state=failed,save" 277 277 GIT_TEST_INSTALLED=$out/bin 278 - ${stdenv.lib.optionalString (!svnSupport) "NO_SVN_TESTS=y"} 278 + ${lib.optionalString (!svnSupport) "NO_SVN_TESTS=y"} 279 279 ) 280 280 281 281 function disable_test { ··· 297 297 # Our patched gettext never fallbacks 298 298 disable_test t0201-gettext-fallbacks 299 299 300 - ${stdenv.lib.optionalString (!sendEmailSupport) '' 300 + ${lib.optionalString (!sendEmailSupport) '' 301 301 # Disable sendmail tests 302 302 disable_test t9001-send-email 303 303 ''} ··· 310 310 # Tested to fail: 2.18.0 311 311 disable_test t9902-completion "sourcing the completion script clears cached --options" 312 312 313 - ${stdenv.lib.optionalString (!perlSupport) '' 313 + ${lib.optionalString (!perlSupport) '' 314 314 # request-pull is a Bash script that invokes Perl, so it is not available 315 315 # when NO_PERL=1, and the test should be skipped, but the test suite does 316 316 # not check for the Perl prerequisite. 317 317 disable_test t5150-request-pull 318 318 ''} 319 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 319 + '' + lib.optionalString stdenv.isDarwin '' 320 320 # XXX: Some tests added in 2.24.0 fail. 321 321 # Please try to re-enable on the next release. 322 322 disable_test t7816-grep-binary-pattern 323 - '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' 323 + '' + lib.optionalString stdenv.hostPlatform.isMusl '' 324 324 # Test fails (as of 2.17.0, musl 1.1.19) 325 325 disable_test t3900-i18n-commit 326 326 # Fails largely due to assumptions about BOM ··· 334 334 meta = { 335 335 homepage = "https://git-scm.com/"; 336 336 description = "Distributed version control system"; 337 - license = stdenv.lib.licenses.gpl2; 337 + license = lib.licenses.gpl2; 338 338 changelog = "https://raw.githubusercontent.com/git/git/${version}/Documentation/RelNotes/${version}.txt"; 339 339 340 340 longDescription = '' ··· 342 342 handle very large projects with speed and efficiency. 343 343 ''; 344 344 345 - platforms = stdenv.lib.platforms.all; 346 - maintainers = with stdenv.lib.maintainers; [ primeos peti wmertens globin ]; 345 + platforms = lib.platforms.all; 346 + maintainers = with lib.maintainers; [ primeos peti wmertens globin ]; 347 347 }; 348 348 }
+2 -2
pkgs/applications/version-management/git-and-tools/git2cl/default.nix
··· 1 - { fetchgit, stdenv, perl }: 1 + { fetchgit, lib, stdenv, perl }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "git2cl-20080827"; ··· 18 18 meta = { 19 19 homepage = "https://savannah.nongnu.org/projects/git2cl"; 20 20 description = "Convert git logs to GNU style ChangeLog files"; 21 - platforms = stdenv.lib.platforms.unix; 21 + platforms = lib.platforms.unix; 22 22 }; 23 23 }
+2 -2
pkgs/applications/version-management/git-and-tools/gitui/default.nix
··· 14 14 15 15 nativeBuildInputs = [ python3 perl ]; 16 16 buildInputs = [ openssl ] 17 - ++ stdenv.lib.optional stdenv.isLinux xclip 18 - ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security AppKit ]; 17 + ++ lib.optional stdenv.isLinux xclip 18 + ++ lib.optionals stdenv.isDarwin [ libiconv Security AppKit ]; 19 19 20 20 meta = with lib; { 21 21 description = "Blazing fast terminal-ui for git written in rust";
+4 -4
pkgs/applications/version-management/git-and-tools/gitweb/default.nix
··· 1 - { stdenv, buildEnv, git, fetchFromGitHub 1 + { lib, stdenv, buildEnv, git, fetchFromGitHub 2 2 , gitwebTheme ? false }: 3 3 4 4 let ··· 15 15 sha256 = "17hypq6jvhy6zhh26lp3nyi52npfd5wy5752k6sq0shk4na2acqi"; 16 16 }; 17 17 in buildEnv { 18 - name = "gitweb-${stdenv.lib.getVersion git}"; 18 + name = "gitweb-${lib.getVersion git}"; 19 19 20 20 ignoreCollisions = true; 21 - paths = stdenv.lib.optional gitwebTheme gitwebThemeSrc 21 + paths = lib.optional gitwebTheme gitwebThemeSrc 22 22 ++ [ "${git}/share/gitweb" ]; 23 23 24 24 meta = git.meta // { 25 - maintainers = with stdenv.lib.maintainers; [ gnidorah ]; 25 + maintainers = with lib.maintainers; [ gnidorah ]; 26 26 }; 27 27 }
+3 -3
pkgs/applications/version-management/git-and-tools/subgit/default.nix
··· 1 - { stdenv, fetchurl, unzip, makeWrapper, jre }: 1 + { lib, stdenv, fetchurl, unzip, makeWrapper, jre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "subgit-3.3.10"; ··· 7 7 description = "A tool for a smooth, stress-free SVN to Git migration"; 8 8 longDescription = "Create writable Git mirror of a local or remote Subversion repository and use both Subversion and Git as long as you like. You may also do a fast one-time import from Subversion to Git."; 9 9 homepage = "http://subgit.com"; 10 - license = stdenv.lib.licenses.unfree; 11 - platforms = stdenv.lib.platforms.all; 10 + license = lib.licenses.unfree; 11 + platforms = lib.platforms.all; 12 12 }; 13 13 14 14 nativeBuildInputs = [ unzip makeWrapper ];
+3 -3
pkgs/applications/version-management/git-and-tools/svn2git/default.nix
··· 1 - { stdenv, fetchurl, ruby, makeWrapper, git }: 1 + { lib, stdenv, fetchurl, ruby, makeWrapper, git }: 2 2 3 3 let 4 4 version = "2.4.0"; ··· 33 33 meta = { 34 34 homepage = "https://github.com/nirvdrum/svn2git"; 35 35 description = "Tool for importing Subversion repositories into git"; 36 - license = stdenv.lib.licenses.mit; 37 - platforms = stdenv.lib.platforms.unix; 36 + license = lib.licenses.mit; 37 + platforms = lib.platforms.unix; 38 38 }; 39 39 }
+1 -1
pkgs/applications/version-management/git-and-tools/tig/default.nix
··· 18 18 autoreconfFlags = "-I tools -v"; 19 19 20 20 buildInputs = [ ncurses readline git ] 21 - ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; 21 + ++ lib.optionals stdenv.isDarwin [ libiconv ]; 22 22 23 23 # those files are inherently impure, we'll handle the corresponding dependencies. 24 24 postPatch = ''
+2 -2
pkgs/applications/version-management/git-and-tools/transcrypt/default.nix
··· 22 22 install -m 644 -D contrib/zsh/_transcrypt $out/share/zsh/site-functions/_transcrypt 23 23 24 24 wrapProgram $out/bin/transcrypt \ 25 - --prefix PATH : "${stdenv.lib.makeBinPath [ git openssl coreutils util-linux gnugrep gnused gawk ]}" 25 + --prefix PATH : "${lib.makeBinPath [ git openssl coreutils util-linux gnugrep gnused gawk ]}" 26 26 27 27 cat > $out/bin/transcrypt-depspathprefix << EOF 28 28 #!${stdenv.shell} 29 - echo "${stdenv.lib.makeBinPath [ git openssl coreutils gawk ]}:" 29 + echo "${lib.makeBinPath [ git openssl coreutils gawk ]}:" 30 30 EOF 31 31 chmod +x $out/bin/transcrypt-depspathprefix 32 32 '';
+1 -1
pkgs/applications/version-management/git-backup/default.nix
··· 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 18 - buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ]; 18 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; 19 19 20 20 meta = with lib; { 21 21 homepage = "https://github.com/jsdw/git-backup";
+2 -2
pkgs/applications/version-management/git-crecord/default.nix
··· 1 - { stdenv, fetchFromGitHub, pythonPackages }: 1 + { lib, stdenv, fetchFromGitHub, pythonPackages }: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 pname = "git-crecord"; ··· 16 16 meta = { 17 17 homepage = "https://github.com/andrewshadura/git-crecord"; 18 18 description = "Git subcommand to interactively select changes to commit or stage"; 19 - license = stdenv.lib.licenses.gpl2Plus; 19 + license = lib.licenses.gpl2Plus; 20 20 }; 21 21 }
+1 -1
pkgs/applications/version-management/git-repo/default.nix
··· 32 32 # Important runtime dependencies 33 33 postFixup = '' 34 34 wrapProgram $out/bin/repo --prefix PATH ":" \ 35 - "${stdenv.lib.makeBinPath [ git gnupg less ]}" 35 + "${lib.makeBinPath [ git gnupg less ]}" 36 36 ''; 37 37 38 38 meta = with lib; {
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 1 - { stdenv, buildGoPackage, fetchurl, makeWrapper 1 + { lib, stdenv, buildGoPackage, fetchurl, makeWrapper 2 2 , git, bash, gzip, openssh, pam 3 3 , sqliteSupport ? true 4 4 , pamSupport ? true 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 buildGoPackage rec { 10 10 pname = "gitea";
+2 -2
pkgs/applications/version-management/gitkraken/default.nix
··· 1 - { stdenv, libXcomposite, libgnome-keyring, makeWrapper, udev, curl, alsaLib 1 + { lib, stdenv, libXcomposite, libgnome-keyring, makeWrapper, udev, curl, alsaLib 2 2 , libXfixes, atk, gtk3, libXrender, pango, gnome3, cairo, freetype, fontconfig 3 3 , libX11, libXi, libxcb, libXext, libXcursor, glib, libXScrnSaver, libxkbfile, libXtst 4 4 , nss, nspr, cups, fetchzip, expat, gdk-pixbuf, libXdamage, libXrandr, dbus ··· 6 6 , e2fsprogs, krb5, libdrm, mesa 7 7 }: 8 8 9 - with stdenv.lib; 9 + with lib; 10 10 11 11 let 12 12 curlWithGnuTls = curl.override { gnutlsSupport = true; sslSupport = false; };
+1 -1
pkgs/applications/version-management/gitoxide/default.nix
··· 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 buildInputs = [ openssl ] 18 - ++ stdenv.lib.optionals stdenv.isDarwin [ Security ]; 18 + ++ lib.optionals stdenv.isDarwin [ Security ]; 19 19 20 20 # Needed to get openssl-sys to use pkgconfig. 21 21 OPENSSL_NO_VENDOR = 1;
+2 -2
pkgs/applications/version-management/gogs/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub, makeWrapper 1 + { lib, stdenv, buildGoModule, fetchFromGitHub, makeWrapper 2 2 , git, bash, gzip, openssh, pam 3 3 , sqliteSupport ? true 4 4 , pamSupport ? true 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 buildGoModule rec { 10 10 pname = "gogs";
+2 -2
pkgs/applications/version-management/guitone/default.nix
··· 1 - { stdenv, fetchmtn, qt4, qmake4Hook, pkgconfig, graphviz }: 1 + { lib, stdenv, fetchmtn, qt4, qmake4Hook, pkgconfig, graphviz }: 2 2 3 3 let version = "1.0-mtn-head"; in 4 4 stdenv.mkDerivation { ··· 28 28 description = "Qt4 based GUI for monotone"; 29 29 homepage = "https://guitone.thomaskeller.biz"; 30 30 downloadPage = "https://code.monotone.ca/p/guitone/"; 31 - license = stdenv.lib.licenses.gpl3; 31 + license = lib.licenses.gpl3; 32 32 inherit (qt4.meta) platforms; 33 33 }; 34 34 }
+1 -1
pkgs/applications/version-management/meld/default.nix
··· 23 23 format = "other"; 24 24 25 25 src = fetchurl { 26 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 27 sha256 = "toARTVq3kzJFSf1Y9OsgLY4oDAYzoLdl7ebfs0FgqBs="; 28 28 }; 29 29
+6 -6
pkgs/applications/version-management/mercurial/4.9.nix
··· 1 - { stdenv, fetchurl, python2Packages, makeWrapper, unzip 1 + { lib, stdenv, fetchurl, python2Packages, makeWrapper, unzip 2 2 , guiSupport ? false, tk ? null 3 3 , ApplicationServices 4 4 , mercurialSrc ? fetchurl rec { ··· 22 22 inherit python; # pass it so that the same version can be used in hg2git 23 23 24 24 buildInputs = [ makeWrapper docutils unzip ] 25 - ++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices ]; 25 + ++ lib.optionals stdenv.isDarwin [ ApplicationServices ]; 26 26 27 27 propagatedBuildInputs = [ hg-git dulwich ]; 28 28 29 29 makeFlags = [ "PREFIX=$(out)" ]; 30 30 31 - postInstall = (stdenv.lib.optionalString guiSupport 31 + postInstall = (lib.optionalString guiSupport 32 32 '' 33 33 mkdir -p $out/etc/mercurial 34 34 cp contrib/hgk $out/bin ··· 62 62 description = "A fast, lightweight SCM system for very large distributed projects"; 63 63 homepage = "https://www.mercurial-scm.org"; 64 64 downloadPage = "https://www.mercurial-scm.org/release/"; 65 - license = stdenv.lib.licenses.gpl2; 66 - maintainers = [ stdenv.lib.maintainers.eraserhd ]; 65 + license = lib.licenses.gpl2; 66 + maintainers = [ lib.maintainers.eraserhd ]; 67 67 updateWalker = true; 68 - platforms = stdenv.lib.platforms.unix; 68 + platforms = lib.platforms.unix; 69 69 }; 70 70 } 71 71
+6 -6
pkgs/applications/version-management/mercurial/default.nix
··· 1 - { stdenv, fetchurl, python3Packages, makeWrapper, unzip 1 + { lib, stdenv, fetchurl, python3Packages, makeWrapper, unzip 2 2 , guiSupport ? false, tk ? null 3 3 , ApplicationServices 4 4 }: ··· 20 20 passthru = { inherit python; }; # pass it so that the same version can be used in hg2git 21 21 22 22 buildInputs = [ makeWrapper docutils unzip ] 23 - ++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices ]; 23 + ++ lib.optionals stdenv.isDarwin [ ApplicationServices ]; 24 24 25 25 makeFlags = [ "PREFIX=$(out)" ]; 26 26 27 - postInstall = (stdenv.lib.optionalString guiSupport '' 27 + postInstall = (lib.optionalString guiSupport '' 28 28 mkdir -p $out/etc/mercurial 29 29 cp contrib/hgk $out/bin 30 30 cat >> $out/etc/mercurial/hgrc << EOF ··· 56 56 description = "A fast, lightweight SCM system for very large distributed projects"; 57 57 homepage = "https://www.mercurial-scm.org"; 58 58 downloadPage = "https://www.mercurial-scm.org/release/"; 59 - license = stdenv.lib.licenses.gpl2; 60 - maintainers = [ stdenv.lib.maintainers.eelco ]; 59 + license = lib.licenses.gpl2; 60 + maintainers = [ lib.maintainers.eelco ]; 61 61 updateWalker = true; 62 - platforms = stdenv.lib.platforms.unix; 62 + platforms = lib.platforms.unix; 63 63 }; 64 64 }
+5 -5
pkgs/applications/version-management/monotone-viz/default.nix
··· 1 - { stdenv, fetchurl, ocamlPackages, gnome2, pkgconfig, makeWrapper, glib 1 + { lib, stdenv, fetchurl, ocamlPackages, gnome2, pkgconfig, makeWrapper, glib 2 2 , libtool, libpng, yacc, expat, fontconfig, gd, pango, libjpeg, libwebp, xlibsWrapper, libXaw 3 3 }: 4 4 # We need an old version of Graphviz for format compatibility reasons. 5 5 # This version is vulnerable, but monotone-viz will never feed it bad input. 6 6 let graphviz_2_0 = import ./graphviz-2.0.nix { 7 - inherit stdenv fetchurl pkgconfig xlibsWrapper libpng libjpeg expat libXaw 7 + inherit lib stdenv fetchurl pkgconfig xlibsWrapper libpng libjpeg expat libXaw 8 8 yacc libtool fontconfig pango gd libwebp; 9 9 }; in 10 10 let inherit (gnome2) libgnomecanvas; in ··· 48 48 meta = { 49 49 inherit version; 50 50 description = ''Monotone ancestry visualiser''; 51 - license = stdenv.lib.licenses.gpl2Plus ; 52 - maintainers = [stdenv.lib.maintainers.raskin]; 53 - platforms = stdenv.lib.platforms.linux; 51 + license = lib.licenses.gpl2Plus ; 52 + maintainers = [lib.maintainers.raskin]; 53 + platforms = lib.platforms.linux; 54 54 }; 55 55 }
+3 -3
pkgs/applications/version-management/monotone-viz/graphviz-2.0.nix
··· 1 - { stdenv, fetchurl, pkgconfig, xlibsWrapper, libpng, libjpeg, expat, libXaw 1 + { lib, stdenv, fetchurl, pkgconfig, xlibsWrapper, libpng, libjpeg, expat, libXaw 2 2 , yacc, libtool, fontconfig, pango, gd, libwebp 3 3 }: 4 4 ··· 30 30 "--with-ltdl-include=${libtool}/include" 31 31 "--with-ltdl-lib=${libtool.lib}/lib" 32 32 ] 33 - ++ stdenv.lib.optional (xlibsWrapper == null) "--without-x"; 33 + ++ lib.optional (xlibsWrapper == null) "--without-x"; 34 34 35 35 meta = { 36 36 description = "A program for visualising graphs"; 37 37 homepage = "http://www.graphviz.org/"; 38 38 branch = "2.0"; 39 - platforms = stdenv.lib.platforms.unix; 39 + platforms = lib.platforms.unix; 40 40 }; 41 41 }
+1 -1
pkgs/applications/version-management/monotone/default.nix
··· 5 5 6 6 let 7 7 version = "1.1"; 8 - perlVersion = stdenv.lib.getVersion perl; 8 + perlVersion = lib.getVersion perl; 9 9 in 10 10 11 11 assert perlVersion != "";
+4 -4
pkgs/applications/version-management/mr/default.nix
··· 1 - { stdenv, fetchgit, perl }: 1 + { lib, stdenv, fetchgit, perl }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "mr"; ··· 31 31 other version control systems can easily be added. 32 32 ''; 33 33 homepage = "http://myrepos.branchable.com/"; 34 - license = stdenv.lib.licenses.gpl2Plus; 35 - platforms = stdenv.lib.platforms.unix; 36 - maintainers = with stdenv.lib.maintainers; [ antono henrytill ]; 34 + license = lib.licenses.gpl2Plus; 35 + platforms = lib.platforms.unix; 36 + maintainers = with lib.maintainers; [ antono henrytill ]; 37 37 }; 38 38 }
+4 -4
pkgs/applications/version-management/nitpick/default.nix
··· 1 1 { fetchFromGitHub 2 2 , buildPythonPackage 3 - , stdenv 3 + , lib, stdenv 4 4 , isPy27 5 5 }: 6 6 ··· 10 10 11 11 format = "other"; 12 12 disabled = !isPy27; 13 - 13 + 14 14 src = fetchFromGitHub { 15 15 owner = "travisb-ca"; 16 16 repo = pname; ··· 21 21 installPhase = '' 22 22 mkdir -p $out/share/src 23 23 install -m 755 -t $out/share/src nitpick.py 24 - 24 + 25 25 mkdir -p $out/bin 26 26 ln -s $out/share/src/nitpick.py $out/bin/nitpick 27 27 ''; ··· 34 34 follow the code via whatever VCS or distribution mechanism. 35 35 ''; 36 36 homepage = "http://travisbrown.ca/projects/nitpick/docs/nitpick.html"; 37 - license = with stdenv.lib.licenses; gpl2; 37 + license = with lib.licenses; gpl2; 38 38 maintainers = []; 39 39 }; 40 40 }
+2 -2
pkgs/applications/version-management/p4v/default.nix
··· 48 48 meta = { 49 49 description = "Perforce Visual Client"; 50 50 homepage = "https://www.perforce.com"; 51 - license = stdenv.lib.licenses.unfreeRedistributable; 51 + license = lib.licenses.unfreeRedistributable; 52 52 platforms = [ "x86_64-linux" ]; 53 - maintainers = with stdenv.lib.maintainers; [ nathyong nioncode ]; 53 + maintainers = with lib.maintainers; [ nathyong nioncode ]; 54 54 }; 55 55 }
+3 -3
pkgs/applications/version-management/pijul/default.nix
··· 22 22 23 23 cargoSha256 = "sha256-Xwk5bX9o41M/1BmkOpAscGQHikhzV+9qAwVz0qI7FRA"; 24 24 25 - cargoBuildFlags = stdenv.lib.optional gitImportSupport "--features=git"; 25 + cargoBuildFlags = lib.optional gitImportSupport "--features=git"; 26 26 27 27 doCheck = false; 28 28 nativeBuildInputs = [ pkg-config ]; 29 29 buildInputs = [ openssl libsodium xxHash zstd ] 30 - ++ (stdenv.lib.optionals gitImportSupport [ libgit2 ]) 31 - ++ (stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 30 + ++ (lib.optionals gitImportSupport [ libgit2 ]) 31 + ++ (lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 32 32 CoreServices Security SystemConfiguration 33 33 ])); 34 34
+3 -3
pkgs/applications/version-management/rapidsvn/default.nix
··· 1 - { stdenv, fetchurl, wxGTK, subversion, apr, aprutil, python }: 1 + { lib, stdenv, fetchurl, wxGTK, subversion, apr, aprutil, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "rapidsvn"; ··· 21 21 meta = { 22 22 description = "Multi-platform GUI front-end for the Subversion revision system"; 23 23 homepage = "http://rapidsvn.tigris.org/"; 24 - license = stdenv.lib.licenses.gpl3Plus; 25 - maintainers = [ stdenv.lib.maintainers.viric ]; 24 + license = lib.licenses.gpl3Plus; 25 + maintainers = [ lib.maintainers.viric ]; 26 26 }; 27 27 }
+6 -6
pkgs/applications/version-management/rcs/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, ed }: 1 + { lib, stdenv, fetchurl, fetchpatch, ed }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "rcs-5.9.4"; ··· 10 10 11 11 buildInputs = [ ed ]; 12 12 13 - patches = stdenv.lib.optionals stdenv.isDarwin [ 13 + patches = lib.optionals stdenv.isDarwin [ 14 14 # This failure appears unrelated to the subject of the test. This 15 15 # test seems to rely on a bash bug where `test $x -nt $y` ignores 16 16 # subsecond values in timetamps. This bug has been fixed in Bash ··· 53 53 54 54 NIX_CFLAGS_COMPILE = "-std=c99"; 55 55 56 - hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "format"; 56 + hardeningDisable = lib.optional stdenv.cc.isClang "format"; 57 57 58 58 meta = { 59 59 homepage = "https://www.gnu.org/software/rcs/"; ··· 66 66 documentation, graphics, papers, and form letters. 67 67 ''; 68 68 69 - license = stdenv.lib.licenses.gpl3Plus; 70 - maintainers = with stdenv.lib.maintainers; [ eelco ]; 71 - platforms = stdenv.lib.platforms.unix; 69 + license = lib.licenses.gpl3Plus; 70 + maintainers = with lib.maintainers; [ eelco ]; 71 + platforms = lib.platforms.unix; 72 72 }; 73 73 }
+1 -1
pkgs/applications/version-management/sit/default.nix
··· 15 15 16 16 nativeBuildInputs = [ cmake ]; 17 17 buildInputs = [ libzip gnupg ] 18 - ++ (stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ]); 18 + ++ (lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ]); 19 19 20 20 preCheck = '' 21 21 export HOME=$(mktemp -d)
+3 -3
pkgs/applications/version-management/smartgithg/default.nix
··· 23 23 24 24 buildInputs = [ jre gnome3.adwaita-icon-theme gtk3 ]; 25 25 26 - preFixup = with stdenv.lib; '' 26 + preFixup = with lib; '' 27 27 gappsWrapperArgs+=( \ 28 28 --prefix PATH : ${makeBinPath [ jre which ]} \ 29 29 --prefix LD_LIBRARY_PATH : ${makeLibraryPath [ ··· 59 59 runHook postInstall 60 60 ''; 61 61 62 - desktopItem = with stdenv.lib; makeDesktopItem rec { 62 + desktopItem = with lib; makeDesktopItem rec { 63 63 name = "smartgit"; 64 64 exec = "smartgit"; 65 65 comment = meta.description; ··· 89 89 homepage = "https://www.syntevo.com/smartgit/"; 90 90 license = licenses.unfree; 91 91 platforms = platforms.linux; 92 - maintainers = with stdenv.lib.maintainers; [ jraygauthier ]; 92 + maintainers = with lib.maintainers; [ jraygauthier ]; 93 93 }; 94 94 }
+2 -2
pkgs/applications/version-management/sourcehut/fetchNodeModules.nix
··· 1 - { stdenv, jq }: { src, nodejs, sha256 }: 1 + { lib, stdenv, jq }: { src, nodejs, sha256 }: 2 2 3 3 # Only npm >= 5.4.2 is deterministic, see: 4 4 # https://github.com/npm/npm/issues/17979#issuecomment-332701215 5 - assert stdenv.lib.versionAtLeast nodejs.version "8.9.0"; 5 + assert lib.versionAtLeast nodejs.version "8.9.0"; 6 6 7 7 stdenv.mkDerivation { 8 8 name = "node_modules";
+2 -2
pkgs/applications/version-management/srcml/default.nix
··· 1 - { stdenv, fetchurl, cmake, libxml2, libxslt, boost, libarchive, python, antlr, 1 + { lib, stdenv, fetchurl, cmake, libxml2, libxslt, boost, libarchive, python, antlr, 2 2 curl 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 8 version = "0.9.5_beta";
+5 -5
pkgs/applications/version-management/sublime-merge/common.nix
··· 7 7 8 8 let 9 9 pname = "sublime-merge"; 10 - packageAttribute = "sublime-merge${stdenv.lib.optionalString dev "-dev"}"; 10 + packageAttribute = "sublime-merge${lib.optionalString dev "-dev"}"; 11 11 binaries = [ "sublime_merge" "crash_reporter" "git-credential-sublime" "ssh-askpass-sublime" ]; 12 12 primaryBinary = "sublime_merge"; 13 13 primaryBinaryAliases = [ "smerge" ]; ··· 17 17 archSha256 = sha256; 18 18 arch = "x64"; 19 19 20 - libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango ]; 20 + libPath = lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango ]; 21 21 redirects = [ "/usr/bin/pkexec=${pkexecPath}" "/bin/true=${coreutils}/bin/true" ]; 22 22 in let 23 23 binaryPackage = stdenv.mkDerivation { ··· 40 40 for binary in ${ builtins.concatStringsSep " " binaries }; do 41 41 patchelf \ 42 42 --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 43 - --set-rpath ${libPath}:${libGL}/lib:${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"} \ 43 + --set-rpath ${libPath}:${libGL}/lib:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.is64bit "64"} \ 44 44 $binary 45 45 done 46 46 ··· 105 105 passthru.updateScript = writeScript "${pname}-update-script" '' 106 106 #!${stdenv.shell} 107 107 set -o errexit 108 - PATH=${stdenv.lib.makeBinPath [ common-updater-scripts curl gnugrep ]} 108 + PATH=${lib.makeBinPath [ common-updater-scripts curl gnugrep ]} 109 109 110 110 latestVersion=$(curl -s ${versionUrl} | grep -Po '(?<=<p class="latest"><i>Version:</i> Build )([0-9]+)') 111 111 112 - for platform in ${stdenv.lib.concatStringsSep " " meta.platforms}; do 112 + for platform in ${lib.concatStringsSep " " meta.platforms}; do 113 113 # The script will not perform an update when the version attribute is up to date from previous platform run 114 114 # We need to clear it before each run 115 115 update-source-version ${packageAttribute}.${primaryBinary} 0 0000000000000000000000000000000000000000000000000000000000000000 --file=${versionFile} --version-key=buildVersion --system=$platform
+11 -11
pkgs/applications/version-management/subversion/default.nix
··· 31 31 32 32 buildInputs = [ zlib apr aprutil sqlite openssl ] 33 33 ++ extraBuildInputs 34 - ++ stdenv.lib.optional httpSupport serf 35 - ++ stdenv.lib.optional pythonBindings python 36 - ++ stdenv.lib.optional perlBindings perl 37 - ++ stdenv.lib.optional saslSupport sasl; 34 + ++ lib.optional httpSupport serf 35 + ++ lib.optional pythonBindings python 36 + ++ lib.optional perlBindings perl 37 + ++ lib.optional saslSupport sasl; 38 38 39 39 patches = [ ./apr-1.patch ]; 40 40 ··· 44 44 CPPFLAGS = [ "-P" ]; 45 45 46 46 configureFlags = [ 47 - (stdenv.lib.withFeature bdbSupport "berkeley-db") 48 - (stdenv.lib.withFeatureAs httpServer "apxs" "${apacheHttpd.dev}/bin/apxs") 49 - (stdenv.lib.withFeatureAs (pythonBindings || perlBindings) "swig" swig) 50 - (stdenv.lib.withFeatureAs saslSupport "sasl" sasl) 51 - (stdenv.lib.withFeatureAs httpSupport "serf" serf) 47 + (lib.withFeature bdbSupport "berkeley-db") 48 + (lib.withFeatureAs httpServer "apxs" "${apacheHttpd.dev}/bin/apxs") 49 + (lib.withFeatureAs (pythonBindings || perlBindings) "swig" swig) 50 + (lib.withFeatureAs saslSupport "sasl" sasl) 51 + (lib.withFeatureAs httpSupport "serf" serf) 52 52 "--disable-keychain" 53 53 "--with-zlib=${zlib.dev}" 54 54 "--with-sqlite=${sqlite.dev}" 55 - ] ++ stdenv.lib.optionals javahlBindings [ 55 + ] ++ lib.optionals javahlBindings [ 56 56 "--enable-javahl" 57 57 "--with-jdk=${jdk}" 58 58 ]; ··· 103 103 platforms = platforms.linux ++ platforms.darwin; 104 104 }; 105 105 106 - } // stdenv.lib.optionalAttrs stdenv.isDarwin { 106 + } // lib.optionalAttrs stdenv.isDarwin { 107 107 CXX = "clang++"; 108 108 CC = "clang"; 109 109 CPP = "clang -E";
+3 -3
pkgs/applications/version-management/tkcvs/default.nix
··· 1 - {stdenv, fetchurl, tcl, tk}: 1 + {lib, stdenv, fetchurl, tcl, tk}: 2 2 3 3 stdenv.mkDerivation 4 4 { ··· 22 22 meta = { 23 23 homepage = "https://tkcvs.sourceforge.io"; 24 24 description = "TCL/TK GUI for cvs and subversion"; 25 - license = stdenv.lib.licenses.gpl2Plus; 26 - platforms = stdenv.lib.platforms.unix; 25 + license = lib.licenses.gpl2Plus; 26 + platforms = lib.platforms.unix; 27 27 }; 28 28 }
+4 -4
pkgs/applications/version-management/yadm/default.nix
··· 1 - { stdenv, fetchFromGitHub, git, gnupg }: 1 + { lib, stdenv, fetchFromGitHub, git, gnupg }: 2 2 3 3 let version = "2.5.0"; in 4 4 stdenv.mkDerivation { ··· 35 35 * Provides a way to use alternate files on a specific OS or host. 36 36 * Supplies a method of encrypting confidential data so it can safely be stored in your repository. 37 37 ''; 38 - license = stdenv.lib.licenses.gpl3; 39 - maintainers = with stdenv.lib.maintainers; [ abathur ]; 40 - platforms = stdenv.lib.platforms.unix; 38 + license = lib.licenses.gpl3; 39 + maintainers = with lib.maintainers; [ abathur ]; 40 + platforms = lib.platforms.unix; 41 41 }; 42 42 }
+2 -2
pkgs/applications/window-managers/awesome/default.nix
··· 50 50 xorg.xcbutil xorg.xcbutilimage xorg.xcbutilkeysyms 51 51 xorg.xcbutilrenderutil xorg.xcbutilwm libxkbcommon 52 52 xcbutilxrm ] 53 - ++ stdenv.lib.optional gtk3Support gtk3; 53 + ++ lib.optional gtk3Support gtk3; 54 54 55 55 cmakeFlags = [ 56 56 #"-DGENERATE_MANPAGES=ON" 57 57 "-DOVERRIDE_VERSION=${version}" 58 - ] ++ stdenv.lib.optional luaPackages.isLuaJIT "-DLUA_LIBRARY=${lua}/lib/libluajit-5.1.so" 58 + ] ++ lib.optional luaPackages.isLuaJIT "-DLUA_LIBRARY=${lua}/lib/libluajit-5.1.so" 59 59 ; 60 60 61 61 GI_TYPELIB_PATH = "${pango.out}/lib/girepository-1.0";
+3 -3
pkgs/applications/window-managers/bspwm/unstable.nix
··· 24 24 meta = { 25 25 description = "A tiling window manager based on binary space partitioning (git version)"; 26 26 homepage = "https://github.com/baskerville/bspwm"; 27 - maintainers = [ stdenv.lib.maintainers.meisternu stdenv.lib.maintainers.epitrochoid ]; 28 - license = stdenv.lib.licenses.bsd2; 29 - platforms = stdenv.lib.platforms.linux; 27 + maintainers = [ lib.maintainers.meisternu lib.maintainers.epitrochoid ]; 28 + license = lib.licenses.bsd2; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+2 -2
pkgs/applications/window-managers/cage/default.nix
··· 29 29 systemd libGL libX11 30 30 ]; 31 31 32 - mesonFlags = [ "-Dxwayland=${stdenv.lib.boolToString (xwayland != null)}" ]; 32 + mesonFlags = [ "-Dxwayland=${lib.boolToString (xwayland != null)}" ]; 33 33 34 - postFixup = stdenv.lib.optionalString (xwayland != null) '' 34 + postFixup = lib.optionalString (xwayland != null) '' 35 35 wrapProgram $out/bin/cage --prefix PATH : "${xwayland}/bin" 36 36 ''; 37 37
+2 -2
pkgs/applications/window-managers/cagebreak/default.nix
··· 27 27 outputs = [ "out" "contrib" ]; 28 28 29 29 mesonFlags = [ 30 - "-Dxwayland=${stdenv.lib.boolToString withXwayland}" 30 + "-Dxwayland=${lib.boolToString withXwayland}" 31 31 "-Dversion_override=${version}" 32 32 ]; 33 33 ··· 36 36 cp $src/examples/config $contrib/share/cagebreak/config 37 37 ''; 38 38 39 - postFixup = stdenv.lib.optionalString withXwayland '' 39 + postFixup = lib.optionalString withXwayland '' 40 40 wrapProgram $out/bin/cagebreak --prefix PATH : "${xwayland}/bin" 41 41 ''; 42 42
+5 -5
pkgs/applications/window-managers/dwm/default.nix
··· 1 - {stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [], conf ? null}: 1 + {lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [], conf ? null}: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 let 6 6 name = "dwm-6.2"; ··· 27 27 meta = { 28 28 homepage = "https://suckless.org/"; 29 29 description = "Dynamic window manager for X"; 30 - license = stdenv.lib.licenses.mit; 31 - maintainers = with stdenv.lib.maintainers; [viric]; 32 - platforms = with stdenv.lib.platforms; all; 30 + license = lib.licenses.mit; 31 + maintainers = with lib.maintainers; [viric]; 32 + platforms = with lib.platforms; all; 33 33 }; 34 34 }
+1 -1
pkgs/applications/window-managers/dwm/dwm-status.nix
··· 24 24 cargoSha256 = "041sd9zm1c3v6iihnwjcya2xg5yxb2y4biyxpjlfblz2srxa15dm"; 25 25 26 26 postInstall = lib.optionalString (bins != []) '' 27 - wrapProgram $out/bin/dwm-status --prefix "PATH" : "${stdenv.lib.makeBinPath bins}" 27 + wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}" 28 28 ''; 29 29 30 30 meta = with lib; {
+1 -1
pkgs/applications/window-managers/dwm/git.nix
··· 21 21 inherit patches; 22 22 23 23 # Allow users to override the entire config file AFTER appying the patches 24 - postPatch = stdenv.lib.optionalString (conf!=null) '' 24 + postPatch = lib.optionalString (conf!=null) '' 25 25 echo -n '${conf}' > config.def.h 26 26 ''; 27 27
+3 -3
pkgs/applications/window-managers/dzen2/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libX11, libXft, libXinerama, libXpm }: 1 + { lib, stdenv, fetchurl, pkgconfig, libX11, libXft, libXinerama, libXpm }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "dzen2-0.9.5"; ··· 30 30 31 31 meta = { 32 32 homepage = "https://github.com/robm/dzen"; 33 - license = stdenv.lib.licenses.mit; 33 + license = lib.licenses.mit; 34 34 description = "X notification utility"; 35 - platforms = stdenv.lib.platforms.linux; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+3 -3
pkgs/applications/window-managers/fluxbox/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { lib, stdenv, fetchurl, pkgconfig 2 2 , freetype, fribidi 3 3 , libXext, libXft, libXpm, libXrandr, libXrender, xorgproto 4 4 , libXinerama 5 5 , imlib2 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 stdenv.mkDerivation rec { 9 9 10 10 pname = "fluxbox"; ··· 25 25 substituteInPlace util/fluxbox-generate_menu.in \ 26 26 --subst-var-by PREFIX "$out" 27 27 ''; 28 - 28 + 29 29 meta = { 30 30 description = "Full-featured, light-resource X window manager"; 31 31 longDescription = ''
+5 -5
pkgs/applications/window-managers/fvwm/default.nix
··· 1 1 { gestures ? false 2 - , stdenv, fetchurl, pkgconfig 2 + , lib, stdenv, fetchurl, pkgconfig 3 3 , cairo, fontconfig, freetype, libXft, libXcursor, libXinerama 4 4 , libXpm, libXt, librsvg, libpng, fribidi, perl 5 5 , libstroke ? null ··· 21 21 cairo fontconfig freetype 22 22 libXft libXcursor libXinerama libXpm libXt 23 23 librsvg libpng fribidi perl 24 - ] ++ stdenv.lib.optional gestures libstroke; 24 + ] ++ lib.optional gestures libstroke; 25 25 26 26 meta = { 27 27 homepage = "http://fvwm.org"; 28 28 description = "A multiple large virtual desktop window manager"; 29 - license = stdenv.lib.licenses.gpl2Plus; 30 - platforms = stdenv.lib.platforms.linux; 31 - maintainers = with stdenv.lib.maintainers; [ edanaher ]; 29 + license = lib.licenses.gpl2Plus; 30 + platforms = lib.platforms.linux; 31 + maintainers = with lib.maintainers; [ edanaher ]; 32 32 }; 33 33 }
+6 -6
pkgs/applications/window-managers/herbstluftwm/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, glib, libX11, libXext, libXinerama, libXrandr 1 + { lib, stdenv, fetchurl, cmake, pkgconfig, glib, libX11, libXext, libXinerama, libXrandr 2 2 , withDoc ? stdenv.buildPlatform == stdenv.targetPlatform, asciidoc ? null }: 3 3 4 4 # Doc generation is disabled by default when cross compiling because asciidoc ··· 17 17 18 18 outputs = [ 19 19 "out" 20 - ] ++ stdenv.lib.optionals withDoc [ 20 + ] ++ lib.optionals withDoc [ 21 21 "doc" 22 22 "man" 23 23 ]; 24 24 25 25 cmakeFlags = [ 26 26 "-DCMAKE_INSTALL_SYSCONF_PREFIX=${placeholder "out"}/etc" 27 - ] ++ stdenv.lib.optional (!withDoc) "-DWITH_DOCUMENTATION=OFF"; 27 + ] ++ lib.optional (!withDoc) "-DWITH_DOCUMENTATION=OFF"; 28 28 29 29 nativeBuildInputs = [ 30 30 cmake 31 31 pkgconfig 32 - ] ++ stdenv.lib.optional withDoc asciidoc; 32 + ] ++ lib.optional withDoc asciidoc; 33 33 34 34 buildInputs = [ 35 35 libX11 ··· 41 41 meta = { 42 42 description = "A manual tiling window manager for X"; 43 43 homepage = "https://herbstluftwm.org/"; 44 - license = stdenv.lib.licenses.bsd2; 45 - platforms = stdenv.lib.platforms.linux; 44 + license = lib.licenses.bsd2; 45 + platforms = lib.platforms.linux; 46 46 }; 47 47 }
+1 -1
pkgs/applications/window-managers/hikari/default.nix
··· 43 43 enableParallelBuilding = true; 44 44 45 45 # Must replace GNU Make by bmake 46 - buildPhase = with stdenv.lib; concatStringsSep " " ( 46 + buildPhase = with lib; concatStringsSep " " ( 47 47 [ "bmake" "-j$NIX_BUILD_CORES" "PREFIX=$out" ] 48 48 ++ optional stdenv.isLinux "WITH_POSIX_C_SOURCE=YES" 49 49 ++ mapAttrsToList (feat: enabled:
+1 -1
pkgs/applications/window-managers/i3/blocks-gaps.nix
··· 4 4 "load_average" "memory" "volume" "wifi" ] 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 let 10 10 perlscripts = [ "battery" "cpu_usage" "openvpn" "temperature" ];
+2 -2
pkgs/applications/window-managers/i3/blocks.nix
··· 1 - { fetchFromGitHub, fetchpatch, stdenv, autoreconfHook, pkg-config }: 1 + { fetchFromGitHub, fetchpatch, lib, stdenv, autoreconfHook, pkg-config }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation { 6 6 pname = "i3blocks";
+1 -1
pkgs/applications/window-managers/i3/default.nix
··· 38 38 # https://github.com/NixOS/nixpkgs/issues/7957 39 39 doCheck = false; # stdenv.hostPlatform.system == "x86_64-linux"; 40 40 41 - checkPhase = stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 41 + checkPhase = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") 42 42 '' 43 43 (cd testcases && xvfb-run ./complete-run.pl -p 1 --keep-xserver-output) 44 44 ! grep -q '^not ok' testcases/latest/complete-run.log
+1 -1
pkgs/applications/window-managers/i3/layout-manager.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, vim, makeWrapper, jq, rofi, xrandr, xdotool, i3, gawk, libnotify }: 2 2 3 3 let 4 - path = stdenv.lib.makeBinPath [ vim jq rofi xrandr xdotool i3 gawk libnotify ]; 4 + path = lib.makeBinPath [ vim jq rofi xrandr xdotool i3 gawk libnotify ]; 5 5 in 6 6 7 7 stdenv.mkDerivation rec {
+1 -1
pkgs/applications/window-managers/i3/pystatus.nix
··· 29 29 makeWrapperArgs = [ 30 30 # LC_TIME != C results in locale.Error: unsupported locale setting 31 31 "--set" "LC_TIME" "C" 32 - "--suffix" "LD_LIBRARY_PATH" ":" "${stdenv.lib.makeLibraryPath [ libpulseaudio ]}" 32 + "--suffix" "LD_LIBRARY_PATH" ":" "${lib.makeLibraryPath [ libpulseaudio ]}" 33 33 ]; 34 34 35 35 postPatch = ''
+3 -3
pkgs/applications/window-managers/i3/status.nix
··· 1 - { fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }: 1 + { fetchurl, lib, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "i3status-2.13"; ··· 22 22 description = "Generates a status line for i3bar, dzen2, xmobar or lemonbar"; 23 23 homepage = "https://i3wm.org"; 24 24 maintainers = [ ]; 25 - license = stdenv.lib.licenses.bsd3; 26 - platforms = stdenv.lib.platforms.all; 25 + license = lib.licenses.bsd3; 26 + platforms = lib.platforms.all; 27 27 }; 28 28 29 29 }
+3 -3
pkgs/applications/window-managers/ion-3/default.nix
··· 1 - { stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }: 1 + { lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "ion-3-20090110"; 5 5 meta = { 6 6 description = "Tiling tabbed window manager designed with keyboard users in mind"; 7 7 homepage = "http://modeemi.fi/~tuomov/ion"; 8 - platforms = with stdenv.lib.platforms; linux; 9 - license = stdenv.lib.licenses.lgpl21; 8 + platforms = with lib.platforms; linux; 9 + license = lib.licenses.lgpl21; 10 10 }; 11 11 src = fetchurl { 12 12 url = "http://tuomov.iki.fi/software/dl/ion-3-20090110.tar.gz";
+4 -4
pkgs/applications/window-managers/jwm/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool, gettext 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool, gettext 2 2 , which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp 3 3 , libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }: 4 4 ··· 43 43 meta = { 44 44 homepage = "http://joewing.net/projects/jwm/"; 45 45 description = "Joe's Window Manager is a light-weight X11 window manager"; 46 - license = stdenv.lib.licenses.gpl2; 47 - platforms = stdenv.lib.platforms.unix; 48 - maintainers = [ stdenv.lib.maintainers.romildo ]; 46 + license = lib.licenses.gpl2; 47 + platforms = lib.platforms.unix; 48 + maintainers = [ lib.maintainers.romildo ]; 49 49 }; 50 50 }
+4 -4
pkgs/applications/window-managers/kbdd/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, dbus-glib, autoreconfHook, xorg }: 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, dbus-glib, autoreconfHook, xorg }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "kbdd"; ··· 17 17 meta = { 18 18 description = "Simple daemon and library to make per window layout using XKB"; 19 19 homepage = "https://github.com/qnikst/kbdd"; 20 - license = stdenv.lib.licenses.gpl3; 21 - platforms = stdenv.lib.platforms.linux; 22 - maintainers = [ stdenv.lib.maintainers.wedens ]; 20 + license = lib.licenses.gpl3; 21 + platforms = lib.platforms.linux; 22 + maintainers = [ lib.maintainers.wedens ]; 23 23 }; 24 24 }
+3 -3
pkgs/applications/window-managers/larswm/default.nix
··· 1 - { stdenv, fetchurl, imake, gccmakedep, libX11, libXext, libXmu }: 1 + { lib, stdenv, fetchurl, imake, gccmakedep, libX11, libXext, libXmu }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "larswm-7.5.3"; ··· 17 17 meta = { 18 18 homepage = "http://www.fnurt.net/larswm"; 19 19 description = "9wm-like tiling window manager"; 20 - license = stdenv.lib.licenses.free; 21 - platforms = stdenv.lib.platforms.linux; 20 + license = lib.licenses.free; 21 + platforms = lib.platforms.linux; 22 22 }; 23 23 }
+1 -1
pkgs/applications/window-managers/leftwm/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, rustPlatform, libX11, libXinerama, makeWrapper }: 2 2 3 3 let 4 - rpath = stdenv.lib.makeLibraryPath [ libXinerama libX11 ]; 4 + rpath = lib.makeLibraryPath [ libXinerama libX11 ]; 5 5 in 6 6 7 7 rustPlatform.buildRustPackage rec {
+2 -2
pkgs/applications/window-managers/lemonbar/xft.nix
··· 1 - { stdenv, fetchFromGitHub, perl, libxcb, libXft }: 1 + { lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "lemonbar-xft-unstable-2016-02-17"; ··· 18 18 description = "A lightweight xcb based bar with XFT-support"; 19 19 homepage = "https://github.com/krypt-n/bar"; 20 20 license = "Custom"; 21 - platforms = stdenv.lib.platforms.linux; 21 + platforms = lib.platforms.linux; 22 22 }; 23 23 }
+3 -3
pkgs/applications/window-managers/matchbox/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libmatchbox, libX11, libXext }: 1 + { lib, stdenv, fetchurl, pkgconfig, libmatchbox, libX11, libXext }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "matchbox"; ··· 16 16 meta = { 17 17 description = "X window manager for non-desktop embedded systems"; 18 18 homepage = "https://www.yoctoproject.org/software-item/matchbox/"; 19 - license = stdenv.lib.licenses.gpl2Plus; 20 - platforms = stdenv.lib.platforms.linux; 19 + license = lib.licenses.gpl2Plus; 20 + platforms = lib.platforms.linux; 21 21 }; 22 22 }
+3 -3
pkgs/applications/window-managers/openbox/default.nix
··· 1 - { stdenv, fetchurl, autoreconfHook, pkgconfig, python3 1 + { lib, stdenv, fetchurl, autoreconfHook, pkgconfig, python3 2 2 , libxml2, libXinerama, libXcursor, libXau, libXrandr, libICE, libSM 3 3 , imlib2, pango, libstartup_notification, makeWrapper }: 4 4 ··· 62 62 meta = { 63 63 description = "X window manager for non-desktop embedded systems"; 64 64 homepage = "http://openbox.org/"; 65 - license = stdenv.lib.licenses.gpl2Plus; 66 - platforms = stdenv.lib.platforms.linux; 65 + license = lib.licenses.gpl2Plus; 66 + platforms = lib.platforms.linux; 67 67 }; 68 68 }
+2 -2
pkgs/applications/window-managers/oroborus/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { lib, stdenv, fetchurl, pkgconfig 2 2 , freetype, fribidi 3 3 , libSM, libICE, libXt, libXaw, libXmu 4 4 , libXext, libXft, libXpm, libXrandr 5 5 , libXrender, xorgproto, libXinerama }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 stdenv.mkDerivation rec { 9 9 10 10 pname = "oroborus";
+2 -2
pkgs/applications/window-managers/smallwm/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , doxygen, graphviz, libX11, libXrandr }: 3 3 4 4 stdenv.mkDerivation rec { ··· 28 28 cp -r README.markdown doc/html doc/latex $out/share/doc/${pname}-${version} 29 29 ''; 30 30 31 - meta = with stdenv.lib;{ 31 + meta = with lib;{ 32 32 description = "A small X window manager, extended from tinywm"; 33 33 homepage = "https://github.com/adamnew123456/SmallWM"; 34 34 license = licenses.bsd2;
+2 -2
pkgs/applications/window-managers/stumpwm/default.nix
··· 73 73 74 74 mkdir -p $out/share/stumpwm/modules 75 75 cp -r modules/* $out/share/stumpwm/modules/ 76 - for d in ${stdenv.lib.concatStringsSep " " extraModulePaths}; do 76 + for d in ${lib.concatStringsSep " " extraModulePaths}; do 77 77 cp -r --no-preserve=mode "$d" $out/share/stumpwm/modules/ 78 78 done 79 79 ··· 81 81 cp $out/share/stumpwm/modules/util/stumpish/stumpish $out/bin/ 82 82 chmod +x $out/bin/stumpish 83 83 wrapProgram $out/bin/stumpish \ 84 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ rlwrap gnused gnugrep coreutils xprop ]}" 84 + --prefix PATH ":" "${lib.makeBinPath [ rlwrap gnused gnugrep coreutils xprop ]}" 85 85 86 86 # Paths in the compressed image $out/bin/stumpwm are not 87 87 # recognized by Nix. Add explicit reference here.
+1 -1
pkgs/applications/window-managers/sway/contrib.nix
··· 34 34 35 35 install -Dm 0755 contrib/grimshot $out/bin/grimshot 36 36 wrapProgram $out/bin/grimshot --set PATH \ 37 - "${stdenv.lib.makeBinPath [ 37 + "${lib.makeBinPath [ 38 38 sway-unwrapped 39 39 wl-clipboard 40 40 coreutils
+1 -1
pkgs/applications/window-managers/sway/lock-fancy.nix
··· 3 3 }: 4 4 5 5 let 6 - depsPath = stdenv.lib.makeBinPath [ 6 + depsPath = lib.makeBinPath [ 7 7 coreutils 8 8 grim 9 9 gawk
+3 -3
pkgs/applications/window-managers/tabbed/default.nix
··· 1 - {stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [] }: 1 + {lib, stdenv, fetchgit, xorgproto, libX11, libXft, customConfig ? null, patches ? [] }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation { 6 6 name = "tabbed-20180310"; ··· 13 13 14 14 inherit patches; 15 15 16 - postPatch = stdenv.lib.optionalString (customConfig != null) '' 16 + postPatch = lib.optionalString (customConfig != null) '' 17 17 cp ${builtins.toFile "config.h" customConfig} ./config.h 18 18 ''; 19 19
+3 -3
pkgs/applications/window-managers/taffybar/default.nix
··· 1 - { stdenv, ghcWithPackages, makeWrapper, packages ? (x: []) }: 1 + { lib, stdenv, ghcWithPackages, makeWrapper, packages ? (x: []) }: 2 2 3 3 let 4 4 taffybarEnv = ghcWithPackages (self: [ self.taffybar ] ++ packages self); ··· 14 14 ''; 15 15 16 16 meta = { 17 - platforms = stdenv.lib.platforms.unix; 18 - license = stdenv.lib.licenses.bsd3; 17 + platforms = lib.platforms.unix; 18 + license = lib.licenses.bsd3; 19 19 }; 20 20 }
+2 -2
pkgs/applications/window-managers/tinywm/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , libX11 }: 3 3 4 4 stdenv.mkDerivation rec { ··· 27 27 install -m644 annotated.c README -t $out/share/doc/${pname}-${version} 28 28 ''; 29 29 30 - meta = with stdenv.lib;{ 30 + meta = with lib;{ 31 31 description = "A tiny window manger for X11"; 32 32 longDescription = '' 33 33
+2 -2
pkgs/applications/window-managers/weston/default.nix
··· 1 - { stdenv, fetchurl, meson, ninja, pkg-config, wayland 1 + { lib, stdenv, fetchurl, meson, ninja, pkg-config, wayland 2 2 , libGL, mesa, libxkbcommon, cairo, libxcb 3 3 , libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev 4 4 , colord, lcms2, pipewire ? null ··· 7 7 # beware of null defaults, as the parameters *are* supplied by callPackage by default 8 8 }: 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 stdenv.mkDerivation rec { 12 12 pname = "weston"; 13 13 version = "9.0.0";
+2 -2
pkgs/applications/window-managers/windowlab/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { lib, stdenv, fetchurl, pkgconfig 2 2 , libX11, libXext, libXft }: 3 3 4 4 let version = "1.40"; in ··· 26 26 sed "s|/usr/local|$out|g" Makefile.orig >> Makefile 27 27 ''; 28 28 29 - meta = with stdenv.lib; 29 + meta = with lib; 30 30 { description = "Small and simple stacking window manager"; 31 31 homepage = "http://nickgravgaard.com/windowlab/"; 32 32 license = licenses.gpl2;
+1 -1
pkgs/applications/window-managers/wio/default.nix
··· 37 37 38 38 postInstall = '' 39 39 wrapProgram $out/bin/wio \ 40 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ alacritty cage ]}" 40 + --prefix PATH ":" "${lib.makeBinPath [ alacritty cage ]}" 41 41 ''; 42 42 43 43 meta = with lib; {
+4 -4
pkgs/applications/window-managers/wmii-hg/default.nix
··· 1 - { stdenv, fetchurl, unzip, pkgconfig, libixp_hg, txt2tags, dash, python, which 1 + { lib, stdenv, fetchurl, unzip, pkgconfig, libixp_hg, txt2tags, dash, python, which 2 2 , libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }: 3 3 4 4 stdenv.mkDerivation rec { ··· 39 39 meta = { 40 40 homepage = "https://suckless.org/"; # https://wmii.suckless.org/ does not exist anymore 41 41 description = "A small window manager controlled by a 9P filesystem"; 42 - maintainers = with stdenv.lib.maintainers; [ kovirobi ]; 43 - license = stdenv.lib.licenses.mit; 42 + maintainers = with lib.maintainers; [ kovirobi ]; 43 + license = lib.licenses.mit; 44 44 inherit version; 45 - platforms = with stdenv.lib.platforms; linux; 45 + platforms = with lib.platforms; linux; 46 46 }; 47 47 }
+3 -3
pkgs/applications/window-managers/xmonad/log-applet/default.nix
··· 20 20 }; 21 21 22 22 buildInputs = [ glib dbus-glib xorg.xcbutilwm ] 23 - ++ stdenv.lib.optionals (desktopSupport == "gnomeflashback") [ gtk3 gnome3.gnome-panel ] 24 - ++ stdenv.lib.optionals (desktopSupport == "mate") [ gtk3 mate.mate-panel ] 25 - ++ stdenv.lib.optionals (desktopSupport == "xfce4") [ gtk2 libxfce4util xfce4-panel ] 23 + ++ lib.optionals (desktopSupport == "gnomeflashback") [ gtk3 gnome3.gnome-panel ] 24 + ++ lib.optionals (desktopSupport == "mate") [ gtk3 mate.mate-panel ] 25 + ++ lib.optionals (desktopSupport == "xfce4") [ gtk2 libxfce4util xfce4-panel ] 26 26 ; 27 27 28 28 nativeBuildInputs = [ autoreconfHook pkgconfig ];
+2 -2
pkgs/applications/window-managers/yeahwm/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , lesstif 3 3 , libX11, libXext, libXmu, libXinerama }: 4 4 ··· 29 29 install -m644 yeahwm.1.gz ${placeholder "out"}/share/man/man1/ 30 30 ''; 31 31 32 - meta = with stdenv.lib;{ 32 + meta = with lib;{ 33 33 description = "An X window manager based on evilwm and aewm"; 34 34 longDescription = '' 35 35 YeahWM is a h* window manager for X based on evilwm and aewm.
+2 -2
pkgs/data/fonts/stix-two/default.nix
··· 1 1 { lib, fetchzip }: 2 2 let 3 - version = "2.10"; 3 + version = "2.11"; 4 4 in 5 5 fetchzip { 6 6 name = "stix-two-${version}"; 7 7 8 8 url = "https://github.com/stipub/stixfonts/raw/v${version}/zipfiles/STIX${builtins.replaceStrings [ "." ] [ "_" ] version}-all.zip"; 9 9 10 - sha256 = "1xvh5c5asbasfa333mizimvdp209g0lppbwv2p0cg3ixfpxgq4dl"; 10 + sha256 = "19ndavx5k85vm6wvq9603kynpgbfddbjiihivffvnbrxwf13h34n"; 11 11 12 12 postFetch = '' 13 13 mkdir -p $out/share/fonts/
+2 -2
pkgs/desktops/cinnamon/cinnamon-common/libcroco.nix
··· 5 5 version = "0.6.13"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"; 10 10 }; 11 11 12 12 outputs = [ "out" "dev" ]; 13 13 outputBin = "dev"; 14 14 15 - configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic"; 15 + configureFlags = lib.optional stdenv.isDarwin "--disable-Bsymbolic"; 16 16 17 17 nativeBuildInputs = [ pkgconfig ]; 18 18 buildInputs = [ libxml2 glib ];
+2 -2
pkgs/desktops/cinnamon/cinnamon-gsettings-overrides/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , runCommand 3 3 , nixos-artwork 4 4 , glib ··· 36 36 37 37 in 38 38 39 - with stdenv.lib; 39 + with lib; 40 40 41 41 # TODO: Having https://github.com/NixOS/nixpkgs/issues/54150 would supersede this 42 42 runCommand "cinnamon-gsettings-overrides" {}
+4 -4
pkgs/desktops/enlightenment/econnman/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, efl, python3Packages, dbus, makeWrapper }: 1 + { lib, stdenv, fetchurl, pkgconfig, efl, python3Packages, dbus, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "econnman"; ··· 22 22 meta = { 23 23 description = "A user interface for the connman network connection manager"; 24 24 homepage = "https://enlightenment.org/"; 25 - license = stdenv.lib.licenses.lgpl3; 26 - platforms = stdenv.lib.platforms.linux; 27 - maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; 25 + license = lib.licenses.lgpl3; 26 + platforms = lib.platforms.linux; 27 + maintainers = with lib.maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; 28 28 }; 29 29 }
+2 -2
pkgs/desktops/enlightenment/enlightenment/default.nix
··· 43 43 xkeyboard_config 44 44 udisks2 # for removable storage mounting/unmounting 45 45 ] 46 - ++ stdenv.lib.optional bluetoothSupport bluez5 # for bluetooth configuration and control 47 - ++ stdenv.lib.optional pulseSupport libpulseaudio # for proper audio device control and redirection 46 + ++ lib.optional bluetoothSupport bluez5 # for bluetooth configuration and control 47 + ++ lib.optional pulseSupport libpulseaudio # for proper audio device control and redirection 48 48 ; 49 49 50 50 patches = [
+4 -4
pkgs/desktops/enlightenment/ephoto/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, efl, pcre, mesa, makeWrapper }: 1 + { lib, stdenv, fetchurl, pkgconfig, efl, pcre, mesa, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ephoto"; ··· 23 23 meta = { 24 24 description = "Image viewer and editor written using the Enlightenment Foundation Libraries"; 25 25 homepage = "https://smhouston.us/projects/ephoto/"; 26 - license = stdenv.lib.licenses.bsd2; 27 - platforms = stdenv.lib.platforms.linux; 28 - maintainers = [ stdenv.lib.maintainers.romildo ]; 26 + license = lib.licenses.bsd2; 27 + platforms = lib.platforms.linux; 28 + maintainers = [ lib.maintainers.romildo ]; 29 29 }; 30 30 }
+4 -4
pkgs/desktops/enlightenment/rage/default.nix
··· 1 - { stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa, wrapGAppsHook }: 1 + { lib, stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa, wrapGAppsHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "rage"; ··· 30 30 meta = { 31 31 description = "Video + Audio player along the lines of mplayer"; 32 32 homepage = "https://enlightenment.org/"; 33 - maintainers = with stdenv.lib.maintainers; [ matejc ftrvxmtrx romildo ]; 34 - platforms = stdenv.lib.platforms.linux; 35 - license = stdenv.lib.licenses.bsd2; 33 + maintainers = with lib.maintainers; [ matejc ftrvxmtrx romildo ]; 34 + platforms = lib.platforms.linux; 35 + license = lib.licenses.bsd2; 36 36 }; 37 37 }
+4 -4
pkgs/desktops/enlightenment/terminology/default.nix
··· 1 - { stdenv, fetchurl, meson, ninja, pkg-config, efl, pcre, mesa }: 1 + { lib, stdenv, fetchurl, meson, ninja, pkg-config, efl, pcre, mesa }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "terminology"; ··· 28 28 meta = { 29 29 description = "Powerful terminal emulator based on EFL"; 30 30 homepage = "https://www.enlightenment.org/about-terminology"; 31 - license = stdenv.lib.licenses.bsd2; 32 - platforms = stdenv.lib.platforms.linux; 33 - maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; 31 + license = lib.licenses.bsd2; 32 + platforms = lib.platforms.linux; 33 + maintainers = with lib.maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; 34 34 }; 35 35 }
+1 -1
pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
··· 1 1 { lib, stdenv, fetchurl, python2, pkgconfig, libgnome, GConf, glib, gtk2, gnome_vfs }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 let 6 6 inherit (python2.pkgs) python pygobject2 pygtk dbus-python;
+2 -2
pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix
··· 1 - {stdenv, fetchpatch, fetchurl, autoreconfHook, pkgconfig, atk, cairo, glib 1 + {lib, stdenv, fetchpatch, fetchurl, autoreconfHook, pkgconfig, atk, cairo, glib 2 2 , gnome-common, gtk2, pango 3 3 , libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "gtksourceview";
+7 -7
pkgs/desktops/gnome-2/desktop/vte/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, intltool, pkgconfig, glib, gtk2, ncurses 1 + { lib, stdenv, fetchurl, fetchpatch, intltool, pkgconfig, glib, gtk2, ncurses 2 2 , pythonSupport ? false, python27Packages}: 3 3 4 4 let ··· 30 30 31 31 nativeBuildInputs = [ pkgconfig ]; 32 32 buildInputs = [ intltool glib gtk2 ncurses ] ++ 33 - stdenv.lib.optionals pythonSupport [python pygtk]; 33 + lib.optionals pythonSupport [python pygtk]; 34 34 35 35 configureFlags = [ 36 - (stdenv.lib.enableFeature pythonSupport "python") 36 + (lib.enableFeature pythonSupport "python") 37 37 ]; 38 38 39 - postInstall = stdenv.lib.optionalString pythonSupport '' 39 + postInstall = lib.optionalString pythonSupport '' 40 40 cd $(toPythonPath $out)/gtk-2.0 41 41 for n in *; do 42 42 ln -s "gtk-2.0/$n" "../$n" ··· 54 54 character set conversion, as well as emulating any terminal known to 55 55 the system's terminfo database. 56 56 ''; 57 - license = stdenv.lib.licenses.lgpl2; 58 - maintainers = with stdenv.lib.maintainers; [ astsmtl ]; 59 - platforms = with stdenv.lib.platforms; linux; 57 + license = lib.licenses.lgpl2; 58 + maintainers = with lib.maintainers; [ astsmtl ]; 59 + platforms = with lib.platforms; linux; 60 60 }; 61 61 }
+3 -3
pkgs/desktops/gnome-2/platform/GConf/default.nix
··· 5 5 version = "3.2.6"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/GConf/${stdenv.lib.versions.majorMinor version}/GConf-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/GConf/${lib.versions.majorMinor version}/GConf-${version}.tar.xz"; 9 9 sha256 = "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"; 10 10 }; 11 11 ··· 14 14 buildInputs = [ ORBit2 libxml2 python3 ] 15 15 # polkit requires pam, which requires shadow.h, which is not available on 16 16 # darwin 17 - ++ stdenv.lib.optional (!stdenv.isDarwin) polkit; 17 + ++ lib.optional (!stdenv.isDarwin) polkit; 18 18 19 19 propagatedBuildInputs = [ glib dbus-glib ]; 20 20 ··· 22 22 23 23 configureFlags = 24 24 # fixes the "libgconfbackend-oldxml.so is not portable" error on darwin 25 - stdenv.lib.optional stdenv.isDarwin [ "--enable-static" ]; 25 + lib.optional stdenv.isDarwin [ "--enable-static" ]; 26 26 27 27 postPatch = '' 28 28 2to3 --write --nobackup gsettings/gsettings-schema-convert
+2 -2
pkgs/desktops/gnome-2/platform/libglade/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk2, libxml2, python2 ? null, withLibgladeConvert ? false, gettext }: 1 + { lib, stdenv, fetchurl, pkgconfig, gtk2, libxml2, python2 ? null, withLibgladeConvert ? false, gettext }: 2 2 3 3 assert withLibgladeConvert -> python2 != null; 4 4 ··· 14 14 15 15 nativeBuildInputs = [ pkgconfig ]; 16 16 buildInputs = [ gtk2 gettext ] 17 - ++ stdenv.lib.optional withLibgladeConvert python2; 17 + ++ lib.optional withLibgladeConvert python2; 18 18 19 19 NIX_LDFLAGS = "-lgmodule-2.0"; 20 20
+1 -1
pkgs/desktops/gnome-3/apps/accerciser/default.nix
··· 22 22 format = "other"; 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 = "0fd9vv2abd2if2qj4nlfy7mpd7rc4sx18zhmxd5ijlnfhkpggbp5"; 27 27 }; 28 28
+1 -1
pkgs/desktops/gnome-3/apps/cheese/default.nix
··· 39 39 version = "3.38.0"; 40 40 41 41 src = fetchurl { 42 - url = "mirror://gnome/sources/cheese/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 42 + url = "mirror://gnome/sources/cheese/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 43 43 sha256 = "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"; 44 44 }; 45 45
+1 -1
pkgs/desktops/gnome-3/apps/evolution/default.nix
··· 46 46 version = "3.38.2"; 47 47 48 48 src = fetchurl { 49 - url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 49 + url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 50 50 sha256 = "1whjgfhcxpb5yhhvyqb8pv71vprw6fv02czin4k4z6dxrxsq32qx"; 51 51 }; 52 52
+1 -1
pkgs/desktops/gnome-3/apps/file-roller/default.nix
··· 6 6 version = "3.38.0"; 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 = "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/apps/gedit/default.nix
··· 26 26 version = "3.38.1"; 27 27 28 28 src = fetchurl { 29 - url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + url = "mirror://gnome/sources/gedit/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 30 sha256 = "0kc48a399achcz6vlqq0jk0b8ixbrzyv9xb22s5av76m5hyqalq0"; 31 31 }; 32 32
+1 -1
pkgs/desktops/gnome-3/apps/ghex/default.nix
··· 24 24 outputs = [ "out" "dev" ]; 25 25 26 26 src = fetchurl { 27 - url = "mirror://gnome/sources/ghex/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 + url = "mirror://gnome/sources/ghex/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 28 sha256 = "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"; 29 29 }; 30 30
+1 -1
pkgs/desktops/gnome-3/apps/gnome-books/default.nix
··· 31 31 version = "3.34.0"; 32 32 33 33 src = fetchurl { 34 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 35 sha256 = "153vknqisjn5f105avzm933fsc3v0pjzzbwxlqxf8vjjksh1cmya"; 36 36 }; 37 37
+2 -2
pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
··· 56 56 version = "3.38.2"; 57 57 58 58 src = fetchurl { 59 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 59 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 60 60 sha256 = "1zjvng0izbws3506998l3dwsxjbm7wnhqipb8nmqzvi096czvajl"; 61 61 }; 62 62 ··· 120 120 ]; 121 121 122 122 preFixup = '' 123 - gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ mtools cdrkit libcdio ]}") 123 + gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ mtools cdrkit libcdio ]}") 124 124 ''; 125 125 126 126 postPatch = ''
+1 -1
pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix
··· 28 28 version = "3.38.2"; 29 29 30 30 src = fetchurl { 31 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 32 sha256 = "0SG7NLCLbqYB9du6Q6SxYTpuVJP8Cx4uzJDGZnEakS0="; 33 33 }; 34 34
+1 -1
pkgs/desktops/gnome-3/apps/gnome-characters/default.nix
··· 23 23 version = "3.34.0"; 24 24 25 25 src = fetchurl { 26 - url = "mirror://gnome/sources/gnome-characters/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 + url = "mirror://gnome/sources/gnome-characters/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 27 sha256 = "0mqaxsa7hcmvid3zbzvxpfkp7s01ghiq6kaibmd3169axrr8ahql"; 28 28 }; 29 29
+1 -1
pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
··· 30 30 version = "3.38.0"; 31 31 32 32 src = fetchurl { 33 - url = "mirror://gnome/sources/gnome-clocks/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 + url = "mirror://gnome/sources/gnome-clocks/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 34 sha256 = "0f24g76ax59qnms1rjfyf1i0sa84nadgbr0r6m26p90w1w2wnmnr"; 35 35 }; 36 36
+1 -1
pkgs/desktops/gnome-3/apps/gnome-connections/default.nix
··· 23 23 version = "3.38.1"; 24 24 25 25 src = fetchurl { 26 - url = "mirror://gnome/sources/connections/${stdenv.lib.versions.majorMinor version}/connections-${version}.tar.xz"; 26 + url = "mirror://gnome/sources/connections/${lib.versions.majorMinor version}/connections-${version}.tar.xz"; 27 27 hash = "sha256-5c7uBFkh9Vsw6bWWUDjNTMDrrFqI5JEgYlsWpfyuTpA="; 28 28 }; 29 29
+1 -1
pkgs/desktops/gnome-3/apps/gnome-documents/default.nix
··· 38 38 version = "3.34.0"; 39 39 40 40 src = fetchurl { 41 - url = "mirror://gnome/sources/gnome-documents/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 41 + url = "mirror://gnome/sources/gnome-documents/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 42 42 sha256 = "1qph567mapg3s1a26k7b8y57g9bklhj2mh8xm758z9zkms20xafq"; 43 43 }; 44 44
+1 -1
pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix
··· 5 5 version = "3.38.0"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/gnome-getting-started-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/gnome-getting-started-docs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0ficf4i4njqrx3dn5rdkvpvcys5mwfma4zkgfmfkq964jxpwzqvw"; 10 10 }; 11 11
+1 -1
pkgs/desktops/gnome-3/apps/gnome-logs/default.nix
··· 24 24 version = "3.36.0"; 25 25 26 26 src = fetchurl { 27 - url = "mirror://gnome/sources/gnome-logs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 + url = "mirror://gnome/sources/gnome-logs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 28 sha256 = "0w1nfdxbv3f0wnhmdy21ydvr4swfc108hypda561p7l9lrhnnxj4"; 29 29 }; 30 30
+1 -1
pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
··· 32 32 version = "3.38.2"; 33 33 34 34 src = fetchurl { 35 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 36 sha256 = "0pa6h3md688752l7cjggncnxv13c07nj584gbz9asdblljk3r9x1"; 37 37 }; 38 38
+1 -1
pkgs/desktops/gnome-3/apps/gnome-music/default.nix
··· 35 35 format = "other"; 36 36 37 37 src = fetchurl { 38 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 38 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 39 39 sha256 = "0c2051wngf3jrifl5bv5kyqcci459n62vixxkryiryjcaqwbd1am"; 40 40 }; 41 41
+1 -1
pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix
··· 6 6 version = "3.8.1"; 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 = "1c9cvzvyqgfwa5zzyvp7118pkclji62fkbb33g4y9sp5kw6m397h"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/apps/gnome-notes/default.nix
··· 27 27 version = "3.38.0"; 28 28 29 29 src = fetchurl { 30 - url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz"; 30 + url = "mirror://gnome/sources/bijiben/${lib.versions.majorMinor version}/bijiben-${version}.tar.xz"; 31 31 sha256 = "H/bMCsbGKQe/KgmhchXt0vF7dNrKs6XIminDBJFyvis="; 32 32 }; 33 33
+1 -1
pkgs/desktops/gnome-3/apps/gnome-power-manager/default.nix
··· 19 19 name = "${pname}-${version}"; 20 20 21 21 src = fetchurl { 22 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 22 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 23 23 sha256 = "0drfn3wcc8l4n07qwv6p0rw2dwcd00hwzda282q62l6sasks2b2g"; 24 24 }; 25 25
+1 -1
pkgs/desktops/gnome-3/apps/gnome-sound-recorder/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 = "I5A/c2G+QQhw+6lHIJFnuW9JB2MGQdM8y6qOQvV0tpk="; 27 27 }; 28 28
+1 -1
pkgs/desktops/gnome-3/apps/gnome-todo/default.nix
··· 26 26 version = "3.28.1"; 27 27 28 28 src = fetchurl { 29 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 30 sha256 = "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"; 31 31 }; 32 32
+1 -1
pkgs/desktops/gnome-3/apps/gnome-weather/default.nix
··· 6 6 version = "3.36.1"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/gnome-weather/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/gnome-weather/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "11z75ky6xp9hx7lm24xng7ydr20bzh4d6p9sbi9c8ccz2m3fdrk8"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/apps/polari/default.nix
··· 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 14 14 sha256 = "1l82nmb5qk4h69rsdhzlcmjjdhwh9jzfs4cnw8hy39sg5v9ady1s"; 15 15 }; 16 16
+1 -1
pkgs/desktops/gnome-3/apps/seahorse/default.nix
··· 30 30 version = "3.38.0.1"; 31 31 32 32 src = fetchurl { 33 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 34 hash = "sha256-x0XdHebhog8ZorB6Q4uO98yiNaaqc0ENt/E3sCHpsqI="; 35 35 }; 36 36
+1 -1
pkgs/desktops/gnome-3/apps/vinagre/default.nix
··· 6 6 version = "3.22.0"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/vinagre/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/vinagre/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix
··· 6 6 version = "3.38.0"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "15xgz9wzk07442x3s3052as95g0223z4pp9qlsgcs323yama30v6"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/core/baobab/default.nix
··· 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 12 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 13 13 sha256 = "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"; 14 14 }; 15 15
+1 -1
pkgs/desktops/gnome-3/core/caribou/default.nix
··· 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 14 14 sha256 = "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"; 15 15 }; 16 16
+1 -1
pkgs/desktops/gnome-3/core/dconf-editor/default.nix
··· 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 12 12 sha256 = "1d1y33c6fm86xz9xbh3bfz4y2pyas01a58lmirmdx0lh6yd292bd"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/core/empathy/default.nix
··· 55 55 version = "3.25.90"; 56 56 57 57 src = fetchurl { 58 - url = "mirror://gnome/sources/empathy/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 58 + url = "mirror://gnome/sources/empathy/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 59 59 sha256 = "0sn10fcymc6lyrabk7vx8lpvlaxxkqnmcwj9zdkfa8qf3388k4nc"; 60 60 }; 61 61
+1 -1
pkgs/desktops/gnome-3/core/eog/default.nix
··· 31 31 version = "3.38.1"; 32 32 33 33 src = fetchurl { 34 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 35 sha256 = "1xqcfil3b68clafnxg1migp54psqh5x6arnlvdqgmvvpq9hwj7dp"; 36 36 }; 37 37
+1 -1
pkgs/desktops/gnome-3/core/epiphany/default.nix
··· 39 39 version = "3.38.2"; 40 40 41 41 src = fetchurl { 42 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 42 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 43 43 sha256 = "0v8iymg72m83ikxxyhapvz5v8zh8hlr1pw7n215cy3p8q6yg41cb"; 44 44 }; 45 45
+4 -4
pkgs/desktops/gnome-3/core/evince/default.nix
··· 48 48 outputs = [ "out" "dev" "devdoc" ]; 49 49 50 50 src = fetchurl { 51 - url = "mirror://gnome/sources/evince/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 51 + url = "mirror://gnome/sources/evince/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 52 52 sha256 = "0j0ry0y9qi1mlm7dcjwrmrw45s1225ri8sv0s9vb8ibm85x8kpr6"; 53 53 }; 54 54 ··· 94 94 poppler 95 95 t1lib 96 96 texlive.bin.core # kpathsea for DVI support 97 - ] ++ stdenv.lib.optional supportXPS libgxps 98 - ++ stdenv.lib.optionals supportMultimedia (with gst_all_1; [ 97 + ] ++ lib.optional supportXPS libgxps 98 + ++ lib.optionals supportMultimedia (with gst_all_1; [ 99 99 gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ]); 100 100 101 101 mesonFlags = [ ··· 126 126 on the GNOME Desktop with a single simple application. 127 127 ''; 128 128 129 - license = stdenv.lib.licenses.gpl2Plus; 129 + license = lib.licenses.gpl2Plus; 130 130 platforms = platforms.linux; 131 131 maintainers = teams.gnome.members; 132 132 };
+1 -1
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
··· 11 11 outputs = [ "out" "dev" ]; 12 12 13 13 src = fetchurl { 14 - url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 14 + url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 15 15 sha256 = "0mflr8a3f2q55rirvqhizji0zinic75jk8mksflszqzgcdcph85z"; 16 16 }; 17 17
+2 -2
pkgs/desktops/gnome-3/core/gdm/default.nix
··· 52 52 outputs = [ "out" "dev" ]; 53 53 54 54 src = fetchurl { 55 - url = "mirror://gnome/sources/gdm/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 55 + url = "mirror://gnome/sources/gdm/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 56 56 sha256 = "yliiBdXr/L2rVqEXFriY4Wrl3/Ia7nnQdgRkRGKOxNo="; 57 57 }; 58 58 ··· 129 129 130 130 # Upstream checks some common paths to find an `X` binary. We already know it. 131 131 echo #!/bin/sh > build-aux/find-x-server.sh 132 - echo "echo ${stdenv.lib.getBin xorg.xorgserver}/bin/X" >> build-aux/find-x-server.sh 132 + echo "echo ${lib.getBin xorg.xorgserver}/bin/X" >> build-aux/find-x-server.sh 133 133 patchShebangs build-aux/find-x-server.sh 134 134 ''; 135 135
+1 -1
pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix
··· 5 5 version = "3.38.0"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/gnome-backgrounds/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1qqygm15rcdgm36vz2iy7b9axndjzvpi29lmygyakjc07a3jlwgp"; 10 10 }; 11 11
+1 -1
pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix
··· 12 12 outputs = [ "out" "dev" "devdoc" "man" ]; 13 13 14 14 src = fetchurl { 15 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 15 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 16 16 sha256 = "08k4jak4r72pvn5kjhm21planyc514j6c7jjj5lv9nmvvlxqw1ha"; 17 17 }; 18 18
+1 -1
pkgs/desktops/gnome-3/core/gnome-calculator/default.nix
··· 7 7 version = "3.38.2"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/gnome-calculator/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/gnome-calculator/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "0sri58cp6v07cqpdsf8dhf9dnykz305kvkx0l9dd25g06djcr0wc"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix
··· 24 24 version = "3.32.0"; 25 25 26 26 src = fetchurl { 27 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 28 sha256 = "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"; 29 29 }; 30 30
+1 -1
pkgs/desktops/gnome-3/core/gnome-common/default.nix
··· 5 5 version = "3.18.0"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/gnome-common/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/gnome-common/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf"; 10 10 }; 11 11
+1 -1
pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
··· 32 32 version = "3.38.1"; 33 33 34 34 src = fetchurl { 35 - url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 + url = "mirror://gnome/sources/gnome-contacts/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 36 sha256 = "0hsq0dwxjahcaxnm1m4r1lync9k2fkwzybfmkchrmn95vqcwwvf9"; 37 37 }; 38 38
+1 -1
pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
··· 73 73 version = "3.38.1"; 74 74 75 75 src = fetchurl { 76 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 76 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 77 77 sha256 = "09i011hf23s2i4wim43vjys7y4y43cxl3kyvrnrwqvqgc5n0144d"; 78 78 }; 79 79 # See https://mail.gnome.org/archives/distributor-list/2020-September/msg00001.html
+1 -1
pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
··· 9 9 outputs = [ "out" "dev" "devdoc" ]; 10 10 11 11 src = fetchurl { 12 - url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 + url = "mirror://gnome/sources/gnome-desktop/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 13 sha256 = "1m7iww1zk845szs9s3zc8a1s1wpd6kizndhq7gqy3575c0xgr2w9"; 14 14 }; 15 15
+1 -1
pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix
··· 7 7 version = "3.26.1"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/gnome-dictionary/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "16b8bc248dcf68987826d5e39234b1bb7fd24a2607fcdbf4258fde88f012f300"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
··· 8 8 version = "3.38.1"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "1TuF3BMDobXOHkIcH1xqwLMY4HzZqVk50uHwlZpe19k="; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix
··· 7 7 version = "3.34.0"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/gnome-font-viewer/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "12xrsqwmvid7hksiw4zhj4jd1qwxn8w0czskbq4yqfprwn1havxa"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/core/gnome-initial-setup/default.nix
··· 41 41 version = "3.38.2"; 42 42 43 43 src = fetchurl { 44 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 44 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 45 45 hash = "sha256-qliJJ0+LC23moFErR3Qrgqw0ANrsgt1O/+LuonRko7g="; 46 46 }; 47 47
+1 -1
pkgs/desktops/gnome-3/core/gnome-keyring/default.nix
··· 7 7 version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/gnome-keyring/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/gnome-keyring/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "11sgffrrpss5cmv3b717pqlbhgq17l1xd33fsvqgsw8simxbar52"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
··· 29 29 version = "3.34.0"; 30 30 31 31 src = fetchurl { 32 - url = "mirror://gnome/sources/gnome-online-miners/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 + url = "mirror://gnome/sources/gnome-online-miners/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 33 sha256 = "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"; 34 34 }; 35 35
+1 -1
pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix
··· 21 21 version = "0.1.9"; 22 22 23 23 src = fetchurl { 24 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 25 hash = "sha256-8iZtp4tBRT7NNRKuzwop3rcMvq16RG/I2sAlEIsJ0M8="; 26 26 }; 27 27
+1 -1
pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix
··· 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 12 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 13 13 sha256 = "1h4zsaybjrlkfcrvriyybg4gfr7v9d1ndh2p516k94ad2gfx6mp5"; 14 14 }; 15 15
+1 -1
pkgs/desktops/gnome-3/core/gnome-session/default.nix
··· 9 9 outputs = ["out" "sessions"]; 10 10 11 11 src = fetchurl { 12 - url = "mirror://gnome/sources/gnome-session/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 + url = "mirror://gnome/sources/gnome-session/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 13 sha256 = "0rrxjk3vbqy3cdgnl7rw71dvcyrvhwq3m6s53dnkyjxsrnr0xk3v"; 14 14 }; 15 15
+1 -1
pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
··· 45 45 version = "3.38.1"; 46 46 47 47 src = fetchurl { 48 - url = "mirror://gnome/sources/gnome-settings-daemon/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 48 + url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 49 49 sha256 = "0r010wzw3dj87mapzvq15zv93i86wg0x0rpii3x2wapq3bcj30g2"; 50 50 }; 51 51
+1 -1
pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix
··· 6 6 version = "3.38.2"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "0hzn975v49rv3nsqp8m0mzv8gcm7nyvn54gj3zsml8ahlxwl592p"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/core/gnome-shell/default.nix
··· 70 70 outputs = [ "out" "devdoc" ]; 71 71 72 72 src = fetchurl { 73 - url = "mirror://gnome/sources/gnome-shell/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 73 + url = "mirror://gnome/sources/gnome-shell/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 74 74 sha256 = "05fm7kxyvws2lbb156wfa2wf4xmkxr49rrjxg0yaxf68v000yq2k"; 75 75 }; 76 76
+3 -3
pkgs/desktops/gnome-3/core/gnome-software/default.nix
··· 15 15 version = "3.38.0"; 16 16 17 17 src = fetchurl { 18 - url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 + url = "mirror://gnome/sources/gnome-software/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 19 19 sha256 = "0rjm486vgn6gi9mv1rqdcvr9cilmw6in4r6djqkxbxqll89cp2l7"; 20 20 }; 21 21 ··· 36 36 gsettings-desktop-schemas gnome-desktop 37 37 gspell json-glib libsecret ostree 38 38 polkit flatpak libxmlb gnome-online-accounts libsysprof-capture 39 - ] ++ stdenv.lib.optionals withFwupd [ 39 + ] ++ lib.optionals withFwupd [ 40 40 fwupd 41 41 ]; 42 42 ··· 45 45 "-Dgudev=false" 46 46 # FIXME: package malcontent parental controls 47 47 "-Dmalcontent=false" 48 - ] ++ stdenv.lib.optionals (!withFwupd) [ 48 + ] ++ lib.optionals (!withFwupd) [ 49 49 "-Dfwupd=false" 50 50 ]; 51 51
+1 -1
pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
··· 7 7 version = "3.38.0"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/gnome-system-monitor/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "1x5gd30g87im7fnqj63njlac69zywfd1r0vgsxkjag2hsns7mgvk"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
··· 8 8 version = "3.38.1"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/gnome-terminal/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "1lgkvla0fadg76j898p2x2fipqf8kkqbbmmsfkfpz11q9y1d966r"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix
··· 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 12 12 sha256 = "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/core/gnome-tour/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 hash = "sha256-hV/C/Lyz6e9zhe3FRw4Sox5gMqThDP57wVCTgcekjng="; 27 27 }; 28 28
+1 -1
pkgs/desktops/gnome-3/core/gnome-user-share/default.nix
··· 25 25 version = "3.34.0"; 26 26 27 27 src = fetchurl { 28 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 29 sha256 = "04r9ck9v4i0d31grbli1d4slw2d6dcsfkpaybkwbzi7wnj72l30x"; 30 30 }; 31 31
+3 -3
pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix
··· 1 - { stdenv, fetchurl, glib, dbus, libgcrypt, pkgconfig, intltool, gobject-introspection, gnome3 }: 1 + { lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkgconfig, intltool, gobject-introspection, gnome3 }: 2 2 3 3 let 4 4 pname = "libgnome-keyring"; ··· 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 12 12 sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783"; 13 13 }; 14 14 ··· 27 27 meta = { 28 28 description = "Framework for managing passwords and other secrets"; 29 29 homepage = "https://wiki.gnome.org/Projects/GnomeKeyring"; 30 - license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ]; 30 + license = with lib.licenses; [ gpl2Plus lgpl2Plus ]; 31 31 inherit (glib.meta) platforms maintainers; 32 32 33 33 longDescription = ''
+1 -1
pkgs/desktops/gnome-3/core/mutter/3.34/default.nix
··· 48 48 outputs = [ "out" "dev" "man" ]; 49 49 50 50 src = fetchurl { 51 - url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 51 + url = "mirror://gnome/sources/mutter/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 52 52 hash = "sha256-I73ofTO4mBNYgxzsiRW7X/Hq+cHedMkM0WYLG5WINSY="; 53 53 }; 54 54
+1 -1
pkgs/desktops/gnome-3/core/mutter/default.nix
··· 47 47 outputs = [ "out" "dev" "man" ]; 48 48 49 49 src = fetchurl { 50 - url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 50 + url = "mirror://gnome/sources/mutter/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 51 51 sha256 = "03a612m0c7v6y72bs3ghmpyk49177fzq6gdy1jrz4608vnalx5yr"; 52 52 }; 53 53
+1 -1
pkgs/desktops/gnome-3/core/nautilus/default.nix
··· 35 35 version = "3.38.2"; 36 36 37 37 src = fetchurl { 38 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 38 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 39 39 sha256 = "19ln84d6s05h6cvx3c500bg5pvkz4k6p6ykmr2201rblq9afp76h"; 40 40 }; 41 41
+1 -1
pkgs/desktops/gnome-3/core/rygel/default.nix
··· 34 34 outputs = [ "out" "dev" ]; 35 35 36 36 src = fetchurl { 37 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 37 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 38 38 sha256 = "0xrbdsgm78h3g4qcvq2p8k70q31x9xdbb35bixz36q6h9s1wqznn"; 39 39 }; 40 40
+1 -1
pkgs/desktops/gnome-3/core/simple-scan/default.nix
··· 27 27 version = "3.38.1"; 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 = "0grscz96bwj79ka4qvxh8h75avdx6824k8k38ylmaj6xbl6gi0hy"; 32 32 }; 33 33
+1 -1
pkgs/desktops/gnome-3/core/sushi/default.nix
··· 28 28 version = "3.38.0"; 29 29 30 30 src = fetchurl { 31 - url = "mirror://gnome/sources/sushi/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 + url = "mirror://gnome/sources/sushi/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 32 sha256 = "0vlqqk916dymv4asbyvalp1m096a5hh99nx23i4xavzvgygh4h2h"; 33 33 }; 34 34
+1 -1
pkgs/desktops/gnome-3/core/totem/default.nix
··· 33 33 version = "3.38.0"; 34 34 35 35 src = fetchurl { 36 - url = "mirror://gnome/sources/totem/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 + url = "mirror://gnome/sources/totem/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 37 37 sha256 = "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"; 38 38 }; 39 39
+1 -1
pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
··· 13 13 version = "3.38.1"; 14 14 15 15 src = fetchurl { 16 - url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 16 + url = "mirror://gnome/sources/yelp-xsl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 17 sha256 = "0ryzvkcgxp7xi0icmpdl2rinjn904s8imbxdi6wshzxblqymc8dk"; 18 18 }; 19 19
+1 -1
pkgs/desktops/gnome-3/core/yelp/default.nix
··· 8 8 version = "3.38.1"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/yelp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "102z8khj82vdp12c3y86hhxwm1x89xpkpc5zs63c7gg21cbrwdbl"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/core/zenity/default.nix
··· 16 16 version = "3.32.0"; 17 17 18 18 src = fetchurl { 19 - url = "mirror://gnome/sources/zenity/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 19 + url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 20 sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"; 21 21 }; 22 22
+1 -1
pkgs/desktops/gnome-3/devtools/anjuta/default.nix
··· 7 7 version = "3.34.0"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/anjuta/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/anjuta/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "13ql7axw6zz387s7pa1m7wmh7qps3x7fk53h9832vq1yxlq33aa2"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/devtools/devhelp/default.nix
··· 23 23 version = "3.38.1"; 24 24 25 25 src = fetchurl { 26 - url = "mirror://gnome/sources/devhelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 + url = "mirror://gnome/sources/devhelp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 27 sha256 = "13sa25mmlc49kn520hdfbskma65y7smvwmyhfggj0n9s3fazba2d"; 28 28 }; 29 29
+1 -1
pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix
··· 5 5 version = "3.38.2"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/gnome-devel-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/gnome-devel-docs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1h6481hbz1c5p69r6h96hbgf560lhp1jibszscgw0s2yikdh6q8n"; 10 10 }; 11 11
+2 -2
pkgs/desktops/gnome-3/extensions/clock-override/default.nix
··· 1 - { stdenv, fetchzip, gnome3, gettext, glib }: 1 + { lib, stdenv, fetchzip, gnome3, gettext, glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-clock-override"; ··· 27 27 runHook postInstall 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "Customize the date and time format displayed in clock in the top bar in GNOME Shell"; 32 32 license = licenses.mit; 33 33 maintainers = with maintainers; [ rhoriguchi ];
+1 -1
pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix
··· 25 25 maintainers = with maintainers; [ eperuffo ]; 26 26 homepage = "https://github.com/phocean/TopIcons-plus"; 27 27 # Unmaintained and no longer working with GNOME Shell 3.34+ 28 - broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.32"; 28 + broken = lib.versionAtLeast gnome3.gnome-shell.version "3.32"; 29 29 }; 30 30 }
+2 -2
pkgs/desktops/gnome-3/extensions/unite-shell/default.nix
··· 1 - { stdenv, gnome3, fetchFromGitHub, xprop, glib, coreutils }: 1 + { lib, stdenv, gnome3, fetchFromGitHub, xprop, glib, coreutils }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "gnome-shell-extension-unite-shell"; 4 4 version = "44"; ··· 29 29 runHook postInstall 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "Unite is a GNOME Shell extension which makes a few layout tweaks to the top panel and removes window decorations to make it look like Ubuntu Unity Shell"; 34 34 license = licenses.gpl3Only; 35 35 maintainers = with maintainers; [ rhoriguchi ];
+1 -1
pkgs/desktops/gnome-3/extensions/window-corner-preview/default.nix
··· 26 26 license = licenses.mit; 27 27 maintainers = with maintainers; [ jtojnar ]; 28 28 homepage = "https://github.com/medenagan/window-corner-preview"; 29 - broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.32"; # Doesn't support 3.34 29 + broken = lib.versionAtLeast gnome3.gnome-shell.version "3.32"; # Doesn't support 3.34 30 30 }; 31 31 }
+1 -1
pkgs/desktops/gnome-3/games/atomix/default.nix
··· 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 12 12 sha256 = "0h909a4mccf160hi0aimyicqhq2b0gk1dmqp7qwf87qghfrw6m00"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/games/five-or-more/default.nix
··· 6 6 version = "3.32.2"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/five-or-more/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/five-or-more/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/games/four-in-a-row/default.nix
··· 7 7 version = "3.38.1"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/four-in-a-row/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "10ji60bdfdzb6wk5dkwjc3yww7hqi3yjcx1k1z7x2521h2dpdli1"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/games/gnome-chess/default.nix
··· 6 6 version = "3.38.1"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/gnome-chess/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/gnome-chess/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "1bpmi5p5vvjdq2rlm5x9k4gpci8jbrjvdxr1q62h5znzq0vz0w0l"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/games/gnome-klotski/default.nix
··· 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 14 14 sha256 = "00rwi6z0068pbq01sq2d389ffcqsh3ylq3i8zkrqvblqid1hvnlv"; 15 15 }; 16 16
+1 -1
pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix
··· 8 8 version = "3.38.3"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/gnome-mahjongg/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/gnome-mahjongg/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/games/gnome-mines/default.nix
··· 6 6 version = "3.36.1"; 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 = "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
··· 8 8 version = "3.38.2"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/gnome-nibbles/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "1naknfbciydbym79a0jq039xf0033z8gyln48c0qsbcfr2qn8yj5"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/games/gnome-robots/default.nix
··· 7 7 version = "3.38.0"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/gnome-robots/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/gnome-robots/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "1qpzpsyj9i5dsfy7anfb2dcm602bjkcgqj86fxvnxy6llx56ks0z"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix
··· 6 6 version = "3.38.0"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/gnome-sudoku/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "0cpxx63liczmax6ry06r5k0f221xpg2rqh49vkdj2snmqq61swrq"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
··· 8 8 version = "3.38.1"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/gnome-taquin/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/gnome-taquin/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "0kw131q0ad0rbsp6qifjc8fjlhvjxyihil8a76kj8ya9mn7kvnwn"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix
··· 8 8 version = "3.38.2"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/gnome-tetravex/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/gnome-tetravex/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "06wihvqp2p52zd2dnknsc3rii69qib4a30yp15h558xrg44z3k8z"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/games/hitori/default.nix
··· 21 21 version = "3.38.0"; 22 22 23 23 src = fetchurl { 24 - url = "mirror://gnome/sources/hitori/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + url = "mirror://gnome/sources/hitori/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 25 sha256 = "0gjbbh4gym8wwa4jjg7wwifjh2h7bf6m0x23c5jjxvrf3vln9gfq"; 26 26 }; 27 27
+1 -1
pkgs/desktops/gnome-3/games/iagno/default.nix
··· 22 22 version = "3.38.1"; 23 23 24 24 src = fetchurl { 25 - url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + url = "mirror://gnome/sources/iagno/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 26 sha256 = "097dw1l92l73xah9l56ka5mi3dvx48ffpiv33ni5i5rqw0ng7fc4"; 27 27 }; 28 28
+1 -1
pkgs/desktops/gnome-3/games/lightsoff/default.nix
··· 7 7 version = "3.38.0"; 8 8 9 9 src = fetchurl { 10 - url = "mirror://gnome/sources/lightsoff/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + url = "mirror://gnome/sources/lightsoff/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 11 sha256 = "0dpnnw8v1yk1p0y08f9c9xkgswqlm8x83dfn96798nif2zbypdnh"; 12 12 }; 13 13
+1 -1
pkgs/desktops/gnome-3/games/quadrapassel/default.nix
··· 9 9 version = "3.38.1"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 13 sha256 = "033plabc6q3sk6qjr5nml8z6p07vcw57gxddxjk9b65wgg0rzzhr"; 14 14 }; 15 15
+1 -1
pkgs/desktops/gnome-3/games/swell-foop/default.nix
··· 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 12 12 sha256 = "1032psxm59nissi268bh3j964m4a0n0ah4dy1pf0ph27j3zvdik1"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/games/tali/default.nix
··· 8 8 version = "3.38.0"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/tali/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/tali/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "196f6hiap61sdqr7kvywk74yl0m2j7fvqml37p6cgfm7gfrhrvi9"; 13 13 }; 14 14
+1 -1
pkgs/desktops/gnome-3/misc/geary/default.nix
··· 48 48 version = "3.38.1"; 49 49 50 50 src = fetchurl { 51 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 51 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 52 52 sha256 = "04p8fjkz4xp5afp0ld1m09pnv0zkcx51l7hf23amfrjkk0kj2bp7"; 53 53 }; 54 54
+1 -1
pkgs/desktops/gnome-3/misc/gitg/default.nix
··· 32 32 version = "3.32.1"; 33 33 34 34 src = fetchurl { 35 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 36 sha256 = "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"; 37 37 }; 38 38
+1 -1
pkgs/desktops/gnome-3/misc/gnome-applets/default.nix
··· 26 26 version = "3.38.0"; 27 27 28 28 src = fetchurl { 29 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 30 sha256 = "04qrzycwm7pz556agl08xw3d0r1mmr4ja9n9jfijjxs9inrhp5yc"; 31 31 }; 32 32
+1 -1
pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix
··· 16 16 outputs = [ "out" "dev" ]; 17 17 18 18 src = fetchurl { 19 - url = "mirror://gnome/sources/gnome-autoar/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 19 + url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 20 sha256 = "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"; 21 21 }; 22 22
+2 -2
pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
··· 54 54 "org.gnome.SettingsDaemon.Wacom" 55 55 "org.gnome.SettingsDaemon.XSettings" 56 56 ]; 57 - requiredComponents = wmName: "RequiredComponents=${stdenv.lib.concatStringsSep ";" ([ wmName ] ++ requiredComponentsCommon ++ requiredComponentsGsd)};"; 57 + requiredComponents = wmName: "RequiredComponents=${lib.concatStringsSep ";" ([ wmName ] ++ requiredComponentsCommon ++ requiredComponentsGsd)};"; 58 58 gnome-flashback = stdenv.mkDerivation rec { 59 59 name = "${pname}-${version}"; 60 60 61 61 src = fetchurl { 62 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 62 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 63 63 sha256 = "1r51yqdqichp4jv54kiaqrh0xhykngr4ymlvrkjhzdhivwadsg4m"; 64 64 }; 65 65
+1 -1
pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix
··· 6 6 version = "3.32.0"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/gnome-packagekit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/gnome-packagekit/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "08rhsisdvx7pnx3rrg5v7c09jbw4grglkdj979gwl4a31j24zjsd"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/misc/gnome-panel/default.nix
··· 28 28 outputs = [ "out" "dev" "man" ]; 29 29 30 30 src = fetchurl { 31 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 32 hash = "sha256-GosVrvCgKmyqm5IJyNP7Q+e5h6OAB2aRwj8DFOwwLxU="; 33 33 }; 34 34
+1 -1
pkgs/desktops/gnome-3/misc/gtkhtml/default.nix
··· 6 6 version = "4.10.0"; 7 7 8 8 src = fetchurl { 9 - url = "mirror://gnome/sources/gtkhtml/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "mirror://gnome/sources/gtkhtml/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3"; 11 11 }; 12 12
+1 -1
pkgs/desktops/gnome-3/misc/libgnome-games-support/default.nix
··· 17 17 version = "1.8.0"; 18 18 19 19 src = fetchurl { 20 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 21 21 sha256 = "1pdk9hc30xdlv0ba24f7pvcr2d5370zykrmpws7hgmjgl4wfbpdb"; 22 22 }; 23 23
+1 -1
pkgs/desktops/gnome-3/misc/metacity/default.nix
··· 21 21 version = "3.38.0"; 22 22 23 23 src = fetchurl { 24 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 25 sha256 = "1b0i9sq6qa540f2006cv1p8i6lxg1h6w00apxwzwjpfqn0hk26c1"; 26 26 }; 27 27
+1 -1
pkgs/desktops/gnome-3/misc/nautilus-python/default.nix
··· 19 19 outputs = [ "out" "dev" "doc" ]; 20 20 21 21 src = fetchurl { 22 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 23 sha256 = "161050sx3sdxqcpjkjcpf6wl4kx0jydihga7mcvrj9c2f8ly0g07"; 24 24 }; 25 25
+4 -4
pkgs/desktops/gnustep/make/default.nix
··· 1 - { stdenv, fetchurl, clang, which, libobjc }: 1 + { lib, stdenv, fetchurl, clang, which, libobjc }: 2 2 3 3 let 4 4 version = "2.8.0"; ··· 32 32 meta = { 33 33 description = "A build manager for GNUstep"; 34 34 homepage = "http://gnustep.org/"; 35 - license = stdenv.lib.licenses.lgpl2Plus; 36 - maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ]; 37 - platforms = stdenv.lib.platforms.unix; 35 + license = lib.licenses.lgpl2Plus; 36 + maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ]; 37 + platforms = lib.platforms.unix; 38 38 }; 39 39 }
+4 -4
pkgs/desktops/gnustep/make/gsmakeDerivation.nix
··· 1 - { stdenv, make, makeWrapper, which }: 1 + { lib, stdenv, make, makeWrapper, which }: 2 2 { buildInputs ? [], ...} @ args: 3 3 stdenv.mkDerivation (args // { 4 4 buildInputs = [ makeWrapper make which ] ++ buildInputs; ··· 11 11 meta = { 12 12 homepage = "http://gnustep.org/"; 13 13 14 - license = stdenv.lib.licenses.lgpl2Plus; 14 + license = lib.licenses.lgpl2Plus; 15 15 16 - maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ]; 17 - platforms = stdenv.lib.platforms.linux; 16 + maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ]; 17 + platforms = lib.platforms.linux; 18 18 } // (if builtins.hasAttr "meta" args then args.meta else {}); 19 19 })
+2 -2
pkgs/desktops/lumina/lumina-calculator/default.nix
··· 10 10 rev = "v${version}"; 11 11 sha256 = "1238d1m0mjkwkdpgq165a4ql9aql0aji5f41rzdzny6m7ws9nm2y"; 12 12 }; 13 - 13 + 14 14 sourceRoot = "source/src-qt5"; 15 15 16 16 nativeBuildInputs = [ qmake qttools ]; ··· 19 19 20 20 qmakeFlags = [ 21 21 "CONFIG+=WITH_I18N" 22 - "LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease" 22 + "LRELEASE=${lib.getDev qttools}/bin/lrelease" 23 23 ]; 24 24 25 25 meta = with lib; {
+2 -2
pkgs/desktops/lumina/lumina-pdf/default.nix
··· 10 10 rev = "v${version}"; 11 11 sha256 = "08caj4nashp79fbvj94rabn0iaa1hymifqmb782x03nb2vkn38r6"; 12 12 }; 13 - 13 + 14 14 sourceRoot = "source/src-qt5"; 15 15 16 16 nativeBuildInputs = [ qmake qttools ]; ··· 23 23 24 24 qmakeFlags = [ 25 25 "CONFIG+=WITH_I18N" 26 - "LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease" 26 + "LRELEASE=${lib.getDev qttools}/bin/lrelease" 27 27 ]; 28 28 29 29 enableParallelBuilding = false;
+2 -2
pkgs/desktops/lumina/lumina/default.nix
··· 70 70 71 71 # Add full path of bsdtar to lumina-archiver 72 72 substituteInPlace src-qt5/desktop-utils/lumina-archiver/TarBackend.cpp \ 73 - --replace '"bsdtar"' '"${stdenv.lib.getBin libarchive}/bin/bsdtar"' 73 + --replace '"bsdtar"' '"${lib.getBin libarchive}/bin/bsdtar"' 74 74 75 75 # Fix desktop files 76 76 for i in $(grep -lir 'OnlyShowIn=Lumina' src-qt5); do ··· 81 81 qmakeFlags = [ 82 82 "LINUX_DISTRO=NixOS" 83 83 "CONFIG+=WITH_I18N" 84 - "LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease" 84 + "LRELEASE=${lib.getDev qttools}/bin/lrelease" 85 85 ]; 86 86 87 87 passthru.providedSessions = [ "Lumina-DE" ];
+1 -1
pkgs/desktops/lxde/core/lxappearance/default.nix
··· 30 30 ./lxappearance-0.6.3-xdg.system.data.dirs.patch 31 31 ]; 32 32 33 - configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3"; 33 + configureFlags = lib.optional withGtk3 "--enable-gtk3"; 34 34 35 35 meta = with lib; { 36 36 description = "Lightweight program for configuring the theme and fonts of gtk applications";
+3 -3
pkgs/desktops/lxde/core/lxmenu-data.nix
··· 1 - { stdenv, fetchurl, intltool }: 1 + { lib, stdenv, fetchurl, intltool }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lxmenu-data"; ··· 13 13 14 14 meta = { 15 15 homepage = "https://lxde.org/"; 16 - license = stdenv.lib.licenses.gpl2; 16 + license = lib.licenses.gpl2; 17 17 description = "Freedesktop.org desktop menus for LXDE"; 18 - platforms = stdenv.lib.platforms.linux; 18 + platforms = lib.platforms.linux; 19 19 }; 20 20 }
+5 -5
pkgs/desktops/lxde/core/lxpanel/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, m4, intltool, libxmlxx, keybinder 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, m4, intltool, libxmlxx, keybinder 2 2 , gtk2, libX11, libfm, libwnck, libXmu, libXpm, cairo, gdk-pixbuf, gdk-pixbuf-xlib 3 3 , menu-cache, lxmenu-data, wirelesstools, curl 4 4 , supportAlsa ? false, alsaLib ··· 16 16 buildInputs = [ 17 17 keybinder gtk2 libX11 libfm libwnck libXmu libXpm cairo gdk-pixbuf gdk-pixbuf-xlib.dev 18 18 menu-cache lxmenu-data m4 wirelesstools curl 19 - ] ++ stdenv.lib.optional supportAlsa alsaLib; 19 + ] ++ lib.optional supportAlsa alsaLib; 20 20 21 21 postPatch = '' 22 22 substituteInPlace src/Makefile.in \ ··· 28 28 meta = { 29 29 description = "Lightweight X11 desktop panel for LXDE"; 30 30 homepage = "https://lxde.org/"; 31 - license = stdenv.lib.licenses.gpl2; 32 - maintainers = [ stdenv.lib.maintainers.ryneeverett ]; 33 - platforms = stdenv.lib.platforms.linux; 31 + license = lib.licenses.gpl2; 32 + maintainers = [ lib.maintainers.ryneeverett ]; 33 + platforms = lib.platforms.linux; 34 34 }; 35 35 }
+3 -3
pkgs/desktops/lxde/core/lxrandr/default.nix
··· 8 8 sha256 = "04n3vgh3ix12p8jfs4w0dyfq3anbjy33h7g53wbbqqc0f74xyplb"; 9 9 }; 10 10 11 - configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3"; 11 + configureFlags = lib.optional withGtk3 "--enable-gtk3"; 12 12 13 13 nativeBuildInputs = [ pkgconfig intltool ]; 14 14 buildInputs = [ libX11 (if withGtk3 then gtk3 else gtk2) xrandr ]; ··· 16 16 meta = with lib; { 17 17 description = "Standard screen manager of LXDE"; 18 18 homepage = "https://lxde.org/"; 19 - license = stdenv.lib.licenses.gpl2; 19 + license = lib.licenses.gpl2; 20 20 maintainers = with maintainers; [ rawkode ]; 21 - platforms = stdenv.lib.platforms.linux; 21 + platforms = lib.platforms.linux; 22 22 }; 23 23 }
+4 -4
pkgs/desktops/lxde/core/lxtask/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk3, libintl }: 1 + { lib, stdenv, fetchurl, pkgconfig, intltool, gtk3, libintl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lxtask"; ··· 25 25 requires pure GTK. 26 26 ''; 27 27 homepage = "https://wiki.lxde.org/en/LXTask"; 28 - license = stdenv.lib.licenses.gpl2Plus; 29 - platforms = stdenv.lib.platforms.unix; 30 - maintainers = [ stdenv.lib.maintainers.romildo ]; 28 + license = lib.licenses.gpl2Plus; 29 + platforms = lib.platforms.unix; 30 + maintainers = [ lib.maintainers.romildo ]; 31 31 }; 32 32 }
+2 -2
pkgs/desktops/mate/atril/default.nix
··· 19 19 , enableImages ? false 20 20 }: 21 21 22 - with stdenv.lib; 22 + with lib; 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "atril"; 26 26 version = "1.24.0"; 27 27 28 28 src = fetchurl { 29 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 30 sha256 = "0967gxw7h2qh2kpwl0jgv58hicz6aa92kr12mnykbpikad25s95y"; 31 31 }; 32 32
+1 -1
pkgs/desktops/mate/caja-dropbox/default.nix
··· 10 10 version = "1.24.0"; 11 11 12 12 src = fetchurl { 13 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 14 14 sha256 = "1rcn82q58mv9hn5xamvzay2pw1szfk6zns94362476fcp786lji2"; 15 15 }; 16 16
+1 -1
pkgs/desktops/mate/caja-extensions/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "13jkynanqj8snys0if8lv6yx1y0jrm778s2152n4x65hsghc6cw5"; 10 10 }; 11 11
+5 -5
pkgs/desktops/mate/caja/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook }: 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "caja"; 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1cnfy481hcwjv3ia3kw0d4h7ga8cng0pqm3z349v4qcmfdapmqc0"; 10 10 }; 11 11 ··· 36 36 meta = { 37 37 description = "File manager for the MATE desktop"; 38 38 homepage = "https://mate-desktop.org"; 39 - license = with stdenv.lib.licenses; [ gpl2 lgpl2 ]; 40 - platforms = stdenv.lib.platforms.unix; 41 - maintainers = [ stdenv.lib.maintainers.romildo ]; 39 + license = with lib.licenses; [ gpl2 lgpl2 ]; 40 + platforms = lib.platforms.unix; 41 + maintainers = [ lib.maintainers.romildo ]; 42 42 }; 43 43 }
+5 -5
pkgs/desktops/mate/engrampa/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, itstool, libxml2, gtk3, file, mate, hicolor-icon-theme, wrapGAppsHook }: 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, itstool, libxml2, gtk3, file, mate, hicolor-icon-theme, wrapGAppsHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "engrampa"; 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0akjnz85qkpiqgj1ccn41rzbfid4l3r3nsm4s9s779ilzd7f097y"; 10 10 }; 11 11 ··· 35 35 meta = { 36 36 description = "Archive Manager for MATE"; 37 37 homepage = "https://mate-desktop.org"; 38 - license = stdenv.lib.licenses.gpl2; 39 - platforms = stdenv.lib.platforms.unix; 40 - maintainers = [ stdenv.lib.maintainers.romildo ]; 38 + license = lib.licenses.gpl2; 39 + platforms = lib.platforms.unix; 40 + maintainers = [ lib.maintainers.romildo ]; 41 41 }; 42 42 }
+5 -5
pkgs/desktops/mate/eom/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, itstool, exempi, lcms2, libexif, libjpeg, librsvg, libxml2, libpeas, shared-mime-info, gtk3, mate, hicolor-icon-theme, wrapGAppsHook }: 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, itstool, exempi, lcms2, libexif, libjpeg, librsvg, libxml2, libpeas, shared-mime-info, gtk3, mate, hicolor-icon-theme, wrapGAppsHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "eom"; 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0dralsc0dvs0l38cysdhx6kiaiqlb8qi6g9xz2cm6mjqyq3d3f9f"; 10 10 }; 11 11 ··· 35 35 meta = { 36 36 description = "An image viewing and cataloging program for the MATE desktop"; 37 37 homepage = "https://mate-desktop.org"; 38 - license = stdenv.lib.licenses.gpl2; 39 - platforms = stdenv.lib.platforms.unix; 40 - maintainers = [ stdenv.lib.maintainers.romildo ]; 38 + license = lib.licenses.gpl2; 39 + platforms = lib.platforms.unix; 40 + maintainers = [ lib.maintainers.romildo ]; 41 41 }; 42 42 }
+1 -1
pkgs/desktops/mate/libmatekbd/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "17mcxfkvl14p04id3n5kbhpjwjq00c8wmbyciyy2hm7kwdln6zx8"; 10 10 }; 11 11
+4 -4
pkgs/desktops/mate/libmatemixer/default.nix
··· 9 9 version = "1.24.1"; 10 10 11 11 src = fetchurl { 12 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 13 sha256 = "1n6rq7k66zvfd6sb7h92xihh021w9hysfa4yd1mzjcbb7c62ybqx"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ pkgconfig gettext ]; 17 17 18 18 buildInputs = [ glib ] 19 - ++ stdenv.lib.optional alsaSupport alsaLib 20 - ++ stdenv.lib.optional pulseaudioSupport libpulseaudio; 19 + ++ lib.optional alsaSupport alsaLib 20 + ++ lib.optional pulseaudioSupport libpulseaudio; 21 21 22 - configureFlags = stdenv.lib.optional ossSupport "--enable-oss"; 22 + configureFlags = lib.optional ossSupport "--enable-oss"; 23 23 24 24 enableParallelBuilding = true; 25 25
+1 -1
pkgs/desktops/mate/libmateweather/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "02d7c59pami1fzxg73mp6risa9hvsdpgs68f62wkg09nrppzsk4v"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/marco/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "109b41pjrc1b4slw6sx1lakdhrc46x829vczzk4bz3j15kcszg54"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-applets/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0h70i4x3bk017pgv4zn280682wm58vwdjm7kni91ni8rmblnnvyp"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-backgrounds/default.nix
··· 5 5 version = "1.24.2"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1ixb2vlm3dr52ibp4ggrbkf38m3q6i5lxjg4ix82gxbb6h6a3gp5"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-calc/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0imdimq5d5rjq8mkjcrsd683a2bn9acmhc0lmvyw71y0040inbaw"; 10 10 }; 11 11
+5 -5
pkgs/desktops/mate/mate-common/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mate-common"; 5 5 version = "1.24.2"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0srb2ly5pjq1g0cs8m39nbfv33dvsc2j4g2gw081xis3awzh3lki"; 10 10 }; 11 11 ··· 14 14 meta = { 15 15 description = "Common files for development of MATE packages"; 16 16 homepage = "https://mate-desktop.org"; 17 - license = stdenv.lib.licenses.gpl3; 18 - platforms = stdenv.lib.platforms.unix; 19 - maintainers = [ stdenv.lib.maintainers.romildo ]; 17 + license = lib.licenses.gpl3; 18 + platforms = lib.platforms.unix; 19 + maintainers = [ lib.maintainers.romildo ]; 20 20 }; 21 21 }
+1 -1
pkgs/desktops/mate/mate-control-center/default.nix
··· 8 8 version = "1.24.1"; 9 9 10 10 src = fetchurl { 11 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "08bai47fsmbxlw2lhig9n6c8sxr24ixkd1spq3j0635yzcqighb0"; 13 13 }; 14 14
+1 -1
pkgs/desktops/mate/mate-desktop/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1nd1dn8mm1z6x4r68a25q4vzys1a6fmbzc94ss1z1n1872pczs6i"; 10 10 }; 11 11
+5 -5
pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
··· 1 - { stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme }: 1 + { lib, stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mate-icon-theme-faenza"; 5 5 version = "1.20.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna"; 10 10 }; 11 11 ··· 26 26 meta = { 27 27 description = "Faenza icon theme from MATE"; 28 28 homepage = "https://mate-desktop.org"; 29 - license = stdenv.lib.licenses.gpl2; 30 - platforms = stdenv.lib.platforms.unix; 31 - maintainers = [ stdenv.lib.maintainers.romildo ]; 29 + license = lib.licenses.gpl2; 30 + platforms = lib.platforms.unix; 31 + maintainers = [ lib.maintainers.romildo ]; 32 32 }; 33 33 }
+5 -5
pkgs/desktops/mate/mate-icon-theme/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, iconnamingutils, librsvg, gtk3, hicolor-icon-theme }: 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, iconnamingutils, librsvg, gtk3, hicolor-icon-theme }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mate-icon-theme"; 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0a2lz61ivwwcdznmwlmgjr6ipr9sdl5g2czbagnpxkwz8f3m77na"; 10 10 }; 11 11 ··· 30 30 meta = { 31 31 description = "Icon themes from MATE"; 32 32 homepage = "https://mate-desktop.org"; 33 - license = stdenv.lib.licenses.lgpl3; 34 - platforms = stdenv.lib.platforms.linux; 35 - maintainers = [ stdenv.lib.maintainers.romildo ]; 33 + license = lib.licenses.lgpl3; 34 + platforms = lib.platforms.linux; 35 + maintainers = [ lib.maintainers.romildo ]; 36 36 }; 37 37 }
+2 -2
pkgs/desktops/mate/mate-indicator-applet/default.nix
··· 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0m7pvbs5hhy5f400wqb8wp0dw3pyjpjnjax9qzc73j97l1k3zawf"; 10 10 }; 11 11 ··· 30 30 longDescription = '' 31 31 A small applet to display information from various applications 32 32 consistently in the panel. 33 - 33 + 34 34 The indicator applet exposes Ayatana Indicators in the MATE Panel. 35 35 Ayatana Indicators are an initiative by Canonical to provide crisp and 36 36 clean system and application status indication. They take the form of
+1 -1
pkgs/desktops/mate/mate-media/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "118i4w2i2g3hfgbfn3hjzjkfq8vjj6049r7my3vna9js23b7ab92"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-menus/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "17zc9fn14jykhn30z8iwlw0qwk32ivj6gxgww3xrqvqk0da5yaas"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-netbook/default.nix
··· 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1bmk9gq5gcqkvfppa7i1hqfph8sajc3xs189s4ha97g0ifwd98a8"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-notification-daemon/default.nix
··· 6 6 version = "1.24.1"; 7 7 8 8 src = fetchurl { 9 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "1ybzr8mni5pgrspf8hqnisd0r0hwdlgk7n5mzsh7xisbkgivpw2b"; 11 11 }; 12 12
+1 -1
pkgs/desktops/mate/mate-panel/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0xblqrhfazd01h0jdmx4hvavkb7f9anbd4rjsk5r6wxhp027l64l"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-polkit/default.nix
··· 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1450bqzlnvwy3xa98lj102j2cf7piqbxcd1cy2zp41rdl8ri3gvn"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-power-manager/default.nix
··· 5 5 version = "1.24.2"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0fni41p3kraxwjnx9l5mdspng0zib1gfdxwlaiyq31mh4g79yjyj"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-screensaver/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0imb1z2yvz1h95dzq396c569kkxys9mb2dyc6qxxxcnc5w02a2dw"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-sensors-applet/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1nb4fy3mcymv7pmnc0czpxgp1sqvs533jwnqv1b5cqby415ljb16"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-session-manager/default.nix
··· 8 8 version = "1.24.1"; 9 9 10 10 src = fetchurl { 11 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "1zwq8symyp3ijs28pyrknsdi9byf4dpp9wp93ndwdhi0vaip5i51"; 13 13 }; 14 14
+3 -3
pkgs/desktops/mate/mate-settings-daemon/default.nix
··· 8 8 version = "1.24.1"; 9 9 10 10 src = fetchurl { 11 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "0n1ywr3ir5p536s7azdbw2mh40ylqlpx3a74mjrivbms1rpjxyab"; 13 13 }; 14 14 ··· 30 30 mate.mate-desktop 31 31 mate.libmatekbd 32 32 mate.libmatemixer 33 - ] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio; 33 + ] ++ lib.optional pulseaudioSupport libpulseaudio; 34 34 35 - configureFlags = stdenv.lib.optional pulseaudioSupport "--enable-pulse"; 35 + configureFlags = lib.optional pulseaudioSupport "--enable-pulse"; 36 36 37 37 NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 38 38
+1 -1
pkgs/desktops/mate/mate-system-monitor/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1i2r4lw6xsk972yp15g5hm8p8xx9pp6jmcvvzbdq80xyx3x898qz"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-terminal/default.nix
··· 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0qmyhxmarwkxad8k1m9q1iwx70zhfp6zc2mh74nv26nj4gr3h3am"; 10 10 }; 11 11
+5 -5
pkgs/desktops/mate/mate-themes/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, mate-icon-theme, gtk2, gtk3, 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, mate-icon-theme, gtk2, gtk3, 2 2 gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg }: 3 3 4 4 stdenv.mkDerivation rec { ··· 6 6 version = "3.22.21"; 7 7 8 8 src = fetchurl { 9 - url = "https://pub.mate-desktop.org/releases/themes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 10 sha256 = "051g2vq817g84yrqzf7hjcqr4xrghnw1rprjd6jf5mhhzmwcas6n"; 11 11 }; 12 12 ··· 27 27 meta = { 28 28 description = "A set of themes from MATE"; 29 29 homepage = "https://mate-desktop.org"; 30 - license = stdenv.lib.licenses.lgpl21; 31 - platforms = stdenv.lib.platforms.unix; 32 - maintainers = [ stdenv.lib.maintainers.romildo ]; 30 + license = lib.licenses.lgpl21; 31 + platforms = lib.platforms.unix; 32 + maintainers = [ lib.maintainers.romildo ]; 33 33 }; 34 34 }
+1 -1
pkgs/desktops/mate/mate-user-guide/default.nix
··· 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0ddxya84iydvy85dbqls0wmz2rph87wri3rsdhv4rkbhh5g4sd7f"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-user-share/default.nix
··· 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1h4aabcby96nsg557brzzb0an1qvnawhim2rinzlzg4fhkvdfnr5"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mate-utils/default.nix
··· 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1b16n1628gcsym5mph6lr9x5xm4rgkxsa8xwr2wlx8g2gw2775i1"; 10 10 }; 11 11
+1 -1
pkgs/desktops/mate/mozo/default.nix
··· 8 8 doCheck = false; 9 9 10 10 src = fetchurl { 11 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "01lyi47a04xk0by5bvnfmqgv5sysk2wdlri6a4ssmy1qhgwh9zr3"; 13 13 }; 14 14
+5 -5
pkgs/desktops/mate/pluma/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, perl, itstool, isocodes, enchant, libxml2, python3, gnome3, gtksourceview3, libpeas, mate, wrapGAppsHook }: 1 + { lib, stdenv, fetchurl, pkgconfig, gettext, perl, itstool, isocodes, enchant, libxml2, python3, gnome3, gtksourceview3, libpeas, mate, wrapGAppsHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pluma"; 5 5 version = "1.24.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1sgc5f480icr2ans6gd3akvcax58mr4jp3zjk3xn7bx1mw9i299f"; 10 10 }; 11 11 ··· 33 33 meta = { 34 34 description = "Powerful text editor for the MATE desktop"; 35 35 homepage = "https://mate-desktop.org"; 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 }
+1 -1
pkgs/desktops/mate/python-caja/default.nix
··· 5 5 version = "1.24.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1wp61q64cgzr3syd3niclj6rjk87wlib5m86i0myf5ph704r3qgg"; 10 10 }; 11 11
+1 -1
pkgs/desktops/pantheon/apps/elementary-code/default.nix
··· 79 79 # ctags needed in path by outline plugin 80 80 preFixup = '' 81 81 gappsWrapperArgs+=( 82 - --prefix PATH : "${stdenv.lib.makeBinPath [ ctags ]}" 82 + --prefix PATH : "${lib.makeBinPath [ ctags ]}" 83 83 ) 84 84 ''; 85 85
+2 -2
pkgs/desktops/pantheon/apps/elementary-photos/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , nix-update-script 4 4 , pantheon ··· 98 98 patchShebangs meson/post_install.py 99 99 ''; 100 100 101 - meta = with stdenv.lib; { 101 + meta = with lib; { 102 102 description = "Photo viewer and organizer designed for elementary OS"; 103 103 homepage = "https://github.com/elementary/photos"; 104 104 license = licenses.lgpl21Plus;
+2 -2
pkgs/desktops/pantheon/desktop/elementary-gsettings-schemas/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , runCommand 3 3 , mutter 4 4 , elementary-default-settings ··· 28 28 29 29 in 30 30 31 - with stdenv.lib; 31 + with lib; 32 32 33 33 # TODO: Having https://github.com/NixOS/nixpkgs/issues/54150 would supersede this 34 34 runCommand "elementary-gsettings-desktop-schemas" {}
+2 -2
pkgs/desktops/pantheon/desktop/gala/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , nix-update-script 4 4 , fetchpatch ··· 87 87 patchShebangs build-aux/meson/post_install.py 88 88 ''; 89 89 90 - meta = with stdenv.lib; { 90 + meta = with lib; { 91 91 description = "A window & compositing manager based on mutter and designed by elementary for use with Pantheon"; 92 92 homepage = "https://github.com/elementary/gala"; 93 93 license = licenses.gpl3Plus;
+1 -1
pkgs/desktops/pantheon/services/elementary-dpms-helper/default.nix
··· 43 43 ]; 44 44 45 45 preFixup = '' 46 - gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ glib.dev coreutils ]}") 46 + gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ glib.dev coreutils ]}") 47 47 ''; 48 48 49 49 postFixup = ''
+1 -1
pkgs/desktops/surf-display/default.nix
··· 38 38 39 39 patchShebangs $out/bin/surf-display 40 40 wrapProgram $out/bin/surf-display \ 41 - --prefix PATH ':' ${stdenv.lib.makeBinPath buildInputs} 41 + --prefix PATH ':' ${lib.makeBinPath buildInputs} 42 42 ''; 43 43 44 44 makeFlags = [ "PREFIX=${placeholder "out"}" ];
+1 -1
pkgs/desktops/xfce/applications/catfish/default.nix
··· 8 8 version = "1.4.13"; 9 9 10 10 src = fetchurl { 11 - url = "https://archive.xfce.org/src/apps/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 11 + url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 12 sha256 = "0fg89946z6n8njxn4mv29jksw8yavg8vypsljn9031pjwl3fmh2q"; 13 13 }; 14 14
+2 -2
pkgs/desktops/xfce/applications/orage/default.nix
··· 4 4 assert withPanelPlugin -> libxfce4ui != null && xfce4-panel != null; 5 5 6 6 let 7 - inherit (stdenv.lib) optionals; 7 + inherit (lib) optionals; 8 8 in 9 9 10 10 stdenv.mkDerivation rec { ··· 12 12 version = "4.12.1"; 13 13 14 14 src = fetchurl { 15 - url = "https://archive.xfce.org/src/apps/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 15 + url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 16 16 sha256 = "0qlhvnl2m33vfxqlbkic2nmfpwyd4mq230jzhs48cg78392amy9w"; 17 17 }; 18 18
+1 -1
pkgs/desktops/xfce/art/xfce4-icon-theme.nix
··· 9 9 version = "4.4.3"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "1yk6rx3zr9grm4jwpjvqdkl13pisy7qn1wm5cqzmd2kbsn96cy6l"; 14 14 }; 15 15
+2 -2
pkgs/desktops/xfce/art/xfwm4-themes.nix
··· 9 9 version = "4.10.0"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "0xfmdykav4rf6gdxbd6fhmrfrvbdc1yjihz7r7lba0wp1vqda51j"; 14 14 }; 15 - 15 + 16 16 passthru.updateScript = xfce.updateScript { 17 17 inherit pname version; 18 18 attrPath = "xfce.${pname}";
+1 -1
pkgs/desktops/xfce/mkXfceDerivation.nix
··· 14 14 15 15 let 16 16 inherit (builtins) filter getAttr head isList; 17 - inherit (stdenv.lib) attrNames concatLists recursiveUpdate zipAttrsWithNames; 17 + inherit (lib) attrNames concatLists recursiveUpdate zipAttrsWithNames; 18 18 19 19 filterAttrNames = f: attrs: 20 20 filter (n: f (getAttr n attrs)) (attrNames attrs);
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix
··· 9 9 version = "1.1.0"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "193bj1p54l4zrvgdjj0pvjn161d6dn82jh9invcy09sqwlj0mkiy"; 14 14 }; 15 15
+3 -3
pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk2, xfce }: 1 + { lib, stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk2, xfce }: 2 2 3 3 let 4 4 category = "panel-plugins"; 5 5 in 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 stdenv.mkDerivation rec { 9 9 pname = "xfce4-embed-plugin"; 10 10 version = "1.6.0"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 14 sha256 = "0a72kqsjjh45swimqlpyrahdnplp0383v0i4phr4n6g8c1ixyry7"; 15 15 }; 16 16
+3 -3
pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
··· 9 9 version = "4.5.1"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "1iaszzkagl1mb0cdafrvlfjnjklhhs9y90517par34sjiqbq1dsd"; 14 14 }; 15 15 ··· 17 17 pkgconfig 18 18 intltool 19 19 ]; 20 - 20 + 21 21 buildInputs = [ 22 22 libxfce4util 23 23 libxfce4ui ··· 25 25 xfconf 26 26 gtk3 27 27 ]; 28 - 28 + 29 29 passthru.updateScript = xfce.updateScript { 30 30 inherit pname version; 31 31 attrPath = "xfce.${pname}";
+2 -2
pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix
··· 9 9 version = "1.1.1"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "05nmfkrmifm76bsywqmbjd1qdvzagv5cbvnwbkb57156j055vl6n"; 14 14 }; 15 15 ··· 25 25 xfconf 26 26 gtk3 27 27 ]; 28 - 28 + 29 29 passthru.updateScript = xfce.updateScript { 30 30 inherit pname version; 31 31 attrPath = "xfce.${pname}";
+2 -2
pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix
··· 9 9 version = "4.0.2"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "1ai3pwgv61nv7i2dyrvncnc63r8kdjbkp40vp51vzak1dx924v15"; 14 14 }; 15 15 ··· 24 24 xfce4-panel 25 25 gtk3 26 26 ]; 27 - 27 + 28 28 passthru.updateScript = xfce.updateScript { 29 29 inherit pname version; 30 30 attrPath = "xfce.${pname}";
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix
··· 10 10 version = "1.2.0"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 14 sha256 = "1bfw3smwivr9mzdyq768biqrl4aq94zqi3xjzq6kqnd8561cqjk2"; 15 15 }; 16 16
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix
··· 10 10 version = "0.5.2"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 14 sha256 = "0q3pysdp85b3c7g3b59y3c69g4nw6bvbf518lnri4lxrnsvpizpf"; 15 15 }; 16 16
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix
··· 9 9 version = "1.8.1"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "1cjlvvcsigyh40xa26b2vc5zylgss0nlaw72sablzhii2kkw7907"; 14 14 }; 15 15
+2 -2
pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix
··· 11 11 version = "1.3.92"; 12 12 13 13 src = fetchurl { 14 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 15 15 sha256 = "04jibw23ibi61f19gc9xy400yhcdiya4px6zp8c7fjq65hyn9iix"; 16 16 }; 17 17 ··· 37 37 "--with-pathhddtemp=${hddtemp}/bin/hddtemp" 38 38 "--with-pathnetcat=${netcat-gnu}/bin/netcat" 39 39 ]; 40 - 40 + 41 41 passthru.updateScript = xfce.updateScript { 42 42 inherit pname version; 43 43 attrPath = "xfce.${pname}";
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix
··· 9 9 version = "1.2.3"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "0x87a8h5l3ashz1ksfaxcpn9a392jzlsbx5n5pga8g90fp2hf905"; 14 14 }; 15 15
+2 -2
pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix
··· 9 9 version = "1.7.1"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 13 sha256 = "1qr4m3n2l3rvsizsr3h7fyfajszfalqm7rhvjx2yjj8r3f8x4ljb"; 14 14 }; 15 15 ··· 27 27 ]; 28 28 29 29 hardeningDisable = [ "format" ]; 30 - 30 + 31 31 passthru.updateScript = xfce.updateScript { 32 32 inherit pname version; 33 33 attrPath = "xfce.${pname}";
+2 -2
pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix
··· 10 10 version = "0.10.1"; 11 11 12 12 src = fetchurl { 13 - url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 + url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 14 sha256 = "12bs2rfmmy021087i10vxibdbbvd5vld0vk3h5hymhpz7rgszcmg"; 15 15 }; 16 16 ··· 31 31 ]; 32 32 33 33 enableParallelBuilding = true; 34 - 34 + 35 35 passthru.updateScript = xfce.updateScript { 36 36 inherit pname version; 37 37 attrPath = "xfce.${pname}";
+3 -5
pkgs/development/libraries/science/networking/ns-3/default.nix
··· 38 38 in 39 39 stdenv.mkDerivation rec { 40 40 pname = "ns-3"; 41 - version = "32"; 41 + version = "33"; 42 42 43 43 src = fetchFromGitLab { 44 44 owner = "nsnam"; ··· 47 47 sha256 = "158yjhsrmslj1q4zcq5p16hv9i82qnxx714l7idicncn0wzrfx7k"; 48 48 }; 49 49 50 - nativeBuildInputs = [ wafHook ]; 50 + nativeBuildInputs = [ wafHook python ]; 51 51 52 52 outputs = [ "out" ] ++ lib.optional pythonSupport "py"; 53 53 ··· 60 60 61 61 postPatch = '' 62 62 patchShebangs doc/ns3_html_theme/get_version.sh 63 - # FIX/Remove when https://github.com/NixOS/nixpkgs/pull/69310 gets merged 64 - sed -i 's/program.ns3_module_dependencies.copy()/program.ns3_module_dependencies[:]/g' wscript 65 63 ''; 66 64 67 65 wafConfigureFlags = with stdenv.lib; [ ··· 107 105 license = licenses.gpl3; 108 106 description = "A discrete time event network simulator"; 109 107 platforms = with platforms; unix; 110 - maintainers = with maintainers; [ teto ]; 108 + maintainers = with maintainers; [ teto rgrunbla ]; 111 109 }; 112 110 }
+2 -2
pkgs/development/libraries/sentencepiece/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "sentencepiece"; 12 - version = "0.1.94"; 12 + version = "0.1.95"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "google"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256:11cqw4hx33gw2jmrg11jyp7fj9pwzwjwzqcn24jfsbgh6n8gks5x"; 18 + sha256 = "0mv7vgsvd7hjssidxy7fjfmwqy68vjcia8pajji11q2fkfp3cg67"; 19 19 }; 20 20 21 21 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/ocaml-modules/ocurl/default.nix
··· 1 - { stdenv, lib, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses }: 1 + { stdenv, lib, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses, lwt }: 2 2 3 3 if lib.versionOlder ocaml.version "4.02" 4 4 then throw "ocurl is not available for OCaml ${ocaml.version}" ··· 12 12 }; 13 13 14 14 buildInputs = [ pkgconfig ocaml findlib ncurses ]; 15 - propagatedBuildInputs = [ curl ]; 15 + propagatedBuildInputs = [ curl lwt ]; 16 16 createFindlibDestdir = true; 17 17 meta = { 18 18 description = "OCaml bindings to libcurl";
+5 -7
pkgs/development/python-modules/aioesphomeapi/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy3k, attrs, protobuf, zeroconf }: 1 + { lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "aioesphomeapi"; 5 - version = "2.6.3"; 5 + version = "2.6.4"; 6 6 7 7 disabled = !isPy3k; 8 8 9 - src = fetchFromGitHub { 10 - owner = "esphome"; 11 - repo = pname; 12 - rev = "v${version}"; 13 - sha256 = "1lbjxqdx63fc7qxx7xwq4b9dafmdafj7p1ggs48hyhbqfwkrv9p7"; 9 + src = fetchPypi { 10 + inherit pname version; 11 + sha256 = "d8def7a909c0471479e1d8b0965de6bb7644b8de315d6e578f9d848b8a6812d0"; 14 12 }; 15 13 16 14 propagatedBuildInputs = [ attrs protobuf zeroconf ];
+38
pkgs/development/python-modules/axis/default.nix
··· 1 + { lib 2 + , attrs 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , httpx 6 + , packaging 7 + , xmltodict 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "axis"; 12 + version = "42"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "Kane610"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "1144zkgyf63qlw4dfn1zqcbgaksmxvjc4115jhzi98z0fkvlk34p"; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + attrs 23 + httpx 24 + packaging 25 + xmltodict 26 + ]; 27 + 28 + # Tests requires a server on localhost 29 + doCheck = false; 30 + pythonImportsCheck = [ "axis" ]; 31 + 32 + meta = with lib; { 33 + description = "Python library for communicating with devices from Axis Communications"; 34 + homepage = "https://github.com/Kane610/axis"; 35 + license = with licenses; [ mit ]; 36 + maintainers = with maintainers; [ fab ]; 37 + }; 38 + }
+2 -2
pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "azure-mgmt-loganalytics"; 15 - version = "7.0.0"; 15 + version = "8.0.0"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 19 extension = "zip"; 20 - sha256 = "e603f9fc61b8d2f93d8814bcca012a8b425cf0c0320ddf1e84462929cf34d1af"; 20 + sha256 = "3e7a93186594c328a6f34f0e0d9209a05021228baa85aa4c1c4ffdbf8005a45f"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-monitor/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "azure-mgmt-monitor"; 15 - version = "1.0.1"; 15 + version = "2.0.0"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 19 extension = "zip"; 20 - sha256 = "04bd89d74fe47f966b09e3256ffefcfa5c1a51057a6b33c092afe5ae17a1a7b7"; 20 + sha256 = "e7f7943fe8f0efe98b3b1996cdec47c709765257a6e09e7940f7838a0f829e82"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/azure-servicebus/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-servicebus"; 14 - version = "7.0.0"; 14 + version = "7.0.1"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "875527251c1fed99fcb90597c6abb7daa4bc0ed88e080b4c36f897b704668450"; 19 + sha256 = "46d1e7b9da537da831c3184d42d3e2bc3c7ab9234e204a9d4c2e5dc54010721b"; 20 20 }; 21 21 22 - buildInputs = [ 22 + propagatedBuildInputs = [ 23 23 uamqp 24 24 azure-common 25 25 azure-core
+2 -2
pkgs/development/python-modules/azure-storage-blob/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-storage-blob"; 14 - version = "12.6.0"; 14 + version = "12.7.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "dc7832d48ae3f5b31a0b24191084ce6ef7d8dfbf73e553dfe34eaddcb6813be3"; 19 + sha256 = "8194a5007ec1bda903d58bc976c98131ffd4b2f9a3b718f558c730c28ac152c6"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-storage-file-share/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "azure-storage-file-share"; 15 - version = "12.3.0"; 15 + version = "12.4.0"; 16 16 disabled = !isPy3k; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 20 extension = "zip"; 21 - sha256 = "9f24a0ab51fd7ad294353594660b21081233f68ed8ee7483cdca26a70ce0ccbc"; 21 + sha256 = "fe420825ab87df7077ba2737d2889dddd702d595b88d6e0180f2e3b061602c55"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+35
pkgs/development/python-modules/base36/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "base36"; 9 + version = "0.1.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "tonyseek"; 13 + repo = "python-base36"; 14 + rev = "v${version}"; 15 + sha256 = "076nmk9s0zkmgs2zqzkaqij5cmzhf4mrhivbb9n6cvz52i1mppr5"; 16 + }; 17 + 18 + postPatch = '' 19 + substituteInPlace setup.cfg \ 20 + --replace "[pytest]" "[tool:pytest]" \ 21 + --replace "--pep8 --cov" "" 22 + ''; 23 + 24 + checkInputs = [ pytestCheckHook ]; 25 + 26 + pytestFlagsArray = [ "test_base36.py" ]; 27 + pythonImportsCheck = [ "base36" ]; 28 + 29 + meta = with lib; { 30 + description = "Python implementation for the positional numeral system using 36 as the radix"; 31 + homepage = "https://github.com/tonyseek/python-base36"; 32 + license = with licenses; [ mit ]; 33 + maintainers = with maintainers; [ fab ]; 34 + }; 35 + }
+2 -2
pkgs/development/python-modules/djangoql/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "djangoql"; 6 - version = "0.14.2"; 6 + version = "0.14.3"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "91fd65d9ee4b09092602ff05aca8a21c5a18062faf56f269a011b8e8e41483c6"; 10 + sha256 = "d1b1344cb1e037f094c04ccc67b809e8df80dea1e88cfb919078426131737018"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ ply ];
+7 -18
pkgs/development/python-modules/fritzconnection/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pytest, requests }: 1 + { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pytestCheckHook, requests }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "fritzconnection"; 5 - version = "1.2.1"; 5 + version = "1.4.0"; 6 6 7 + # no tests on PyPI 7 8 src = fetchFromGitHub { 8 9 owner = "kbr"; 9 10 repo = pname; 10 11 rev = version; 11 - sha256 = "17z4shs56ci9mxmilppv5xy9gbnbp6p1h2ms6x55nkvwndacrp7x"; 12 + sha256 = "1p8dqcc75xfhyvc9izjzz8c7qfrdkjkrkj36j7ms5fimn5bwk70q"; 12 13 }; 13 14 14 - disabled = pythonOlder "3.5"; 15 - 16 - # Exclude test files from build, which cause ImportMismtachErrors and 17 - # otherwise missing resources during tests. This patch can be dropped once 18 - # https://github.com/kbr/fritzconnection/pull/39 is merged. 19 - prePatch = '' 20 - substituteInPlace setup.py \ 21 - --replace 'find_packages()' 'find_packages(exclude=["*.tests"])' 22 - ''; 15 + disabled = pythonOlder "3.6"; 23 16 24 17 propagatedBuildInputs = [ requests ]; 25 18 26 - checkInputs = [ pytest ]; 27 - 28 - checkPhase = '' 29 - pytest 30 - ''; 19 + checkInputs = [ pytestCheckHook ]; 31 20 32 21 meta = with lib; { 33 22 description = "Python-Tool to communicate with the AVM FritzBox using the TR-064 protocol"; 34 - homepage = "https://bitbucket.org/kbr/fritzconnection"; 23 + homepage = "https://github.com/kbr/fritzconnection"; 35 24 license = licenses.mit; 36 25 maintainers = with maintainers; [ dotlambda valodim ]; 37 26 };
+34
pkgs/development/python-modules/hatasmota/default.nix
··· 1 + { lib 2 + , attrs 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , voluptuous 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "hatasmota"; 10 + version = "0.2.5"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "emontnemery"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "1xsqrpd0dprjfaa2yrdy1g9n4xyrw6ifnzkrh3sq5fx0yfmxbzqm"; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + attrs 21 + voluptuous 22 + ]; 23 + 24 + # Project has no tests 25 + doCheck = false; 26 + pythonImportsCheck = [ "hatasmota" ]; 27 + 28 + meta = with lib; { 29 + description = "Python module to help parse and construct Tasmota MQTT messages"; 30 + homepage = "https://github.com/emontnemery/hatasmota"; 31 + license = with licenses; [ mit ]; 32 + maintainers = with maintainers; [ fab ]; 33 + }; 34 + }
+2 -2
pkgs/development/python-modules/pybtex-docutils/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi, docutils, pybtex, six }: 2 2 3 3 buildPythonPackage rec { 4 - version = "0.2.2"; 4 + version = "1.0.0"; 5 5 pname = "pybtex-docutils"; 6 6 7 7 doCheck = false; ··· 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "ea90935da188a0f4de2fe6b32930e185c33a0e306154322ccc12e519ebb5fa7d"; 12 + sha256 = "cead6554b4af99c287dd29f38b1fa152c9542f56a51cb6cbc3997c95b2725b2e"; 13 13 }; 14 14 15 15 meta = {
+50
pkgs/development/python-modules/respx/default.nix
··· 1 + { lib 2 + , attrs 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , httpcore 6 + , httpx 7 + , pytest-asyncio 8 + , pytest-cov 9 + , pytestCheckHook 10 + , trio 11 + , xmltodict 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "respx"; 16 + version = "0.16.3"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "lundberg"; 20 + repo = pname; 21 + rev = version; 22 + sha256 = "0if9sg83rznl37hsjw6pfk78jpxi421g9p21wd92jcd6073g4nbd"; 23 + }; 24 + 25 + # Coverage is under 100 % due to the excluded tests 26 + postPatch = '' 27 + substituteInPlace setup.cfg --replace "--cov-fail-under 100" "" 28 + ''; 29 + 30 + propagatedBuildInputs = [ httpx ]; 31 + 32 + checkInputs = [ 33 + httpcore 34 + httpx 35 + pytest-asyncio 36 + pytest-cov 37 + pytestCheckHook 38 + trio 39 + ]; 40 + 41 + disabledTests = [ "test_pass_through" ]; 42 + pythonImportsCheck = [ "respx" ]; 43 + 44 + meta = with lib; { 45 + description = "Python library for mocking HTTPX"; 46 + homepage = "https://lundberg.github.io/respx/"; 47 + license = with licenses; [ bsd3 ]; 48 + maintainers = with maintainers; [ fab ]; 49 + }; 50 + }
+3 -2
pkgs/development/python-modules/snowflake-connector-python/default.nix
··· 25 25 26 26 buildPythonPackage rec { 27 27 pname = "snowflake-connector-python"; 28 - version = "2.3.6"; 28 + version = "2.3.8"; 29 29 disabled = isPy27; 30 30 31 31 src = fetchPypi { 32 32 inherit pname version; 33 - sha256 = "1a4ebf25989fc13d6f70dc3e2064721c54834e493a7964a1d67be61d40e75f50"; 33 + sha256 = "sha256-zsS5+0UGDwZM65MILfgAvZ67AbXGcLsVmGacgoxX530="; 34 34 }; 35 35 36 36 propagatedBuildInputs = [ ··· 59 59 substituteInPlace setup.py \ 60 60 --replace "'boto3>=1.4.4,<1.16'," "'boto3~=1.16'," \ 61 61 --replace "'cryptography>=2.5.0,<3.0.0'," "'cryptography'," \ 62 + --replace "'pyOpenSSL>=16.2.0,<20.0.0'," "'pyOpenSSL'," \ 62 63 --replace "'idna<2.10'," "'idna'," \ 63 64 --replace "'requests<2.24.0'," "'requests'," 64 65 '';
+36
pkgs/development/python-modules/toonapi/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , backoff 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , yarl 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "toonapi"; 11 + version = "0.2.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "frenck"; 15 + repo = "python-toonapi"; 16 + rev = "v${version}"; 17 + sha256 = "1d4n615vlcgkvmchrfjw4h3ndav3ljmcfydxr2b41zn83mzizqdf"; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aiohttp 22 + backoff 23 + yarl 24 + ]; 25 + 26 + # Project has no tests 27 + doCheck = false; 28 + pythonImportsCheck = [ "toonapi" ]; 29 + 30 + meta = with lib; { 31 + description = "Python client for the Quby ToonAPI"; 32 + homepage = "https://github.com/frenck/python-toonapi"; 33 + license = with licenses; [ mit ]; 34 + maintainers = with maintainers; [ fab ]; 35 + }; 36 + }
+23 -7
pkgs/development/python-modules/uamqp/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k 1 + { stdenv 2 + , lib 3 + , buildPythonPackage 4 + , fetchPypi 5 + , fetchpatch 6 + , isPy3k 2 7 , certifi 3 - , CFNetwork 4 8 , cmake 5 9 , enum34 6 10 , openssl 7 - , Security 8 11 , six 9 - , stdenv 12 + , CFNetwork 13 + , CoreFoundation 14 + , Security 10 15 }: 11 16 12 17 buildPythonPackage rec { 13 18 pname = "uamqp"; 14 - version = "1.2.12"; 19 + version = "1.2.13"; 15 20 16 21 src = fetchPypi { 17 22 inherit pname version; 18 - sha256 = "c6657f1d8aae566b89d02c6282827dddcec2a90f75dc0d2d91a47e00c8999d99"; 23 + sha256 = "sha256-zDUFe/yMCThn+qJqDekMrUHEf1glGxBw4pioExLLoqg="; 19 24 }; 20 25 26 + patches = [ 27 + (fetchpatch { 28 + url = "https://github.com/Azure/azure-c-shared-utility/commit/52ab2095649b5951e6af77f68954209473296983.patch"; 29 + sha256 = "06pxhdpkv94pv3lhj1vy0wlsqsdznz485bvg3zafj67r55g40lhd"; 30 + stripLen = "2"; 31 + extraPrefix = "src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/"; 32 + }) 33 + ]; 34 + 21 35 buildInputs = [ 22 36 openssl 23 37 certifi ··· 25 39 ] ++ lib.optionals (!isPy3k) [ 26 40 enum34 27 41 ] ++ lib.optionals stdenv.isDarwin [ 28 - CFNetwork Security 42 + CoreFoundation 43 + CFNetwork 44 + Security 29 45 ]; 30 46 31 47 dontUseCmakeConfigure = true;
+2 -2
pkgs/development/python-modules/zulip/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "zulip"; 12 - version = "0.7.0"; 12 + version = "0.7.1"; 13 13 14 14 disabled = !isPy3k; 15 15 ··· 18 18 owner = "zulip"; 19 19 repo = "python-zulip-api"; 20 20 rev = version; 21 - sha256 = "0waldgpzq3ms1r1z14lxdj56lf082fnmi83l3fn8i8gqr8nvnch1"; 21 + sha256 = "0da1ki1v252avy27j6d7snnc0gyq0xa9fypm3qdmxhw2w79d6q36"; 22 22 }; 23 23 sourceRoot = "source/zulip"; 24 24
+2 -2
pkgs/misc/cups/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , pkgconfig 4 4 , removeReferencesTo ··· 25 25 ### IMPORTANT: before updating cups, make sure the nixos/tests/printing.nix test 26 26 ### works at least for your platform. 27 27 28 - with stdenv.lib; 28 + with lib; 29 29 stdenv.mkDerivation rec { 30 30 pname = "cups"; 31 31
+4 -4
pkgs/misc/cups/drivers/brgenml1cupswrapper/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, cups, perl, coreutils, gnused, gnugrep 1 + { lib, stdenv, fetchurl, makeWrapper, cups, perl, coreutils, gnused, gnugrep 2 2 , brgenml1lpr, debugLvl ? "0"}: 3 3 4 4 /* ··· 117 117 meta = { 118 118 description = "Brother BrGenML1 CUPS wrapper driver"; 119 119 homepage = "http://www.brother.com"; 120 - platforms = stdenv.lib.platforms.linux; 121 - license = stdenv.lib.licenses.gpl2Plus; 122 - maintainers = with stdenv.lib.maintainers; [ jraygauthier ]; 120 + platforms = lib.platforms.linux; 121 + license = lib.licenses.gpl2Plus; 122 + maintainers = with lib.maintainers; [ jraygauthier ]; 123 123 }; 124 124 }
+5 -5
pkgs/misc/cups/drivers/brgenml1lpr/default.nix
··· 1 - { stdenv, fetchurl, cups, perl, glibc, ghostscript, which, makeWrapper}: 1 + { lib, stdenv, fetchurl, cups, perl, glibc, ghostscript, which, makeWrapper}: 2 2 3 3 /* 4 4 [Setup instructions](http://support.brother.com/g/s/id/linux/en/instruction_prn1a.html). ··· 28 28 */ 29 29 30 30 let 31 - myPatchElf = file: with stdenv.lib; '' 31 + myPatchElf = file: with lib; '' 32 32 patchelf --set-interpreter \ 33 33 ${stdenv.glibc}/lib/ld-linux${optionalString stdenv.is64bit "-x86-64"}.so.2 \ 34 34 ${file} ··· 86 86 meta = { 87 87 description = "Brother BrGenML1 LPR driver"; 88 88 homepage = "http://www.brother.com"; 89 - platforms = stdenv.lib.platforms.linux; 90 - license = stdenv.lib.licenses.unfreeRedistributable; 91 - maintainers = with stdenv.lib.maintainers; [ jraygauthier ]; 89 + platforms = lib.platforms.linux; 90 + license = lib.licenses.unfreeRedistributable; 91 + maintainers = with lib.maintainers; [ jraygauthier ]; 92 92 }; 93 93 }
+6 -6
pkgs/misc/cups/drivers/brother/mfcl3770cdw/default.nix
··· 37 37 --replace "BR_PRT_PATH =~" "BR_PRT_PATH = \"$dir\"; #" \ 38 38 --replace "PRINTER =~" "PRINTER = \"${model}\"; #" 39 39 wrapProgram $dir/lpd/filter_${model} \ 40 - --prefix PATH : ${stdenv.lib.makeBinPath [ 40 + --prefix PATH : ${lib.makeBinPath [ 41 41 coreutils ghostscript gnugrep gnused which 42 42 ]} 43 43 # need to use i686 glibc here, these are 32bit proprietary binaries ··· 48 48 meta = { 49 49 description = "Brother ${lib.strings.toUpper model} driver"; 50 50 homepage = "http://www.brother.com/"; 51 - license = stdenv.lib.licenses.unfree; 51 + license = lib.licenses.unfree; 52 52 platforms = [ "x86_64-linux" "i686-linux" ]; 53 - maintainers = [ stdenv.lib.maintainers.steveej ]; 53 + maintainers = [ lib.maintainers.steveej ]; 54 54 }; 55 55 }; 56 56 ··· 70 70 --replace "basedir =~" "basedir = \"$basedir\"; #" \ 71 71 --replace "PRINTER =~" "PRINTER = \"${model}\"; #" 72 72 wrapProgram $dir/cupswrapper/brother_lpdwrapper_${model} \ 73 - --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gnugrep gnused ]} 73 + --prefix PATH : ${lib.makeBinPath [ coreutils gnugrep gnused ]} 74 74 mkdir -p $out/lib/cups/filter 75 75 mkdir -p $out/share/cups/model 76 76 ln $dir/cupswrapper/brother_lpdwrapper_${model} $out/lib/cups/filter ··· 80 80 meta = { 81 81 description = "Brother ${lib.strings.toUpper model} CUPS wrapper driver"; 82 82 homepage = "http://www.brother.com/"; 83 - license = stdenv.lib.licenses.gpl2; 83 + license = lib.licenses.gpl2; 84 84 platforms = [ "x86_64-linux" "i686-linux" ]; 85 - maintainers = [ stdenv.lib.maintainers.steveej ]; 85 + maintainers = [ lib.maintainers.steveej ]; 86 86 }; 87 87 }; 88 88 }
+2 -2
pkgs/misc/cups/drivers/cups-bjnp/default.nix
··· 1 - {stdenv, fetchurl, cups}: 1 + {lib, stdenv, fetchurl, cups}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cups-bjnp-1.2.2"; ··· 25 25 Canon printer. The design is based on reverse engineering of the protocol. 26 26 ''; 27 27 homepage = "http://cups-bjnp.sourceforge.net"; 28 - platforms = stdenv.lib.platforms.linux; 28 + platforms = lib.platforms.linux; 29 29 }; 30 30 }
+6 -6
pkgs/misc/cups/drivers/hl1110/default.nix
··· 1 - {stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk}: 1 + {lib, stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk}: 2 2 3 3 let 4 4 version = "3.0.1-1"; ··· 42 42 patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2 $out/opt/brother/Printers/HL1110/inf/braddprinter 43 43 44 44 wrapProgram $out/opt/brother/Printers/HL1110/lpd/psconvert2 \ 45 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ gnused coreutils gawk ] } 45 + --prefix PATH ":" ${ lib.makeBinPath [ gnused coreutils gawk ] } 46 46 47 47 wrapProgram $out/opt/brother/Printers/HL1110/lpd/filter_HL1110 \ 48 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 48 + --prefix PATH ":" ${ lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 49 49 50 50 51 51 dpkg-deb -x ${cupsdeb} $out ··· 59 59 ln -s $out/opt/brother/Printers/HL1110/cupswrapper/brcupsconfig4 $out/lib/cups/filter/brcupsconfig4 60 60 61 61 wrapProgram $out/opt/brother/Printers/HL1110/cupswrapper/brother_lpdwrapper_HL1110 \ 62 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ gnused coreutils gawk ] } 62 + --prefix PATH ":" ${ lib.makeBinPath [ gnused coreutils gawk ] } 63 63 64 64 ''; 65 65 66 66 meta = { 67 67 homepage = "http://www.brother.com/"; 68 68 description = "Brother HL1110 printer driver"; 69 - license = stdenv.lib.licenses.unfree; 70 - platforms = stdenv.lib.platforms.linux; 69 + license = lib.licenses.unfree; 70 + platforms = lib.platforms.linux; 71 71 downloadPage = "http://support.brother.com/g/b/downloadlist.aspx?c=eu_ot&lang=en&prod=hl1110_us_eu_as&os=128#SelectLanguageType-561_0_1"; 72 72 }; 73 73 }
+6 -6
pkgs/misc/cups/drivers/hl1210w/default.nix
··· 1 - {stdenv, pkgsi686Linux, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk}: 1 + {lib, stdenv, pkgsi686Linux, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk}: 2 2 3 3 let 4 4 version = "3.0.1-1"; ··· 33 33 patchelf --set-interpreter ${pkgsi686Linux.glibc.out}/lib/ld-linux.so.2 $out/opt/brother/Printers/HL1210W/inf/braddprinter 34 34 35 35 wrapProgram $out/opt/brother/Printers/HL1210W/lpd/psconvert2 \ 36 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ gnused coreutils gawk ] } 36 + --prefix PATH ":" ${ lib.makeBinPath [ gnused coreutils gawk ] } 37 37 wrapProgram $out/opt/brother/Printers/HL1210W/lpd/filter_HL1210W \ 38 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 38 + --prefix PATH ":" ${ lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 39 39 40 40 # install cups 41 41 dpkg-deb -x ${cupsdeb} $out ··· 49 49 ln -s $out/opt/brother/Printers/HL1210W/cupswrapper/brcupsconfig4 $out/lib/cups/filter/brcupsconfig4 50 50 51 51 wrapProgram $out/opt/brother/Printers/HL1210W/cupswrapper/brother_lpdwrapper_HL1210W \ 52 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ gnused coreutils gawk ] } 52 + --prefix PATH ":" ${ lib.makeBinPath [ gnused coreutils gawk ] } 53 53 ''; 54 54 55 55 meta = { 56 56 homepage = "http://www.brother.com/"; 57 57 description = "Brother HL1210W printer driver"; 58 - license = stdenv.lib.licenses.unfree; 59 - platforms = stdenv.lib.platforms.linux; 58 + license = lib.licenses.unfree; 59 + platforms = lib.platforms.linux; 60 60 downloadPage = "https://support.brother.com/g/b/downloadlist.aspx?c=nz&lang=en&prod=hl1210w_eu_as&os=128"; 61 61 }; 62 62 }
+6 -6
pkgs/misc/cups/drivers/hl3140cw/default.nix
··· 1 - {stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk}: 1 + {lib, stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk}: 2 2 3 3 let 4 4 version = "1.1.4-0"; ··· 44 44 patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2 $out/usr/bin/brprintconf_hl3140cw 45 45 46 46 wrapProgram $out/opt/brother/Printers/hl3140cw/lpd/psconvertij2 \ 47 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ gnused coreutils gawk ] } 47 + --prefix PATH ":" ${ lib.makeBinPath [ gnused coreutils gawk ] } 48 48 49 49 wrapProgram $out/opt/brother/Printers/hl3140cw/lpd/filterhl3140cw \ 50 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 50 + --prefix PATH ":" ${ lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 51 51 52 52 53 53 dpkg-deb -x ${cupsdeb} $out ··· 65 65 ln -s $out/opt/brother/Printers/hl3140cw/lpd/filterhl3140cw $out/lib/cups/filter/brother_lpdwrapper_hl3140cw 66 66 67 67 wrapProgram $out/opt/brother/Printers/hl3140cw/cupswrapper/cupswrapperhl3140cw \ 68 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ gnused coreutils gawk ] } 68 + --prefix PATH ":" ${ lib.makeBinPath [ gnused coreutils gawk ] } 69 69 ''; 70 70 71 71 meta = { 72 72 homepage = "http://www.brother.com/"; 73 73 description = "Brother hl3140cw printer driver"; 74 - license = stdenv.lib.licenses.unfree; 75 - platforms = stdenv.lib.platforms.linux; 74 + license = lib.licenses.unfree; 75 + platforms = lib.platforms.linux; 76 76 downloadPage = "https://support.brother.com/g/b/downloadlist.aspx?c=eu_ot&lang=en&prod=hl3140cw_us_eu&os=128"; 77 77 }; 78 78 }
+2 -2
pkgs/misc/cups/drivers/hll2340dw/default.nix
··· 42 42 $out/opt/brother/Printers/HLL2340D/cupswrapper/paperconfigml1 \ 43 43 ; do 44 44 wrapProgram $f \ 45 - --prefix PATH : ${stdenv.lib.makeBinPath [ 45 + --prefix PATH : ${lib.makeBinPath [ 46 46 coreutils ghostscript gnugrep gnused 47 47 ]} 48 48 done ··· 54 54 ln -s $out/opt/brother/Printers/HLL2340D/cupswrapper/brother-HLL2340D-cups-en.ppd $out/share/cups/model/ 55 55 56 56 wrapProgram $out/opt/brother/Printers/HLL2340D/lpd/filter_HLL2340D \ 57 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused gnugrep coreutils which ] } 57 + --prefix PATH ":" ${ lib.makeBinPath [ ghostscript a2ps file gnused gnugrep coreutils which ] } 58 58 ''; 59 59 60 60 meta = with lib; {
+2 -2
pkgs/misc/cups/drivers/hll2390dw-cups/default.nix
··· 44 44 ; do 45 45 #substituteInPlace $f \ 46 46 wrapProgram $f \ 47 - --prefix PATH : ${stdenv.lib.makeBinPath [ 47 + --prefix PATH : ${lib.makeBinPath [ 48 48 coreutils ghostscript gnugrep gnused 49 49 ]} 50 50 done ··· 56 56 ln -s $out/opt/brother/Printers/HLL2390DW/cupswrapper/brother-HLL2390DW-cups-en.ppd $out/share/cups/model/ 57 57 58 58 wrapProgram $out/opt/brother/Printers/HLL2390DW/lpd/lpdfilter \ 59 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused gnugrep coreutils which ] } 59 + --prefix PATH ":" ${ lib.makeBinPath [ ghostscript a2ps file gnused gnugrep coreutils which ] } 60 60 ''; 61 61 62 62 meta = with lib; {
+4 -4
pkgs/misc/cups/drivers/mfcj470dwcupswrapper/default.nix
··· 1 - { stdenv, fetchurl, mfcj470dwlpr, makeWrapper}: 1 + { lib, stdenv, fetchurl, mfcj470dwlpr, makeWrapper}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mfcj470dw-cupswrapper"; ··· 48 48 meta = { 49 49 homepage = "http://www.brother.com/"; 50 50 description = "Brother MFC-J470DW CUPS wrapper driver"; 51 - license = stdenv.lib.licenses.gpl2; 52 - platforms = stdenv.lib.platforms.linux; 51 + license = lib.licenses.gpl2; 52 + platforms = lib.platforms.linux; 53 53 downloadPage = "http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=mfcj470dw_us_eu_as&os=128"; 54 - maintainers = [ stdenv.lib.maintainers.yochai ]; 54 + maintainers = [ lib.maintainers.yochai ]; 55 55 }; 56 56 }
+6 -6
pkgs/misc/cups/drivers/mfcj470dwlpr/default.nix
··· 1 - { stdenv, fetchurl, cups, dpkg, ghostscript, a2ps, coreutils, gnused, gawk, file, makeWrapper }: 1 + { lib, stdenv, fetchurl, cups, dpkg, ghostscript, a2ps, coreutils, gnused, gawk, file, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mfcj470dw-cupswrapper"; ··· 28 28 ln -s $out/opt/brother/Printers/mfcj470dw/lpd/filtermfcj470dw $out/lib/cups/filter/brother_lpdwrapper_mfcj470dw 29 29 30 30 wrapProgram $out/opt/brother/Printers/mfcj470dw/lpd/psconvertij2 \ 31 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ gnused coreutils gawk ] } 31 + --prefix PATH ":" ${ lib.makeBinPath [ gnused coreutils gawk ] } 32 32 33 33 wrapProgram $out/opt/brother/Printers/mfcj470dw/lpd/filtermfcj470dw \ 34 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 34 + --prefix PATH ":" ${ lib.makeBinPath [ ghostscript a2ps file gnused coreutils ] } 35 35 ''; 36 36 37 37 meta = { 38 38 homepage = "http://www.brother.com/"; 39 39 description = "Brother MFC-J470DW LPR driver"; 40 - license = stdenv.lib.licenses.unfree; 41 - platforms = stdenv.lib.platforms.linux; 40 + license = lib.licenses.unfree; 41 + platforms = lib.platforms.linux; 42 42 downloadPage = "http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=mfcj470dw_us_eu_as&os=128"; 43 - maintainers = [ stdenv.lib.maintainers.yochai ]; 43 + maintainers = [ lib.maintainers.yochai ]; 44 44 }; 45 45 }
+2 -2
pkgs/misc/cups/drivers/mfcj6510dwlpr/default.nix
··· 73 73 ln -s $out/opt/brother/Printers/mfcj6510dw/lpd/filtermfcj6510dw $out/lib/cups/filter/brother_lpdwrapper_mfcj6510dw 74 74 75 75 wrapProgram $out/opt/brother/Printers/mfcj6510dw/lpd/psconvertij2 \ 76 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ coreutils gnused gawk ] } 76 + --prefix PATH ":" ${ lib.makeBinPath [ coreutils gnused gawk ] } 77 77 wrapProgram $out/opt/brother/Printers/mfcj6510dw/lpd/filtermfcj6510dw \ 78 - --prefix PATH ":" ${ stdenv.lib.makeBinPath [ coreutils gnused file ghostscript a2ps ] } 78 + --prefix PATH ":" ${ lib.makeBinPath [ coreutils gnused file ghostscript a2ps ] } 79 79 ''; 80 80 81 81 meta = with lib; {
+5 -5
pkgs/misc/cups/drivers/mfcl2700dncupswrapper/default.nix
··· 1 - { coreutils, dpkg, fetchurl, gnugrep, gnused, makeWrapper, mfcl2700dnlpr, perl, stdenv }: 1 + { coreutils, dpkg, fetchurl, gnugrep, gnused, makeWrapper, mfcl2700dnlpr, perl, lib, stdenv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "mfcl2700dncupswrapper-${meta.version}"; ··· 24 24 --replace "PRINTER =~" "PRINTER = \"MFCL2700DN\"; #" 25 25 26 26 wrapProgram $dir/cupswrapper/brother_lpdwrapper_MFCL2700DN \ 27 - --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gnugrep gnused ]} 27 + --prefix PATH : ${lib.makeBinPath [ coreutils gnugrep gnused ]} 28 28 29 29 mkdir -p $out/lib/cups/filter 30 30 mkdir -p $out/share/cups/model ··· 36 36 meta = { 37 37 description = "Brother MFC-L2700DN CUPS wrapper driver"; 38 38 homepage = "http://www.brother.com/"; 39 - license = stdenv.lib.licenses.gpl2Plus; 40 - maintainers = [ stdenv.lib.maintainers.tv ]; 41 - platforms = stdenv.lib.platforms.linux; 39 + license = lib.licenses.gpl2Plus; 40 + maintainers = [ lib.maintainers.tv ]; 41 + platforms = lib.platforms.linux; 42 42 version = "3.2.0-1"; 43 43 }; 44 44 }
+4 -4
pkgs/misc/cups/drivers/mfcl2700dnlpr/default.nix
··· 1 - { coreutils, dpkg, fetchurl, ghostscript, gnugrep, gnused, makeWrapper, perl, stdenv, which }: 1 + { lib, stdenv, coreutils, dpkg, fetchurl, ghostscript, gnugrep, gnused, makeWrapper, perl, which }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mfcl2700dnlpr"; ··· 24 24 --replace "PRINTER =~" "PRINTER = \"MFCL2700DN\"; #" 25 25 26 26 wrapProgram $dir/lpd/filter_MFCL2700DN \ 27 - --prefix PATH : ${stdenv.lib.makeBinPath [ 27 + --prefix PATH : ${lib.makeBinPath [ 28 28 coreutils ghostscript gnugrep gnused which 29 29 ]} 30 30 ··· 37 37 meta = { 38 38 description = "Brother MFC-L2700DN LPR driver"; 39 39 homepage = "http://www.brother.com/"; 40 - license = stdenv.lib.licenses.unfree; 41 - maintainers = [ stdenv.lib.maintainers.tv ]; 40 + license = lib.licenses.unfree; 41 + maintainers = [ lib.maintainers.tv ]; 42 42 platforms = [ "i686-linux" ]; 43 43 }; 44 44 }
+4 -4
pkgs/misc/cups/drivers/mfcl2720dwcupswrapper/default.nix
··· 1 - { stdenv, fetchurl, dpkg, makeWrapper, coreutils, gnugrep, gnused, perl, mfcl2720dwlpr }: 1 + { lib, stdenv, fetchurl, dpkg, makeWrapper, coreutils, gnugrep, gnused, perl, mfcl2720dwlpr }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mfcl2720dwcupswrapper"; ··· 28 28 --replace /usr/bin/perl ${perl}/bin/perl 29 29 30 30 wrapProgram $dir/cupswrapper/brother_lpdwrapper_MFCL2720DW \ 31 - --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gnugrep gnused ]} 31 + --prefix PATH : ${lib.makeBinPath [ coreutils gnugrep gnused ]} 32 32 33 33 mkdir -p $out/lib/cups/filter 34 34 mkdir -p $out/share/cups/model ··· 40 40 meta = { 41 41 description = "Brother MFC-L2720DW CUPS wrapper driver"; 42 42 homepage = "http://www.brother.com/"; 43 - license = stdenv.lib.licenses.gpl2; 43 + license = lib.licenses.gpl2; 44 44 platforms = [ "x86_64-linux" "i686-linux" ]; 45 - maintainers = [ stdenv.lib.maintainers.xeji ]; 45 + maintainers = [ lib.maintainers.xeji ]; 46 46 }; 47 47 }
+4 -4
pkgs/misc/cups/drivers/mfcl2720dwlpr/default.nix
··· 1 - { pkgs, stdenv, fetchurl, dpkg, makeWrapper, coreutils, ghostscript, gnugrep, gnused, which, perl }: 1 + { pkgs, lib, stdenv, fetchurl, dpkg, makeWrapper, coreutils, ghostscript, gnugrep, gnused, which, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mfcl2720dwlpr"; ··· 24 24 --replace "PRINTER =~" "PRINTER = \"MFCL2720DW\"; #" 25 25 26 26 wrapProgram $dir/lpd/filter_MFCL2720DW \ 27 - --prefix PATH : ${stdenv.lib.makeBinPath [ 27 + --prefix PATH : ${lib.makeBinPath [ 28 28 coreutils ghostscript gnugrep gnused which 29 29 ]} 30 30 ··· 38 38 meta = { 39 39 description = "Brother MFC-L2720DW lpr driver"; 40 40 homepage = "http://www.brother.com/"; 41 - license = stdenv.lib.licenses.unfree; 41 + license = lib.licenses.unfree; 42 42 platforms = [ "x86_64-linux" "i686-linux" ]; 43 - maintainers = [ stdenv.lib.maintainers.xeji ]; 43 + maintainers = [ lib.maintainers.xeji ]; 44 44 }; 45 45 }
+4 -4
pkgs/misc/cups/drivers/mfcl2740dwcupswrapper/default.nix
··· 1 - { stdenv, fetchurl, dpkg, makeWrapper, coreutils, gnugrep, gnused, perl, mfcl2740dwlpr }: 1 + { lib, stdenv, fetchurl, dpkg, makeWrapper, coreutils, gnugrep, gnused, perl, mfcl2740dwlpr }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mfcl2740dwcupswrapper"; ··· 26 26 --replace /usr/bin/perl ${perl}/bin/perl 27 27 28 28 wrapProgram $dir/cupswrapper/brother_lpdwrapper_MFCL2740DW \ 29 - --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gnugrep gnused ]} 29 + --prefix PATH : ${lib.makeBinPath [ coreutils gnugrep gnused ]} 30 30 31 31 mkdir -p $out/lib/cups/filter 32 32 mkdir -p $out/share/cups/model ··· 38 38 meta = { 39 39 description = "Brother MFC-L2740DW CUPS wrapper driver"; 40 40 homepage = "http://www.brother.com/"; 41 - license = stdenv.lib.licenses.gpl2; 41 + license = lib.licenses.gpl2; 42 42 platforms = [ "x86_64-linux" "i686-linux" ]; 43 - maintainers = [ stdenv.lib.maintainers.enzime ]; 43 + maintainers = [ lib.maintainers.enzime ]; 44 44 }; 45 45 }
+4 -4
pkgs/misc/cups/drivers/mfcl2740dwlpr/default.nix
··· 1 - { pkgsi686Linux, stdenv, fetchurl, dpkg, makeWrapper, coreutils, ghostscript, gnugrep, gnused, which, perl }: 1 + { pkgsi686Linux, lib, stdenv, fetchurl, dpkg, makeWrapper, coreutils, ghostscript, gnugrep, gnused, which, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mfcl2740dwlpr"; ··· 22 22 --replace "PRINTER =~" "PRINTER = \"MFCL2740DW\"; #" 23 23 24 24 wrapProgram $dir/lpd/filter_MFCL2740DW \ 25 - --prefix PATH : ${stdenv.lib.makeBinPath [ 25 + --prefix PATH : ${lib.makeBinPath [ 26 26 coreutils ghostscript gnugrep gnused which 27 27 ]} 28 28 ··· 36 36 meta = { 37 37 description = "Brother MFC-L2740DW lpr driver"; 38 38 homepage = "http://www.brother.com/"; 39 - license = stdenv.lib.licenses.unfree; 39 + license = lib.licenses.unfree; 40 40 platforms = [ "x86_64-linux" "i686-linux" ]; 41 - maintainers = [ stdenv.lib.maintainers.enzime ]; 41 + maintainers = [ lib.maintainers.enzime ]; 42 42 }; 43 43 }
+5 -5
pkgs/misc/cups/drivers/mfcl8690cdwcupswrapper/default.nix
··· 1 1 { coreutils, dpkg, fetchurl, gnugrep, gnused, makeWrapper, 2 - mfcl8690cdwlpr, perl, stdenv}: 2 + mfcl8690cdwlpr, perl, lib, stdenv}: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "mfcl8690cdwcupswrapper"; ··· 26 26 --replace "PRINTER =~" "PRINTER = \"mfcl8690cdw\"; #" 27 27 28 28 wrapProgram $dir/cupswrapper/brother_lpdwrapper_mfcl8690cdw \ 29 - --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gnugrep gnused ]} 29 + --prefix PATH : ${lib.makeBinPath [ coreutils gnugrep gnused ]} 30 30 31 31 mkdir -p $out/lib/cups/filter 32 32 mkdir -p $out/share/cups/model ··· 38 38 meta = { 39 39 description = "Brother MFC-L8690CDW CUPS wrapper driver"; 40 40 homepage = "http://www.brother.com/"; 41 - license = stdenv.lib.licenses.unfree; 42 - platforms = stdenv.lib.platforms.linux; 43 - maintainers = [ stdenv.lib.maintainers.fuzzy-id ]; 41 + license = lib.licenses.unfree; 42 + platforms = lib.platforms.linux; 43 + maintainers = [ lib.maintainers.fuzzy-id ]; 44 44 }; 45 45 }
+4 -4
pkgs/misc/cups/drivers/mfcl8690cdwlpr/default.nix
··· 1 1 { coreutils, dpkg, fetchurl, file, ghostscript, gnugrep, gnused, 2 - makeWrapper, perl, pkgs, stdenv, which }: 2 + makeWrapper, perl, pkgs, lib, stdenv, which }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "mfcl8690cdwlpr"; ··· 26 26 --replace "PRINTER =~" "PRINTER = \"mfcl8690cdw\"; #" 27 27 28 28 wrapProgram $filter \ 29 - --prefix PATH : ${stdenv.lib.makeBinPath [ 29 + --prefix PATH : ${lib.makeBinPath [ 30 30 coreutils file ghostscript gnugrep gnused which 31 31 ]} 32 32 ··· 38 38 meta = { 39 39 description = "Brother MFC-L8690CDW LPR printer driver"; 40 40 homepage = "http://www.brother.com/"; 41 - license = stdenv.lib.licenses.unfree; 42 - maintainers = [ stdenv.lib.maintainers.fuzzy-id ]; 41 + license = lib.licenses.unfree; 42 + maintainers = [ lib.maintainers.fuzzy-id ]; 43 43 platforms = [ "i686-linux" ]; 44 44 }; 45 45 }
+2 -2
pkgs/misc/cups/drivers/samsung/1.00.36/default.nix
··· 87 87 preFixup = '' 88 88 for bin in "$out/bin/"*; do 89 89 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$bin" 90 - patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$bin" 90 + patchelf --set-rpath "$out/lib:${lib.getLib cups}/lib" "$bin" 91 91 done 92 92 93 - patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$out/lib/libscmssc.so" 93 + patchelf --set-rpath "$out/lib:${lib.getLib cups}/lib" "$out/lib/libscmssc.so" 94 94 patchelf --set-rpath "$out/lib:${libxml2.out}/lib:${libusb-compat-0_1.out}/lib" "$out/lib/sane/libsane-smfp.so.1.0.1" 95 95 96 96 ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
+2 -2
pkgs/misc/cups/drivers/samsung/1.00.37.nix
··· 70 70 preFixup = '' 71 71 for bin in "$out/bin/"*; do 72 72 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$bin" 73 - patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$bin" 73 + patchelf --set-rpath "$out/lib:${lib.getLib cups}/lib" "$bin" 74 74 done 75 75 76 - patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$out/lib/libscmssc.so" 76 + patchelf --set-rpath "$out/lib:${lib.getLib cups}/lib" "$out/lib/libscmssc.so" 77 77 patchelf --set-rpath "$out/lib:${libxml2.out}/lib:${libusb-compat-0_1.out}/lib" "$out/lib/sane/libsane-smfp.so.1.0.1" 78 78 79 79 ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
+1 -1
pkgs/misc/cups/drivers/samsung/4.00.39/default.nix
··· 16 16 # Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html> 17 17 # to see what will break when upgrading. Consider a new versioned attribute. 18 18 let 19 - cups' = stdenv.lib.getLib cups; 19 + cups' = lib.getLib cups; 20 20 in stdenv.mkDerivation rec { 21 21 pname = "samsung-UnifiedLinuxDriver"; 22 22 version = "4.00.39";
+1 -1
pkgs/misc/cups/drivers/samsung/4.01.17.nix
··· 18 18 let 19 19 installationPath = if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64" else "i386"; 20 20 appendPath = if stdenv.hostPlatform.system == "x86_64-linux" then "64" else ""; 21 - libPath = stdenv.lib.makeLibraryPath [ cups libusb-compat-0_1 ] + ":$out/lib:${stdenv.cc.cc.lib}/lib${appendPath}"; 21 + libPath = lib.makeLibraryPath [ cups libusb-compat-0_1 ] + ":$out/lib:${stdenv.cc.cc.lib}/lib${appendPath}"; 22 22 in stdenv.mkDerivation rec { 23 23 pname = "samsung-UnifiedLinuxDriver"; 24 24 version = "4.01.17";
+4 -4
pkgs/misc/cups/filters.nix
··· 1 - { stdenv, fetchurl, pkgconfig, cups, poppler, poppler_utils, fontconfig 1 + { lib, stdenv, fetchurl, pkgconfig, cups, poppler, poppler_utils, fontconfig 2 2 , libjpeg, libpng, perl, ijs, qpdf, dbus, avahi 3 3 , makeWrapper, coreutils, gnused, bc, gawk, gnugrep, which, ghostscript 4 4 , mupdf 5 5 }: 6 6 7 7 let 8 - binPath = stdenv.lib.makeBinPath [ coreutils gnused bc gawk gnugrep which ]; 8 + binPath = lib.makeBinPath [ coreutils gnused bc gawk gnugrep which ]; 9 9 10 10 in stdenv.mkDerivation rec { 11 11 pname = "cups-filters"; ··· 65 65 meta = { 66 66 homepage = "http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters"; 67 67 description = "Backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc"; 68 - license = stdenv.lib.licenses.gpl2; 69 - platforms = stdenv.lib.platforms.linux; 68 + license = lib.licenses.gpl2; 69 + platforms = lib.platforms.linux; 70 70 }; 71 71 }
+4 -4
pkgs/misc/documentation-highlighter/default.nix
··· 1 - { stdenv, runCommand }: 1 + { lib, stdenv, runCommand }: 2 2 runCommand "documentation-highlighter" { 3 3 meta = { 4 4 description = "Highlight.js sources for the Nix Ecosystem's documentation"; 5 5 homepage = "https://highlightjs.org"; 6 - license = stdenv.lib.licenses.bsd3; 7 - platforms = stdenv.lib.platforms.all; 8 - maintainers = [ stdenv.lib.maintainers.grahamc ]; 6 + license = lib.licenses.bsd3; 7 + platforms = lib.platforms.all; 8 + maintainers = [ lib.maintainers.grahamc ]; 9 9 }; 10 10 } '' 11 11 cp -r ${./.} $out
+7 -7
pkgs/misc/drivers/epkowa/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , fetchpatch 4 4 , makeWrapper ··· 19 19 }: 20 20 let common_meta = { 21 21 homepage = "http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"; 22 - license = with stdenv.lib.licenses; epson; 23 - platforms = with stdenv.lib.platforms; linux; 22 + license = with lib.licenses; epson; 23 + platforms = with lib.platforms; linux; 24 24 }; 25 25 in 26 26 ############################ ··· 261 261 in 262 262 let fwdir = symlinkJoin { 263 263 name = "esci-firmware-dir"; 264 - paths = stdenv.lib.mapAttrsToList (name: value: value + /share/esci) plugins; 264 + paths = lib.mapAttrsToList (name: value: value + /share/esci) plugins; 265 265 }; 266 266 in 267 267 let iscan-data = stdenv.mkDerivation rec { ··· 337 337 wrapProgram $out/bin/iscan-registry --prefix PATH : ${getopt}/bin 338 338 registry=$out/bin/iscan-registry; 339 339 '' + 340 - stdenv.lib.concatStrings (stdenv.lib.mapAttrsToList 340 + lib.concatStrings (lib.mapAttrsToList 341 341 (name: value: '' 342 342 plugin=${value}; 343 343 ${value.passthru.registrationCommand} ··· 349 349 Includes gui-less iscan (aka. Image Scan! for Linux). 350 350 Supported hardware: at least : 351 351 '' + 352 - stdenv.lib.concatStringsSep ", " (stdenv.lib.mapAttrsToList (name: value: value.passthru.hw) plugins); 353 - maintainers = with stdenv.lib.maintainers; [ symphorien dominikh ]; 352 + lib.concatStringsSep ", " (lib.mapAttrsToList (name: value: value.passthru.hw) plugins); 353 + maintainers = with lib.maintainers; [ symphorien dominikh ]; 354 354 }; 355 355 }
+2 -2
pkgs/misc/drivers/epson-alc1100/default.nix
··· 33 33 34 34 postFixup = '' 35 35 patchelf --set-interpreter ${pkgsi686Linux.glibc}/lib/ld-linux.so.2 \ 36 - --set-rpath "${stdenv.lib.makeLibraryPath [ 36 + --set-rpath "${lib.makeLibraryPath [ 37 37 pkgsi686Linux.glibc 38 38 "$out" 39 39 ]}" $out/bin/alc1100 40 40 41 - patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ 41 + patchelf --set-rpath "${lib.makeLibraryPath [ 42 42 pkgsi686Linux.glibc 43 43 ]}" $out/lib/libstdc++.so.5.0.7 44 44
+4 -4
pkgs/misc/drivers/foomatic-filters/default.nix
··· 1 - { stdenv, fetchpatch, fetchurl, pkgconfig, perl, cups, dbus, enscript }: 1 + { lib, stdenv, fetchpatch, fetchurl, pkgconfig, perl, cups, dbus, enscript }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "foomatic-filters-4.0.17"; ··· 33 33 34 34 meta = { 35 35 description = "Foomatic printing filters"; 36 - maintainers = [ stdenv.lib.maintainers.raskin ]; 37 - platforms = stdenv.lib.platforms.linux; 38 - license = stdenv.lib.licenses.gpl2Plus; 36 + maintainers = [ lib.maintainers.raskin ]; 37 + platforms = lib.platforms.linux; 38 + license = lib.licenses.gpl2Plus; 39 39 }; 40 40 }
+2 -2
pkgs/misc/drivers/gutenprint/bin.nix
··· 1 - { stdenv, fetchurl, rpm, cpio, zlib }: 1 + { lib, stdenv, fetchurl, rpm, cpio, zlib }: 2 2 3 3 /* usage: (sorry, its still impure but works!) 4 4 ··· 36 36 37 37 phases = "buildPhase"; 38 38 39 - libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc zlib ]; 39 + libPath = lib.makeLibraryPath [ stdenv.cc.cc zlib ]; 40 40 41 41 buildPhase = '' 42 42 ar -x $src data.tar.gz
+2 -2
pkgs/misc/drivers/hplip/3.16.11.nix
··· 69 69 pygobject2 70 70 reportlab 71 71 usbutils 72 - ] ++ stdenv.lib.optionals qtSupport [ 72 + ] ++ lib.optionals qtSupport [ 73 73 pyqt4 74 74 ]; 75 75 ··· 111 111 112 112 enableParallelBuilding = true; 113 113 114 - postInstall = stdenv.lib.optionalString withPlugin '' 114 + postInstall = lib.optionalString withPlugin '' 115 115 sh ${plugin} --noexec --keep 116 116 cd plugin_tmp 117 117
+4 -4
pkgs/misc/drivers/hplip/3.18.5.nix
··· 76 76 reportlab 77 77 usbutils 78 78 sip 79 - ] ++ stdenv.lib.optionals withQt5 [ 79 + ] ++ lib.optionals withQt5 [ 80 80 pyqt5 81 81 ]; 82 82 ··· 108 108 --with-systraydir=$out/xdg/autostart 109 109 --with-mimedir=$out/etc/cups 110 110 --enable-policykit 111 - ${stdenv.lib.optionalString withStaticPPDInstall "--enable-cups-ppd-install"} 111 + ${lib.optionalString withStaticPPDInstall "--enable-cups-ppd-install"} 112 112 --disable-qt4 113 - ${stdenv.lib.optionalString withQt5 "--enable-qt5"} 113 + ${lib.optionalString withQt5 "--enable-qt5"} 114 114 " 115 115 116 116 export makeFlags=" ··· 136 136 # Running `hp-diagnose_plugin -g` can be used to diagnose 137 137 # issues with plugins. 138 138 # 139 - postInstall = stdenv.lib.optionalString withPlugin '' 139 + postInstall = lib.optionalString withPlugin '' 140 140 sh ${plugin} --noexec --keep 141 141 cd plugin_tmp 142 142
+6 -6
pkgs/misc/drivers/hplip/default.nix
··· 71 71 nativeBuildInputs = [ 72 72 pkgconfig 73 73 removeReferencesTo 74 - ] ++ stdenv.lib.optional withQt5 qt5.wrapQtAppsHook; 74 + ] ++ lib.optional withQt5 qt5.wrapQtAppsHook; 75 75 76 76 pythonPath = with python3Packages; [ 77 77 dbus ··· 81 81 usbutils 82 82 sip 83 83 dbus-python 84 - ] ++ stdenv.lib.optionals withQt5 [ 84 + ] ++ lib.optionals withQt5 [ 85 85 pyqt5 86 86 enum-compat 87 87 ]; ··· 127 127 --with-systraydir=$out/xdg/autostart 128 128 --with-mimedir=$out/etc/cups 129 129 --enable-policykit 130 - ${stdenv.lib.optionalString withStaticPPDInstall "--enable-cups-ppd-install"} 130 + ${lib.optionalString withStaticPPDInstall "--enable-cups-ppd-install"} 131 131 --disable-qt4 132 - ${stdenv.lib.optionalString withQt5 "--enable-qt5"} 132 + ${lib.optionalString withQt5 "--enable-qt5"} 133 133 " 134 134 135 135 export makeFlags=" ··· 155 155 # Running `hp-diagnose_plugin -g` can be used to diagnose 156 156 # issues with plugins. 157 157 # 158 - postInstall = stdenv.lib.optionalString withPlugin '' 158 + postInstall = lib.optionalString withPlugin '' 159 159 sh ${plugin} --noexec --keep 160 160 cd plugin_tmp 161 161 ··· 229 229 --replace {,${util-linux}/bin/}logger \ 230 230 --replace {/usr,$out}/bin 231 231 remove-references-to -t ${stdenv.cc.cc} $(readlink -f $out/lib/*.so) 232 - '' + stdenv.lib.optionalString withQt5 '' 232 + '' + lib.optionalString withQt5 '' 233 233 for f in $out/bin/hp-*;do 234 234 wrapQtApp $f 235 235 done
+2 -2
pkgs/misc/drivers/sundtek/default.nix
··· 1 - { fetchurl, stdenv }: 1 + { fetchurl, lib, stdenv }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 let 6 6 version = "2016-01-26";
+3 -3
pkgs/misc/drivers/xwiimote/default.nix
··· 1 - { stdenv, udev, ncurses, pkgconfig, fetchurl, bluez }: 1 + { lib, stdenv, udev, ncurses, pkgconfig, fetchurl, bluez }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "xwiimote-2"; ··· 15 15 meta = { 16 16 homepage = "http://dvdhrm.github.io/xwiimote"; 17 17 description = "Userspace utilities to control connected Nintendo Wii Remotes"; 18 - platforms = stdenv.lib.platforms.linux; 19 - license = stdenv.lib.licenses.mit; 18 + platforms = lib.platforms.linux; 19 + license = lib.licenses.mit; 20 20 }; 21 21 22 22 postInstallPhase = ''
+2 -2
pkgs/misc/emulators/atari++/default.nix
··· 12 12 buildInputs = [ libSM libX11 SDL libICE alsaLib gcc-unwrapped libXext ]; 13 13 14 14 postFixup = '' 15 - patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} "$out/bin/atari++" 15 + patchelf --set-rpath ${lib.makeLibraryPath buildInputs} "$out/bin/atari++" 16 16 ''; 17 17 18 18 meta = with lib; { ··· 27 27 ''; 28 28 maintainers = [ maintainers.AndersonTorres ]; 29 29 license = licenses.gpl2Plus; 30 - platforms = stdenv.lib.platforms.linux; 30 + platforms = lib.platforms.linux; 31 31 }; 32 32 }
+3 -3
pkgs/misc/emulators/atari800/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook 2 2 , unzip, zlib, SDL, readline, libGLU, libGL, libX11 }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 stdenv.mkDerivation rec { 6 6 pname = "atari800"; 7 7 version = "4.2.0"; ··· 38 38 ''; 39 39 maintainers = [ maintainers.AndersonTorres ]; 40 40 license = licenses.gpl2Plus; 41 - platforms = stdenv.lib.platforms.linux; 41 + platforms = lib.platforms.linux; 42 42 }; 43 43 }
+4 -4
pkgs/misc/emulators/blastem/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub, pkgconfig, SDL2, glew, xcftools, python, pillow, makeWrapper }: 1 + { lib, stdenv, fetchurl, fetchFromGitHub, pkgconfig, SDL2, glew, xcftools, python, pillow, makeWrapper }: 2 2 3 3 let 4 4 vasm = ··· 41 41 meta = { 42 42 homepage = "https://www.retrodev.com/blastem/"; 43 43 description = "The fast and accurate Genesis emulator"; 44 - maintainers = with stdenv.lib.maintainers; [ puffnfresh ]; 45 - license = stdenv.lib.licenses.gpl3; 46 - platforms = stdenv.lib.platforms.linux; 44 + maintainers = with lib.maintainers; [ puffnfresh ]; 45 + license = lib.licenses.gpl3; 46 + platforms = lib.platforms.linux; 47 47 # Makefile:140: *** aarch64 is not a supported architecture. Stop. 48 48 badPlatforms = [ "aarch64-linux" ]; 49 49 };
+4 -4
pkgs/misc/emulators/bsod/default.nix
··· 1 - {stdenv, fetchurl, ncurses}: 1 + {lib, stdenv, fetchurl, ncurses}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "bsod-0.1"; ··· 23 23 blue screen of death on the console. Errors and drivers causing the 24 24 error are selected randomly from a large set of examples."; 25 25 homepage = "http://www.vanheusden.com/bsod/"; 26 - license = stdenv.lib.licenses.gpl2; 27 - platforms = stdenv.lib.platforms.unix; 28 - maintainers = [ stdenv.lib.maintainers.antono ]; 26 + license = lib.licenses.gpl2; 27 + platforms = lib.platforms.unix; 28 + maintainers = [ lib.maintainers.antono ]; 29 29 }; 30 30 31 31 }
+1 -1
pkgs/misc/emulators/ccemux/default.nix
··· 6 6 version = "1.1.1"; 7 7 rev = "af12e2e4da586275ba931eae8f40a2201251bf59"; 8 8 9 - baseUrl = "https://emux.cc/versions/${stdenv.lib.substring 0 8 rev}/CCEmuX"; 9 + baseUrl = "https://emux.cc/versions/${lib.substring 0 8 rev}/CCEmuX"; 10 10 jar = 11 11 if useCCTweaked 12 12 then fetchurl {
+1 -1
pkgs/misc/emulators/cdemu/base.nix
··· 32 32 homepage = "http://cdemu.sourceforge.net/"; 33 33 license = licenses.gpl2Plus; 34 34 platforms = platforms.linux; 35 - maintainers = with stdenv.lib.maintainers; [ bendlas ]; 35 + maintainers = with lib.maintainers; [ bendlas ]; 36 36 }; 37 37 } // drvParams)
+1 -1
pkgs/misc/emulators/cdemu/vhba.nix
··· 19 19 homepage = "http://cdemu.sourceforge.net/about/vhba/"; 20 20 platforms = platforms.linux; 21 21 license = licenses.gpl2Plus; 22 - maintainers = with stdenv.lib.maintainers; [ bendlas ]; 22 + maintainers = with lib.maintainers; [ bendlas ]; 23 23 }; 24 24 }
+2 -2
pkgs/misc/emulators/darcnes/default.nix
··· 1 - { stdenv, fetchurl, libX11, libXt, libXext, libXaw }: 1 + { lib, stdenv, fetchurl, libX11, libXt, libXext, libXaw }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "darcnes"; ··· 18 18 homepage = "https://web.archive.org/web/20130502171725/http://www.dridus.com/~nyef/darcnes/"; 19 19 description = "Sega Master System, Game Gear, SG-1000, NES, ColecoVision and Apple II emulator"; 20 20 # Prohibited commercial use, credit required. 21 - license = stdenv.lib.licenses.free; 21 + license = lib.licenses.free; 22 22 platforms = [ "i686-linux" ]; 23 23 }; 24 24 }
+2 -2
pkgs/misc/emulators/desmume/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch 1 + { lib, stdenv, fetchurl, fetchpatch 2 2 , pkgconfig, libtool, intltool 3 3 , libXmu 4 4 , lua ··· 8 8 , gtk2, gtkglext, libglade 9 9 , libGLU, libpcap, SDL, zziplib }: 10 10 11 - with stdenv.lib; 11 + with lib; 12 12 stdenv.mkDerivation rec { 13 13 14 14 pname = "desmume";
+3 -3
pkgs/misc/emulators/dlx/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "dlx-2012.07.08"; ··· 25 25 meta = { 26 26 homepage = "http://www.davidviner.com/dlx.php"; 27 27 description = "DLX Simulator"; 28 - license = stdenv.lib.licenses.gpl2; 29 - platforms = stdenv.lib.platforms.linux; 28 + license = lib.licenses.gpl2; 29 + platforms = lib.platforms.linux; 30 30 }; 31 31 }
+4 -4
pkgs/misc/emulators/emulationstation/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen 2 2 , freeimage, freetype, libGLU, libGL, SDL2, alsaLib, libarchive 3 3 , fetchpatch }: 4 4 ··· 30 30 meta = { 31 31 description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes"; 32 32 homepage = "https://emulationstation.org"; 33 - maintainers = [ stdenv.lib.maintainers.edwtjo ]; 34 - license = stdenv.lib.licenses.mit; 35 - platforms = stdenv.lib.platforms.linux; 33 + maintainers = [ lib.maintainers.edwtjo ]; 34 + license = lib.licenses.mit; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+2 -2
pkgs/misc/emulators/epsxe/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, curl, gdk-pixbuf, glib, gtk3, libGLU, libGL, 1 + { lib, stdenv, fetchurl, alsaLib, curl, gdk-pixbuf, glib, gtk3, libGLU, libGL, 2 2 libX11, openssl_1_0_2, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook, autoPatchelfHook }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "epsxe";
+3 -3
pkgs/misc/emulators/fakenes/default.nix
··· 1 - {stdenv, fetchurl, allegro, openal, libGLU, libGL, zlib, hawknl, freeglut, libX11, 1 + {lib, stdenv, fetchurl, allegro, openal, libGLU, libGL, zlib, hawknl, freeglut, libX11, 2 2 libXxf86vm, libXcursor, libXpm }: 3 3 4 4 stdenv.mkDerivation { ··· 24 24 25 25 meta = { 26 26 homepage = "http://fakenes.sourceforge.net/"; 27 - license = stdenv.lib.licenses.gpl2Plus; 27 + license = lib.licenses.gpl2Plus; 28 28 description = "Portable Open Source NES Emulator"; 29 - platforms = stdenv.lib.platforms.linux; 29 + platforms = lib.platforms.linux; 30 30 broken = true; 31 31 }; 32 32 }
+4 -4
pkgs/misc/emulators/fceux/default.nix
··· 1 - {stdenv, fetchFromGitHub, scons, zlib, SDL, lua5_1, pkgconfig}: 1 + {lib, stdenv, fetchFromGitHub, scons, zlib, SDL, lua5_1, pkgconfig}: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "fceux-unstable"; ··· 32 32 33 33 meta = { 34 34 description = "A Nintendo Entertainment System (NES) Emulator"; 35 - license = stdenv.lib.licenses.gpl2; 36 - maintainers = [ stdenv.lib.maintainers.scubed2 ]; 35 + license = lib.licenses.gpl2; 36 + maintainers = [ lib.maintainers.scubed2 ]; 37 37 homepage = "http://www.fceux.com/"; 38 - platforms = stdenv.lib.platforms.linux; 38 + platforms = lib.platforms.linux; 39 39 }; 40 40 }
+4 -4
pkgs/misc/emulators/firebird-emu/default.nix
··· 1 - { mkDerivation, stdenv, fetchFromGitHub, qmake, qtbase, qtdeclarative }: 1 + { mkDerivation, lib, stdenv, fetchFromGitHub, qmake, qtbase, qtdeclarative }: 2 2 3 3 mkDerivation rec { 4 4 pname = "firebird-emu"; ··· 30 30 meta = { 31 31 homepage = "https://github.com/nspire-emus/firebird"; 32 32 description = "Third-party multi-platform emulator of the ARM-based TI-Nspire™ calculators"; 33 - license = stdenv.lib.licenses.gpl3; 34 - maintainers = with stdenv.lib.maintainers; [ pneumaticat ]; 33 + license = lib.licenses.gpl3; 34 + maintainers = with lib.maintainers; [ pneumaticat ]; 35 35 # Only tested on Linux, but likely possible to build on, e.g. macOS 36 - platforms = stdenv.lib.platforms.linux; 36 + platforms = lib.platforms.linux; 37 37 }; 38 38 }
+3 -3
pkgs/misc/emulators/fs-uae/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { lib, stdenv, fetchurl, pkgconfig 2 2 , gettext, gtk2, SDL2, zlib, glib, openal, libGLU, libGL, lua, freetype, libmpeg2, zip }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 stdenv.mkDerivation rec { 6 6 7 7 pname = "fs-uae"; ··· 25 25 ''; 26 26 license = licenses.gpl2Plus; 27 27 homepage = "https://fs-uae.net"; 28 - maintainers = with stdenv.lib; [ maintainers.AndersonTorres ]; 28 + maintainers = with lib; [ maintainers.AndersonTorres ]; 29 29 platforms = [ "i686-linux" "x86_64-linux" ]; 30 30 }; 31 31 }
+4 -4
pkgs/misc/emulators/hatari/default.nix
··· 1 - { stdenv, fetchurl, zlib, SDL, cmake }: 1 + { lib, stdenv, fetchurl, zlib, SDL, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hatari"; ··· 18 18 meta = { 19 19 homepage = "http://hatari.tuxfamily.org/"; 20 20 description = "Atari ST/STE/TT/Falcon emulator"; 21 - license = stdenv.lib.licenses.gpl2Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ ]; 21 + license = lib.licenses.gpl2Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ ]; 24 24 }; 25 25 }
+1 -1
pkgs/misc/emulators/higan/default.nix
··· 11 11 , libicns, Carbon, Cocoa, OpenGL, OpenAL}: 12 12 13 13 let 14 - inherit (stdenv.lib) optionals; 14 + inherit (lib) optionals; 15 15 in 16 16 stdenv.mkDerivation rec { 17 17
+1 -1
pkgs/misc/emulators/mame/default.nix
··· 61 61 ''; 62 62 63 63 installPhase = '' 64 - make -f dist.mak PTR64=${stdenv.lib.optionalString stdenv.is64bit "1"} 64 + make -f dist.mak PTR64=${lib.optionalString stdenv.is64bit "1"} 65 65 mkdir -p ${dest} 66 66 mv build/release/*/Release/mame/* ${dest} 67 67
+2 -2
pkgs/misc/emulators/mednaffe/default.nix
··· 1 - { stdenv, fetchFromGitHub, makeWrapper, autoreconfHook, pkgconfig, wrapGAppsHook 1 + { lib, stdenv, fetchFromGitHub, makeWrapper, autoreconfHook, pkgconfig, wrapGAppsHook 2 2 , gtk2 ? null, gtk3 ? null, mednafen }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "mednaffe";
+4 -4
pkgs/misc/emulators/nestopia/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, SDL2, alsaLib, gtk3 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, SDL2, alsaLib, gtk3 2 2 , makeWrapper, libGLU, libGL, libarchive, libao, unzip, xdg_utils 3 3 , epoxy, gdk-pixbuf, gnome3, wrapGAppsHook 4 4 }: ··· 64 64 meta = { 65 65 homepage = "http://0ldsk00l.ca/nestopia/"; 66 66 description = "NES emulator with a focus on accuracy"; 67 - license = stdenv.lib.licenses.gpl2; 68 - platforms = stdenv.lib.platforms.linux; 69 - maintainers = with stdenv.lib.maintainers; [ MP2E ]; 67 + license = lib.licenses.gpl2; 68 + platforms = lib.platforms.linux; 69 + maintainers = with lib.maintainers; [ MP2E ]; 70 70 }; 71 71 } 72 72
+2 -2
pkgs/misc/emulators/oberon-risc-emu/default.nix
··· 1 - { stdenv, fetchFromGitHub, SDL2 }: 1 + { lib, stdenv, fetchFromGitHub, SDL2 }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "oberon-risc-emu"; ··· 18 18 mv risc $out/bin 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://github.com/pdewacht/oberon-risc-emu/"; 23 23 description = "Emulator for the Oberon RISC machine"; 24 24 license = licenses.isc;
+2 -2
pkgs/misc/emulators/openmsx/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig 1 + { lib, stdenv, fetchFromGitHub, pkgconfig 2 2 , python 3 3 , alsaLib, glew, libGL, libpng 4 4 , libogg, libtheora, libvorbis ··· 34 34 # for providing support to Nixpkgs :) 35 35 TCL_CONFIG="${tcl}/lib/"; 36 36 37 - meta = with stdenv.lib;{ 37 + meta = with lib;{ 38 38 description = "The MSX emulator that aims for perfection"; 39 39 longDescription = '' 40 40 OpenMSX is an emulator for the MSX home computer system. Its goal is
+2 -2
pkgs/misc/emulators/resim/default.nix
··· 1 - { fetchFromGitHub, stdenv, cmake, qt4 }: 1 + { fetchFromGitHub, lib, stdenv, cmake, qt4 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "resim"; ··· 16 16 cp -v vc4emul/vc4emul $out/bin/vc4emul 17 17 ''; 18 18 19 - meta.license = stdenv.lib.licenses.mit; 19 + meta.license = lib.licenses.mit; 20 20 }
+14 -14
pkgs/misc/emulators/retroarch/cores.nix
··· 6 6 7 7 let 8 8 9 - d2u = stdenv.lib.replaceChars ["-"] ["_"]; 9 + d2u = lib.replaceChars ["-"] ["_"]; 10 10 11 11 mkLibRetroCore = { core, src, description, license, broken ? false, ... }@a: 12 - stdenv.lib.makeOverridable stdenv.mkDerivation ((rec { 12 + lib.makeOverridable stdenv.mkDerivation ((rec { 13 13 14 14 name = "libretro-${a.core}-${version}"; 15 15 version = "2020-03-06"; ··· 62 62 fetchSubmodules = true; 63 63 }; 64 64 65 - in with stdenv.lib.licenses; 65 + in with lib.licenses; 66 66 67 67 { 68 68 ··· 313 313 license = gpl2; 314 314 extraBuildInputs = [ libpcap libGLU libGL xorg.libX11 ]; 315 315 preBuild = "cd desmume/src/frontend/libretro"; 316 - makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix" 317 - ++ stdenv.lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0"; 316 + makeFlags = lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix" 317 + ++ lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0"; 318 318 }; 319 319 320 320 desmume2015 = mkLibRetroCore rec { ··· 327 327 description = "libretro wrapper for desmume NDS emulator from 2015"; 328 328 license = gpl2; 329 329 extraBuildInputs = [ libpcap libGLU libGL xorg.libX11 ]; 330 - makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix" 331 - ++ stdenv.lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0"; 330 + makeFlags = lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix" 331 + ++ lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0"; 332 332 preBuild = "cd desmume"; 333 333 }; 334 334 ··· 435 435 license = gpl2; 436 436 extraBuildInputs = [ libGL libGLU ]; 437 437 makefile = "Makefile"; 438 - makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch64 [ "platform=arm64" ]; 438 + makeFlags = lib.optional stdenv.hostPlatform.isAarch64 [ "platform=arm64" ]; 439 439 meta.platforms = [ "aarch64-linux" "x86_64-linux" ]; 440 440 }; 441 441 ··· 505 505 sha256 = "1jhgfys8hiipvbwq3gc48d7v6wq645d10rbr4w5m6px0fk6csshk"; 506 506 }; 507 507 description = "Port of Game and Watch to libretro"; 508 - license = stdenv.lib.licenses.zlib; 508 + license = lib.licenses.zlib; 509 509 makefile = "Makefile"; 510 510 }; 511 511 ··· 567 567 description = "Port of MAME ~2000 to libretro"; 568 568 license = gpl2Plus; 569 569 makefile = "Makefile"; 570 - makeFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "IS_X86=0"; 570 + makeFlags = lib.optional (!stdenv.hostPlatform.isx86) "IS_X86=0"; 571 571 }; 572 572 573 573 mame2003 = mkLibRetroCore rec { ··· 604 604 description = "Port of MAME ~2010 to libretro"; 605 605 license = gpl2Plus; 606 606 makefile = "Makefile"; 607 - makeFlags = stdenv.lib.optionals stdenv.hostPlatform.isAarch64 [ "PTR64=1" "ARM_ENABLED=1" "X86_SH2DRC=0" "FORCE_DRC_C_BACKEND=1" ]; 607 + makeFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "PTR64=1" "ARM_ENABLED=1" "X86_SH2DRC=0" "FORCE_DRC_C_BACKEND=1" ]; 608 608 }; 609 609 610 610 mame2015 = mkLibRetroCore rec { ··· 778 778 license = gpl2; 779 779 extraBuildInputs = [ libGLU libGL libpng ]; 780 780 makefile = "Makefile"; 781 - postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isAarch64 '' 781 + postPatch = lib.optionalString stdenv.hostPlatform.isAarch64 '' 782 782 sed -i -e '1 i\CPUFLAGS += -DARM_FIX -DNO_ASM -DARM_ASM -DDONT_WANT_ARM_OPTIMIZATIONS -DARM64' Makefile \ 783 783 && sed -i -e 's,CPUFLAGS :=,,g' Makefile 784 784 ''; ··· 810 810 SDL_CONFIG = "${SDL.dev}/bin/sdl-config"; 811 811 dontAddPrefix = true; 812 812 configurePlatforms = []; 813 - makeFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch64 [ "platform=aarch64" ]; 813 + makeFlags = lib.optional stdenv.hostPlatform.isAarch64 [ "platform=aarch64" ]; 814 814 }; 815 815 816 816 play = mkLibRetroCore { ··· 1091 1091 license = gpl2; 1092 1092 makefile = "Makefile"; 1093 1093 # Disable SSE for non-x86. DYNAREC doesn't build on either Aarch64 or x86_64. 1094 - makeFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "HAVE_SSE=0"; 1094 + makeFlags = lib.optional (!stdenv.hostPlatform.isx86) "HAVE_SSE=0"; 1095 1095 preBuild = "cd yabause/src/libretro"; 1096 1096 }; 1097 1097
+3 -3
pkgs/misc/emulators/retroarch/default.nix
··· 1 - { stdenv, fetchFromGitHub, which, pkgconfig, makeWrapper 1 + { lib, stdenv, fetchFromGitHub, which, pkgconfig, makeWrapper 2 2 , ffmpeg_3, libGLU, libGL, freetype, libxml2, python3 3 3 , libobjc, AppKit, Foundation 4 4 , alsaLib ? null ··· 19 19 , libxkbcommon 20 20 }: 21 21 22 - with stdenv.lib; 22 + with lib; 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "retroarch-bare"; ··· 45 45 46 46 enableParallelBuilding = true; 47 47 48 - configureFlags = stdenv.lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ]; 48 + configureFlags = lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ]; 49 49 50 50 postInstall = optionalString withVulkan '' 51 51 wrapProgram $out/bin/retroarch --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib
+2 -2
pkgs/misc/emulators/retroarch/kodi-advanced-launchers.nix
··· 25 25 26 26 buildCommand = '' 27 27 mkdir -p $out/bin 28 - ${stdenv.lib.concatMapStrings (exec: "ln -s ${scriptSh exec} $out/bin/kodi-${exec.name};") execs} 28 + ${lib.concatMapStrings (exec: "ln -s ${scriptSh exec} $out/bin/kodi-${exec.name};") execs} 29 29 ''; 30 30 31 31 meta = { ··· 35 35 advanced (emulation) launcher for Kodi since device input is 36 36 otherwise caught by both Kodi and the retroarch process. 37 37 ''; 38 - license = stdenv.lib.licenses.gpl3; 38 + license = lib.licenses.gpl3; 39 39 }; 40 40 }
+1 -1
pkgs/misc/emulators/ryujinx/default.nix
··· 74 74 75 75 makeWrapper $out/lib/ryujinx/Ryujinx $out/bin/Ryujinx \ 76 76 --set DOTNET_ROOT "${dotnetCorePackages.netcore_3_1}" \ 77 - --suffix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath runtimeDeps}" \ 77 + --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" \ 78 78 ''${gappsWrapperArgs[@]} 79 79 80 80 for i in 16 32 48 64 96 128 256 512 1024; do
+2 -2
pkgs/misc/emulators/stella/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkg-config, SDL2 }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, SDL2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "stella"; ··· 16 16 17 17 enableParallelBuilding = true; 18 18 19 - meta = with stdenv.lib;{ 19 + meta = with lib;{ 20 20 description = "An open-source Atari 2600 VCS emulator"; 21 21 longDescription = '' 22 22 Stella is a multi-platform Atari 2600 VCS emulator released under
+4 -4
pkgs/misc/emulators/uae/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, gtk2, alsaLib, SDL}: 1 + {lib, stdenv, fetchurl, pkgconfig, gtk2, alsaLib, SDL}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "uae-0.8.29"; ··· 18 18 19 19 meta = { 20 20 description = "Ultimate/Unix/Unusable Amiga Emulator"; 21 - license = stdenv.lib.licenses.gpl2Plus; 21 + license = lib.licenses.gpl2Plus; 22 22 homepage = "http://web.archive.org/web/20130901222855/http://www.amigaemulator.org/"; 23 - maintainers = [ stdenv.lib.maintainers.sander ]; 24 - platforms = stdenv.lib.platforms.linux; 23 + maintainers = [ lib.maintainers.sander ]; 24 + platforms = lib.platforms.linux; 25 25 }; 26 26 }
+3 -3
pkgs/misc/emulators/vbam/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , cairo 3 3 , cmake 4 4 , fetchFromGitHub ··· 46 46 "-DENABLE_SDL='true'" 47 47 ]; 48 48 49 - meta = with stdenv.lib; { 49 + meta = with lib; { 50 50 description = "A merge of the original Visual Boy Advance forks"; 51 51 license = licenses.gpl2; 52 52 maintainers = with maintainers; [ lassulus ]; 53 53 homepage = "https://vba-m.com/"; 54 - platforms = stdenv.lib.platforms.linux; 54 + platforms = lib.platforms.linux; 55 55 badPlatforms = [ "aarch64-linux" ]; 56 56 }; 57 57 }
+4 -4
pkgs/misc/emulators/vice/default.nix
··· 1 - { stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU, libGL, libXaw 1 + { lib, stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU, libGL, libXaw 2 2 , pkgconfig, gtk2, SDL, autoreconfHook, makeDesktopItem 3 3 }: 4 4 ··· 46 46 meta = { 47 47 description = "Commodore 64, 128 and other emulators"; 48 48 homepage = "http://www.viceteam.org"; 49 - license = stdenv.lib.licenses.gpl2Plus; 50 - maintainers = [ stdenv.lib.maintainers.sander ]; 51 - platforms = stdenv.lib.platforms.linux; 49 + license = lib.licenses.gpl2Plus; 50 + maintainers = [ lib.maintainers.sander ]; 51 + platforms = lib.platforms.linux; 52 52 }; 53 53 }
+2 -2
pkgs/misc/emulators/wine/base.nix
··· 148 148 meta = { 149 149 inherit version platforms; 150 150 homepage = "https://www.winehq.org/"; 151 - license = with stdenv.lib.licenses; [ lgpl21Plus ]; 151 + license = with lib.licenses; [ lgpl21Plus ]; 152 152 description = "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix"; 153 - maintainers = with stdenv.lib.maintainers; [ avnik raskin bendlas ]; 153 + maintainers = with lib.maintainers; [ avnik raskin bendlas ]; 154 154 }; 155 155 })
+4 -4
pkgs/misc/emulators/wine/staging.nix
··· 1 - { stdenv, callPackage, wineUnstable }: 1 + { lib, stdenv, callPackage, wineUnstable }: 2 2 3 3 with callPackage ./util.nix {}; 4 4 5 5 let patch = (callPackage ./sources.nix {}).staging; 6 6 build-inputs = pkgNames: extra: 7 7 (mkBuildInputs wineUnstable.pkgArches pkgNames) ++ extra; 8 - in assert stdenv.lib.getVersion wineUnstable == patch.version; 8 + in assert lib.getVersion wineUnstable == patch.version; 9 9 10 - (stdenv.lib.overrideDerivation wineUnstable (self: { 10 + (lib.overrideDerivation wineUnstable (self: { 11 11 buildInputs = build-inputs [ "perl" "util-linux" "autoconf" "gitMinimal" ] self.buildInputs; 12 12 13 13 name = "${self.name}-staging"; ··· 18 18 chmod +w patches 19 19 cd patches 20 20 patchShebangs gitapply.sh 21 - ./patchinstall.sh DESTDIR="$PWD/.." --all ${stdenv.lib.concatMapStringsSep " " (ps: "-W ${ps}") patch.disabledPatchsets} 21 + ./patchinstall.sh DESTDIR="$PWD/.." --all ${lib.concatMapStringsSep " " (ps: "-W ${ps}") patch.disabledPatchsets} 22 22 cd .. 23 23 ''; 24 24 })) // {
+5 -5
pkgs/misc/emulators/wine/winetricks.nix
··· 1 - { stdenv, callPackage, wine, perl, which, coreutils, zenity, curl 1 + { lib, stdenv, callPackage, wine, perl, which, coreutils, zenity, curl 2 2 , cabextract, unzip, p7zip, gnused, gnugrep, bash } : 3 3 4 4 stdenv.mkDerivation rec { ··· 9 9 buildInputs = [ perl which ]; 10 10 11 11 # coreutils is for sha1sum 12 - pathAdd = stdenv.lib.concatMapStringsSep ":" (x: x + "/bin") 13 - (stdenv.lib.filter (x: x != null) 12 + pathAdd = lib.concatMapStringsSep ":" (x: x + "/bin") 13 + (lib.filter (x: x != null) 14 14 [ wine perl which coreutils zenity curl cabextract unzip p7zip gnused gnugrep bash ]); 15 15 16 16 makeFlags = [ "PREFIX=$(out)" ]; ··· 25 25 26 26 meta = { 27 27 description = "A script to install DLLs needed to work around problems in Wine"; 28 - license = stdenv.lib.licenses.lgpl21; 28 + license = lib.licenses.lgpl21; 29 29 homepage = "https://github.com/Winetricks/winetricks"; 30 - platforms = with stdenv.lib.platforms; linux; 30 + platforms = with lib.platforms; linux; 31 31 }; 32 32 }
+2 -2
pkgs/misc/emulators/wxmupen64plus/default.nix
··· 1 - { stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU, libGL 1 + { lib, stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU, libGL 2 2 , wafHook }: 3 3 4 4 stdenv.mkDerivation { ··· 24 24 25 25 meta = { 26 26 description = "GUI for the Mupen64Plus 2.0 emulator"; 27 - license = stdenv.lib.licenses.gpl2Plus; 27 + license = lib.licenses.gpl2Plus; 28 28 homepage = "https://bitbucket.org/auria/wxmupen64plus/wiki/Home"; 29 29 }; 30 30 }
+2 -2
pkgs/misc/emulators/xcpc/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, glib, libXaw, libX11, libXext 1 + { lib, stdenv, fetchurl, pkgconfig, glib, libXaw, libX11, libXext 2 2 , libDSKSupport ? true, libdsk 3 3 , motifSupport ? false, lesstif 4 4 }: 5 5 6 - with stdenv.lib; 6 + with lib; 7 7 stdenv.mkDerivation rec { 8 8 version = "20070122"; 9 9 pname = "xcpc";
+3 -3
pkgs/misc/emulators/yuzu/default.nix
··· 20 20 21 21 nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ]; 22 22 buildInputs = [ qtbase qtwebengine qttools boost173 catch2 fmt lz4 nlohmann_json rapidjson zlib zstd SDL2 udev libusb1 libpulseaudio alsaLib sndio ecasound libjack2 libzip ffmpeg ] 23 - ++ stdenv.lib.optionals useVulkan [ vulkan-loader vulkan-headers ]; 23 + ++ lib.optionals useVulkan [ vulkan-loader vulkan-headers ]; 24 24 cmakeFlags = [ "-DENABLE_QT_TRANSLATION=ON" "-DYUZU_USE_QT_WEB_ENGINE=ON" "-DUSE_DISCORD_PRESENCE=ON" ] 25 - ++ stdenv.lib.optionals (!useVulkan) [ "-DENABLE_VULKAN=No" ]; 25 + ++ lib.optionals (!useVulkan) [ "-DENABLE_VULKAN=No" ]; 26 26 27 27 # Trick the configure system. This prevents a check for submodule directories. 28 28 preConfigure = "rm .gitmodules"; 29 29 30 30 # Fix vulkan detection 31 - postFixup = stdenv.lib.optionals useVulkan '' 31 + postFixup = lib.optionals useVulkan '' 32 32 wrapProgram $out/bin/yuzu --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib 33 33 wrapProgram $out/bin/yuzu-cmd --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib 34 34 '';
+3 -3
pkgs/misc/emulators/zsnes/default.nix
··· 1 - {stdenv, fetchFromGitHub, nasm, SDL, zlib, libpng, ncurses, libGLU, libGL 1 + { lib, stdenv, fetchFromGitHub, nasm, SDL, zlib, libpng, ncurses, libGLU, libGL 2 2 , makeDesktopItem }: 3 3 4 4 let ··· 55 55 56 56 meta = { 57 57 description = "A Super Nintendo Entertainment System Emulator"; 58 - license = stdenv.lib.licenses.gpl2Plus; 59 - maintainers = [ stdenv.lib.maintainers.sander ]; 58 + license = lib.licenses.gpl2Plus; 59 + maintainers = [ lib.maintainers.sander ]; 60 60 homepage = "http://www.zsnes.com"; 61 61 platforms = [ "i686-linux" "x86_64-linux" ]; 62 62 };
+4 -4
pkgs/misc/ghostscript/default.nix
··· 97 97 cp -r Resource "$out/share/ghostscript/${version}" 98 98 99 99 ln -s "${fonts}" "$out/share/ghostscript/fonts" 100 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 100 + '' + lib.optionalString stdenv.isDarwin '' 101 101 for file in $out/lib/*.dylib* ; do 102 102 install_name_tool -id "$file" $file 103 103 done ··· 132 132 of output drivers for various file formats and printers. 133 133 ''; 134 134 135 - license = stdenv.lib.licenses.agpl3; 135 + license = lib.licenses.agpl3; 136 136 137 - platforms = stdenv.lib.platforms.all; 138 - maintainers = [ stdenv.lib.maintainers.viric ]; 137 + platforms = lib.platforms.all; 138 + maintainers = [ lib.maintainers.viric ]; 139 139 }; 140 140 }
+3 -3
pkgs/misc/gnash/default.nix
··· 1 - { stdenv, fetchgit, fetchpatch, autoreconfHook 1 + { lib, stdenv, fetchgit, fetchpatch, autoreconfHook 2 2 , pkgconfig, libtool, boost, SDL 3 3 , glib, pango, gettext, curl, xorg 4 4 , libpng, libjpeg, giflib, speex, atk ··· 24 24 , enablePlugins ? false, xulrunner ? null, npapi_sdk ? null 25 25 }: 26 26 27 - with stdenv.lib; 27 + with lib; 28 28 29 29 let 30 30 available = x: x != null; ··· 109 109 }) 110 110 ]; 111 111 112 - configureFlags = with stdenv.lib; [ 112 + configureFlags = with lib; [ 113 113 "--with-boost-incl=${boost.dev}/include" 114 114 "--with-boost-lib=${boost.out}/lib" 115 115 "--enable-renderer=${concatStringsSep "," renderers}"
+3 -3
pkgs/misc/jackaudio/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, python3Packages, makeWrapper 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, python3Packages, makeWrapper 2 2 , bash, libsamplerate, libsndfile, readline, eigen, celt 3 3 , wafHook 4 4 # Darwin Dependencies ··· 12 12 , prefix ? "" 13 13 }: 14 14 15 - with stdenv.lib; 15 + with lib; 16 16 let 17 17 inherit (python3Packages) python dbus-python; 18 - shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 18 + shouldUsePkg = pkg: if pkg != null && lib.any (lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 19 19 20 20 libOnly = prefix == "lib"; 21 21
+2 -2
pkgs/misc/jackaudio/jack1.nix
··· 5 5 }: 6 6 7 7 let 8 - shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 8 + shouldUsePkg = pkg: if pkg != null && lib.any (lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 9 9 10 10 optAlsaLib = shouldUsePkg alsaLib; 11 11 optDb = shouldUsePkg db; ··· 23 23 }; 24 24 25 25 configureFlags = [ 26 - (stdenv.lib.enableFeature (optLibffado != null) "firewire") 26 + (lib.enableFeature (optLibffado != null) "firewire") 27 27 ]; 28 28 29 29 nativeBuildInputs = [ pkgconfig ];
+2 -2
pkgs/misc/libcardiacarrest/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, glib, libpulseaudio }: 1 + { lib, stdenv, fetchFromGitHub, pkgconfig, glib, libpulseaudio }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "libcardiacarrest";
+2 -2
pkgs/misc/lilypond/with-fonts.nix
··· 1 - { stdenv, lndir, symlinkJoin, makeWrapper 1 + { lib, stdenv, lndir, symlinkJoin, makeWrapper 2 2 , lilypond, openlilylib-fonts 3 3 }: 4 4 5 - stdenv.lib.appendToName "with-fonts" (symlinkJoin { 5 + lib.appendToName "with-fonts" (symlinkJoin { 6 6 inherit (lilypond) meta name version ; 7 7 8 8 paths = [ lilypond ] ++ openlilylib-fonts.all;
+1 -1
pkgs/misc/logging/beats/6.x.nix
··· 46 46 journal entries from Linuxes with systemd. 47 47 ''; 48 48 buildInputs = [ systemd.dev ]; 49 - postFixup = let libPath = stdenv.lib.makeLibraryPath [ (lib.getLib systemd) ]; in '' 49 + postFixup = let libPath = lib.makeLibraryPath [ (lib.getLib systemd) ]; in '' 50 50 patchelf --set-rpath ${libPath} "$out/bin/journalbeat" 51 51 ''; 52 52 };
+1 -1
pkgs/misc/logging/beats/7.x.nix
··· 45 45 journal entries from Linuxes with systemd. 46 46 ''; 47 47 buildInputs = [ systemd.dev ]; 48 - postFixup = let libPath = stdenv.lib.makeLibraryPath [ (lib.getLib systemd) ]; in '' 48 + postFixup = let libPath = lib.makeLibraryPath [ (lib.getLib systemd) ]; in '' 49 49 patchelf --set-rpath ${libPath} "$out/bin/journalbeat" 50 50 ''; 51 51 };
+3 -3
pkgs/misc/long-shebang/default.nix
··· 1 - { stdenv, fetchurl }: let 1 + { lib, stdenv, fetchurl }: let 2 2 version = "1.2.0"; 3 3 in stdenv.mkDerivation { 4 4 pname = "long-shebang"; ··· 14 14 15 15 homepage = "https://github.com/shlevy/long-shebang"; 16 16 17 - license = stdenv.lib.licenses.mit; 17 + license = lib.licenses.mit; 18 18 19 - platforms = stdenv.lib.platforms.unix; 19 + platforms = lib.platforms.unix; 20 20 }; 21 21 }
+5 -5
pkgs/misc/riscv-pk/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, payload ? null }: let 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, payload ? null }: let 2 2 rev = "e5846a2bc707eaa58dc8ab6a8d20a090c6ee8570"; 3 3 sha256 = "1clynpp70fnbgsjgxx7xi0vrdrj1v0h8zpv0x26i324kp2gwylf4"; 4 4 revCount = "438"; ··· 21 21 22 22 configureScript = "../configure"; 23 23 24 - configureFlags = stdenv.lib.optional (payload != null) 24 + configureFlags = lib.optional (payload != null) 25 25 "--with-payload=${payload}"; 26 26 27 27 hardeningDisable = [ "all" ]; ··· 35 35 meta = { 36 36 description = "RISC-V Proxy Kernel and Bootloader"; 37 37 homepage = "https://github.com/riscv/riscv-pk"; 38 - license = stdenv.lib.licenses.bsd3; 39 - platforms = stdenv.lib.platforms.riscv; 40 - maintainers = [ stdenv.lib.maintainers.shlevy ]; 38 + license = lib.licenses.bsd3; 39 + platforms = lib.platforms.riscv; 40 + maintainers = [ lib.maintainers.shlevy ]; 41 41 }; 42 42 }
+1 -1
pkgs/misc/screensavers/betterlockscreen/default.nix
··· 21 21 installPhase = 22 22 let 23 23 PATH = 24 - stdenv.lib.makeBinPath 24 + lib.makeBinPath 25 25 [imagemagick i3lock-color xdpyinfo xrandr bc feh procps xrdb]; 26 26 in '' 27 27 mkdir -p $out/bin
+1 -1
pkgs/misc/screensavers/multilockscreen/default.nix
··· 7 7 i3lock = writeShellScriptBin "i3lock" '' 8 8 ${i3lock-color}/bin/i3lock-color "$@" 9 9 ''; 10 - binPath = stdenv.lib.makeBinPath [ 10 + binPath = lib.makeBinPath [ 11 11 imagemagick i3lock 12 12 xdpyinfo xrandr xset 13 13 bc feh procps xrdb
+1 -1
pkgs/misc/screensavers/pipes/default.nix
··· 16 16 make PREFIX=$out/ install 17 17 18 18 wrapProgram $out/bin/pipes.sh \ 19 - --set PATH "${stdenv.lib.makeBinPath [ coreutils ncurses ]}" 19 + --set PATH "${lib.makeBinPath [ coreutils ncurses ]}" 20 20 ''; 21 21 22 22 meta = with lib; {
+3 -3
pkgs/misc/screensavers/rss-glx/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, libGLU, libGL, imagemagick, libtiff, bzip2}: 1 + {lib, stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, libGLU, libGL, imagemagick, libtiff, bzip2}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.9.1"; ··· 21 21 This package currently contains all of the screensavers from the 22 22 original collection, plus a few others. 23 23 ''; 24 - license = stdenv.lib.licenses.gpl2; 25 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.gpl2; 25 + platforms = lib.platforms.linux; 26 26 }; 27 27 }
+2 -2
pkgs/misc/screensavers/slock/default.nix
··· 1 - { stdenv, fetchurl, writeText 1 + { lib, stdenv, fetchurl, writeText 2 2 , xorgproto, libX11, libXext, libXrandr 3 3 # default header can be obtained from 4 4 # https://git.suckless.org/slock/tree/config.def.h 5 5 , conf ? null }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 stdenv.mkDerivation rec { 9 9 name = "slock-1.4"; 10 10
+5 -5
pkgs/misc/screensavers/xscreensaver/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, bc, perl, perlPackages, pam, libXext, libXScrnSaver, libX11 1 + { lib, stdenv, fetchurl, pkgconfig, bc, perl, perlPackages, pam, libXext, libXScrnSaver, libX11 2 2 , libXrandr, libXmu, libXxf86vm, libXrender, libXxf86misc, libjpeg, libGLU, libGL, gtk2 3 3 , libxml2, libglade, intltool, xorg, makeWrapper, gle, gdk-pixbuf, gdk-pixbuf-xlib 4 4 , forceInstallAllHacks ? false ··· 37 37 38 38 postInstall = '' 39 39 wrapProgram $out/bin/xscreensaver-text \ 40 - --prefix PATH : ${stdenv.lib.makeBinPath [xorg.appres]} 40 + --prefix PATH : ${lib.makeBinPath [xorg.appres]} 41 41 wrapProgram $out/bin/xscreensaver-getimage-file \ 42 42 --set PERL5LIB "$out/${perlPackages.perl.libPrefix}:${with perlPackages; makePerlPath [ 43 43 EncodeLocale HTTPDate HTTPMessage IOSocketSSL LWP LWPProtocolHttps 44 44 MozillaCA NetHTTP NetSSLeay TryTiny URI 45 45 ]}" 46 46 '' 47 - + stdenv.lib.optionalString forceInstallAllHacks '' 47 + + lib.optionalString forceInstallAllHacks '' 48 48 make -C hacks/glx dnalogo 49 49 cat hacks/Makefile.in | grep -E '([a-z0-9]+):[[:space:]]*\1[.]o' | cut -d : -f 1 | xargs make -C hacks 50 50 cat hacks/glx/Makefile.in | grep -E '([a-z0-9]+):[[:space:]]*\1[.]o' | cut -d : -f 1 | xargs make -C hacks/glx ··· 55 55 meta = { 56 56 homepage = "https://www.jwz.org/xscreensaver/"; 57 57 description = "A set of screensavers"; 58 - maintainers = with stdenv.lib.maintainers; [ raskin ]; 59 - platforms = stdenv.lib.platforms.unix; # Once had cygwin problems 58 + maintainers = with lib.maintainers; [ raskin ]; 59 + platforms = lib.platforms.unix; # Once had cygwin problems 60 60 inherit version; 61 61 downloadPage = "https://www.jwz.org/xscreensaver/download.html"; 62 62 updateWalker = true;
+4 -4
pkgs/misc/screensavers/xssproxy/default.nix
··· 1 - { stdenv, fetchFromGitHub, glib, pkgconfig, xorg, dbus }: 1 + { lib, stdenv, fetchFromGitHub, glib, pkgconfig, xorg, dbus }: 2 2 3 3 let rev = "1.0.0"; in 4 4 ··· 23 23 meta = { 24 24 description = "Forward freedesktop.org Idle Inhibition Service calls to Xss"; 25 25 homepage = "https://github.com/timakro/xssproxy"; 26 - license = stdenv.lib.licenses.gpl3; 27 - maintainers = with stdenv.lib.maintainers; [ benley ]; 28 - platforms = stdenv.lib.platforms.unix; 26 + license = lib.licenses.gpl3; 27 + maintainers = with lib.maintainers; [ benley ]; 28 + platforms = lib.platforms.unix; 29 29 }; 30 30 }
+3 -3
pkgs/misc/screensavers/xtrlock-pam/default.nix
··· 1 - { stdenv, fetchgit, python, pkgconfig, xlibsWrapper, pam }: 1 + { lib, stdenv, fetchgit, python, pkgconfig, xlibsWrapper, pam }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "xtrlock-pam-3.4-post-20150909"; ··· 22 22 homepage = "https://github.com/aanatoly/xtrlock-pam"; 23 23 description = "PAM based X11 screen locker"; 24 24 license = "unknown"; 25 - maintainers = with stdenv.lib.maintainers; [ tstrobel ]; 26 - platforms = with stdenv.lib.platforms; linux; 25 + maintainers = with lib.maintainers; [ tstrobel ]; 26 + platforms = with lib.platforms; linux; 27 27 }; 28 28 }
+2 -2
pkgs/misc/sndio/default.nix
··· 4 4 pname = "sndio"; 5 5 version = "1.7.0"; 6 6 enableParallelBuilding = true; 7 - nativeBuildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 8 - buildInputs = stdenv.lib.optional stdenv.hostPlatform.isLinux alsaLib; 7 + nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 8 + buildInputs = lib.optional stdenv.hostPlatform.isLinux alsaLib; 9 9 10 10 src = fetchurl { 11 11 url = "http://www.sndio.org/sndio-${version}.tar.gz";
+2 -2
pkgs/misc/stabber/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, expat 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, expat 2 2 , libmicrohttpd 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 stdenv.mkDerivation { 8 8 pname = "stabber-unstable";
+4 -4
pkgs/misc/talkfilters/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 let 4 4 pname = "talkfilters"; ··· 18 18 meta = { 19 19 description = "Converts English text into text that mimics a stereotyped or humorous dialect"; 20 20 homepage = "http://www.hyperrealm.com/talkfilters/talkfilters.html"; 21 - license = stdenv.lib.licenses.gpl2; 22 - maintainers = with stdenv.lib.maintainers; [ ikervagyok ]; 23 - platforms = with stdenv.lib.platforms; unix; 21 + license = lib.licenses.gpl2; 22 + maintainers = with lib.maintainers; [ ikervagyok ]; 23 + platforms = with lib.platforms; unix; 24 24 }; 25 25 } 26 26
+9 -9
pkgs/misc/tmux-plugins/default.nix
··· 88 88 computer or server restarts, if the machine is on, tmux will be there how 89 89 you left it off the last time it was used. 90 90 ''; 91 - license = stdenv.lib.licenses.mit; 92 - platforms = stdenv.lib.platforms.unix; 93 - maintainers = with stdenv.lib.maintainers; [ ronanmacf ]; 91 + license = lib.licenses.mit; 92 + platforms = lib.platforms.unix; 93 + maintainers = with lib.maintainers; [ ronanmacf ]; 94 94 }; 95 95 }; 96 96 ··· 379 379 * restoring vim and neovim sessions 380 380 * restoring pane contents 381 381 ''; 382 - license = stdenv.lib.licenses.mit; 383 - platforms = stdenv.lib.platforms.unix; 384 - maintainers = with stdenv.lib.maintainers; [ ronanmacf ]; 382 + license = lib.licenses.mit; 383 + platforms = lib.platforms.unix; 384 + maintainers = with lib.maintainers; [ ronanmacf ]; 385 385 }; 386 386 }; 387 387 ··· 491 491 * User menu. 492 492 * Popup window support. 493 493 ''; 494 - license = stdenv.lib.licenses.mit; 495 - platforms = stdenv.lib.platforms.unix; 496 - maintainers = with stdenv.lib.maintainers; [ kyleondy ]; 494 + license = lib.licenses.mit; 495 + platforms = lib.platforms.unix; 496 + maintainers = with lib.maintainers; [ kyleondy ]; 497 497 }; 498 498 }; 499 499
+2 -2
pkgs/misc/vim-plugins/build-vim-plugin.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , rtpPath ? "share/vim-plugins" 3 3 , vim 4 4 }: ··· 18 18 buildPhase ? "", 19 19 preInstall ? "", 20 20 postInstall ? "", 21 - path ? stdenv.lib.getName name, 21 + path ? lib.getName name, 22 22 addonInfo ? null, 23 23 ... 24 24 }:
+13 -13
pkgs/misc/vim-plugins/overrides.nix
··· 73 73 src = LanguageClient-neovim-src; 74 74 75 75 cargoSha256 = "0mf94j85awdcqa6cyb89bipny9xg13ldkznjf002fq747f55my2a"; 76 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ]; 76 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 77 77 78 78 # FIXME: Use impure version of CoreFoundation because of missing symbols. 79 79 # Undefined symbols for architecture x86_64: "_CFURLResourceIsReachable" 80 - preConfigure = stdenv.lib.optionalString stdenv.isDarwin '' 80 + preConfigure = lib.optionalString stdenv.isDarwin '' 81 81 export NIX_LDFLAGS="-F${CoreFoundation}/Library/Frameworks -framework CoreFoundation $NIX_LDFLAGS" 82 82 ''; 83 83 }; ··· 180 180 meta = { 181 181 description = "Address-completion for khard via deoplete"; 182 182 homepage = "https://github.com/nicoe/deoplete-khard"; 183 - license = stdenv.lib.licenses.mit; 184 - maintainers = with stdenv.lib.maintainers; [ jorsn ]; 183 + license = lib.licenses.mit; 184 + maintainers = with lib.maintainers; [ jorsn ]; 185 185 }; 186 186 }); 187 187 ··· 234 234 meta = with lib; { 235 235 description = "Discord rich presence for Vim"; 236 236 homepage = "https://github.com/hugolgst/vimsence"; 237 - maintainers = with stdenv.lib.maintainers; [ hugolgst ]; 237 + maintainers = with lib.maintainers; [ hugolgst ]; 238 238 }; 239 239 }); 240 240 ··· 245 245 meson = buildVimPluginFrom2Nix { 246 246 inherit (meson) pname version src; 247 247 preInstall = "cd data/syntax-highlighting/vim"; 248 - meta.maintainers = with stdenv.lib.maintainers; [ vcunat ]; 248 + meta.maintainers = with lib.maintainers; [ vcunat ]; 249 249 }; 250 250 251 251 ncm2 = super.ncm2.overrideAttrs(old: { ··· 325 325 description = "Vim-Improved eMACS: Emacs emulation plugin for Vim"; 326 326 homepage = "http://algorithm.com.au/code/vimacs"; 327 327 license = licenses.gpl2Plus; 328 - maintainers = with stdenv.lib.maintainers; [ millerjason ]; 328 + maintainers = with lib.maintainers; [ millerjason ]; 329 329 }; 330 330 }); 331 331 ··· 334 334 }); 335 335 336 336 vim-addon-manager = super.vim-addon-manager.overrideAttrs(old: { 337 - buildInputs = stdenv.lib.optional stdenv.isDarwin Cocoa; 337 + buildInputs = lib.optional stdenv.isDarwin Cocoa; 338 338 }); 339 339 340 340 vim-addon-actions = super.vim-addon-actions.overrideAttrs(old: { ··· 581 581 buildInputs = [ python3.pkgs.jedi ]; 582 582 meta = { 583 583 description = "code-completion for python using python-jedi"; 584 - license = stdenv.lib.licenses.mit; 584 + license = lib.licenses.mit; 585 585 }; 586 586 }); 587 587 ··· 602 602 propagatedBuildInputs = [ gnome3.zenity ]; 603 603 meta = { 604 604 description = "Simple color selector/picker plugin"; 605 - license = stdenv.lib.licenses.publicDomain; 605 + license = lib.licenses.publicDomain; 606 606 }; 607 607 }); 608 608 ··· 632 632 ln -s ${hexokinase}/bin/hexokinase $target/hexokinase/hexokinase 633 633 ''; 634 634 635 - meta.platforms = stdenv.lib.platforms.all; 635 + meta.platforms = lib.platforms.all; 636 636 }); 637 637 638 638 vim-clap = super.vim-clap.overrideAttrs(old: { ··· 647 647 648 648 buildInputs = [ 649 649 openssl 650 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 650 + ] ++ lib.optionals stdenv.isDarwin [ 651 651 CoreServices 652 652 curl 653 653 libgit2 ··· 660 660 ln -s ${maple-bin}/bin/maple $target/bin/maple 661 661 ''; 662 662 663 - meta.platforms = stdenv.lib.platforms.all; 663 + meta.platforms = lib.platforms.all; 664 664 }); 665 665 666 666 completion-tabnine = super.completion-tabnine.overrideAttrs(old: {
+4 -4
pkgs/misc/vim-plugins/vim-utils.nix
··· 1 - { stdenv, vim, vimPlugins, vim_configurable, neovim, buildEnv, writeText, writeScriptBin 1 + { lib, stdenv, vim, vimPlugins, vim_configurable, neovim, buildEnv, writeText, writeScriptBin 2 2 , nix-prefetch-hg, nix-prefetch-git 3 3 , fetchFromGitHub, runtimeShell 4 4 }: ··· 150 150 151 151 152 152 let 153 - inherit (stdenv) lib; 153 + inherit lib; 154 154 155 155 # make sure a plugin is a derivation and its dependencies are derivations. If 156 156 # plugin already is a derivation, this is a no-op. If it is a string, it is ··· 373 373 gvimExecutableName, 374 374 }: 375 375 let 376 - rcOption = o: file: stdenv.lib.optionalString (file != null) "-${o} ${file}"; 376 + rcOption = o: file: lib.optionalString (file != null) "-${o} ${file}"; 377 377 vimWrapperScript = writeScriptBin vimExecutableName '' 378 378 #!${runtimeShell} 379 379 exec ${vimExecutable} ${rcOption "u" vimrcFile} ${rcOption "U" gvimrcFile} "$@" ··· 450 450 451 451 vim_with_vim2nix = vim_configurable.customize { name = "vim"; vimrcConfig.vam.pluginDictionaries = [ "vim-addon-vim2nix" ]; }; 452 452 453 - inherit (import ./build-vim-plugin.nix { inherit stdenv rtpPath vim; }) buildVimPlugin buildVimPluginFrom2Nix; 453 + inherit (import ./build-vim-plugin.nix { inherit lib stdenv rtpPath vim; }) buildVimPlugin buildVimPluginFrom2Nix; 454 454 455 455 # used to figure out which python dependencies etc. neovim needs 456 456 requiredPlugins = {
+25 -25
pkgs/misc/vscode-extensions/default.nix
··· 10 10 # So an extension's attribute name should be of the form: 11 11 # "${mktplcRef.publisher}.${mktplcRef.name}". 12 12 # 13 - baseExtensions = self: stdenv.lib.mapAttrs (_n: stdenv.lib.recurseIntoAttrs) 13 + baseExtensions = self: lib.mapAttrs (_n: lib.recurseIntoAttrs) 14 14 { 15 15 a5huynh.vscode-ron = buildVscodeMarketplaceExtension { 16 16 mktplcRef = { ··· 20 20 sha256 = "0d3p50mhqp550fmj662d3xklj14gvzvhszm2hlqvx4h28v222z97"; 21 21 }; 22 22 meta = { 23 - license = stdenv.lib.licenses.mit; 23 + license = lib.licenses.mit; 24 24 }; 25 25 }; 26 26 ··· 32 32 sha256 = "1mz0h5zd295i73hbji9ivla8hx02i4yhqcv6l4r23w3f07ql3i8h"; 33 33 }; 34 34 meta = { 35 - license = stdenv.lib.licenses.mit; 35 + license = lib.licenses.mit; 36 36 }; 37 37 }; 38 38 ··· 59 59 buildInputs = [ nodePackages.pyright ]; 60 60 61 61 meta = { 62 - license = stdenv.lib.licenses.unfree; 62 + license = lib.licenses.unfree; 63 63 }; 64 64 }; 65 65 ··· 135 135 version = "0.0.4"; 136 136 sha256 = "0sa04srhqmngmw71slnrapi2xay0arj42j4gkan8i11n7bfi1xpf"; 137 137 }; 138 - meta = { license = stdenv.lib.licenses.mit; }; 138 + meta = { license = lib.licenses.mit; }; 139 139 }; 140 140 141 141 dhall.vscode-dhall-lsp-server = buildVscodeMarketplaceExtension { ··· 145 145 version = "0.0.4"; 146 146 sha256 = "1zin7s827bpf9yvzpxpr5n6mv0b5rhh3civsqzmj52mdq365d2js"; 147 147 }; 148 - meta = { license = stdenv.lib.licenses.mit; }; 148 + meta = { license = lib.licenses.mit; }; 149 149 }; 150 150 151 151 donjayamanne.githistory = buildVscodeMarketplaceExtension { ··· 207 207 sha256 = "058jgmllqb0j6gg5anghdp35nkykii28igfcwqgh4bp10pyvspg0"; 208 208 }; 209 209 meta = { 210 - license = stdenv.lib.licenses.mit; 210 + license = lib.licenses.mit; 211 211 }; 212 212 }; 213 213 ··· 219 219 sha256 = "0cqg9mxkyf41brjq2c764w42lzyn6ffphw6ciw7xnqk1h1x8wwbs"; 220 220 }; 221 221 meta = { 222 - license = stdenv.lib.licenses.mit; 222 + license = lib.licenses.mit; 223 223 }; 224 224 }; 225 225 ··· 264 264 sha256 = "sha256-b2Wa3TULQQnBm1/xnDCB9SZjE+Wxz5wBttjDEtf8qlE="; 265 265 }; 266 266 meta = { 267 - license = stdenv.lib.licenses.mit; 267 + license = lib.licenses.mit; 268 268 }; 269 269 }; 270 270 ··· 329 329 sha256 = "0lxp8xz17ciy93nj4lzxqvz71vw1zdyamrnh2n792yair8890rr6"; 330 330 }; 331 331 meta = { 332 - license = stdenv.lib.licenses.bsd3; 332 + license = lib.licenses.bsd3; 333 333 }; 334 334 }; 335 335 ··· 341 341 sha256 = "1ks6z8wsxmlfhiwa51f7d6digvw11dlxc7mja3hankgxcf5dyj31"; 342 342 }; 343 343 meta = { 344 - license = stdenv.lib.licenses.mit; 344 + license = lib.licenses.mit; 345 345 }; 346 346 }; 347 347 ··· 353 353 sha256 = "0w5mijs4ll5qjkpyw7qpn1k40pq8spm0b3q72x150ydbcini5hxw"; 354 354 }; 355 355 meta = { 356 - license = stdenv.lib.licenses.mit; 356 + license = lib.licenses.mit; 357 357 }; 358 358 }; 359 359 ··· 365 365 sha256 = "0n59whmcrx8946xix6skvc50f2vsc85ckvn8cs06w9mqmymm1q0s"; 366 366 }; 367 367 meta = { 368 - license = stdenv.lib.licenses.mit; 368 + license = lib.licenses.mit; 369 369 }; 370 370 }; 371 371 ··· 377 377 sha256 = "12a4phl1pddsajy3n0ld6rp607iy0pif6pqrs6ljbg2x97fyra28"; 378 378 }; 379 379 meta = { 380 - license = stdenv.lib.licenses.mit; 380 + license = lib.licenses.mit; 381 381 }; 382 382 }; 383 383 ··· 397 397 sha256 = "1syzf43ws343z911fnhrlbzbx70gdn930q67yqkf6g0mj8lf2za2"; 398 398 }; 399 399 meta = { 400 - license = stdenv.lib.licenses.mit; 400 + license = lib.licenses.mit; 401 401 }; 402 402 }; 403 403 ··· 409 409 sha256 = "046kdk73a5xbrwq16ff0l64271c6q6ygjvxaph58z29gyiszfkig"; 410 410 }; 411 411 meta = { 412 - license = stdenv.lib.licenses.mit; 412 + license = lib.licenses.mit; 413 413 }; 414 414 }; 415 415 ··· 440 440 sha256 = "1m9mis59j9xnf1zvh67p5rhayaa9qxjiw9iw847nyl9vsy73w8ya"; 441 441 }; 442 442 meta = { 443 - license = stdenv.lib.licenses.mit; 443 + license = lib.licenses.mit; 444 444 }; 445 445 }; 446 446 ··· 452 452 sha256 = "1r4kg4slgxncdppr4fn7i5vfhvzcg26ljia2r97n6wvwn8534vs9"; 453 453 }; 454 454 meta = { 455 - license = stdenv.lib.licenses.mit; 455 + license = lib.licenses.mit; 456 456 }; 457 457 }; 458 458 ··· 464 464 sha256 = "0nrj32a7a86vwc9gfh748xs3mmfwbc304dp7nks61f0lx8b4wzxw"; 465 465 }; 466 466 meta = { 467 - license = stdenv.lib.licenses.mit; 467 + license = lib.licenses.mit; 468 468 }; 469 469 }; 470 470 ··· 476 476 sha256 = "0v599yssvk358gxfxnyzzkyk0y5krsbp8n4rkp9wb2ncxqsqladr"; 477 477 }; 478 478 meta = { 479 - license = stdenv.lib.licenses.asl20; 479 + license = lib.licenses.asl20; 480 480 }; 481 481 }; 482 482 ··· 488 488 sha256 = "1xk7ayv590hsm3scqpyh6962kvgdlinnpkx0vapr7vs4y08dx72f"; 489 489 }; 490 490 meta = { 491 - license = stdenv.lib.licenses.mit; 491 + license = lib.licenses.mit; 492 492 }; 493 493 }; 494 494 ··· 512 512 sha256 = "16x2y58hkankazpwm93j8lqdn3mala7iayck548kki9zx4qrhhck"; 513 513 }; 514 514 meta = { 515 - license = stdenv.lib.licenses.mit; 515 + license = lib.licenses.mit; 516 516 }; 517 517 }; 518 518 ··· 524 524 sha256 = "0l4wibsjnlbzbrl1wcj18vnm1q4ygvxmh347jvzziv8f1l790qjl"; 525 525 }; 526 526 meta = { 527 - license = stdenv.lib.licenses.mit; 527 + license = lib.licenses.mit; 528 528 }; 529 529 }; 530 530 ··· 540 540 sha256 = "1albwz3lc9i20if77inm1ipwws8apigvx24rbag3d1h3p4vwda49"; 541 541 }; 542 542 meta = { 543 - license = stdenv.lib.licenses.mit; 543 + license = lib.licenses.mit; 544 544 }; 545 545 }; 546 546 ··· 554 554 sha256 = "1smzsgcrkhghbnpy51gp28kh74l7y4s2m8pfxabb4ffb751254j0"; 555 555 }; 556 556 meta = { 557 - license = stdenv.lib.licenses.mit; 557 + license = lib.licenses.mit; 558 558 }; 559 559 }; 560 560
+1 -1
pkgs/misc/vscode-extensions/remote-ssh/default.nix
··· 21 21 ln -s ''$localNodePath ''$f 22 22 fi 23 23 fi 24 - ${stdenv.lib.optionalString useLocalExtensions '' 24 + ${lib.optionalString useLocalExtensions '' 25 25 # Use local extensions 26 26 if [ -d ~/.vscode/extensions ]; then 27 27 if ! test -L "~/.vscode-server/extensions"; then
+6
pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix
··· 5 5 mkdir -p $out/include/hfs 6 6 cp core/*.h $out/include/hfs 7 7 ''; 8 + 9 + meta = { 10 + # Seems nobody wants its binary, so we didn't implement building. 11 + broken = !headersOnly; 12 + platforms = lib.platforms.darwin; 13 + }; 8 14 }
+5 -3
pkgs/os-specific/darwin/apple-source-releases/libauto/default.nix
··· 1 - { stdenv, appleDerivation, libdispatch, Libsystem }: 1 + { lib, stdenv, appleDerivation, libdispatch, Libsystem }: 2 2 3 3 appleDerivation { 4 4 # these are included in the pure libc 5 - buildInputs = stdenv.lib.optionals stdenv.cc.nativeLibc [ libdispatch Libsystem ]; 5 + buildInputs = lib.optionals stdenv.cc.nativeLibc [ libdispatch Libsystem ]; 6 6 7 7 buildPhase = '' 8 8 cp ${./auto_dtrace.h} ./auto_dtrace.h ··· 79 79 ''; 80 80 81 81 meta = { 82 - platforms = stdenv.lib.platforms.darwin; 82 + # libauto is only used by objc4/pure.nix , but objc4 is now using the impure approach, so we don't bother to fix this. 83 + broken = true; 84 + platforms = lib.platforms.darwin; 83 85 }; 84 86 }
+2 -2
pkgs/os-specific/linux/bcc/default.nix
··· 6 6 7 7 python.pkgs.buildPythonApplication rec { 8 8 pname = "bcc"; 9 - version = "0.17.0"; 9 + version = "0.18.0"; 10 10 11 11 disabled = !stdenv.isLinux; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/iovisor/bcc/releases/download/v${version}/bcc-src-with-submodule.tar.gz"; 15 - sha256 = "sha256-aEy8WwtKGaf7GZOTK5IHhwzenqU2U+vpWrcNWMCGvMw="; 15 + sha256 = "sha256-0F8tppVFu7cnuSnlgcEvbEdykxYhGJnTc04I98/yIVs="; 16 16 }; 17 17 format = "other"; 18 18
+4 -4
pkgs/servers/home-assistant/component-packages.nix
··· 64 64 "avion" = ps: with ps; [ ]; # missing inputs: avion 65 65 "awair" = ps: with ps; [ ]; # missing inputs: python_awair 66 66 "aws" = ps: with ps; [ aiobotocore ]; 67 - "axis" = ps: with ps; [ aiohttp-cors paho-mqtt ]; # missing inputs: axis 67 + "axis" = ps: with ps; [ aiohttp-cors axis paho-mqtt ]; 68 68 "azure_devops" = ps: with ps; [ ]; # missing inputs: aioazuredevops 69 69 "azure_event_hub" = ps: with ps; [ ]; # missing inputs: azure-eventhub 70 70 "azure_service_bus" = ps: with ps; [ azure-servicebus ]; ··· 350 350 "hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16 351 351 "home_connect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: homeconnect 352 352 "homeassistant" = ps: with ps; [ ]; 353 - "homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors ha-ffmpeg zeroconf ]; # missing inputs: PyTurboJPEG base36 fnvhash 353 + "homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors base36 ha-ffmpeg zeroconf ]; # missing inputs: PyTurboJPEG fnvhash 354 354 "homekit_controller" = ps: with ps; [ aiohttp-cors zeroconf ]; # missing inputs: aiohomekit 355 355 "homematic" = ps: with ps; [ pyhomematic ]; 356 356 "homematicip_cloud" = ps: with ps; [ ]; # missing inputs: homematicip ··· 816 816 "tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility 817 817 "tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig 818 818 "tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff 819 - "tasmota" = ps: with ps; [ aiohttp-cors paho-mqtt ]; # missing inputs: hatasmota 819 + "tasmota" = ps: with ps; [ aiohttp-cors hatasmota paho-mqtt ]; 820 820 "tautulli" = ps: with ps; [ ]; # missing inputs: pytautulli 821 821 "tcp" = ps: with ps; [ ]; 822 822 "ted5000" = ps: with ps; [ xmltodict ]; ··· 846 846 "todoist" = ps: with ps; [ todoist ]; 847 847 "tof" = ps: with ps; [ ]; # missing inputs: RPi.GPIO VL53L1X2 848 848 "tomato" = ps: with ps; [ ]; 849 - "toon" = ps: with ps; [ aiohttp-cors hass-nabucasa ]; # missing inputs: toonapi 849 + "toon" = ps: with ps; [ aiohttp-cors hass-nabucasa toonapi ]; 850 850 "torque" = ps: with ps; [ aiohttp-cors ]; 851 851 "totalconnect" = ps: with ps; [ ]; # missing inputs: total_connect_client 852 852 "touchline" = ps: with ps; [ ]; # missing inputs: pytouchline
+1 -1
pkgs/servers/http/apache-httpd/2.4.nix
··· 91 91 description = "Apache HTTPD, the world's most popular web server"; 92 92 homepage = "http://httpd.apache.org/"; 93 93 license = licenses.asl20; 94 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 94 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 95 95 maintainers = with maintainers; [ lovek323 peti ]; 96 96 }; 97 97 }
+1 -1
pkgs/servers/http/jetty/default.nix
··· 20 20 description = "A Web server and javax.servlet container"; 21 21 homepage = "https://www.eclipse.org/jetty/"; 22 22 platforms = lib.platforms.all; 23 - license = [ lib.licenses.asl20 stdenv.lib.licenses.epl10 ]; 23 + license = [ lib.licenses.asl20 lib.licenses.epl10 ]; 24 24 }; 25 25 }
+1 -1
pkgs/servers/pies/default.nix
··· 42 42 43 43 homepage = "https://www.gnu.org/software/pies/"; 44 44 45 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; 45 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 46 46 maintainers = [ ]; 47 47 }; 48 48 }
+1 -1
pkgs/servers/shishi/default.nix
··· 14 14 mkWith = mkFlag "with-" "without-"; 15 15 mkOther = mkFlag "" "" true; 16 16 17 - shouldUsePkg = pkg: if pkg != null && lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 17 + shouldUsePkg = pkg: if pkg != null && lib.any (lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 18 18 19 19 optPam = shouldUsePkg pam; 20 20 optLibidn = shouldUsePkg libidn;
+1 -1
pkgs/tools/X11/xnee/default.nix
··· 50 50 homepage = "https://www.gnu.org/software/xnee/"; 51 51 52 52 maintainers = with lib.maintainers; [ ]; 53 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 53 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 54 54 }; 55 55 }
+1 -1
pkgs/tools/filesystems/bonnie/default.nix
··· 15 15 homepage = "http://www.coker.com.au/bonnie++/"; 16 16 description = "Hard drive and file system benchmark suite"; 17 17 license = lib.licenses.gpl2; 18 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 18 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 19 19 }; 20 20 }
+1 -1
pkgs/tools/filesystems/dosfstools/default.nix
··· 19 19 meta = { 20 20 description = "Utilities for creating and checking FAT and VFAT file systems"; 21 21 homepage = "https://github.com/dosfstools/dosfstools"; 22 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 22 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 23 23 license = lib.licenses.gpl3; 24 24 }; 25 25 }
+1 -1
pkgs/tools/graphics/asymptote/default.nix
··· 20 20 }; 21 21 22 22 patches = 23 - (lib.optional (stdenv.lib.versionOlder version "2.68") 23 + (lib.optional (lib.versionOlder version "2.68") 24 24 (fetchpatch { 25 25 url = "https://github.com/vectorgraphics/asymptote/commit/3361214340d58235f4dbb8f24017d0cd5d94da72.patch"; 26 26 sha256 = "sha256:1z2b41x8v7683myd45lq6niixpdjy0b185x0xl61130vrijhq5nm";
+1 -1
pkgs/tools/misc/ding-libs/default.nix
··· 19 19 homepage = "https://fedorahosted.org/sssd/"; 20 20 platforms = with lib.platforms; linux; 21 21 maintainers = with lib.maintainers; [ e-user ]; 22 - license = [ lib.licenses.gpl3 stdenv.lib.licenses.lgpl3 ]; 22 + license = [ lib.licenses.gpl3 lib.licenses.lgpl3 ]; 23 23 }; 24 24 }
+1 -1
pkgs/tools/misc/goaccess/default.nix
··· 32 32 description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems"; 33 33 homepage = "https://goaccess.io"; 34 34 license = lib.licenses.mit; 35 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 35 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 36 36 maintainers = with lib.maintainers; [ ederoyd46 ]; 37 37 }; 38 38 }
+1 -1
pkgs/tools/misc/urjtag/default.nix
··· 31 31 description = "Enhanced, modern tool for communicating over JTAG with flash chips, CPUs,and many more"; 32 32 homepage = "http://urjtag.org/"; 33 33 license = with lib.licenses; [ gpl2Plus lgpl21Plus ]; 34 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 34 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 35 35 maintainers = with lib.maintainers; [ lowfatcomputing ]; 36 36 }; 37 37 }
+1 -1
pkgs/tools/networking/connect/default.nix
··· 23 23 ''; 24 24 homepage = "https://bitbucket.org/gotoh/connect/wiki/Home"; 25 25 license = lib.licenses.gpl2Plus; 26 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 26 + platforms = lib.platforms.gnu ++ lib.platforms.linux ++ lib.platforms.darwin; 27 27 maintainers = with lib.maintainers; [ jcumming ]; 28 28 }; 29 29 }
+1 -1
pkgs/tools/networking/getmail/default.nix
··· 19 19 20 20 meta = { 21 21 description = "A program for retrieving mail"; 22 - maintainers = [ lib.maintainers.raskin stdenv.lib.maintainers.domenkozar ]; 22 + maintainers = [ lib.maintainers.raskin lib.maintainers.domenkozar ]; 23 23 platforms = lib.platforms.linux; 24 24 25 25 homepage = "http://pyropus.ca/software/getmail/";
+26 -10
pkgs/tools/networking/kea/default.nix
··· 1 - { lib, stdenv, fetchurl, autoreconfHook, pkgconfig, openssl, botan2, log4cplus 2 - , boost, python3, postgresql, libmysqlclient, gmp, bzip2 }: 3 - 4 - let inherit (stdenv) lib; in 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , autoreconfHook 5 + , pkg-config 6 + , boost 7 + , botan2 8 + , libmysqlclient 9 + , log4cplus 10 + , postgresql 11 + , python3 }: 5 12 6 13 stdenv.mkDerivation rec { 7 14 pname = "kea"; 8 - version = "1.5.0-P1"; 15 + version = "1.8.2"; 9 16 10 17 src = fetchurl { 11 18 url = "https://ftp.isc.org/isc/${pname}/${version}/${pname}-${version}.tar.gz"; 12 - sha256 = "0bqxzp3f7cmraa5davj2az1hx1gbbchqzlz3ai26c802agzafyhz"; 19 + sha256 = "0f8x1blfmbcak0cd21jm1zpz4w8iimldhjilwkwgvmmrxnmsfv28"; 13 20 }; 14 21 15 22 patches = [ ./dont-create-var.patch ]; ··· 20 27 ''; 21 28 22 29 configureFlags = [ 30 + "--enable-perfdhcp" 31 + "--enable-shell" 23 32 "--localstatedir=/var" 24 - "--with-pgsql=${postgresql}/bin/pg_config" 25 33 "--with-mysql=${lib.getDev libmysqlclient}/bin/mysql_config" 34 + "--with-pgsql=${postgresql}/bin/pg_config" 26 35 ]; 27 36 28 - nativeBuildInputs = [ autoreconfHook pkgconfig ]; 37 + nativeBuildInputs = [ 38 + autoreconfHook 39 + pkg-config 40 + ]; 41 + 29 42 buildInputs = [ 30 - openssl log4cplus boost python3 libmysqlclient 31 - botan2 gmp bzip2 43 + boost 44 + botan2 45 + libmysqlclient 46 + log4cplus 47 + python3 32 48 ]; 33 49 34 50 enableParallelBuilding = true;
+10 -8
pkgs/tools/networking/kea/dont-create-var.patch
··· 1 1 diff --git a/Makefile.am b/Makefile.am 2 - index 2c0733c..974bb5e 100644 2 + index 10708e7..d4efd73 100644 3 3 --- a/Makefile.am 4 4 +++ b/Makefile.am 5 - @@ -135,11 +135,6 @@ cppcheck: 6 - --template '{file}:{line}: check_fail: {message} ({severity},{id})' \ 7 - src 5 + @@ -150,13 +150,6 @@ cppcheck: 6 + docs: 7 + $(MAKE) -C doc/sphinx 8 8 9 + - 9 10 -# These steps are necessary during installation 10 11 -install-exec-hook: 11 12 - mkdir -p $(DESTDIR)${localstatedir}/log/ 12 - - mkdir -p $(DESTDIR)${localstatedir}/run/${PACKAGE_NAME} 13 + - mkdir -p $(DESTDIR)${localstatedir}/lib/${PACKAGE_NAME} 14 + - mkdir -p $(DESTDIR)${runstatedir}/${PACKAGE_NAME} 13 15 - 14 16 EXTRA_DIST = tools/path_replacer.sh 15 17 EXTRA_DIST += tools/mk_cfgrpt.sh 16 18 17 19 diff --git a/src/lib/dhcpsrv/Makefile.am b/src/lib/dhcpsrv/Makefile.am 18 - index 564f623..7cea9f2 100644 20 + index a0a0289..ba42f8a 100644 19 21 --- a/src/lib/dhcpsrv/Makefile.am 20 22 +++ b/src/lib/dhcpsrv/Makefile.am 21 - @@ -352,5 +352,3 @@ libkea_dhcpsrv_parsers_include_HEADERS = \ 23 + @@ -408,5 +408,3 @@ libkea_dhcpsrv_parsers_include_HEADERS = \ 24 + parsers/simple_parser4.h \ 22 25 parsers/simple_parser6.h 23 - 24 26 25 27 -install-data-local: 26 28 - $(mkinstalldirs) $(DESTDIR)$(dhcp_data_dir)
+1 -1
pkgs/tools/networking/nss-mdns/default.nix
··· 44 44 license = lib.licenses.lgpl2Plus; 45 45 46 46 # Supports both the GNU and FreeBSD NSS. 47 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux ++ stdenv.lib.platforms.freebsd; 47 + platforms = lib.platforms.gnu ++ lib.platforms.linux ++ lib.platforms.freebsd; 48 48 49 49 maintainers = [ ]; 50 50 };
+1 -1
pkgs/tools/networking/openconnect/default.nix
··· 36 36 homepage = "http://www.infradead.org/openconnect/"; 37 37 license = licenses.lgpl21; 38 38 maintainers = with maintainers; [ pradeepchhetri tricktron ]; 39 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 39 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 40 40 }; 41 41 }
+1 -1
pkgs/tools/security/modsecurity/default.nix
··· 49 49 license = licenses.asl20; 50 50 homepage = "https://www.modsecurity.org/"; 51 51 maintainers = with maintainers; [offline]; 52 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 52 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 53 53 }; 54 54 }
+1 -1
pkgs/tools/security/pius/default.nix
··· 35 35 36 36 license = lib.licenses.gpl2; 37 37 38 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; 38 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 39 39 maintainers = with lib.maintainers; [ kierdavis ]; 40 40 }; 41 41 }
+1 -1
pkgs/tools/system/freeipmi/default.nix
··· 36 36 license = lib.licenses.gpl3Plus; 37 37 38 38 maintainers = with lib.maintainers; [ raskin ]; 39 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 39 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 40 40 41 41 updateWalker = true; 42 42 inherit version;
+1 -1
pkgs/tools/text/namazu/default.nix
··· 37 37 license = lib.licenses.gpl2Plus; 38 38 homepage = "http://namazu.org/"; 39 39 40 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 40 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 41 41 maintainers = [ ]; 42 42 broken = true; # File-MMagic is not compatible with our Perl version 43 43 };
+1 -1
pkgs/tools/typesetting/kindlegen/default.nix
··· 33 33 34 34 sourceRoot = "."; 35 35 36 - nativeBuildInputs = lib.optional (stdenv.lib.hasSuffix ".zip" url) unzip; 36 + nativeBuildInputs = lib.optional (lib.hasSuffix ".zip" url) unzip; 37 37 38 38 installPhase = '' 39 39 mkdir -p $out/bin $out/share/kindlegen/doc
+1 -1
pkgs/tools/virtualization/xe-guest-utilities/default.nix
··· 8 8 homepage = "http://citrix.com/English/ps2/products/product.asp?contentID=683148&ntref=hp_nav_US"; 9 9 maintainers = with lib.maintainers; [ benwbooth ]; 10 10 platforms = lib.platforms.linux; 11 - license = [ lib.licenses.gpl2 stdenv.lib.licenses.lgpl21 ]; 11 + license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ]; 12 12 }; 13 13 src = fetchurl { 14 14 url = "https://sources.archlinux.org/other/community/xe-guest-utilities/xe-guest-utilities_${version}-1120.tar.gz";
+13 -2
pkgs/top-level/python-packages.nix
··· 558 558 559 559 aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { }; 560 560 561 + axis = callPackage ../development/python-modules/axis { }; 562 + 561 563 azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { }; 562 564 563 565 azure-applicationinsights = callPackage ../development/python-modules/azure-applicationinsights { }; ··· 831 833 bap = callPackage ../development/python-modules/bap { bap = pkgs.ocaml-ng.ocamlPackages_4_07.bap; }; 832 834 833 835 baron = callPackage ../development/python-modules/baron { }; 836 + 837 + base36 = callPackage ../development/python-modules/base36 { }; 834 838 835 839 base58 = callPackage ../development/python-modules/base58 { }; 836 840 ··· 2821 2825 HAP-python = callPackage ../development/python-modules/HAP-python { }; 2822 2826 2823 2827 hass-nabucasa = callPackage ../development/python-modules/hass-nabucasa { }; 2828 + 2829 + hatasmota = callPackage ../development/python-modules/hatasmota { }; 2824 2830 2825 2831 hawkauthlib = callPackage ../development/python-modules/hawkauthlib { }; 2826 2832 ··· 6621 6627 6622 6628 responses = callPackage ../development/python-modules/responses { }; 6623 6629 6630 + respx = callPackage ../development/python-modules/respx { }; 6631 + 6624 6632 restrictedpython = callPackage ../development/python-modules/restrictedpython { }; 6625 6633 6626 6634 restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { }; ··· 7645 7653 else 7646 7654 callPackage ../development/python-modules/toolz/2.nix { }; 7647 7655 7656 + toonapi = callPackage ../development/python-modules/toonapi { }; 7657 + 7648 7658 toposort = callPackage ../development/python-modules/toposort { }; 7649 7659 7650 7660 topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22 ··· 7793 7803 7794 7804 tzlocal = callPackage ../development/python-modules/tzlocal { }; 7795 7805 7796 - uamqp = 7797 - callPackage ../development/python-modules/uamqp { inherit (pkgs.darwin.apple_sdk.frameworks) CFNetwork Security; }; 7806 + uamqp = callPackage ../development/python-modules/uamqp { 7807 + inherit (pkgs.darwin.apple_sdk.frameworks) CFNetwork CoreFoundation Security; 7808 + }; 7798 7809 7799 7810 ua-parser = callPackage ../development/python-modules/ua-parser { }; 7800 7811