mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
libdrm: update and add valgrind dependency
I couldn't find an easy way around this new build-time dependency, unfortunately. It creates some new mass-rebuild chains...
This commit is contained in:
parent
2ad250f4fa
commit
6437b2108d
@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, udev }:
|
||||
{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, udev, valgrind }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libdrm-2.4.61";
|
||||
name = "libdrm-2.4.62";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
||||
sha256 = "8b549092c8961a393a7e1d9a1bccddcea8e2af67c0d7d7c67babb9fc3b47699c";
|
||||
sha256 = "906c294bdbe1c94c3ca084305d61a6e5a8367f3b4986e6cc13b1e9b3f75931dc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libpthreadstubs libpciaccess ]
|
||||
buildInputs = [ libpthreadstubs libpciaccess valgrind ]
|
||||
++ stdenv.lib.optional stdenv.isLinux udev;
|
||||
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./libdrm-apple.patch;
|
||||
|
Loading…
Reference in New Issue
Block a user