···664664 # - There are only HDDs and we would set the system in a degraded state
665665 serviceConfig.ExecStart = ''${pkgs.runtimeShell} -c 'for pool in $(zpool list -H -o name); do zpool trim $pool; done || true' '';
666666 };
667667+668668+ systemd.timers.zpool-trim.timerConfig.Persistent = "yes";
667669 })
668670 ];
669671}
···3737 meta = {
3838 description = "A group of compressors mixed into a bus, sidechained from that mix bus. For jack and lv2";
3939 homepage = "https://github.com/magnetophon/CompBus";
4040- license = stdenv.lib.licenses.gpl3;
4141- maintainers = [ stdenv.lib.maintainers.magnetophon ];
4040+ license = lib.licenses.gpl3;
4141+ maintainers = [ lib.maintainers.magnetophon ];
4242 };
4343}
···1717 meta = {
1818 description = "Propel yourself through a rails project with the power of magnets";
1919 homepage = "https://github.com/mbriggs/railgun.el";
2020- platforms = stdenv.lib.platforms.all;
2020+ platforms = lib.platforms.all;
2121 };
2222}
···11-{ stdenv, fetchzip
11+{ lib, stdenv, fetchzip
22, pkg-config
33, gpm
44, libXext
···5151 install -D src/objs/rgrep $out/bin
5252 '';
53535454- meta = with stdenv.lib; {
5454+ meta = with lib; {
5555 description = "A programmable text editor written around S-Lang";
5656 longDescription = ''
5757 JED is a freely available text editor for Unix, VMS, MSDOS, OS/2, BeOS,
···1414 cp -r vertical-selection.kak $out/share/kak/autoload/plugins
1515 '';
16161717- meta = with stdenv.lib;
1717+ meta = with lib;
1818 { description = "Select up and down lines that match the same pattern in Kakoune";
1919 homepage = "https://github.com/occivink/kakoune-vertical-selection";
2020 license = licenses.unlicense;
···1919 sed -e 's,[|] *lua,|${lua5_3}/bin/lua,' quickscope.kak >$out/share/kak/autoload/plugins/quickscope.kak
2020 '';
21212222- meta = with stdenv.lib; {
2222+ meta = with lib; {
2323 description = "Highlight f and t jump positions";
2424 homepage = "https://sr.ht/~voroskoi/quickscope.kak/";
2525 license = licenses.unlicense;
···2626 It is used for some KDevelop-languagesupport-plugins (Ruby, PHP, CSS...).
2727 '';
2828 homepage = "https://www.kdevelop.org";
2929- license = with stdenv.lib.licenses; [ lgpl2Plus ];
2929+ license = with lib.licenses; [ lgpl2Plus ];
3030 };
3131}
···77, pythonPackages
88, python3Packages
99}:
1010-with stdenv.lib;
1010+with lib;
11111212neovim:
1313···3737 [ "--set" "NVIM_SYSTEM_RPLUGIN_MANIFEST" "${placeholder "out"}/rplugin.vim" ];
3838 in
3939 symlinkJoin {
4040- name = "neovim-${stdenv.lib.getVersion neovim}";
4040+ name = "neovim-${lib.getVersion neovim}";
4141 # Remove the symlinks created by symlinkJoin which we need to perform
4242 # extra actions upon
4343 postBuild = lib.optionalString stdenv.isLinux ''
···11-{ stdenv, fetchFromGitHub, fetchpatch, wxGTK, autoconf, automake, libtool, python, gettext }:
11+{ lib, stdenv, fetchFromGitHub, fetchpatch, wxGTK, autoconf, automake, libtool, python, gettext }:
2233stdenv.mkDerivation rec {
44 pname = "wxHexEditor";
···4444 wxHexEditor could edit HDD/SDD disk devices or partitions in raw up to exabyte sizes.
4545 '';
4646 homepage = "http://www.wxhexeditor.org/";
4747- license = stdenv.lib.licenses.gpl2;
4848- platforms = stdenv.lib.platforms.linux;
4747+ license = lib.licenses.gpl2;
4848+ platforms = lib.platforms.linux;
4949 };
5050}
+1-1
pkgs/applications/editors/zile/default.nix
···1212 nativeBuildInputs = [ perl pkg-config ]
1313 # `help2man' wants to run Zile, which won't work when the
1414 # newly-produced binary can't be run at build-time.
1515- ++ stdenv.lib.optional
1515+ ++ lib.optional
1616 (stdenv.hostPlatform == stdenv.buildPlatform)
1717 help2man;
1818
+5-5
pkgs/applications/gis/grass/default.nix
···99 name = "grass";
1010 version = "7.6.1";
11111212- src = with stdenv.lib; fetchFromGitHub {
1212+ src = with lib; fetchFromGitHub {
1313 owner = "OSGeo";
1414 repo = "grass";
1515 rev = "${name}_${replaceStrings ["."] ["_"] version}";
···5151 ];
52525353 # Otherwise a very confusing "Can't load GDAL library" error
5454- makeFlags = stdenv.lib.optional stdenv.isDarwin "GDAL_DYNAMIC=";
5454+ makeFlags = lib.optional stdenv.isDarwin "GDAL_DYNAMIC=";
55555656 /* Ensures that the python script run at build time are actually executable;
5757 * otherwise, patchShebangs ignores them. */
···103103 meta = {
104104 homepage = "https://grass.osgeo.org/";
105105 description = "GIS software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization";
106106- license = stdenv.lib.licenses.gpl2Plus;
107107- platforms = stdenv.lib.platforms.all;
108108- maintainers = with stdenv.lib.maintainers; [mpickering];
106106+ license = lib.licenses.gpl2Plus;
107107+ platforms = lib.platforms.all;
108108+ maintainers = with lib.maintainers; [mpickering];
109109 };
110110}
···11-{ stdenv, makeWrapper, tesseractBase, languages
11+{ lib, stdenv, makeWrapper, tesseractBase, languages
2233# A list of languages like [ "eng" "spa" … ] or `null` for all available languages
44, enableLanguages ? null
···5454 if enableLanguagesHash == null then
5555 tesseract
5656 else
5757- stdenv.lib.warn "Argument `enableLanguagesHash` is obsolete and can be removed."
5757+ lib.warn "Argument `enableLanguagesHash` is obsolete and can be removed."
5858 tesseract
···4040 meta = {
4141 homepage = "https://github.com/bit-team/backintime";
4242 description = "Simple backup tool for Linux";
4343- license = stdenv.lib.licenses.gpl2;
4343+ license = lib.licenses.gpl2;
4444 maintainers = [ ];
4545- platforms = stdenv.lib.platforms.all;
4545+ platforms = lib.platforms.all;
4646 longDescription = ''
4747 Back In Time is a simple backup tool (on top of rsync) for Linux
4848 inspired from “flyback project” and “TimeVault”. The backup is
···2626 })
2727 ];
28282929- NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
2929+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
30303131 meta = with lib; {
3232 description = "Renders an image of the earth or other planets into the X root window";
···11-{stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib}:
11+{lib, stdenv, fetchurl, readline, perl, libharu, libX11, libpng, libXt, zlib}:
2233stdenv.mkDerivation {
44 name = "emboss-6.6.0";
···2222 user community, including libraries. The software automatically copes with
2323 data in a variety of formats and even allows transparent retrieval of
2424 sequence data from the web.'';
2525- license = stdenv.lib.licenses.gpl2;
2525+ license = lib.licenses.gpl2;
2626 homepage = "http://emboss.sourceforge.net/";
2727 };
2828}
+4-4
pkgs/applications/science/biology/iv/default.nix
···11-{ stdenv, fetchurl, neuron-version
11+{ lib, stdenv, fetchurl, neuron-version
22, libX11, libXext, patchelf
33}:
44···1515 postInstall = ''
1616 for dir in $out/*; do # */
1717 if [ -d $dir/lib ]; then
1818- mv $dir/* $out # */
1818+ mv $dir/* $out # */
1919 rmdir $dir
2020 break
2121 fi
2222 done
2323- '' + stdenv.lib.optionalString stdenv.isLinux ''
2323+ '' + lib.optionalString stdenv.isLinux ''
2424 patchelf --add-needed ${libX11}/lib/libX11.so $out/lib/libIVhines.so
2525 '';
2626- meta = with stdenv.lib;
2626+ meta = with lib;
2727 { description = "InterViews graphical library for Neuron";
2828 license = licenses.bsd3;
2929 homepage = "http://www.neuron.yale.edu/neuron";
···3030 maintainers = [ maintainers.unode ];
3131 # NOTE: Supposed to be compatible with darwin/intel & PPC but currently fails.
3232 # Anyone with access to these platforms is welcome to give it a try
3333- platforms = stdenv.lib.platforms.linux;
3333+ platforms = lib.platforms.linux;
3434 };
3535}
···11-{ stdenv
11+{ lib, stdenv
22, fetchFromGitLab
33, gnome3
44, wxGTK30
···7070# }
71717272assert withNgspice -> libngspice != null;
7373-assert stdenv.lib.assertMsg (!ngspiceSupport)
7373+assert lib.assertMsg (!ngspiceSupport)
7474 "`nspiceSupport` was renamed to `withNgspice` for the sake of consistency with other kicad nix arguments.";
7575-assert stdenv.lib.assertMsg (!oceSupport)
7575+assert lib.assertMsg (!oceSupport)
7676 "`oceSupport` was renamed to `withOCE` for the sake of consistency with other kicad nix arguments.";
7777-assert stdenv.lib.assertMsg (!scriptingSupport)
7777+assert lib.assertMsg (!scriptingSupport)
7878 "`scriptingSupport` was renamed to `withScripting` for the sake of consistency with other kicad nix arguments.";
7979-assert stdenv.lib.assertMsg (!withOCCT)
7979+assert lib.assertMsg (!withOCCT)
8080 "`withOCCT` was renamed to `withOCC` for the sake of consistency with upstream cmake options.";
8181let
8282 baseName = if (stable) then "kicad" else "kicad-unstable";
···151151 python = python3;
152152 wxPython = python.pkgs.wxPython_4_0;
153153154154- inherit (stdenv.lib) concatStringsSep flatten optionalString optionals;
154154+ inherit (lib) concatStringsSep flatten optionalString optionals;
155155in
156156stdenv.mkDerivation rec {
157157···251251 KiCad is an open source software suite for Electronic Design Automation.
252252 The Programs handle Schematic Capture, and PCB Layout with Gerber output.
253253 '';
254254- license = stdenv.lib.licenses.agpl3;
254254+ license = lib.licenses.agpl3;
255255 # berce seems inactive...
256256- maintainers = with stdenv.lib.maintainers; [ evils kiwi berce ];
256256+ maintainers = with lib.maintainers; [ evils kiwi berce ];
257257 # kicad is cross platform
258258- platforms = stdenv.lib.platforms.all;
258258+ platforms = lib.platforms.all;
259259 # despite that, nipkgs' wxGTK for darwin is "wxmac"
260260 # and wxPython_4_0 does not account for this
261261 # adjusting this package to downgrade to python2Packages.wxPython (wxPython 3),
···11-{ stdenv, fetchpatch, fetchFromGitHub, cmake, zlib, gmp, jdk8,
11+{ lib, stdenv, fetchpatch, fetchFromGitHub, cmake, zlib, gmp, jdk8,
22 # The JDK we use on Darwin currenly makes extensive use of rpaths which are
33 # annoying and break the python library, so let's not bother for now
44 includeJava ? !stdenv.hostPlatform.isDarwin, includeGplCode ? true }:
5566-with stdenv.lib;
66+with lib;
7788let
99 boolToCmake = x: if x then "ON" else "OFF";
···11-{stdenv, fetchurl}:
11+{lib, stdenv, fetchurl}:
2233stdenv.mkDerivation {
44 name = "prover9-2009-11a";
···3939 for first-order and equational logic. Prover9 is a successor of
4040 the Otter Prover. This is the LADR command-line version.
4141 '';
4242- platforms = stdenv.lib.platforms.linux;
4242+ platforms = lib.platforms.linux;
4343 maintainers = [];
4444 };
4545}
···3131 The system for automated deduction is intended for automated processing of formal mathematical texts
3232 written in a special language called ForTheL (FORmal THEory Language) or in a traditional first-order language
3333 '';
3434- license = stdenv.lib.licenses.gpl3Plus;
3535- maintainers = [ stdenv.lib.maintainers.schmitthenner ];
3434+ license = lib.licenses.gpl3Plus;
3535+ maintainers = [ lib.maintainers.schmitthenner ];
3636 homepage = "http://nevidal.org/sad.en.html";
3737- platforms = stdenv.lib.platforms.linux;
3737+ platforms = lib.platforms.linux;
3838 broken = true; # ghc-8.4.4 is gone from Nixpkgs
3939 };
4040}
···2828 # Includes a fix for the embedded soname being libyices.so.2.5, but
2929 # only installing the libyices.so.2.5.x file.
3030 installPhase = let
3131- ver_XdotY = stdenv.lib.versions.majorMinor version;
3131+ ver_XdotY = lib.versions.majorMinor version;
3232 in ''
3333 make install LDCONFIG=true
3434 ln -sfr $out/lib/libyices.so.{${version},${ver_XdotY}}
···4949 '';
50505151 meta = {
5252- platforms = stdenv.lib.platforms.linux;
5252+ platforms = lib.platforms.linux;
5353 description = "Starcraft II headless linux client for machine learning research";
5454 license = {
5555 fullName = "BLIZZARD® STARCRAFT® II AI AND MACHINE LEARNING LICENSE";
+3-3
pkgs/applications/science/math/LiE/default.nix
···11-{ stdenv, fetchurl
11+{ lib, stdenv, fetchurl
22, bison, readline }:
3344stdenv.mkDerivation {
···1010 meta = {
1111 description = "A Computer algebra package for Lie group computations";
1212 homepage = "http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/";
1313- license = stdenv.lib.licenses.lgpl3; # see the website
1313+ license = lib.licenses.lgpl3; # see the website
14141515 longDescription = ''
1616 LiE is a computer algebra system that is specialised in computations
···1919 characteristics, we refer to the following sources of information.
2020 ''; # take from the website
21212222- platforms = stdenv.lib.platforms.linux;
2222+ platforms = lib.platforms.linux;
2323 maintainers = [ ]; # this package is probably not going to change anyway
2424 };
2525
···11{ lib, stdenv, makeWrapper, openjdk, gtk2, xorg, glibcLocales, releasePath ? null }:
2233# To use this package, you need to download your own cplex installer from IBM
44-# and override the releasePath attribute to point to the location of the file.
44+# and override the releasePath attribute to point to the location of the file.
55#
66# Note: cplex creates an individual build for each license which screws
77# somewhat with the use of functions like requireFile as the hash will be
···1010stdenv.mkDerivation rec {
1111 pname = "cplex";
1212 version = "128";
1313-1313+1414 src =
1515 if releasePath == null then
1616 throw ''
1717 This nix expression requires that the cplex installer is already
1818- downloaded to your machine. Get it from IBM:
1919- https://developer.ibm.com/docloud/blog/2017/12/20/cplex-optimization-studio-12-8-now-available/
1818+ downloaded to your machine. Get it from IBM:
1919+ https://developer.ibm.com/docloud/blog/2017/12/20/cplex-optimization-studio-12-8-now-available/
20202121 Set `cplex.releasePath = /path/to/download;` in your
2222 ~/.config/nixpkgs/config.nix for `nix-*` commands, or
···4949 $out/bin
5050 '';
51515252- fixupPhase =
5353- let
5454- libraryPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc gtk2 xorg.libXtst ];
5252+ fixupPhase =
5353+ let
5454+ libraryPath = lib.makeLibraryPath [ stdenv.cc.cc gtk2 xorg.libXtst ];
5555 in ''
5656 interpreter=${stdenv.glibc}/lib/ld-linux-x86-64.so.2
5757···6363 --set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive;
6464 done
65656666- for pgm in $out/cplex/bin/x86-64_linux/cplex $out/cpoptimizer/bin/x86-64_linux/cpoptimizer $out/opl/oplide/jre/bin/*;
6666+ for pgm in $out/cplex/bin/x86-64_linux/cplex $out/cpoptimizer/bin/x86-64_linux/cpoptimizer $out/opl/oplide/jre/bin/*;
6767 do
6868 if grep ELF $pgm > /dev/null;
6969 then
···7676 libArch = "x86-64_linux";
7777 libSuffix = "${version}0";
7878 };
7979-7979+8080 meta = with lib; {
8181 description = "Optimization solver for mathematical programming";
8282 homepage = "https://www.ibm.com/be-en/marketplace/ibm-ilog-cplex";
+1-1
pkgs/applications/science/math/csdp/default.nix
···2424 license = lib.licenses.cpl10;
2525 maintainers = [ lib.maintainers.roconnor ];
2626 description = "A C Library for Semidefinite Programming";
2727- platforms = stdenv.lib.platforms.unix;
2727+ platforms = lib.platforms.unix;
2828 };
2929}
···2828 };
29293030 buildInputs = [ fftw libpng blas lapack gzip ]
3131- ++ (stdenv.lib.optionals withMPI [ mpi ]);
3131+ ++ (lib.optionals withMPI [ mpi ]);
32323333 configurePhase = ''
3434 cd src
3535- for pack in ${stdenv.lib.concatStringsSep " " packages}; do make "yes-$pack" SHELL=$SHELL; done
3535+ for pack in ${lib.concatStringsSep " " packages}; do make "yes-$pack" SHELL=$SHELL; done
3636 '';
37373838 # Must do manual build due to LAMMPS requiring a seperate build for
···11-{ stdenv, fetchurl, unzip, makeWrapper, jre }:
11+{ lib, stdenv, fetchurl, unzip, makeWrapper, jre }:
2233stdenv.mkDerivation rec {
44 name = "subgit-3.3.10";
···77 description = "A tool for a smooth, stress-free SVN to Git migration";
88 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.";
99 homepage = "http://subgit.com";
1010- license = stdenv.lib.licenses.unfree;
1111- platforms = stdenv.lib.platforms.all;
1010+ license = lib.licenses.unfree;
1111+ platforms = lib.platforms.all;
1212 };
13131414 nativeBuildInputs = [ unzip makeWrapper ];
···11-{ stdenv, fetchFromGitHub, git, gnupg }:
11+{ lib, stdenv, fetchFromGitHub, git, gnupg }:
2233let version = "2.5.0"; in
44stdenv.mkDerivation {
···3535 * Provides a way to use alternate files on a specific OS or host.
3636 * Supplies a method of encrypting confidential data so it can safely be stored in your repository.
3737 '';
3838- license = stdenv.lib.licenses.gpl3;
3939- maintainers = with stdenv.lib.maintainers; [ abathur ];
4040- platforms = stdenv.lib.platforms.unix;
3838+ license = lib.licenses.gpl3;
3939+ maintainers = with lib.maintainers; [ abathur ];
4040+ platforms = lib.platforms.unix;
4141 };
4242}
···11-{ stdenv, fetchurl
11+{ lib, stdenv, fetchurl
22, lesstif
33, libX11, libXext, libXmu, libXinerama }:
44···2929 install -m644 yeahwm.1.gz ${placeholder "out"}/share/man/man1/
3030 '';
31313232- meta = with stdenv.lib;{
3232+ meta = with lib;{
3333 description = "An X window manager based on evilwm and aewm";
3434 longDescription = ''
3535 YeahWM is a h* window manager for X based on evilwm and aewm.
···4343 xkeyboard_config
4444 udisks2 # for removable storage mounting/unmounting
4545 ]
4646- ++ stdenv.lib.optional bluetoothSupport bluez5 # for bluetooth configuration and control
4747- ++ stdenv.lib.optional pulseSupport libpulseaudio # for proper audio device control and redirection
4646+ ++ lib.optional bluetoothSupport bluez5 # for bluetooth configuration and control
4747+ ++ lib.optional pulseSupport libpulseaudio # for proper audio device control and redirection
4848 ;
49495050 patches = [
···11-{ stdenv, fetchzip, gnome3, gettext, glib }:
11+{ lib, stdenv, fetchzip, gnome3, gettext, glib }:
2233stdenv.mkDerivation rec {
44 pname = "gnome-shell-extension-clock-override";
···2727 runHook postInstall
2828 '';
29293030- meta = with stdenv.lib; {
3030+ meta = with lib; {
3131 description = "Customize the date and time format displayed in clock in the top bar in GNOME Shell";
3232 license = licenses.mit;
3333 maintainers = with maintainers; [ rhoriguchi ];
···11-{ stdenv, gnome3, fetchFromGitHub, xprop, glib, coreutils }:
11+{ lib, stdenv, gnome3, fetchFromGitHub, xprop, glib, coreutils }:
22stdenv.mkDerivation rec {
33 pname = "gnome-shell-extension-unite-shell";
44 version = "44";
···2929 runHook postInstall
3030 '';
31313232- meta = with stdenv.lib; {
3232+ meta = with lib; {
3333 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";
3434 license = licenses.gpl3Only;
3535 maintainers = with maintainers; [ rhoriguchi ];
···55 version = "1.24.0";
6677 src = fetchurl {
88- url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
88+ url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "0m7pvbs5hhy5f400wqb8wp0dw3pyjpjnjax9qzc73j97l1k3zawf";
1010 };
1111···3030 longDescription = ''
3131 A small applet to display information from various applications
3232 consistently in the panel.
3333-3333+3434 The indicator applet exposes Ayatana Indicators in the MATE Panel.
3535 Ayatana Indicators are an initiative by Canonical to provide crisp and
3636 clean system and application status indication. They take the form of
···11-{ stdenv
11+{ lib, stdenv
22, runCommand
33, mutter
44, elementary-default-settings
···28282929in
30303131-with stdenv.lib;
3131+with lib;
32323333# TODO: Having https://github.com/NixOS/nixpkgs/issues/54150 would supersede this
3434runCommand "elementary-gsettings-desktop-schemas" {}
+2-2
pkgs/desktops/pantheon/desktop/gala/default.nix
···11-{ stdenv
11+{ lib, stdenv
22, fetchFromGitHub
33, nix-update-script
44, fetchpatch
···8787 patchShebangs build-aux/meson/post_install.py
8888 '';
89899090- meta = with stdenv.lib; {
9090+ meta = with lib; {
9191 description = "A window & compositing manager based on mutter and designed by elementary for use with Pantheon";
9292 homepage = "https://github.com/elementary/gala";
9393 license = licenses.gpl3Plus;
···11-{ stdenv
11+{ lib, stdenv
22, fetchurl
33, pkgconfig
44, removeReferencesTo
···2525### IMPORTANT: before updating cups, make sure the nixos/tests/printing.nix test
2626### works at least for your platform.
27272828-with stdenv.lib;
2828+with lib;
2929stdenv.mkDerivation rec {
3030 pname = "cups";
3131
···1616# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
1717# to see what will break when upgrading. Consider a new versioned attribute.
1818let
1919- cups' = stdenv.lib.getLib cups;
1919+ cups' = lib.getLib cups;
2020in stdenv.mkDerivation rec {
2121 pname = "samsung-UnifiedLinuxDriver";
2222 version = "4.00.39";
···11-{ stdenv, fetchFromGitHub, SDL2 }:
11+{ lib, stdenv, fetchFromGitHub, SDL2 }:
2233stdenv.mkDerivation {
44 pname = "oberon-risc-emu";
···1818 mv risc $out/bin
1919 '';
20202121- meta = with stdenv.lib; {
2121+ meta = with lib; {
2222 homepage = "https://github.com/pdewacht/oberon-risc-emu/";
2323 description = "Emulator for the Oberon RISC machine";
2424 license = licenses.isc;
+2-2
pkgs/misc/emulators/openmsx/default.nix
···11-{ stdenv, fetchFromGitHub, pkgconfig
11+{ lib, stdenv, fetchFromGitHub, pkgconfig
22, python
33, alsaLib, glew, libGL, libpng
44, libogg, libtheora, libvorbis
···3434 # for providing support to Nixpkgs :)
3535 TCL_CONFIG="${tcl}/lib/";
36363737- meta = with stdenv.lib;{
3737+ meta = with lib;{
3838 description = "The MSX emulator that aims for perfection";
3939 longDescription = ''
4040 OpenMSX is an emulator for the MSX home computer system. Its goal is
···148148 meta = {
149149 inherit version platforms;
150150 homepage = "https://www.winehq.org/";
151151- license = with stdenv.lib.licenses; [ lgpl21Plus ];
151151+ license = with lib.licenses; [ lgpl21Plus ];
152152 description = "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix";
153153- maintainers = with stdenv.lib.maintainers; [ avnik raskin bendlas ];
153153+ maintainers = with lib.maintainers; [ avnik raskin bendlas ];
154154 };
155155})
···2121 ln -s ''$localNodePath ''$f
2222 fi
2323 fi
2424- ${stdenv.lib.optionalString useLocalExtensions ''
2424+ ${lib.optionalString useLocalExtensions ''
2525 # Use local extensions
2626 if [ -d ~/.vscode/extensions ]; then
2727 if ! test -L "~/.vscode-server/extensions"; then
···11-{ stdenv, appleDerivation, libdispatch, Libsystem }:
11+{ lib, stdenv, appleDerivation, libdispatch, Libsystem }:
2233appleDerivation {
44 # these are included in the pure libc
55- buildInputs = stdenv.lib.optionals stdenv.cc.nativeLibc [ libdispatch Libsystem ];
55+ buildInputs = lib.optionals stdenv.cc.nativeLibc [ libdispatch Libsystem ];
6677 buildPhase = ''
88 cp ${./auto_dtrace.h} ./auto_dtrace.h
···7979 '';
80808181 meta = {
8282- platforms = stdenv.lib.platforms.darwin;
8282+ # libauto is only used by objc4/pure.nix , but objc4 is now using the impure approach, so we don't bother to fix this.
8383+ broken = true;
8484+ platforms = lib.platforms.darwin;
8385 };
8486}