Merge pull request #194309 from gbtb/nvtop_204

nvtop: 2.0.3->2.0.4
This commit is contained in:
Vlad M 2022-10-04 19:42:37 +03:00 committed by GitHub
commit be22a05cfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,23 +25,15 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nvtop" + pname-suffix; pname = "nvtop" + pname-suffix;
version = "2.0.3"; version = "2.0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Syllo"; owner = "Syllo";
repo = "nvtop"; repo = "nvtop";
rev = version; rev = version;
sha256 = "sha256-LhVgNU2OSM7fOUUQHYJhKhjE0fkFvYC3FIJFgu6T68Q="; sha256 = "sha256-WOXVmKnVNRjWqShbOUZ0Z4hd0m9njLmCGLnV9FBS3Us=";
}; };
#this patch should be fine to remove with next version update
patches = [
(fetchpatch {
url = "https://github.com/Syllo/nvtop/commit/663a69f1c9038eabdfc3155112fb9b8d662578aa.diff";
sha256 = "sha256-/EJlr5b+kZnHm9UxythYreJvO+Ma+1sUI3KLBQFCCmc=";
})
];
cmakeFlags = with lib; [ cmakeFlags = with lib; [
"-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release"
"-DBUILD_TESTING=ON" "-DBUILD_TESTING=ON"