9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
26 lines
810 B
Nix
26 lines
810 B
Nix
{ enableX11 ? true,
|
|
stdenv, fetchurl, pkg-config, xorg, python3, frame }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "grail";
|
|
version = "3.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/grail/trunk/${version}/+download/${pname}-${version}.tar.bz2";
|
|
sha256 = "1wwx5ibjdz5pyd0f5cd1n91y67r68dymxpm2lgd829041xjizvay";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ python3 frame ]
|
|
++ stdenv.lib.optionals enableX11 [xorg.libX11 xorg.libXtst xorg.libXext xorg.libXi xorg.libXfixes];
|
|
|
|
configureFlags = stdenv.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;
|
|
};
|
|
}
|