summary refs log tree commit diff
path: root/pkgs/os-specific/linux/numactl
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-04-20 14:52:51 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-04-21 20:57:58 -0700
commitc6d0acbda74712c171f46e1064dd69df64d27df7 (patch)
treefb8a2d474875c64790225def7db63d9e43fa54ef /pkgs/os-specific/linux/numactl
parentb090b10d686bb10900f9aad273a2c5c3751ff8e8 (diff)
downloadnixpkgs-c6d0acbda74712c171f46e1064dd69df64d27df7.tar
nixpkgs-c6d0acbda74712c171f46e1064dd69df64d27df7.tar.gz
nixpkgs-c6d0acbda74712c171f46e1064dd69df64d27df7.tar.bz2
nixpkgs-c6d0acbda74712c171f46e1064dd69df64d27df7.tar.lz
nixpkgs-c6d0acbda74712c171f46e1064dd69df64d27df7.tar.xz
nixpkgs-c6d0acbda74712c171f46e1064dd69df64d27df7.tar.zst
nixpkgs-c6d0acbda74712c171f46e1064dd69df64d27df7.zip
numactl: 1.0.2 -> 2.0.10
Diffstat (limited to 'pkgs/os-specific/linux/numactl')
-rw-r--r--pkgs/os-specific/linux/numactl/default.nix24
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 b9240805865..d895a960010 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 ];
   };
 }