forked from mirrors/nixpkgs
Merge pull request #30167 from gnidorah/kmsxx
kmsxx and pykms: init at 2017-10-03
This commit is contained in:
commit
d7030f7576
29
pkgs/development/libraries/kmsxx/default.nix
Normal file
29
pkgs/development/libraries/kmsxx/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kmsxx-2017-10-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomba";
|
||||
repo = "kmsxx";
|
||||
fetchSubmodules = true;
|
||||
rev = "f32b82c17cd357ae1c8ed2636266113955293feb";
|
||||
sha256 = "14panqdqq83wh6wym5afdiyrr78mb12ga63pgrppj27kgv398yjj";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
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;
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ gnidorah ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -12312,6 +12312,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,8 @@ in {
|
|||
pika-pool = callPackage ../development/python-modules/pika-pool { };
|
||||
platformio = callPackage ../development/python-modules/platformio { };
|
||||
|
||||
kmsxx = callPackage ../development/libraries/kmsxx { };
|
||||
|
||||
pylibconfig2 = buildPythonPackage rec {
|
||||
name = "pylibconfig2-${version}";
|
||||
version = "0.2.4";
|
||||
|
|
Loading…
Reference in a new issue