numactl: 1.0.2 -> 2.0.10

This commit is contained in:
William A. Kennington III 2015-04-20 14:52:51 -07:00
parent b090b10d68
commit c6d0acbda7

View File

@ -1,26 +1,20 @@
{ fetchurl, stdenv }: { stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "numactl-1.0.2"; name = "numactl-2.0.10";
src = fetchurl { src = fetchurl {
url = "ftp://oss.sgi.com/www/projects/libnuma/download/${name}.tar.gz"; url = "ftp://oss.sgi.com/www/projects/libnuma/download/${name}.tar.gz";
sha256 = "0hbrrh7a8cradj1xdl3wvyp9afx1hzsk90g2lkwd5pn6bniai31j"; sha256 = "0qfv2ks6d3gm0mw5sj4cbhsd7cbsb7qm58xvchl2wfzifkzcinnv";
}; };
patchPhase = '' nativeBuildInputs = [ autoreconfHook ];
sed -i "Makefile" -es"|^ *prefix *:=.*$|prefix := $out|g"
'';
preInstall = '' meta = with stdenv.lib; {
# The `install' rule expects this directory to be available.
mkdir -p "$out/share/man/man5"
'';
meta = {
description = "Library and tools for non-uniform memory access (NUMA) machines"; description = "Library and tools for non-uniform memory access (NUMA) machines";
license = [ "LGPLv2.1" # library
"GPLv2" # command-line tools
];
homepage = http://oss.sgi.com/projects/libnuma/; homepage = http://oss.sgi.com/projects/libnuma/;
license = licenses.gpl2;
platforms = with platforms; linux;
maintainers = with maintainers; [ wkennington ];
}; };
} }