treewide: with stdenv.lib; in meta -> with lib;

Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
This commit is contained in:
Profpatsch
2021-01-11 10:38:22 +01:00
parent e87aef06e0
commit 4a7f99d55d
6869 changed files with 13585 additions and 13580 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, python3, coreutils }:
{ lib, stdenv, fetchgit, python3, coreutils }:
stdenv.mkDerivation rec {
pname = "acpilight";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "DESTDIR=$(out) prefix=" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://gitlab.com/wavexx/acpilight";
description = "ACPI backlight control";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, alsaLib, cmake, pkgconfig, glib
{ lib, stdenv, fetchFromGitHub, alsaLib, cmake, pkgconfig, glib
, tracingSupport ? true, logToStderr ? true }:
let oz = x: if x then "1" else "0"; in
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
"-DLOG_TO_STDERR=${oz logToStderr}"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "PulseAudio emulation for ALSA";
homepage = "https://github.com/i-rinat/apulse";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
# this package is working only as root
# in order to work as a non privileged user you would need to suid the bin
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "DESTDIR=\${out}" "prefix="];
meta = with stdenv.lib; {
meta = with lib; {
description = "The advanced PC speaker beeper";
homepage = "https://github.com/spkr-beep/beep";
license = licenses.gpl2Only;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkg-config, systemd }:
{ lib, stdenv, fetchFromGitHub, pkg-config, systemd }:
stdenv.mkDerivation rec {
pname = "brightnessctl";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ systemd ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/Hummer12007/brightnessctl";
description = "This program allows you read and control device brightness";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ mkDerivation, stdenv, fetchFromGitHub, qmake, qttools, qtbase }:
{ mkDerivation, lib, stdenv, fetchFromGitHub, qmake, qttools, qtbase }:
mkDerivation rec {
pname = "calaos_installer";
@@ -24,7 +24,7 @@ mkDerivation rec {
cp -a calaos_installer $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Calaos Installer, a tool to create calaos configuration";
homepage = "https://www.calaos.fr/";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups, fetchpatch }:
{ lib, stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups, fetchpatch }:
stdenv.mkDerivation rec {
version = "0.2.6";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
})
];
meta = with stdenv.lib; {
meta = with lib; {
description = "PolicyKit helper to configure cups with fine-grained privileges";
homepage = "http://www.freedesktop.org/wiki/Software/cups-pk-helper/";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, zlib, cups }:
{ lib, stdenv, fetchFromGitHub, cmake, zlib, cups }:
stdenv.mkDerivation rec {
pname = "brlaser";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DCUPS_SERVER_BIN=lib/cups" "-DCUPS_DATA_DIR=share/cups" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A CUPS driver for Brother laser printers";
longDescription =
''
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, unzip, autoreconfHook, libtool, makeWrapper, cups, ghostscript, pkgsi686Linux, zlib }:
{lib, stdenv, fetchurl, unzip, autoreconfHook, libtool, makeWrapper, cups, ghostscript, pkgsi686Linux, zlib }:
let
@@ -214,7 +214,7 @@ stdenv.mkDerivation {
--prefix PATH ":" "$out/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "CUPS Linux drivers for Canon printers";
homepage = "http://www.canon.com/";
license = licenses.unfree;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl }:
{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation {
pname = "cups-toshiba-estudio";
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
chmod 755 $out/share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS.gz
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Printer only driver for the Toshiba e-STUDIO class of printers";
longDescription = ''
This driver supports the following printers: TOSHIBA e-STUDIO2000AC,
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
mv usr/share/ppd/FujiXerox/* $out/share/cups/model
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Fuji Xerox Linux Printer Driver";
longDescription = ''
DocuPrint P365/368 d
@@ -55,7 +55,7 @@ in stdenv.mkDerivation rec {
popd
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Google Cloud Print driver for CUPS, allows printing to printers hosted on Google Cloud Print";
homepage = "http://ccp.niftiestsoftware.com";
platforms = platforms.linux;
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk, perl, gnugrep, which}:
{lib, stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk, perl, gnugrep, which}:
let
version = "3.2.0-1";
@@ -57,7 +57,7 @@ stdenv.mkDerivation {
--prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused gnugrep coreutils which ] }
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.brother.com/";
description = "Brother hl-l2340dw printer driver";
license = licenses.unfree;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper
{ lib, stdenv, fetchurl, makeWrapper
, cups
, dpkg
, a2ps, ghostscript, gnugrep, gnused, coreutils, file, perl, which
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
--prefix PATH ":" ${ stdenv.lib.makeBinPath [ ghostscript a2ps file gnused gnugrep coreutils which ] }
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.brother.com/";
description = "Brother HL-L2390DW combined print driver";
license = licenses.unfree;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, mfcj6510dwlpr, makeWrapper}:
{ lib, stdenv, fetchurl, mfcj6510dwlpr, makeWrapper}:
stdenv.mkDerivation rec {
pname = "mfcj6510dw-cupswrapper";
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
make clean
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.brother.com/";
description = "Brother MFC-J6510DW CUPS wrapper driver";
license = with licenses; gpl2;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgsi686Linux, dpkg, makeWrapper, coreutils, gnused, gawk, file, cups, util-linux, xxd, runtimeShell
{ lib, stdenv, fetchurl, pkgsi686Linux, dpkg, makeWrapper, coreutils, gnused, gawk, file, cups, util-linux, xxd, runtimeShell
, ghostscript, a2ps }:
# Why:
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
--prefix PATH ":" ${ stdenv.lib.makeBinPath [ coreutils gnused file ghostscript a2ps ] }
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Brother MFC-J6510DW LPR driver";
downloadPage = "http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=mfcj6510dw_all&os=128";
homepage = "http://www.brother.com/";
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cups, libusb-compat-0_1, libxml2, perl }:
{ lib, stdenv, fetchurl, cups, libusb-compat-0_1, libxml2, perl }:
let
@@ -102,7 +102,7 @@ in stdenv.mkDerivation rec {
# we did this in prefixup already
dontPatchELF = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Unified Linux Driver for Samsung printers and scanners";
homepage = "http://www.bchemnet.com/suldr";
downloadPage = "http://www.bchemnet.com/suldr/driver/";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cups, libusb-compat-0_1, libxml2 }:
{ lib, stdenv, fetchurl, cups, libusb-compat-0_1, libxml2 }:
let
@@ -85,7 +85,7 @@ in stdenv.mkDerivation rec {
# we did this in prefixup already
dontPatchELF = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Unified Linux Driver for Samsung printers and scanners";
homepage = "http://www.bchemnet.com/suldr";
downloadPage = "http://www.bchemnet.com/suldr/driver/";
@@ -11,7 +11,7 @@
# }
# (This advice was tested on 2010 August 2.)
{ stdenv, fetchurl, cups, gcc, ghostscript, glibc, patchelf }:
{ lib, stdenv, fetchurl, cups, gcc, ghostscript, glibc, patchelf }:
# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
# to see what will break when upgrading. Consider a new versioned attribute.
@@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
builder = ./builder.sh;
meta = with stdenv.lib; {
meta = with lib; {
description = "Samsung's Linux printing drivers; includes binaries without source code";
homepage = "http://www.samsung.com/";
license = licenses.unfree;
+2 -2
View File
@@ -11,7 +11,7 @@
# }
# (This advice was tested on the 1st November 2016.)
{ stdenv, fetchurl, cups, libusb-compat-0_1 }:
{ lib, stdenv, fetchurl, cups, libusb-compat-0_1 }:
# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
# to see what will break when upgrading. Consider a new versioned attribute.
@@ -72,7 +72,7 @@ in stdenv.mkDerivation rec {
cp -r ./* $out/share/cups/model/samsung
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Samsung's Linux printing drivers; includes binaries without source code";
homepage = "http://www.samsung.com/";
license = licenses.unfree;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchsvn, fetchurl, cups, cups-filters, jbigkit, zlib }:
{ lib, stdenv, fetchsvn, fetchurl, cups, cups-filters, jbigkit, zlib }:
let
@@ -45,7 +45,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ cups zlib jbigkit ];
meta = with stdenv.lib; {
meta = with lib; {
description = "CUPS drivers for SPL (Samsung Printer Language) printers";
homepage = "http://splix.ap2c.org";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, cups}:
{lib, stdenv, fetchFromGitHub, cups}:
stdenv.mkDerivation {
pname = "cups-zj-58";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
install -D ZJ-58.ppd $out/share/cups/model/zjiang/ZJ-58.ppd
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "CUPS filter for thermal printer Zjiang ZJ-58";
homepage = "https://github.com/klirichek/zj-58";
platforms = platforms.linux;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv , python3Packages }:
{ lib, stdenv , python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "doge";
@@ -9,7 +9,7 @@ python3Packages.buildPythonPackage rec {
sha256 = "0lwdl06lbpnaqqjk8ap9dsags3bzma30z17v0zc7spng1gz8m6xj";
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/thiderman/doge";
description = "wow very terminal doge";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, rpmextract, autoreconfHook, file, libjpeg, cups }:
{ lib, stdenv, fetchurl, rpmextract, autoreconfHook, file, libjpeg, cups }:
let
version = "1.0.1";
@@ -48,7 +48,7 @@ in
cp -a README $out/doc/README.driver
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.openprinting.org/driver/epson-201106w";
description = "Epson printer driver (BX535WD, BX630FW, BX635FWD, ME940FW, NX530, NX635, NX635, SX535WD, WorkForce 545, WorkForce 645";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cups, pkgsi686Linux, dpkg, psutils, makeWrapper, ghostscript, bash }:
{ lib, stdenv, fetchurl, cups, pkgsi686Linux, dpkg, psutils, makeWrapper, ghostscript, bash }:
let
version = "1.2-0";
@@ -49,7 +49,7 @@ in
--suffix PATH : "\$PATH:${psutils}/bin:${ghostscript}/bin:${bash}/bin:/var/lib/cups/path/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
description = "Epson AcuLaser C1100 Driver";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cups }:
{ lib, stdenv, fetchurl, cups }:
stdenv.mkDerivation {
pname = "epson-escpr";
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
buildInputs = [ cups ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
description = "ESC/P-R Driver (generic driver)";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cups, busybox }:
{ lib, stdenv, fetchurl, cups, busybox }:
stdenv.mkDerivation rec {
pname = "epson-inkjet-printer-escpr2";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
cd ${pname}-${version}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
description = "ESC/P-R 2 Driver (generic driver)";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, rpmextract, autoreconfHook, file, libjpeg, cups }:
{ lib, stdenv, fetchurl, rpmextract, autoreconfHook, file, libjpeg, cups }:
let
version = "1.0.0";
@@ -46,7 +46,7 @@ in
cp -a README $out/doc/README.driver
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.openprinting.org/driver/epson-201207w";
description = "Epson printer driver (L110, L210, L300, L350, L355, L550, L555)";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, foomatic-filters, bc, unzip, ghostscript, systemd, vim, time }:
{ lib, stdenv, fetchurl, foomatic-filters, bc, unzip, ghostscript, systemd, vim, time }:
stdenv.mkDerivation rec {
name = "foo2zjs-20180519";
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
cp -v getweb arm2hpdl "$out/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "ZjStream printer drivers";
maintainers = with maintainers;
[
+1 -1
View File
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
# Testing is very, very long.
# doCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Ghostscript and cups printer drivers";
homepage = "https://sourceforge.net/projects/gimp-print/";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, substituteAll
{ lib, stdenv, fetchurl, substituteAll
, pkgconfig
, cups, libjpeg, libusb1, python2Packages, sane-backends, dbus, usbutils
, net-snmp, openssl, nettools
@@ -179,7 +179,7 @@ python2Packages.buildPythonApplication {
--replace {/usr,$out}/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Print, scan and fax HP drivers for Linux";
homepage = "http://hplipopensource.com/";
downloadPage = "https://sourceforge.net/projects/hplip/files/hplip/";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, substituteAll
{ lib, stdenv, fetchurl, substituteAll
, pkgconfig
, cups, zlib, libjpeg, libusb1, python2Packages, sane-backends
, dbus, file, ghostscript, usbutils
@@ -216,7 +216,7 @@ python2Packages.buildPythonApplication {
--replace {/usr,$out}/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Print, scan and fax HP drivers for Linux";
homepage = "https://developers.hp.com/hp-linux-imaging-and-printing";
downloadPage = "https://sourceforge.net/projects/hplip/files/hplip/";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, substituteAll
{ lib, stdenv, fetchurl, substituteAll
, pkgconfig
, cups, zlib, libjpeg, libusb1, python3Packages, sane-backends
, dbus, file, ghostscript, usbutils
@@ -240,7 +240,7 @@ python3Packages.buildPythonApplication {
"share/hplip" "lib/cups/backend" "lib/cups/filter" python3Packages.python.sitePackages "lib/sane"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Print, scan and fax HP drivers for Linux";
homepage = "https://developers.hp.com/hp-linux-imaging-and-printing";
downloadPage = "https://sourceforge.net/projects/hplip/files/hplip/";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "M33-Linux-2016-06-23";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
install -Dm755 90-micro-3d-local.rules $out/lib/udev/rules.d/90-micro-3d-local.rules
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/donovan6000/M3D-Linux";
description = "A Linux program that can communicate with the Micro 3D printer";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, udev }:
{ lib, stdenv, fetchFromGitHub, udev }:
stdenv.mkDerivation {
pname = "moltengamepad-git";
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
sed -i -e '159d;161d;472d;473d;474d;475d' source/eventlists/key_list.cpp
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/jgeumlek/MoltenGamepad";
description = "Flexible Linux input device translator, geared for gamepads";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, mkDerivation, fetchzip, autoPatchelfHook, libusb1, libX11, libXtst, qtbase, libglvnd }:
{ lib, stdenv, mkDerivation, fetchzip, autoPatchelfHook, libusb1, libX11, libXtst, qtbase, libglvnd }:
mkDerivation rec {
pname = "pentablet-driver";
@@ -28,7 +28,7 @@ mkDerivation rec {
cp config.xml $out/bin/config.xml
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.xp-pen.com/download-46.html";
description = "Driver for XP-PEN Pentablet drawing tablets";
license = licenses.unfree;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, rpmextract }:
{ lib, stdenv, fetchurl, rpmextract }:
let
version = "20160218";
in
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
cp -r opt/OpenPrinting-Lexmark/doc $out/doc
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.openprinting.org/driver/Postscript-Lexmark/";
description = "Lexmark Postscript Drivers";
platforms = platforms.linux;
@@ -27,7 +27,7 @@ buildPythonApplication {
doCheck = false;
pythonImportsCheck = [ "steamcontroller" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A standalone Steam controller driver";
homepage = "https://github.com/ynsta/steamcontroller";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, writeScriptBin, fetchFromGitLab, autoreconfHook, pkg-config
{ lib, stdenv, writeScriptBin, fetchFromGitLab, autoreconfHook, pkg-config
, autoconf-archive, libxslt, boost , gtkmm2 , imagemagick, sane-backends
, tesseract4, udev, libusb1, gnum4 }:
@@ -77,7 +77,7 @@ in stdenv.mkDerivation rec {
doInstallCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "SANE utsushi backend for some Epson scanners";
longDescription = ''
ImageScanV3 (aka utsushi) scanner driver. Non-free plugins are not
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, sconsPackages, libX11, pkgconfig
{ lib, stdenv, fetchurl, sconsPackages, libX11, pkgconfig
, libusb1, boost, glib, dbus-glib }:
let
@@ -17,7 +17,7 @@ in stdenv.mkDerivation {
buildInputs = [ libX11 libusb1 boost glib dbus-glib ];
dontUseSconsInstall = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://pingus.seul.org/~grumbel/xboxdrv/";
description = "Xbox/Xbox360 (and more) gamepad driver for Linux that works in userspace";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, cabextract, fetchurl, fetchFromGitHub, libusb1 }:
{ lib, stdenv, cabextract, fetchurl, fetchFromGitHub, libusb1 }:
stdenv.mkDerivation rec {
pname = "xow";
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cabextract ];
buildInputs = [ libusb1 ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/medusalix/xow";
description = "Linux driver for the Xbox One wireless dongle";
license = licenses.gpl2Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, allegro, SDL2 }:
{ lib, stdenv, fetchFromGitHub, cmake, allegro, SDL2 }:
stdenv.mkDerivation rec {
pname = "dumb";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
"-DBUILD_EXAMPLES='OFF'"
];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/kode54/dumb";
description = "Module/tracker based music format parser and player library";
license = licenses.free; # Derivative of GPL
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libSM, libX11, libICE, SDL, alsaLib, gcc-unwrapped, libXext }:
{ lib, stdenv, fetchurl, libSM, libX11, libICE, SDL, alsaLib, gcc-unwrapped, libXext }:
stdenv.mkDerivation rec {
pname = "atari++";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} "$out/bin/atari++"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.xl-project.com/";
description = "An enhanced, cycle-accurated Atari emulator";
longDescription = ''
+2 -2
View File
@@ -1,5 +1,5 @@
{ expat, fetchFromGitHub, ffmpeg_3, fontconfig, freetype, libarchive, libjpeg
, libGLU, libGL, openal, pkgconfig, sfml, stdenv, zlib
, libGLU, libGL, openal, pkgconfig, sfml, lib, stdenv, zlib
}:
stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
expat ffmpeg_3 fontconfig freetype libarchive libjpeg libGLU libGL openal sfml zlib
];
meta = with stdenv.lib; {
meta = with lib; {
description = "A frontend for arcade cabinets and media PCs";
homepage = "http://attractmode.org";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, desktop-file-utils, libpng
{ lib, stdenv, fetchFromGitHub, desktop-file-utils, libpng
, pkgconfig, SDL, freetype, zlib }:
stdenv.mkDerivation rec {
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
install -Dm644 $out/share/caprice32/resources/freedesktop/caprice32.menu -t $out/etc/xdg/menus/applications-merged/
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A complete emulation of CPC464, CPC664 and CPC6128";
homepage = "https://github.com/ColinPitrat/caprice32";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeDesktopItem, makeWrapper, jre
{ lib, stdenv, fetchurl, makeDesktopItem, makeWrapper, jre
, useCCTweaked ? true
}:
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A modular ComputerCraft emulator";
homepage = "https://github.com/CCEmuX/CCEmuX";
license = licenses.mit;
+2 -2
View File
@@ -1,5 +1,5 @@
{ pkgName, version, pkgSha256 }:
{ stdenv, fetchurl, cmake, pkgconfig, buildInputs, drvParams ? {} }:
{ lib, stdenv, fetchurl, cmake, pkgconfig, buildInputs, drvParams ? {} }:
let name = "${pkgName}-${version}";
in stdenv.mkDerivation ({
inherit name buildInputs;
@@ -16,7 +16,7 @@ in stdenv.mkDerivation ({
configurePhase = ''
cmake ../${name} -DCMAKE_INSTALL_PREFIX=$out -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A suite of tools for emulating optical drives and discs";
longDescription = ''
CDEmu consists of:
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, kernel }:
{ lib, stdenv, fetchurl, kernel }:
stdenv.mkDerivation rec {
pname = "vhba";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "pic" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Provides a Virtual (SCSI) HBA";
homepage = "http://cdemu.sourceforge.net/about/vhba/";
platforms = platforms.linux;
+1 -1
View File
@@ -21,7 +21,7 @@ mkDerivation {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://citra-emu.org";
description = "An open-source emulator for the Nintendo 3DS";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, poco, openssl, SDL2, SDL2_mixer }:
{ lib, stdenv, fetchFromGitHub, poco, openssl, SDL2, SDL2_mixer }:
let
craftos2-lua = fetchFromGitHub {
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
DESTDIR=$out/bin make install
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An implementation of the CraftOS-PC API written in C++ using SDL";
homepage = "https://www.craftos-pc.cc";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, libarchive
, doxygen
@@ -33,7 +33,7 @@ in stdenv.mkDerivation {
"--with-dz80"
];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://dgen.sourceforge.net/";
description = "Sega Genesis/Mega Drive emulator";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "emu2";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/dmsc/emu2/";
description = "A simple text-mode x86 + DOS emulator";
platforms = platforms.linux;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU, libGL }:
{ lib, stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU, libGL }:
stdenv.mkDerivation {
name = "gens-gs-7";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
# See http://ubuntuforums.org/showthread.php?p=10535837
NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://segaretro.org/Gens/GS";
description = "A Genesis/Mega Drive emulator";
platforms = [ "i686-linux" ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "gxemul";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
cp -r ./man $out
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://gavare.se/gxemul/";
description = "Gavare's experimental emulator";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, pkgconfig
, libX11, libXv
, udev
@@ -104,7 +104,7 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/higan-init.sh
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An open-source, cycle-accurate multi-system emulator";
longDescription = ''
higan is a multi-system game console emulator. The purpose of higan is to
+1 -1
View File
@@ -68,7 +68,7 @@ in stdenv.mkDerivation {
chmod +x "$out/bin/kega-fusion"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Sega SG1000, SC3000, SF7000, Master System, Game Gear, Genesis/Megadrive, SVP, Pico, SegaCD/MegaCD and 32X emulator";
homepage = "https://www.carpeludum.com/kega-fusion/";
maintainers = with maintainers; [ abbradar ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, SDL2 }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, SDL2 }:
stdenv.mkDerivation rec {
pname = "lambda-delta";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--without-SDL1" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "LMI (Lambda Lisp Machine) emulator";
homepage = "https://github.com/dseagrav/ld";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libdsk";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0s2k9vkrf95pf4ydc6vazb29ysrnhdpcfjnf17lpk4nmlv1j3vyv";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "A library for accessing discs and disc image files";
homepage = "http://www.seasip.info/Unix/LibDsk/";
license = licenses.gpl2Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, freeglut, libGLU, libGL, libcdio, libjack2
{ lib, stdenv, fetchurl, pkgconfig, freeglut, libGLU, libGL, libcdio, libjack2
, libsamplerate, libsndfile, libX11, SDL2, SDL2_net, zlib, alsaLib }:
stdenv.mkDerivation rec {
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
mv Documentation $out/share/doc/mednafen
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
longDescription = ''
Mednafen is a portable, utilizing OpenGL and SDL,
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "mednafen-server";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
postInstall = "install -m 644 -Dt $out/share/mednafen-server standard.conf";
meta = with stdenv.lib; {
meta = with lib; {
description = "Netplay server for Mednafen";
homepage = "https://mednafen.github.io/";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, mkDerivation
, cmake
@@ -31,7 +31,7 @@ mkDerivation rec {
cmakeFlags = [ "-UUNIX_PORTABLE" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://melonds.kuribo64.net/";
description = "Work in progress Nintendo DS emulator";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeDesktopItem, wrapQtAppsHook, pkgconfig
{ lib, stdenv, fetchFromGitHub, makeDesktopItem, wrapQtAppsHook, pkgconfig
, cmake, epoxy, libzip, libelf, libedit, ffmpeg_3, SDL2, imagemagick
, qtbase, qtmultimedia, qttools, minizip }:
@@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
cp -r ${desktopItem}/share/applications $out/share
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://mgba.io";
description = "A modern GBA emulator with a focus on accuracy";
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, boost, dash, freetype, libpng, pkgconfig, SDL, which, zlib, nasm }:
{lib, stdenv, fetchurl, boost, dash, freetype, libpng, pkgconfig, SDL, which, zlib, nasm }:
stdenv.mkDerivation rec {
pname = "mupen64plus";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
dash m64p_install.sh DESTDIR="$out" PREFIX=""
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A Nintendo 64 Emulator";
license = licenses.gpl2Plus;
homepage = "http://www.mupen64plus.org/";
+2 -2
View File
@@ -19,7 +19,7 @@
, portaudio
, SDL2
, soundtouch
, stdenv
, lib, stdenv
, udev
, wrapGAppsHook
, wxGTK
@@ -91,7 +91,7 @@ stdenv.mkDerivation {
zlib
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Playstation 2 emulator";
longDescription= ''
PCSX2 is an open-source PlayStation 2 (AKA PS2) emulator. Its purpose
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoreconfHook, intltool, pkgconfig, gtk3, SDL2, xorg
{ lib, stdenv, fetchurl, autoreconfHook, intltool, pkgconfig, gtk3, SDL2, xorg
, wrapGAppsHook, libcdio, nasm, ffmpeg, file
, fetchpatch }:
@@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
"$out/share/doc/${pname}-${version}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Playstation 1 emulator";
homepage = "https://pcsxr.codeplex.com/";
maintainers = with maintainers; [ rardiol ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl, qttools, pkgconfig
, minizip, zlib
, qtbase, qtsvg, qtmultimedia, qtwebkit, qttranslations, qtxmlpatterns
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
"DATADIR=/share/"
"SYSCONFDIR=/etc" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A Qt frontend for MAME/MESS";
homepage = "https://qmc2.batcom-it.net";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, cmake
, pkg-config
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://reicast.com/";
description = "A multi-platform Sega Dreamcast emulator";
license = with licenses; [ bsd3 gpl2Only lgpl2Only ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, fetchFromGitHub, fetchFromGitLab, fetchpatch, cmake, pkgconfig, makeWrapper, python27, python37, retroarch
{ lib, stdenv, fetchgit, fetchFromGitHub, fetchFromGitLab, fetchpatch, cmake, pkgconfig, makeWrapper, python27, python37, retroarch
, alsaLib, fluidsynth, curl, hidapi, libGLU, gettext, glib, gtk2, portaudio, SDL, SDL_net, SDL2, SDL2_image, libGL
, ffmpeg_3, pcre, libevdev, libpng, libjpeg, libzip, udev, libvorbis, snappy, which, hexdump
, miniupnpc, sfml, xorg, zlib, nasm, libpcap, boost, icu, openssl
@@ -46,7 +46,7 @@ let
libretroCore = "/lib/retroarch/cores";
};
meta = with stdenv.lib; {
meta = with lib; {
inherit (a) description license;
broken = a.broken or false;
homepage = "https://www.libretro.com/";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchhg, cmake, glib, gst_all_1, makeWrapper, pkgconfig
{ lib, stdenv, fetchhg, cmake, glib, gst_all_1, makeWrapper, pkgconfig
, python, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, sqlite, zlib, runtimeShell
}:
@@ -68,7 +68,7 @@ stdenv.mkDerivation {
--run 'export RETROFE_PATH=''${RETROFE_PATH:-$PWD}'
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A frontend for arcade cabinets and media PCs";
homepage = "http://retrofe.com";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -4,7 +4,7 @@
, pkg-config
, python3
, rustPlatform
, stdenv
, lib, stdenv
, wayland
, xorg
}:
@@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "05kwfcbzjyyfhiqklhhlv06pinzw9bry4j8l9lk3k04c1q30gzkw";
meta = with stdenv.lib; {
meta = with lib; {
description = "An Adobe Flash Player emulator written in the Rust programming language.";
homepage = "https://ruffle.rs/";
license = with licenses; [ mit asl20 ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchurl, makeWrapper, makeDesktopItem, linkFarmFromDrvs
{ lib, stdenv, fetchFromGitHub, fetchurl, makeWrapper, makeDesktopItem, linkFarmFromDrvs
, dotnet-sdk_3, dotnetPackages, dotnetCorePackages
, SDL2, libX11, openal
, gtk3, gobject-introspection, wrapGAppsHook
@@ -96,7 +96,7 @@ in stdenv.mkDerivation rec {
# Strip breaks the executable.
dontStrip = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Experimental Nintendo Switch Emulator written in C#";
homepage = "https://ryujinx.org/";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gtk3, rgbds, SDL2, wrapGAppsHook, glib }:
{ lib, stdenv, fetchFromGitHub, gtk3, rgbds, SDL2, wrapGAppsHook, glib }:
stdenv.mkDerivation rec {
pname = "sameboy";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
popd
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://sameboy.github.io";
description = "Game Boy, Game Boy Color, and Super Game Boy emulator";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, SDL2
, SDL2_ttf
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
(cd $out/bin; for i in *; do ln -s $i simh-$i; done)
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://simh.trailing-edge.com/";
description = "A collection of simulators of historic hardware";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, cmake
, sfml
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
cp ./SimpleNES $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/amhndu/SimpleNES";
description = "An NES emulator written in C++";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, wrapGAppsHook
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkgconfig, wrapGAppsHook
, SDL2, zlib, gtk3, libxml2, libXv, epoxy, minizip, pulseaudio, portaudio }:
stdenv.mkDerivation rec {
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
preConfigure = "cd gtk";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.snes9x.com";
description = "Super Nintendo Entertainment System (SNES) emulator";
+1 -1
View File
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib gnome2.gtk libticonv libtifiles2 libticables2 libticalcs2 ];
NIX_CFLAGS_COMPILE = [ "-lm" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://lpg.ticalc.org/prj_tilem/";
description = "Emulator and debugger for Texas Instruments Z80-based graphing calculators";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, vulkan-headers, spirv-headers, vulkan-loader }:
{ lib, stdenv, fetchurl, vulkan-headers, spirv-headers, vulkan-loader }:
#TODO: MoltenVK
#TODO: unstable
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "A 3d library build on top on Vulkan with a similar api to DirectX 12";
homepage = "https://source.winehq.org/git/vkd3d.git";
license = licenses.lgpl21;
+2 -2
View File
@@ -1,4 +1,4 @@
{ mkDerivation, stdenv, fetchurl, cmake, pkgconfig, qtbase, qt5, libGLU, libGL
{ mkDerivation, lib, stdenv, fetchurl, cmake, pkgconfig, qtbase, qt5, libGLU, libGL
, freeglut ? null, openal ? null, SDL2 ? null }:
mkDerivation rec {
@@ -26,7 +26,7 @@ mkDerivation rec {
"-DYAB_PORTS=qt"
] ;
meta = with stdenv.lib; {
meta = with lib; {
description = "An open-source Sega Saturn emulator";
homepage = "https://yabause.org/";
license = licenses.gpl2Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, cmake, pkgconfig, wrapQtAppsHook
, boost173, catch2, fmt, lz4, nlohmann_json, rapidjson, zlib, zstd, SDL2
, udev, libusb1, libzip, qtbase, qtwebengine, qttools, ffmpeg
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/yuzu-cmd --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://yuzu-emu.org";
description = "An experimental Nintendo Switch emulator written in C++";
license = with licenses; [
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, gcc-arm-embedded, binutils-arm-embedded, makeWrapper
{ lib, stdenv, gcc-arm-embedded, binutils-arm-embedded, makeWrapper
, python, pythonPackages
# Extra options
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
chmod +x $out/bin/{unlock,flash}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.fsij.org/pages/gnuk";
description = "An implementation of USB cryptographic token for gpg";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, pkgconfig, zlib, serd }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, pkgconfig, zlib, serd }:
stdenv.mkDerivation rec {
pname = "hdt";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.rdfhdt.org/";
description = "Header Dictionary Triples (HDT) is a compression format for RDF data that can also be queried for Triple Patterns";
license = licenses.lgpl21;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig
{ lib, stdenv, fetchurl, pkgconfig
# Optional Dependencies
, alsaLib ? null, db ? null, libuuid ? null, libffado ? null, celt ? null
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
buildInputs = [ optAlsaLib optDb optLibffado optCelt ];
propagatedBuildInputs = [ optLibuuid ];
meta = with stdenv.lib; {
meta = with lib; {
description = "JACK audio connection kit";
homepage = "https://jackaudio.org";
license = with licenses; [ gpl2 lgpl21 ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, libusb1, ncurses5 }:
{ lib, stdenv, fetchFromGitHub, cmake, libusb1, ncurses5 }:
stdenv.mkDerivation rec {
pname = "lguf-brightness";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
install -D lguf_brightness $out/bin/lguf_brightness
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Adjust brightness for LG UltraFine 4K display (cross platform)";
homepage = "https://github.com/periklis/lguf-brightness";
license = licenses.lgpl21Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, zlib, ffmpeg_3, glew, pcre
{ lib, stdenv, fetchFromGitHub, pkgconfig, cmake, curl, zlib, ffmpeg_3, glew, pcre
, rtmpdump, cairo, boost, SDL2, SDL2_mixer, libjpeg, pango, lzma, nasm
, llvm, glibmm
}:
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
pango lzma nasm llvm glibmm
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Open source Flash Player implementation";
homepage = "https://lightspark.github.io/";
license = licenses.lgpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, lilypond }:
{ lib, stdenv, fetchFromGitHub, lilypond }:
let
@@ -29,7 +29,7 @@ let
done
'';
meta = with stdenv.lib; {
meta = with lib; {
inherit (lilypond.meta) homepage platforms;
description = "${fontName} font for LilyPond";
license = licenses.ofl;
+1 -1
View File
@@ -15,7 +15,7 @@ let beat = package : extraArgs : buildGoPackage (rec {
subPackages = [ package ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.elastic.co/products/beats";
license = licenses.asl20;
maintainers = with maintainers; [ fadenb basvandijk ];
+1 -1
View File
@@ -15,7 +15,7 @@ let beat = package : extraArgs : buildGoPackage (rec {
subPackages = [ package ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.elastic.co/products/beats";
license = licenses.asl20;
maintainers = with maintainers; [ fadenb basvandijk ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, libtool }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool }:
stdenv.mkDerivation rec {
version="1.32";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "fortify" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Command line utility for Atmel maXTouch devices";
homepage = "https://github.com/atmel-maxtouch/mxt-app";
license = licenses.bsd2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchgit
, autoreconfHook
, gd
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
libusb1
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Command line tool to print labels on Brother P-Touch printers on Linux";
license = licenses.gpl3Plus;
homepage = "https://mockmoon-cybernetics.ch/computer/p-touch2430pc/";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1 }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1 }:
stdenv.mkDerivation {
pname = "rkdeveloptool";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
buildInputs = [ libusb1 ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/rockchip-linux/rkdeveloptool";
description = "A tool from Rockchip to communicate with Rockusb devices";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, jansson }:
{ lib, stdenv, fetchFromGitHub, pkgconfig, jansson }:
let
libsailing = fetchFromGitHub {
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
--replace gcc cc
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Simulator daemon for autonomous sailing boats";
homepage = "https://github.com/sails-simulator/sailsd";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchFromGitHub, makeWrapper
{ lib, stdenv, fetchurl, fetchFromGitHub, makeWrapper
, meson
, ninja
, pkg-config
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
wrapProgram "$out/bin/scrcpy" --prefix PATH : "${platform-tools}/bin"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Display and control Android devices over USB or TCP/IP";
homepage = "https://github.com/Genymobile/scrcpy";
license = licenses.asl20;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, pkgconfig, autoreconfHook
{ lib, stdenv, fetchgit, pkgconfig, autoreconfHook
, libX11, pam, libgcrypt, libXrender, imlib2 }:
stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
pam libgcrypt libXrender imlib2
];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/Arkq/alock";
description = "Simple screen lock application for X server";
longDescription = ''
@@ -1,5 +1,5 @@
{
stdenv, makeWrapper, fetchFromGitHub,
lib, stdenv, makeWrapper, fetchFromGitHub,
imagemagick, i3lock-color, xdpyinfo, xrandr, bc, feh, procps, xrdb
}:
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
wrapProgram "$out/bin/betterlockscreen" --prefix PATH : "$out/bin:${PATH}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A simple minimal lock screen which allows you to cache images with different filters and lockscreen with blazing speed";
homepage = "https://github.com/pavanjadhaw/betterlockscreen";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, libav, lua5_1, curl
{ lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, libav, lua5_1, curl
, libpng, xorg, pkgconfig, flam3, libgtop, boost, tinyxml, freeglut, libGLU, libGL
, glee }:
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
sed -i "s|/usr|$out|" Makefile
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Electric Sheep, a distributed screen saver for evolving artificial organisms";
homepage = "https://electricsheep.org/";
maintainers = with maintainers; [ nand0p fpletz ];
@@ -1,4 +1,4 @@
{ stdenv, i3lock, imagemagick, scrot, playerctl, fetchFromGitLab }:
{ lib, stdenv, i3lock, imagemagick, scrot, playerctl, fetchFromGitLab }:
stdenv.mkDerivation rec {
pname = "i3lock-pixeled";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
--replace playerctl "${playerctl}/bin/playerctl"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Simple i3lock helper which pixels a screenshot by scaling it down and up to get a pixeled version of the screen when the lock is active";
homepage = "https://gitlab.com/Ma27/i3lock-pixeled";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, meson
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
};
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/the-cavalry/light-locker";
description = "A simple session-locker for LightDM";
longDescription = ''
@@ -1,5 +1,5 @@
{
stdenv, makeWrapper, fetchFromGitHub, writeShellScriptBin,
lib, stdenv, makeWrapper, fetchFromGitHub, writeShellScriptBin,
imagemagick, i3lock-color, xdpyinfo, xrandr, bc, feh, procps, xrdb, xset,
gnused, gnugrep, coreutils
}:
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
wrapProgram "$out/bin/multilockscreen" --prefix PATH : "${binPath}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Wrapper script for i3lock-color";
longDescription = ''
multilockscreen is a wrapper script for i3lock-color.
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pam, systemd }:
{ lib, stdenv, fetchFromGitHub, pam, systemd }:
stdenv.mkDerivation rec {
version = "v13";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" "SESSION=systemd" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A secure suspend/hibernate-friendly alternative to `vlock -an`";
license = licenses.gpl2;
platforms = platforms.linux;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, coreutils, ncurses }:
{ lib, stdenv, fetchurl, makeWrapper, coreutils, ncurses }:
stdenv.mkDerivation rec {
pname = "pipes";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
--set PATH "${stdenv.lib.makeBinPath [ coreutils ncurses ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/pipeseroni/pipes.sh";
description = "Animated pipes terminal screensaver";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pam }:
{ lib, stdenv, fetchurl, pam }:
stdenv.mkDerivation {
name = "vlock-2.2.2";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
buildInputs = [ pam ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Virtual console locking program";
license = licenses.gpl2;
maintainers = [ maintainers.lethalman ];

Some files were not shown because too many files have changed in this diff Show More