mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
Merge pull request #281348 from Atemu/update/umr
umr: unstable-2022-08-23 -> 1.0.8
This commit is contained in:
commit
cdd4f2ac1b
@ -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";
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user