Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 33 lines 895 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "numactl"; 5 version = "2.0.18"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = pname; 10 rev = "v${version}"; 11 hash = "sha256-ry29RUNa0Hv5gIhy2RTVT94mHhgfdIwb5aqjBycxxj0="; 12 }; 13 14 outputs = [ "out" "dev" "man" ]; 15 16 nativeBuildInputs = [ autoreconfHook ]; 17 18 postPatch = '' 19 patchShebangs test 20 ''; 21 22 # You probably shouldn't ever run these! They will reconfigure Linux 23 # NUMA settings, which on my build machine makes the rest of package 24 # building ~5% slower until reboot. Ugh! 25 doCheck = false; # never ever! 26 27 meta = with lib; { 28 description = "Library and tools for non-uniform memory access (NUMA) machines"; 29 homepage = "https://github.com/numactl/numactl"; 30 license = with licenses; [ gpl2Only lgpl21 ]; # libnuma is lgpl21 31 platforms = platforms.linux; 32 }; 33}