Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.0 KiB
Nix
61 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
|
|
fetchFromGitLab,
|
|
|
|
cmake,
|
|
pkg-config,
|
|
|
|
libdrm,
|
|
libgbm,
|
|
libpciaccess,
|
|
llvmPackages,
|
|
nanomsg,
|
|
ncurses,
|
|
SDL2,
|
|
bash-completion,
|
|
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "umr";
|
|
version = "1.0.10";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.freedesktop.org";
|
|
owner = "tomstdenis";
|
|
repo = "umr";
|
|
rev = version;
|
|
hash = "sha256-i0pTcg1Y+G/nGZSbMtlg37z12gF4heitEl5L4gfVO9c=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libdrm
|
|
libgbm
|
|
libpciaccess
|
|
llvmPackages.llvm
|
|
nanomsg
|
|
ncurses
|
|
SDL2
|
|
|
|
bash-completion # Tries to create bash-completions in /var/empty otherwise?
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "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;
|
|
};
|
|
}
|