mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
21e3ff658a
Scilab note: the parameters already had pointed to nonexistent dirs before this set of refactoring. But that config wasn't even used by default.
37 lines
901 B
Nix
37 lines
901 B
Nix
{ stdenv, fetchurl, alsaLib, bash, help2man, pkgconfig, xlibsWrapper, python3, libxslt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lirc-0.9.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lirc/${name}.tar.bz2";
|
|
sha256 = "19c6ldjsdnk1md66q3nb035ja1xj217k8iabhxpsb8rs10a6kwi6";
|
|
};
|
|
|
|
preBuild = "patchShebangs .";
|
|
|
|
buildInputs = [ alsaLib help2man pkgconfig xlibsWrapper python3 libxslt ];
|
|
|
|
configureFlags = [
|
|
"--with-driver=devinput"
|
|
"--sysconfdir=/etc"
|
|
"--localstatedir=/var"
|
|
"--enable-sandboxed"
|
|
];
|
|
|
|
makeFlags = [ "m4dir=$(out)/m4" ];
|
|
|
|
installFlags = [
|
|
"sysconfdir=\${out}/etc"
|
|
"localstatedir=\${TMPDIR}"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Allows to receive and send infrared signals";
|
|
homepage = http://www.lirc.org/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|