nixpkgs/pkgs/development/libraries/frame/default.nix
Vladimír Čunát 88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00

24 lines
784 B
Nix

{ enableX11 ? true
, stdenv, fetchurl, pkgconfig, xorg, xorgserver, xinput }:
stdenv.mkDerivation rec {
name = "frame-${version}";
version = "2.5.0";
src = fetchurl {
url = "https://launchpad.net/frame/trunk/v${version}/+download/${name}.tar.xz";
sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
};
buildInputs = [
stdenv pkgconfig
] ++ stdenv.lib.optional enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
configureFlags = stdenv.lib.optional enableX11 "--with-x11";
meta = {
homepage = "https://launchpad.net/frame";
description = "handles the buildup and synchronization of a set of simultaneous touches";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
};
}