lol
at 18.09-beta 31 lines 845 B view raw
1{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }: 2 3stdenv.mkDerivation rec { 4 pname = "kmsxx"; 5 version = "2017-10-10"; 6 name = pname + "-" + version; 7 8 src = fetchFromGitHub { 9 owner = "tomba"; 10 repo = "kmsxx"; 11 fetchSubmodules = true; 12 rev = "f32b82c17cd357ae1c8ed2636266113955293feb"; 13 sha256 = "14panqdqq83wh6wym5afdiyrr78mb12ga63pgrppj27kgv398yjj"; 14 }; 15 16 enableParallelBuilding = true; 17 18 nativeBuildInputs = [ cmake pkgconfig ]; 19 buildInputs = [ libdrm python ]; 20 21 pythonPath = [ ]; 22 passthru.python = python; 23 24 meta = with stdenv.lib; { 25 description = "C++11 library, utilities and python bindings for Linux kernel mode setting"; 26 homepage = https://github.com/tomba/kmsxx; 27 license = licenses.mpl20; 28 maintainers = with maintainers; [ gnidorah ]; 29 platforms = platforms.linux; 30 }; 31}