kmsxx: 2018-10-23 -> 2019-10-28
This commit is contained in:
parent
f7c032ee00
commit
34647cf35b
@ -1,25 +1,25 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }:
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm
|
||||||
|
, withPython ? false, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "kmsxx";
|
pname = "kmsxx";
|
||||||
version = "2018-10-23";
|
version = "2019-10-28";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tomba";
|
owner = "tomba";
|
||||||
repo = "kmsxx";
|
repo = "kmsxx";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
rev = "c0093c91f0fa2fd6a5b9d1b206a6f44dcd55bfb5";
|
rev = "d29da28c7f2a0212d834136fe64fb8ca96a0a235";
|
||||||
sha256 = "03rv92r938nxb4k4gwcvxy76jnhxdx6x60b58jws83285hd9rgkf";
|
sha256 = "0r94qjyy3s36s32s1xkzij0g2pfwigmyrshw8ni2xli7mg87g1zm";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
cmakeFlags = stdenv.lib.optional (!withPython) "-DKMSXX_ENABLE_PYTHON=OFF";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
buildInputs = [ libdrm python ];
|
buildInputs = [ libdrm python ];
|
||||||
|
|
||||||
pythonPath = [ ];
|
|
||||||
passthru.python = python;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "C++11 library, utilities and python bindings for Linux kernel mode setting";
|
description = "C++11 library, utilities and python bindings for Linux kernel mode setting";
|
||||||
homepage = https://github.com/tomba/kmsxx;
|
homepage = https://github.com/tomba/kmsxx;
|
||||||
|
@ -15923,9 +15923,7 @@ in
|
|||||||
|
|
||||||
kmscube = callPackage ../os-specific/linux/kmscube { };
|
kmscube = callPackage ../os-specific/linux/kmscube { };
|
||||||
|
|
||||||
kmsxx = callPackage ../development/libraries/kmsxx {
|
kmsxx = callPackage ../development/libraries/kmsxx { };
|
||||||
stdenv = gcc6Stdenv;
|
|
||||||
};
|
|
||||||
|
|
||||||
latencytop = callPackage ../os-specific/linux/latencytop { };
|
latencytop = callPackage ../os-specific/linux/latencytop { };
|
||||||
|
|
||||||
|
@ -4322,12 +4322,13 @@ in {
|
|||||||
|
|
||||||
kmapper = callPackage ../development/python-modules/kmapper { };
|
kmapper = callPackage ../development/python-modules/kmapper { };
|
||||||
|
|
||||||
kmsxx = (callPackage ../development/libraries/kmsxx {
|
kmsxx = toPythonModule ((callPackage ../development/libraries/kmsxx {
|
||||||
inherit (pkgs.kmsxx) stdenv;
|
inherit (pkgs.kmsxx) stdenv;
|
||||||
inherit (pkgs) pkgconfig;
|
inherit (pkgs) pkgconfig;
|
||||||
|
withPython = true;
|
||||||
}).overrideAttrs (oldAttrs: {
|
}).overrideAttrs (oldAttrs: {
|
||||||
name = "${python.libPrefix}-${pkgs.kmsxx.name}";
|
name = "${python.libPrefix}-${pkgs.kmsxx.name}";
|
||||||
});
|
}));
|
||||||
|
|
||||||
precis-i18n = callPackage ../development/python-modules/precis-i18n { };
|
precis-i18n = callPackage ../development/python-modules/precis-i18n { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user