2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-12-15 18:52:13 +01: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 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-12-23 02:59:47 +01:00
|
|
|
|
2015-12-15 18:52:13 +01:00
|
|
|
patches = [
|
|
|
|
./numad-linker-flags.patch
|
|
|
|
];
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile --replace "install -m" "install -Dm"
|
|
|
|
'';
|
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2015-12-15 18:52:13 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-12-15 18:52:13 +01:00
|
|
|
description = "A user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource access";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://fedoraproject.org/wiki/Features/numad";
|
2015-12-15 18:52:13 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2016-05-17 13:57:28 +02:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2015-12-15 18:52:13 +01:00
|
|
|
};
|
|
|
|
}
|