2015-09-15 09:13:22 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, bash, help2man, pkgconfig, xlibsWrapper, python3, libxslt }:
|
2012-01-09 10:25:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-08 16:04:12 +00:00
|
|
|
name = "lirc-0.9.3";
|
2012-01-09 10:25:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lirc/${name}.tar.bz2";
|
2015-09-08 16:04:12 +00:00
|
|
|
sha256 = "19c6ldjsdnk1md66q3nb035ja1xj217k8iabhxpsb8rs10a6kwi6";
|
2012-01-09 10:25:49 +00:00
|
|
|
};
|
|
|
|
|
2014-08-30 22:32:37 +00:00
|
|
|
preBuild = "patchShebangs .";
|
|
|
|
|
2015-09-15 09:13:22 +00:00
|
|
|
buildInputs = [ alsaLib help2man pkgconfig xlibsWrapper python3 libxslt ];
|
2012-01-09 10:25:49 +00:00
|
|
|
|
2013-01-21 18:06:22 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-driver=devinput"
|
2015-04-25 22:07:34 +00:00
|
|
|
"--sysconfdir=/etc"
|
|
|
|
"--localstatedir=/var"
|
2013-01-21 18:06:22 +00:00
|
|
|
"--enable-sandboxed"
|
|
|
|
];
|
2014-08-30 22:32:37 +00:00
|
|
|
|
|
|
|
makeFlags = [ "m4dir=$(out)/m4" ];
|
|
|
|
|
2015-04-26 03:20:59 +00:00
|
|
|
installFlags = [
|
|
|
|
"sysconfdir=\${out}/etc"
|
|
|
|
"localstatedir=\${TMPDIR}"
|
|
|
|
];
|
2015-04-25 22:07:34 +00:00
|
|
|
|
2014-08-30 22:32:37 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Allows to receive and send infrared signals";
|
|
|
|
homepage = http://www.lirc.org/;
|
|
|
|
license = licenses.gpl2;
|
2014-08-31 00:17:19 +00:00
|
|
|
platforms = platforms.linux;
|
2014-08-30 22:32:37 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
2012-01-09 10:25:49 +00:00
|
|
|
}
|