nixpkgs-suyu/pkgs/development/misc/umr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1,013 B
Nix
Raw Normal View History

2020-02-19 16:40:00 +01:00
{ lib, stdenv, fetchgit, bash-completion, cmake, pkg-config
, json_c, libdrm, libpciaccess, llvmPackages, nanomsg, ncurses, SDL2
2020-02-19 16:40:00 +01:00
}:
stdenv.mkDerivation rec {
pname = "umr";
version = "unstable-2022-08-23";
2020-02-19 16:40:00 +01:00
src = fetchgit {
url = "https://gitlab.freedesktop.org/tomstdenis/umr";
rev = "87f814b1ffdbac8bfddd8529d344a7901cd7e112";
hash = "sha256-U1VP1AicSGWzBwzz99i7+3awATZocw5jaqtAxuRNaBE=";
2020-02-19 16:40:00 +01:00
};
2021-05-09 01:30:09 +02:00
nativeBuildInputs = [ cmake pkg-config llvmPackages.llvm.dev ];
2020-02-19 16:40:00 +01:00
buildInputs = [
bash-completion
json_c
2020-02-19 16:40:00 +01:00
libdrm
libpciaccess
llvmPackages.llvm
nanomsg
2020-02-19 16:40:00 +01:00
ncurses
SDL2
2020-02-19 16:40:00 +01:00
];
# 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;
};
}