From ff5134f8b0f64689eb7f82402405aaefa0b7eed8 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 9 Jan 2012 10:25:49 +0000 Subject: [PATCH] Add lirc svn path=/nixpkgs/trunk/; revision=31450 --- pkgs/development/libraries/lirc/default.nix | 14 ++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/lirc/default.nix 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