about summary refs log tree commit diff
path: root/pkgs/by-name/ao
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@gmail.com>2023-10-05 23:47:42 +0200
committerMarkus Kowalewski <markus.kowalewski@gmail.com>2023-10-06 10:34:01 +0200
commite6595dc7d48ef57e695d1a1b2dce329ff30794ad (patch)
tree644a9cc9fc0cf2c418fe0135ff10c3e95edb393d /pkgs/by-name/ao
parent75565166d67449ecfbb132d81da9e3a4bef29dc3 (diff)
aocl-utils: init at 4.1
Diffstat (limited to 'pkgs/by-name/ao')
-rw-r--r--pkgs/by-name/ao/aocl-utils/package.nix23
1 files changed, 23 insertions, 0 deletions
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 0000000000000..622c62ee96d65
--- /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 ];
+  };
+}