summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorFlakebi <flakebi@t-online.de>2020-02-19 16:40:00 +0100
committerSebastian Neubauer <sebastian.neubauer@amd.com>2021-03-01 17:15:54 +0100
commite6b86a37eb2e56e5c8c0662a4c43e6956a70f437 (patch)
treea6e3e5796245f2cf84584896a2fd271d00598ea3 /pkgs/development/misc
parentd84668403ace451578ba6608e97e20968216f633 (diff)
downloadnixpkgs-e6b86a37eb2e56e5c8c0662a4c43e6956a70f437.tar
nixpkgs-e6b86a37eb2e56e5c8c0662a4c43e6956a70f437.tar.gz
nixpkgs-e6b86a37eb2e56e5c8c0662a4c43e6956a70f437.tar.bz2
nixpkgs-e6b86a37eb2e56e5c8c0662a4c43e6956a70f437.tar.lz
nixpkgs-e6b86a37eb2e56e5c8c0662a4c43e6956a70f437.tar.xz
nixpkgs-e6b86a37eb2e56e5c8c0662a4c43e6956a70f437.tar.zst
nixpkgs-e6b86a37eb2e56e5c8c0662a4c43e6956a70f437.zip
umr: init at unstable-2021-02-18
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r--pkgs/development/misc/umr/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/misc/umr/default.nix b/pkgs/development/misc/umr/default.nix
new file mode 100644
index 00000000000..158cef2eed1
--- /dev/null
+++ b/pkgs/development/misc/umr/default.nix
@@ -0,0 +1,37 @@
+{ lib, stdenv, fetchgit, bash-completion, cmake, pkg-config
+, libdrm, libpciaccess, llvmPackages, ncurses
+}:
+
+stdenv.mkDerivation rec {
+  pname = "umr";
+  version = "unstable-2021-02-18";
+
+  src = fetchgit {
+    url = "https://gitlab.freedesktop.org/tomstdenis/umr";
+    rev = "79e17f8f2807ed707fc1be369d0aad536f6dbc97";
+    sha256 = "IwTkHEuJ82hngPjFVIihU2rSolLBqHxQTNsP8puYPaY=";
+  };
+
+  nativeBuildInputs = [ cmake pkg-config ];
+
+  buildInputs = [
+    bash-completion
+    libdrm
+    libpciaccess
+    llvmPackages.llvm
+    ncurses
+  ];
+
+  # Remove static libraries (there are no dynamic libraries in there)
+  postInstall = ''
+    rm -r $out/lib
+  '';
+
+  meta = with lib; {
+    description = "A userspace debugging and diagnostic tool for AMD GPUs";
+    homepage = "https://gitlab.freedesktop.org/tomstdenis/umr";
+    license = licenses.mit;
+    maintainers = with maintainers; [ Flakebi ];
+    platforms = platforms.linux;
+ };
+}