From 0fc49de3cbb41fa58ee51ab0121102d5ee6d578d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 28 Apr 2009 21:59:09 +0000 Subject: [PATCH] * Added hal-info. svn path=/nixpkgs/trunk/; revision=15385 --- pkgs/os-specific/linux/hal/info.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/os-specific/linux/hal/info.nix diff --git a/pkgs/os-specific/linux/hal/info.nix b/pkgs/os-specific/linux/hal/info.nix new file mode 100644 index 000000000000..f8f80e4c5bb6 --- /dev/null +++ b/pkgs/os-specific/linux/hal/info.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, pkgconfig, hal}: + +stdenv.mkDerivation rec { + name = "hal-info-20090414"; + + src = fetchurl { + url = "http://hal.freedesktop.org/releases/${name}.tar.gz"; + sha256 = "03zsh4psq189k7i8mwazsmallwc10naavkdrp1sp68jjjkf8gp9k"; + }; + + buildInputs = [pkgconfig hal]; + + meta = { + homepage = http://www.freedesktop.org/wiki/Software/hal; + description = "Hardware data and quirks for HAL"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9828e6fecc13..8e56a7fa46ff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4614,6 +4614,10 @@ let inherit (gtkLibs) glib; }; + hal_info = import ../os-specific/linux/hal/info.nix { + inherit fetchurl stdenv pkgconfig hal; + }; + hdparm = import ../os-specific/linux/hdparm { inherit fetchurl stdenv; };