pkgs: update nixpkgs to 1614b96a

This commit is contained in:
2022-09-01 16:27:29 +02:00
parent e57107024e
commit b60698b791
87 changed files with 229 additions and 146 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, glib, libuuid, popt, elfutils, swig4, python3 }:
{ stdenv, lib, fetchurl, pkgconfig, glib, libuuid, popt, elfutils, swig4, python3 }:
stdenv.mkDerivation rec {
name = "babeltrace-1.5.8";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libuuid popt elfutils swig4 python3 ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Command-line tool and library to read and convert LTTng tracefiles";
homepage = "https://www.efficios.com/babeltrace";
license = licenses.mit;

View File

@@ -43,7 +43,7 @@ in stdenv.mkDerivation {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "File live sync daemon based on inotify/kqueue/bsm (Linux, FreeBSD), written in GNU C";
homepage = "https://github.com/clsync/clsync";
license = licenses.gpl3Plus;

View File

@@ -1,5 +1,6 @@
{
stdenv
, lib
, babeltrace2
, pkg-config
, uthash
@@ -9,7 +10,7 @@
, tampi ? null
}:
with stdenv.lib;
with lib;
assert (enableTest -> (mpi != null));
assert (enableTest -> (clangOmpss2 != null));

View File

@@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, boost
, libdwarf
@@ -50,9 +51,9 @@ stdenv.mkDerivation rec {
xml2
which
libxml2.dev
python37Packages.sphinx
#python37Packages.sphinx
]
++ stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp;
++ lib.optional stdenv.cc.isClang llvmPackages.openmp;
preConfigure = ''
configureFlagsArray=(
@@ -79,13 +80,15 @@ stdenv.mkDerivation rec {
# Install the manuals only by hand, as we don't want to pull the complete
# LaTeX world
postBuild = ''
make -C docs man
'';
postInstall = ''
installManPage docs/builds/man/*/*
'';
# FIXME: sphinx is broken
#postBuild = ''
# make -C docs man
#'';
#
#postInstall = ''
# installManPage docs/builds/man/*/*
#'';
# ++ (
# if (openmp)

View File

@@ -48,7 +48,7 @@ stdenv.mkDerivation {
checkInputs = [ perl ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Fastest Fourier Transform in the West library";
homepage = "http://www.fftw.org/";
license = licenses.gpl2Plus;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl
{ stdenv, lib, fetchurl, perl
, ghostscript #for postscript and html output
, psutils, netpbm #for html output
, buildPackages
@@ -22,18 +22,18 @@ stdenv.mkDerivation rec {
./0001-Fix-cross-compilation-by-looking-for-ar.patch
];
postPatch = stdenv.lib.optionalString (psutils != null) ''
postPatch = lib.optionalString (psutils != null) ''
substituteInPlace src/preproc/html/pre-html.cpp \
--replace "psselect" "${psutils}/bin/psselect"
'' + stdenv.lib.optionalString (netpbm != null) ''
'' + lib.optionalString (netpbm != null) ''
substituteInPlace src/preproc/html/pre-html.cpp \
--replace "pnmcut" "${stdenv.lib.getBin netpbm}/bin/pnmcut" \
--replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop" \
--replace "pnmtopng" "${stdenv.lib.getBin netpbm}/bin/pnmtopng"
--replace "pnmcut" "${lib.getBin netpbm}/bin/pnmcut" \
--replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \
--replace "pnmtopng" "${lib.getBin netpbm}/bin/pnmtopng"
substituteInPlace tmac/www.tmac.in \
--replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop" \
--replace "pngtopnm" "${stdenv.lib.getBin netpbm}/bin/pngtopnm" \
--replace "@PNMTOPS_NOSETPAGE@" "${stdenv.lib.getBin netpbm}/bin/pnmtops -nosetpage"
--replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \
--replace "pngtopnm" "${lib.getBin netpbm}/bin/pngtopnm" \
--replace "@PNMTOPS_NOSETPAGE@" "${lib.getBin netpbm}/bin/pnmtops -nosetpage"
'';
buildInputs = [ ghostscript psutils netpbm perl ];
@@ -46,13 +46,13 @@ stdenv.mkDerivation rec {
# have to pass "--with-appresdir", too.
configureFlags = [
"--without-x"
] ++ stdenv.lib.optionals (ghostscript != null) [
] ++ lib.optionals (ghostscript != null) [
"--with-gs=${ghostscript}/bin/gs"
] ++ stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
];
makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
# Trick to get the build system find the proper 'native' groff
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
"GROFF_BIN_PATH=${buildPackages.groff}/bin"
@@ -100,11 +100,11 @@ stdenv.mkDerivation rec {
substituteInPlace $out/bin/grog \
--replace $out/lib/groff/grog $out/lib/groff/grog
'' + stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
'' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
find $out/ -type f -print0 | xargs --null sed -i 's|${buildPackages.perl}|${perl}|'
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/groff/";
description = "GNU Troff, a typesetting package that reads plain text and produces formatted output";
license = licenses.gpl3Plus;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, numactl, pkgconfig }:
{ stdenv, lib, fetchFromGitHub, numactl, pkgconfig }:
let
version = "11.2.185";
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
rmdir $out/usr
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/intel/opa-psm2";
description = "The PSM2 library supports a number of fabric media and stacks";
license = with licenses; [ gpl2 bsd3 ];

View File

@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
description = "lmbench";
homepage = "http://www.bitmover.com/lmbench/";
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
platforms = lib.platforms.all;
};
}

View File

@@ -1,5 +1,6 @@
{
stdenv
, lib
, fetchurl
, perl
, gfortran
@@ -9,7 +10,7 @@
, enableDebug ? false
}:
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "mpich";
@@ -41,7 +42,7 @@ stdenv.mkDerivation rec {
sed -i 's:CXX="g++":CXX=${stdenv.cc}/bin/g++:' $out/bin/mpicxx
sed -i 's:FC="gfortran":FC=${gfortran}/bin/gfortran:' $out/bin/mpifort
''
+ stdenv.lib.optionalString (!stdenv.isDarwin) ''
+ lib.optionalString (!stdenv.isDarwin) ''
# /tmp/nix-build... ends up in the RPATH, fix it manually
for entry in $out/bin/mpichversion $out/bin/mpivars; do
echo "fix rpath: $entry"
@@ -49,7 +50,7 @@ stdenv.mkDerivation rec {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Implementation of the Message Passing Interface (MPI) standard";
longDescription = ''

View File

@@ -1,5 +1,6 @@
{
stdenv
, lib
, fetchFromGitHub
, automake
, autoconf
@@ -20,7 +21,7 @@
assert enableJemalloc -> (jemalloc != null);
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "nanos6";

View File

@@ -1,5 +1,6 @@
{
stdenv
, lib
, automake
, autoconf
, libtool
@@ -19,7 +20,7 @@
, gitBranch ? "master"
}:
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "nanos6";

View File

@@ -140,9 +140,9 @@ common =
environments.
'';
homepage = "https://nixos.org/";
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.lgpl2Plus;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.unix;
outputsToInstall = [ "out" "man" ];
};

View File

@@ -146,9 +146,9 @@ common =
environments.
'';
homepage = "https://nixos.org/";
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.lgpl2Plus;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.unix;
outputsToInstall = [ "out" "man" ];
};
@@ -191,7 +191,7 @@ in rec {
};
inherit storeDir stateDir confDir boehmgc;
} // stdenv.lib.optionalAttrs stdenv.cc.isClang {
} // lib.optionalAttrs stdenv.cc.isClang {
stdenv = llvmPackages_6.stdenv;
});

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
{ stdenv, lib, fetchurl, fetchpatch, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin
, libpsm2, libfabric, pmix, pmi2, ucx
@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
pname = "openmpi";
inherit version;
src = with stdenv.lib.versions; fetchurl {
src = with lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "1i0slg2dxjdgw513aml1n9dsbdxn2fimi2b5712d5r9z4ar4xqj7";
};
@@ -105,7 +105,7 @@ in stdenv.mkDerivation rec {
inherit cudaSupport cudatoolkit;
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.open-mpi.org/";
description = "Open source MPI-3 implementation";
longDescription = "The Open MPI Project is an open source MPI-3 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
{ stdenv, lib, fetchurl, fetchpatch, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin
, libpsm2, libfabric
@@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
pname = "openmpi";
inherit version;
src = with stdenv.lib.versions; fetchurl {
src = with lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "00zxcw99gr5n693cmcmn4f6a47vx1ywna895p0x7p163v37gw0hl";
};
@@ -102,7 +102,7 @@ in stdenv.mkDerivation rec {
inherit cudaSupport cudatoolkit;
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.open-mpi.org/";
description = "Open source MPI-3 implementation";
longDescription = "The Open MPI Project is an open source MPI-3 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.";

View File

@@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
description = "OSU Micro-Benchmarks";
homepage = http://mvapich.cse.ohio-state.edu/benchmarks/;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
platforms = lib.platforms.all;
};
}

View File

@@ -1,5 +1,6 @@
{
stdenv
, lib
, fetchFromGitHub
, boost
, libxml2
@@ -13,7 +14,7 @@
, enableMouseLabel ? false
}:
with stdenv.lib;
with lib;
let
wx = wxGTK28;

View File

@@ -47,7 +47,7 @@ stdenv.mkDerivation {
buildInputs = [
elfutils newt slang libunwind libbfd zlib openssl systemtap.stapBuild numactl
libopcodes python3 perl babeltrace
] ++ stdenv.lib.optional withGtk gtk2
] ++ lib.optional withGtk gtk2
++ (if (versionAtLeast kernel.version "4.19") then [ python3 ] else [ python2 ]);
# Note: we don't add elfutils to buildInputs, since it provides a
@@ -78,7 +78,7 @@ stdenv.mkDerivation {
meta = {
homepage = "https://perf.wiki.kernel.org/";
description = "Linux tools to profile with performance counters";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; linux;
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perl, autoconf, automake
{ stdenv, lib, fetchFromGitHub, perl, autoconf, automake
, libtool, flex, libevent, hwloc, munge, zlib
} :
@@ -37,7 +37,7 @@ in stdenv.mkDerivation {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Process Management Interface for HPC environments";
homepage = "https://openpmix.github.io/";
license = licenses.bsd3;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, docutils
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, docutils
, pandoc, ethtool, iproute, libnl, udev, python, perl
, makeWrapper
} :
@@ -48,7 +48,7 @@ in stdenv.mkDerivation {
rm -rf $out/sbin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "RDMA Core Userspace Libraries and Daemons";
homepage = "https://github.com/linux-rdma/rdma-core";
license = licenses.gpl2;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, libtool, curl
{ stdenv, lib, fetchFromGitHub, pkgconfig, libtool, curl
, python, munge, perl, pam, openssl
, ncurses, libmysqlclient, gtk2, lua, hwloc, numactl
, readline, freeipmi, libssh2, xorg
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
prePatch = stdenv.lib.optional enableX11 ''
prePatch = lib.optional enableX11 ''
substituteInPlace src/common/x11_util.c \
--replace '"/usr/bin/xauth"' '"${xorg.xauth}/bin/xauth"'
'';
@@ -39,9 +39,9 @@ stdenv.mkDerivation rec {
libmysqlclient ncurses gtk2
lua hwloc numactl readline freeipmi
pmix
] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ];
] ++ lib.optionals enableX11 [ libssh2 xorg.xauth ];
configureFlags = with stdenv.lib;
configureFlags = with lib;
[ "--with-munge=${munge}"
"--with-ssl=${openssl.dev}"
"--with-hwloc=${hwloc.dev}"
@@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://www.schedmd.com/;
description = "Simple Linux Utility for Resource Management";
platforms = platforms.linux;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, libtool, curl
{ stdenv, lib, fetchFromGitHub, pkgconfig, libtool, curl
, python, munge, perl, pam, openssl
, ncurses, libmysqlclient, gtk2, lua, hwloc, numactl
, readline, freeipmi, libssh2, xorg
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" ];
prePatch = stdenv.lib.optional enableX11 ''
prePatch = lib.optional enableX11 ''
substituteInPlace src/common/x11_util.c \
--replace '"/usr/bin/xauth"' '"${xorg.xauth}/bin/xauth"'
'';
@@ -39,9 +39,9 @@ stdenv.mkDerivation rec {
libmysqlclient ncurses gtk2
lua hwloc numactl readline freeipmi
pmix
] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ];
] ++ lib.optionals enableX11 [ libssh2 xorg.xauth ];
configureFlags = with stdenv.lib;
configureFlags = with lib;
[ "--with-munge=${munge}"
"--with-ssl=${openssl.dev}"
"--with-hwloc=${hwloc.dev}"
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://www.schedmd.com/;
description = "Simple Linux Utility for Resource Management";
platforms = platforms.linux;

View File

@@ -13,7 +13,7 @@
, otf ? null
}:
with stdenv.lib;
with lib;
# ViTE 1.1 has several bugs, so use the SVN version.
let
@@ -76,8 +76,8 @@ stdenv.mkDerivation rec {
'';
homepage = "http://vite.gforge.inria.fr/";
license = stdenv.lib.licenses.cecill20;
maintainers = with stdenv.lib.maintainers; [ ];
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.cecill20;
maintainers = with lib.maintainers; [ ];
platforms = lib.platforms.linux;
};
}

View File

@@ -1,5 +1,6 @@
{
stdenv
, lib
, fetchurl
, cmake
, libGLU
@@ -13,10 +14,10 @@
, mpi ? null
}:
with stdenv.lib;
with lib;
let
os = stdenv.lib.optionalString;
os = lib.optionalString;
majorVersion = "8.2";
minorVersion = "0";
version = "${majorVersion}.${minorVersion}";
@@ -69,8 +70,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Open source libraries for 3D computer graphics, image processing and visualization";
homepage = "https://www.vtk.org/";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
platforms = with stdenv.lib.platforms; unix;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ knedlsepp ];
platforms = with lib.platforms; unix;
};
}