Merge pull request #281348 from Atemu/update/umr

umr: unstable-2022-08-23 -> 1.0.8
This commit is contained in:
Atemu 2024-01-31 16:49:10 +01:00 committed by GitHub
commit cdd4f2ac1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 13 deletions

View File

@ -1,28 +1,50 @@
{ lib, stdenv, fetchgit, bash-completion, cmake, pkg-config
, json_c, libdrm, libpciaccess, llvmPackages, nanomsg, ncurses, SDL2
{ lib
, stdenv
, fetchFromGitLab
, cmake
, pkg-config
, libdrm
, mesa # libgbm
, libpciaccess
, llvmPackages
, nanomsg
, ncurses
, SDL2
, bash-completion
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "umr";
version = "unstable-2022-08-23";
version = "1.0.8";
src = fetchgit {
url = "https://gitlab.freedesktop.org/tomstdenis/umr";
rev = "87f814b1ffdbac8bfddd8529d344a7901cd7e112";
hash = "sha256-U1VP1AicSGWzBwzz99i7+3awATZocw5jaqtAxuRNaBE=";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "tomstdenis";
repo = "umr";
rev = version;
hash = "sha256-ODkTYHDrKWNvjiEeIyfsCByf7hyr5Ps9ytbKb3253bU=";
};
nativeBuildInputs = [ cmake pkg-config llvmPackages.llvm.dev ];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
bash-completion
json_c
libdrm
mesa
libpciaccess
llvmPackages.llvm
nanomsg
ncurses
SDL2
bash-completion # Tries to create bash-completions in /var/empty otherwise?
];
# Remove static libraries (there are no dynamic libraries in there)
@ -30,6 +52,8 @@ stdenv.mkDerivation rec {
rm -r $out/lib
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A userspace debugging and diagnostic tool for AMD GPUs";
homepage = "https://gitlab.freedesktop.org/tomstdenis/umr";

View File

@ -18151,9 +18151,7 @@ with pkgs;
publii = callPackage ../development/web/publii {};
umr = callPackage ../development/misc/umr {
llvmPackages = llvmPackages_14;
};
umr = callPackage ../development/misc/umr { };
refurb = callPackage ../development/tools/refurb { };