nixpkgs/pkgs/tools/X11/primus/lib.nix
Vladimír Čunát 21e3ff658a x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs
before this set of refactoring. But that config wasn't even used by
default.
2015-09-15 12:08:24 +02:00

20 lines
429 B
Nix

{ stdenv, fetchgit
, xlibsWrapper, 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 = [ xlibsWrapper mesa ];
builder = ./builder.sh;
}