2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-12-15 17:52:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "numad-0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://git.fedorahosted.org/cgit/numad.git/snapshot/${name}.tar.xz";
|
|
|
|
sha256 = "08zd1yc3w00yv4mvvz5sq1gf91f6p2s9ljcd72m33xgnkglj60v4";
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|