nixpkgs/pkgs/development/libraries/lirc/default.nix

39 lines
929 B
Nix
Raw Normal View History

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