mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
21 lines
411 B
Nix
21 lines
411 B
Nix
|
{ stdenv, fetchgit
|
||
|
, x11, mesa
|
||
|
, 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;
|
||
|
|
||
|
buildInputs = [ x11 mesa ];
|
||
|
builder = ./builder.sh;
|
||
|
}
|