nixpkgs-suyu/pkgs/development/libraries/kmsxx/default.nix

31 lines
809 B
Nix
Raw Normal View History

2017-10-12 17:01:37 +02:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }:
2017-10-06 22:17:14 +02:00
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
pname = "kmsxx";
2019-01-11 19:41:54 +01:00
version = "2018-10-23";
2017-10-06 22:17:14 +02:00
2017-10-12 17:01:37 +02:00
src = fetchFromGitHub {
owner = "tomba";
repo = "kmsxx";
2017-10-06 22:17:14 +02:00
fetchSubmodules = true;
2019-01-11 19:41:54 +01:00
rev = "c0093c91f0fa2fd6a5b9d1b206a6f44dcd55bfb5";
sha256 = "03rv92r938nxb4k4gwcvxy76jnhxdx6x60b58jws83285hd9rgkf";
2017-10-06 22:17:14 +02:00
};
enableParallelBuilding = true;
nativeBuildInputs = [ cmake pkgconfig ];
2017-10-08 13:47:25 +02:00
buildInputs = [ libdrm python ];
pythonPath = [ ];
passthru.python = python;
2017-10-06 22:17:14 +02:00
meta = with stdenv.lib; {
description = "C++11 library, utilities and python bindings for Linux kernel mode setting";
homepage = https://github.com/tomba/kmsxx;
license = licenses.mpl20;
2017-10-12 17:01:37 +02:00
maintainers = with maintainers; [ gnidorah ];
2017-10-06 22:17:14 +02:00
platforms = platforms.linux;
};
}