pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user