2006-01-31 16:00:05 +00:00
|
|
|
{stdenv, fetchurl, libX11, libXi, udevSupport ? false}:
|
2006-01-31 15:18:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "linuxwacom-0.7.2";
|
2009-04-23 13:31:10 +00:00
|
|
|
|
2006-01-31 15:18:27 +00:00
|
|
|
src = fetchurl {
|
2008-11-14 16:57:19 +00:00
|
|
|
url = http://nixos.org/tarballs/linuxwacom-0.7.2.tar.bz2;
|
2006-01-31 15:18:27 +00:00
|
|
|
md5 = "3f6290101d5712a24097243ca9f092ed";
|
|
|
|
};
|
2009-04-23 13:31:10 +00:00
|
|
|
|
2006-01-31 15:18:27 +00:00
|
|
|
buildInputs = [libX11 libXi];
|
2009-04-23 13:31:10 +00: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 15:18:27 +00:00
|
|
|
}
|