1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "numad-0.5";
5
6 src = fetchurl {
7 url = "https://git.fedorahosted.org/cgit/numad.git/snapshot/${name}.tar.xz";
8 sha256 = "08zd1yc3w00yv4mvvz5sq1gf91f6p2s9ljcd72m33xgnkglj60v4";
9 };
10
11 patches = [
12 ./numad-linker-flags.patch
13 ];
14 postPatch = ''
15 substituteInPlace Makefile --replace "install -m" "install -Dm"
16 '';
17
18 makeFlags = "prefix=$(out)";
19
20 meta = with stdenv.lib; {
21 description = "A user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource access";
22 homepage = https://fedoraproject.org/wiki/Features/numad;
23 license = licenses.lgpl21;
24 platforms = platforms.linux;
25 maintainers = with maintainers; [ iElectric ];
26 };
27}