kmsxx and pykms: init at 2017-10-03
This commit is contained in:
parent
ab2cc75f78
commit
86ebd2e684
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchgit, cmake, pkgconfig, libdrm, pythonBindings ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kmsxx-2017-10-03";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/tomba/kmsxx";
|
||||
fetchSubmodules = true;
|
||||
rev = "35d54fdddd6d7add49efbb0d9dec30816de96c90";
|
||||
sha256 = "144gjqz6bxsn4j7k8q8309ph9czmr8rd4vzwfayw3airplnz5zka";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
cmakeFlags = stdenv.lib.optionalString (pythonBindings == null) [ "-DKMSXX_ENABLE_PYTHON=OFF" ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ libdrm ] ++ stdenv.lib.optional (pythonBindings != null) pythonBindings;
|
||||
|
||||
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;
|
||||
maintainers = [ maintainers.gnidorah ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -12310,6 +12310,8 @@ with pkgs;
|
|||
|
||||
kmscube = callPackage ../os-specific/linux/kmscube { };
|
||||
|
||||
kmsxx = callPackage ../development/libraries/kmsxx { };
|
||||
|
||||
latencytop = callPackage ../os-specific/linux/latencytop { };
|
||||
|
||||
ldm = callPackage ../os-specific/linux/ldm { };
|
||||
|
|
|
@ -15604,6 +15604,10 @@ in {
|
|||
pika-pool = callPackage ../development/python-modules/pika-pool { };
|
||||
platformio = callPackage ../development/python-modules/platformio { };
|
||||
|
||||
pykms = callPackage ../development/libraries/kmsxx {
|
||||
pythonBindings = python;
|
||||
};
|
||||
|
||||
pylibconfig2 = buildPythonPackage rec {
|
||||
name = "pylibconfig2-${version}";
|
||||
version = "0.2.4";
|
||||
|
|
Loading…
Reference in New Issue