diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-05-05 11:49:03 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-05-05 11:49:03 +0200 |
commit | 375bc8def7c17506bc10f3b6193635f05d5ccc40 (patch) | |
tree | 6af7662b245e7998bd18ae20d9e74922c489fb6d /pkgs/os-specific/linux/numactl/default.nix | |
parent | 2f75c6845981b38a698cf1a9f620145877c80956 (diff) | |
parent | 7f9ccc628403ed88844a4436da3b2944be5560a4 (diff) | |
download | nixlib-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar nixlib-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.gz nixlib-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.bz2 nixlib-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.lz nixlib-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.xz nixlib-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.zst nixlib-375bc8def7c17506bc10f3b6193635f05d5ccc40.zip |
Merge staging into closure-size
Diffstat (limited to 'pkgs/os-specific/linux/numactl/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/numactl/default.nix | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/pkgs/os-specific/linux/numactl/default.nix b/pkgs/os-specific/linux/numactl/default.nix index b92408058657..d895a9600106 100644 --- a/pkgs/os-specific/linux/numactl/default.nix +++ b/pkgs/os-specific/linux/numactl/default.nix @@ -1,26 +1,20 @@ -{ fetchurl, stdenv }: +{ stdenv, fetchurl, autoreconfHook }: stdenv.mkDerivation rec { - name = "numactl-1.0.2"; + name = "numactl-2.0.10"; + src = fetchurl { url = "ftp://oss.sgi.com/www/projects/libnuma/download/${name}.tar.gz"; - sha256 = "0hbrrh7a8cradj1xdl3wvyp9afx1hzsk90g2lkwd5pn6bniai31j"; + sha256 = "0qfv2ks6d3gm0mw5sj4cbhsd7cbsb7qm58xvchl2wfzifkzcinnv"; }; - patchPhase = '' - sed -i "Makefile" -es"|^ *prefix *:=.*$|prefix := $out|g" - ''; - - preInstall = '' - # The `install' rule expects this directory to be available. - mkdir -p "$out/share/man/man5" - ''; + nativeBuildInputs = [ autoreconfHook ]; - meta = { + meta = with stdenv.lib; { 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/; + license = licenses.gpl2; + platforms = with platforms; linux; + maintainers = with maintainers; [ wkennington ]; }; } |