From 018da5fbc292ec091d44051d5354ff9e9fbca463 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 1 Nov 2005 20:27:57 +0000 Subject: [PATCH] * Added libdrm, required by the X Server. svn path=/nixpkgs/trunk/; revision=4184 --- pkgs/development/libraries/libdrm/default.nix | 9 +++++++++ pkgs/system/all-packages-generic.nix | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/libdrm/default.nix diff --git a/pkgs/development/libraries/libdrm/default.nix b/pkgs/development/libraries/libdrm/default.nix new file mode 100644 index 000000000000..78ca77eb6bf0 --- /dev/null +++ b/pkgs/development/libraries/libdrm/default.nix @@ -0,0 +1,9 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "libdrm-1.0.5"; + src = fetchurl { + url = http://dri.freedesktop.org/libdrm/libdrm-1.0.5.tar.gz; + md5 = "e31257237969d5fc2c9e9eb4ad8110cf"; + }; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 40ce7a9febec..59931f30bf12 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -989,6 +989,14 @@ rec { inherit fetchurl stdenv pkgconfig freetype expat; }; +# Xaw3d = import ../development/libraries/Xaw3d { +# inherit fetchurl stdenv; +# }; + + libdrm = import ../development/libraries/libdrm { + inherit fetchurl stdenv; + }; + mesa = (import ../development/libraries/mesa) { inherit fetchurl stdenv xlibs; };