pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
{ enableX11 ? true,
stdenv, fetchurl, pkg-config, xorg, python3, frame }:
lib, stdenv, fetchurl, pkg-config, xorg, python3, frame }:
stdenv.mkDerivation rec {
pname = "grail";
@@ -12,14 +12,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ python3 frame ]
++ stdenv.lib.optionals enableX11 [xorg.libX11 xorg.libXtst xorg.libXext xorg.libXi xorg.libXfixes];
++ lib.optionals enableX11 [xorg.libX11 xorg.libXtst xorg.libXext xorg.libXi xorg.libXfixes];
configureFlags = stdenv.lib.optional enableX11 "--with-x11";
configureFlags = lib.optional enableX11 "--with-x11";
meta = {
homepage = "https://launchpad.net/canonical-multitouch/grail";
description = "Gesture Recognition And Instantiation Library";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}