diff --git a/pkgs/development/libraries/lirc/default.nix b/pkgs/development/libraries/lirc/default.nix new file mode 100644 index 000000000000..20ef82401e65 --- /dev/null +++ b/pkgs/development/libraries/lirc/default.nix @@ -0,0 +1,14 @@ +{ stdenv, fetchurl, alsaLib }: + +stdenv.mkDerivation rec { + name = "lirc-0.9.0"; + + src = fetchurl { + url = "mirror://sourceforge/lirc/${name}.tar.bz2"; + sha256 = "1zx4mcnjwzz6jsi6ln7a3dkgx05nvg1pxxvmjqvd966ldapay8v3"; + }; + + buildInputs = [ alsaLib ]; + + configureFlags = "--with-driver=none --enable-sandboxed"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6fe281a69443..13d15bc0538d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4209,6 +4209,8 @@ let lightning = callPackage ../development/libraries/lightning { }; + lirc = callPackage ../development/libraries/lirc { }; + liquidwar = builderDefsPackage ../games/liquidwar { inherit (xlibs) xproto libX11 libXrender; inherit gmp mesa libjpeg libpng