mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 02:24:30 +00:00

nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
861 B
Nix
33 lines
861 B
Nix
{ lib, stdenv, fetchgit }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "numad";
|
|
version = "0.5";
|
|
|
|
src = fetchgit {
|
|
url = "https://pagure.io/numad.git";
|
|
rev = "334278ff3d774d105939743436d7378a189e8693";
|
|
sha256 = "sha256-6nrbfooUI1ufJhsPf68li5584oKQcznXQlxfpStuX5I=";
|
|
};
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
patches = [
|
|
./numad-linker-flags.patch
|
|
];
|
|
postPatch = ''
|
|
substituteInPlace Makefile --replace "install -m" "install -Dm"
|
|
'';
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "User-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource access";
|
|
mainProgram = "numad";
|
|
homepage = "https://fedoraproject.org/wiki/Features/numad";
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|