2006-01-31 17:00:05 +01:00
|
|
|
{stdenv, fetchurl, libX11, libXi, udevSupport ? false}:
|
2006-01-31 16:18:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "linuxwacom-0.7.2";
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2006-01-31 16:18:27 +01:00
|
|
|
src = fetchurl {
|
2008-11-14 17:57:19 +01:00
|
|
|
url = http://nixos.org/tarballs/linuxwacom-0.7.2.tar.bz2;
|
2006-01-31 16:18:27 +01:00
|
|
|
md5 = "3f6290101d5712a24097243ca9f092ed";
|
|
|
|
};
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2006-01-31 16:18:27 +01:00
|
|
|
buildInputs = [libX11 libXi];
|
2009-04-23 15:31:10 +02:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
if test -n "${toString udevSupport}"; then
|
|
|
|
ensureDir $out/etc/udev/rules.d
|
|
|
|
cp ${./10-wacom.rules} $out/etc/udev/rules.d/10-wacom.rules
|
|
|
|
fi
|
|
|
|
'';
|
2006-01-31 16:18:27 +01:00
|
|
|
}
|