{ stdenv, fetchFromGitHub , cmake }: stdenv.mkDerivation rec { pname = "intel-gmmlib"; version = "20.2.3"; src = fetchFromGitHub { owner = "intel"; repo = "gmmlib"; rev = "${pname}-${version}"; sha256 = "1gsjcsad70pxafhw0jhxdrnfqwv8ffp5sawbgylvc009jlzxh5l8"; }; nativeBuildInputs = [ cmake ]; meta = with stdenv.lib; { homepage = "https://github.com/intel/gmmlib"; license = licenses.mit; description = "Intel Graphics Memory Management Library"; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ jfrankenau ]; }; }