2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-12-15 18:52:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-27 16:47:49 +02:00
|
|
|
pname = "numad";
|
|
|
|
version = "0.5";
|
2015-12-15 18:52:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-27 16:47:49 +02:00
|
|
|
url = "https://git.fedorahosted.org/cgit/numad.git/snapshot/numad-${version}.tar.xz";
|
2015-12-15 18:52:13 +01:00
|
|
|
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;
|
2021-03-03 11:50:26 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-12-15 18:52:13 +01:00
|
|
|
};
|
|
|
|
}
|