git.iko.soy/typeable/nixpkgs
on master help sign in
hwloc: 1.11.2 -> 1.11.6 (#23870)
commit64218d61fc0b66722b1c97bab07cd1569d2d0471 authorndowens <ndowens04@gmail.com> dateMon 13 Mar 2017, 18:44 (10 years ago) parentbfed19c
1 file changed+9−10
pkgs/development/libraries/hwloc/default.nix+9−10
pkgs/development/libraries/hwloc/default.nix+9−10
@@ -1,12 +1,14 @@
11{ stdenv, fetchurl, pkgconfig, cairo, expat, ncurses, libX11
22, pciutils, numactl }:
33
4+with stdenv.lib;
5+
46stdenv.mkDerivation rec {
5− name = "hwloc-1.11.2";
7+ name = "hwloc-1.11.6";
68
79 src = fetchurl {
810 url = "http://www.open-mpi.org/software/hwloc/v1.11/downloads/${name}.tar.bz2";
9− sha1 = "3d68de060808f04349538be4e63cde501cd53b0a";
11+ sha256 = "1yl7dm2qplwmnidd712zy12qfvxk28k8ccs694n42ybwdjwzg1bn";
1012 };
1113
1214 # XXX: libX11 is not directly needed, but needed as a propagated dep of Cairo.
@@ -16,17 +18,17 @@ stdenv.mkDerivation rec {
1618 # derivation and set optional dependencies to `null'.
1719 buildInputs = stdenv.lib.filter (x: x != null)
1820 ([ expat ncurses ]
19− ++ (stdenv.lib.optionals (!stdenv.isCygwin) [ cairo libX11 ])
20− ++ (stdenv.lib.optionals stdenv.isLinux [ numactl ]));
21+ ++ (optionals (!stdenv.isCygwin) [ cairo libX11 ])
22+ ++ (optionals stdenv.isLinux [ numactl ]));
2123
2224 propagatedBuildInputs =
2325 # Since `libpci' appears in `hwloc.pc', it must be propagated.
24− stdenv.lib.optional stdenv.isLinux pciutils;
26+ optional stdenv.isLinux pciutils;
2527
2628 enableParallelBuilding = true;
2729
2830 postInstall =
29− stdenv.lib.optionalString (stdenv.isLinux && numactl != null)
31+ optionalString (stdenv.isLinux && numactl != null)
3032 '' if [ -d "${numactl}/lib64" ]
3133 then
3234 numalibdir="${numactl}/lib64"
@@ -43,9 +45,8 @@ stdenv.mkDerivation rec {
4345 # fail on some build machines.
4446 doCheck = false;
4547
46− meta = with stdenv.lib; {
48+ meta = {
4749 description = "Portable abstraction of hierarchical architectures for high-performance computing";
48−
4950 longDescription = ''
5051 hwloc provides a portable abstraction (across OS,
5152 versions, architectures, ...) of the hierarchical topology of
@@ -64,9 +65,7 @@ stdenv.mkDerivation rec {
6465
6566 # http://www.open-mpi.org/projects/hwloc/license.php
6667 license = licenses.bsd3;
67−
6868 homepage = http://www.open-mpi.org/projects/hwloc/;
69−
7069 maintainers = [ ];
7170 platforms = platforms.all;
7271 };