1{ lib, stdenv, fetchgit }:
2
3stdenv.mkDerivation rec {
4 pname = "numad";
5 version = "0.5";
6
7 src = fetchgit {
8 url = "https://pagure.io/numad.git";
9 rev = "334278ff3d774d105939743436d7378a189e8693";
10 sha256 = "sha256-6nrbfooUI1ufJhsPf68li5584oKQcznXQlxfpStuX5I=";
11 };
12
13 hardeningDisable = [ "format" ];
14
15 patches = [
16 ./numad-linker-flags.patch
17 ];
18 postPatch = ''
19 substituteInPlace Makefile --replace "install -m" "install -Dm"
20 '';
21
22 makeFlags = [ "prefix=$(out)" ];
23
24 meta = with lib; {
25 description = "A user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource access";
26 homepage = "https://fedoraproject.org/wiki/Features/numad";
27 license = licenses.lgpl21;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ ];
30 };
31}