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