8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 hash = "sha256-96j3Sw+Ts+CZzjPpUlt8cRYO5z0iASo+W/x1nrrAyQE=";
19 patches = [ ./pkg-config.patch ];
21 nativeBuildInputs = [ cmake ];
24 (lib.cmakeBool "AU_BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic)
25 (lib.cmakeBool "AU_BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
29 description = "Interface to all AMD AOCL libraries to access CPU features";
30 homepage = "https://github.com/amd/aocl-utils";
31 license = licenses.bsd3;
32 platforms = [ "x86_64-linux" ];
33 maintainers = [ maintainers.markuskowa ];