nixpkgs-suyu/pkgs/tools/X11/primus/lib.nix

21 lines
429 B
Nix
Raw Normal View History

{ 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;
}