2021-10-15 03:11:42 +00:00
|
|
|
{ lib, stdenv, fetchgit }:
|
2015-12-15 17:52:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-27 14:47:49 +00:00
|
|
|
pname = "numad";
|
|
|
|
version = "0.5";
|
2015-12-15 17:52:13 +00:00
|
|
|
|
2021-10-15 03:11:42 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://pagure.io/numad.git";
|
|
|
|
rev = "334278ff3d774d105939743436d7378a189e8693";
|
|
|
|
sha256 = "sha256-6nrbfooUI1ufJhsPf68li5584oKQcznXQlxfpStuX5I=";
|
2015-12-15 17:52:13 +00:00
|
|
|
};
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-12-23 01:59:47 +00:00
|
|
|
|
2015-12-15 17:52:13 +00:00
|
|
|
patches = [
|
|
|
|
./numad-linker-flags.patch
|
|
|
|
];
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile --replace "install -m" "install -Dm"
|
|
|
|
'';
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2015-12-15 17:52:13 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-12-15 17:52:13 +00:00
|
|
|
description = "A user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource access";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://fedoraproject.org/wiki/Features/numad";
|
2015-12-15 17:52:13 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2021-03-03 10:50:26 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-12-15 17:52:13 +00:00
|
|
|
};
|
|
|
|
}
|