kmsxx, pykms: suggestions by @FRidh
This commit is contained in:
		
							parent
							
								
									86ebd2e684
								
							
						
					
					
						commit
						cf4a2bb111
					
				@ -1,4 +1,4 @@
 | 
			
		||||
{ stdenv, fetchgit, cmake, pkgconfig, libdrm, pythonBindings ? null }:
 | 
			
		||||
{ stdenv, fetchgit, cmake, pkgconfig, libdrm, python }:
 | 
			
		||||
 | 
			
		||||
stdenv.mkDerivation rec {
 | 
			
		||||
  name = "kmsxx-2017-10-03";
 | 
			
		||||
@ -12,10 +12,11 @@ stdenv.mkDerivation rec {
 | 
			
		||||
 | 
			
		||||
  enableParallelBuilding = true;
 | 
			
		||||
 | 
			
		||||
  cmakeFlags = stdenv.lib.optionalString (pythonBindings == null) [ "-DKMSXX_ENABLE_PYTHON=OFF" ];
 | 
			
		||||
 | 
			
		||||
  nativeBuildInputs = [ cmake pkgconfig ];
 | 
			
		||||
  buildInputs = [ libdrm ] ++ stdenv.lib.optional (pythonBindings != null) pythonBindings;
 | 
			
		||||
  buildInputs = [ libdrm python ];
 | 
			
		||||
 | 
			
		||||
  pythonPath = [ ];
 | 
			
		||||
  passthru.python = python;
 | 
			
		||||
 | 
			
		||||
  meta = with stdenv.lib; {
 | 
			
		||||
    description = "C++11 library, utilities and python bindings for Linux kernel mode setting";
 | 
			
		||||
 | 
			
		||||
@ -15604,9 +15604,7 @@ in {
 | 
			
		||||
  pika-pool = callPackage ../development/python-modules/pika-pool { };
 | 
			
		||||
  platformio = callPackage ../development/python-modules/platformio { };
 | 
			
		||||
 | 
			
		||||
  pykms = callPackage ../development/libraries/kmsxx {
 | 
			
		||||
    pythonBindings = python;
 | 
			
		||||
  };
 | 
			
		||||
  pykms = callPackage ../development/libraries/kmsxx { };
 | 
			
		||||
 | 
			
		||||
  pylibconfig2 = buildPythonPackage rec {
 | 
			
		||||
    name = "pylibconfig2-${version}";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user