From 65e004b75775fa4e3d5f9a40be92e0655774b005 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Apr 2007 09:18:39 +0000 Subject: [PATCH] * Added kbd. svn path=/nixpkgs/trunk/; revision=8537 --- pkgs/os-specific/linux/kbd/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/os-specific/linux/kbd/default.nix diff --git a/pkgs/os-specific/linux/kbd/default.nix b/pkgs/os-specific/linux/kbd/default.nix new file mode 100644 index 000000000000..60a73b053b63 --- /dev/null +++ b/pkgs/os-specific/linux/kbd/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, bison, flex}: + +stdenv.mkDerivation { + name = "kbd-1.12"; + + src = fetchurl { + url = ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/kbd-1.12.tar.gz; + sha256 = "00z89kscfhvbsd3pxkqiw95p124zcka0pji5s5fa7ld7vd3ngg7k"; + }; + + buildInputs = [bison flex]; + + makeFlags = "setowner= "; +# preBuild = " +# makeFlagsArray=(sbindir=$out/sbin manprefix=$out) +# "; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 95f653023964..57cb50e3fdaa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2253,6 +2253,10 @@ rec { inherit fetchurl stdenv; }; + kbd = import ../os-specific/linux/kbd { + inherit fetchurl stdenv bison flex; + }; + kernelHeaders = import ../os-specific/linux/kernel-headers { inherit fetchurl stdenv; };