summary refs log tree commit diff
path: root/pkgs/os-specific/linux/numactl
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-04-18 14:38:27 +0000
committerLudovic Courtès <ludo@gnu.org>2008-04-18 14:38:27 +0000
commitaaf6f7b7e4f3228f1694f31f4b1ed313baa736b2 (patch)
tree97443bdc7ec0ad605fbf5f6ca74c6c5cc7f176b7 /pkgs/os-specific/linux/numactl
parent7ea8e8a363c65f57b71bb656a41ae0e1fcb6e24a (diff)
downloadnixpkgs-aaf6f7b7e4f3228f1694f31f4b1ed313baa736b2.tar
nixpkgs-aaf6f7b7e4f3228f1694f31f4b1ed313baa736b2.tar.gz
nixpkgs-aaf6f7b7e4f3228f1694f31f4b1ed313baa736b2.tar.bz2
nixpkgs-aaf6f7b7e4f3228f1694f31f4b1ed313baa736b2.tar.lz
nixpkgs-aaf6f7b7e4f3228f1694f31f4b1ed313baa736b2.tar.xz
nixpkgs-aaf6f7b7e4f3228f1694f31f4b1ed313baa736b2.tar.zst
nixpkgs-aaf6f7b7e4f3228f1694f31f4b1ed313baa736b2.zip
Add numactl/libnuma, Linux-specific NUMA support tools.
svn path=/nixpkgs/trunk/; revision=11656
Diffstat (limited to 'pkgs/os-specific/linux/numactl')
-rw-r--r--pkgs/os-specific/linux/numactl/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/numactl/default.nix b/pkgs/os-specific/linux/numactl/default.nix
new file mode 100644
index 00000000000..1d7f5103b66
--- /dev/null
+++ b/pkgs/os-specific/linux/numactl/default.nix
@@ -0,0 +1,21 @@
+{ fetchurl, stdenv }:
+
+stdenv.mkDerivation rec {
+  name = "numactl-1.0.2";
+  src = fetchurl {
+    url = "ftp://oss.sgi.com/www/projects/libnuma/download/${name}.tar.gz";
+    sha256 = "0hbrrh7a8cradj1xdl3wvyp9afx1hzsk90g2lkwd5pn6bniai31j";
+  };
+
+  patchPhase = ''
+    sed -i "Makefile" -es"|^ *prefix *:=.*$|prefix := $out|g"
+  '';
+
+  meta = {
+    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/;
+  };
+}