diff --git a/pkgs/by-name/ao/aocl-utils/package.nix b/pkgs/by-name/ao/aocl-utils/package.nix new file mode 100644 index 000000000000..622c62ee96d6 --- /dev/null +++ b/pkgs/by-name/ao/aocl-utils/package.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub, cmake } : + +stdenv.mkDerivation rec { + pname = "aocl-utils"; + version = "4.1"; + + src = fetchFromGitHub { + owner = "amd"; + repo = "aocl-utils"; + rev = version; + hash = "sha256-7Vc3kE+YfqIt6VfvSamsVQRemolzs1sNJUVUZFKk/O8="; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "Interface to all AMD AOCL libraries to access CPU features"; + homepage = "https://github.com/amd/aocl-utils"; + license = licenses.bsd3; + platforms = [ "x86_64-linux" ]; + maintainers = [ maintainers.markuskowa ]; + }; +}