From 21b7f04330925fc1cb88313061d4755e4ee27680 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 10 Sep 2009 16:57:53 +0000 Subject: [PATCH] adding halevt svn path=/nixpkgs/trunk/; revision=17027 --- pkgs/os-specific/linux/hal/hal-evt.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/os-specific/linux/hal/hal-evt.nix diff --git a/pkgs/os-specific/linux/hal/hal-evt.nix b/pkgs/os-specific/linux/hal/hal-evt.nix new file mode 100644 index 000000000000..25b4e5033262 --- /dev/null +++ b/pkgs/os-specific/linux/hal/hal-evt.nix @@ -0,0 +1,19 @@ +args: with args; +stdenv.mkDerivation { + name = "hal-evt-0.1.4"; + + src = fetchurl { + url = http://savannah.nongnu.org/download/halevt/halevt-0.1.4.tar.gz; + sha256 = "173dphyzpicjz5pnw0d6wmibvib5h99nh1gmyvcqpgvf8la5vrps"; + }; + + buildInputs = [libxml2 pkgconfig boolstuff hal dbus_glib]; + + meta = { + description = "execute commands on hal events"; + homepage = http://www.nongnu.org/halevt/; + license = "GPLv2"; + maintainers = [args.lib.maintainers.marcweber]; + platforms = args.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e81292360ed0..ab2c8183d6c7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4889,6 +4889,10 @@ let inherit (gtkLibs) glib; }; + halevt = import ../os-specific/linux/hal/hal-evt.nix { + inherit fetchurl stdenv lib libxml2 pkgconfig boolstuff hal dbus_glib; + }; + hal_info = import ../os-specific/linux/hal/info.nix { inherit fetchurl stdenv pkgconfig; };