2021-10-15 05:11:42 +02:00
|
|
|
{ lib, stdenv, fetchgit }:
|
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
|
|
|
|
2021-10-15 05:11:42 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://pagure.io/numad.git";
|
|
|
|
rev = "334278ff3d774d105939743436d7378a189e8693";
|
|
|
|
sha256 = "sha256-6nrbfooUI1ufJhsPf68li5584oKQcznXQlxfpStuX5I=";
|
2015-12-15 18:52:13 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|