mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
31 lines
813 B
Nix
31 lines
813 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libdrm, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kmsxx";
|
|
version = "2018-10-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomba";
|
|
repo = "kmsxx";
|
|
fetchSubmodules = true;
|
|
rev = "c0093c91f0fa2fd6a5b9d1b206a6f44dcd55bfb5";
|
|
sha256 = "03rv92r938nxb4k4gwcvxy76jnhxdx6x60b58jws83285hd9rgkf";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|