2014-05-03 16:28:21 +02:00
|
|
|
{ stdenv, fetchgit
|
2015-09-15 11:13:22 +02:00
|
|
|
, xlibsWrapper, mesa
|
2014-05-03 16:28:21 +02:00
|
|
|
, nvidia
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
version = "1.0.0748176";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "primus-lib-${version}";
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://github.com/amonakov/primus.git;
|
|
|
|
rev = "074817614c014e3a99259388cb18fd54648b659a";
|
|
|
|
sha256 = "0mrh432md6zrm16avxyk57mgszrqpgwdjahspchvlaccqxp3x82v";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit nvidia mesa;
|
|
|
|
|
2015-09-15 11:13:22 +02:00
|
|
|
buildInputs = [ xlibsWrapper mesa ];
|
2014-05-03 16:28:21 +02:00
|
|
|
builder = ./builder.sh;
|
|
|
|
}
|