mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Merge master into staging-next
This commit is contained in:
commit
d442b912ae
25 changed files with 266 additions and 194 deletions
|
@ -83,7 +83,7 @@
|
||||||
VirtualBox settings (Machine / Settings / Shared Folders, then click on the
|
VirtualBox settings (Machine / Settings / Shared Folders, then click on the
|
||||||
"Add" icon). Add the following to the
|
"Add" icon). Add the following to the
|
||||||
<literal>/etc/nixos/configuration.nix</literal> to auto-mount them. If you do
|
<literal>/etc/nixos/configuration.nix</literal> to auto-mount them. If you do
|
||||||
not add <literal>"nofail"</literal>, the system will no boot properly. The
|
not add <literal>"nofail"</literal>, the system will not boot properly. The
|
||||||
same goes for disabling <literal>rngd</literal> which is normally used to get
|
same goes for disabling <literal>rngd</literal> which is normally used to get
|
||||||
randomness but this does not work in virtual machines.
|
randomness but this does not work in virtual machines.
|
||||||
</para>
|
</para>
|
||||||
|
|
|
@ -605,6 +605,10 @@ in
|
||||||
|
|
||||||
virtualisation.bootDevice = mkDefault (driveDeviceName 1);
|
virtualisation.bootDevice = mkDefault (driveDeviceName 1);
|
||||||
|
|
||||||
|
virtualisation.useEFIBoot = mkDefault
|
||||||
|
(config.boot.loader.systemd-boot.enable ||
|
||||||
|
config.boot.loader.efi.canTouchEfiVariables);
|
||||||
|
|
||||||
virtualisation.pathsInNixDB = [ config.system.build.toplevel ];
|
virtualisation.pathsInNixDB = [ config.system.build.toplevel ];
|
||||||
|
|
||||||
# FIXME: Consolidate this one day.
|
# FIXME: Consolidate this one day.
|
||||||
|
|
|
@ -9,7 +9,6 @@ with pkgs.lib;
|
||||||
let
|
let
|
||||||
common = {
|
common = {
|
||||||
virtualisation.useBootLoader = true;
|
virtualisation.useBootLoader = true;
|
||||||
virtualisation.useEFIBoot = true;
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||||
|
|
40
pkgs/applications/misc/keystore-explorer/default.nix
Normal file
40
pkgs/applications/misc/keystore-explorer/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ fetchzip, stdenv, jdk8, runtimeShell }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "5.4.4";
|
||||||
|
pname = "keystore-explorer";
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/kaikramer/keystore-explorer/releases/download/v${version}/kse-544.zip";
|
||||||
|
sha256 = "01kpa8g6p6vcqq9y70w5bm8jbw4kp55pbywj2zrhgjibrhgjqi0b";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mkdir -p $out/share/keystore-explorer
|
||||||
|
cp -R icons licenses lib kse.jar $out/share/keystore-explorer/
|
||||||
|
|
||||||
|
# keystore-explorer's kse.sh tries to detect the path of Java by using
|
||||||
|
# Python on Darwin; just write our own start script to avoid unnecessary dependencies
|
||||||
|
cat > $out/bin/keystore-explorer <<EOF
|
||||||
|
#!${runtimeShell}
|
||||||
|
export JAVA_HOME=${jdk8.home}
|
||||||
|
exec ${jdk8}/bin/java -jar $out/share/keystore-explorer/kse.jar "\$@"
|
||||||
|
EOF
|
||||||
|
chmod +x $out/bin/keystore-explorer
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
dontBuild = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Open source GUI replacement for the Java command-line utilities keytool and jarsigner";
|
||||||
|
license = stdenv.lib.licenses.gpl3Only;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.numinit ];
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
31
pkgs/applications/radio/soapyaudio/default.nix
Normal file
31
pkgs/applications/radio/soapyaudio/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cmake, pkg-config
|
||||||
|
, hamlib, rtaudio, alsaLib, libpulseaudio, libjack2, libusb1, soapysdr
|
||||||
|
} :
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "soapyaudio";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pothosware";
|
||||||
|
repo = "SoapyAudio";
|
||||||
|
rev = "soapy-audio-${version}";
|
||||||
|
sha256 = "0minlsc1lvmqm20vn5hb4im7pz8qwklfy7sbr2xr73xkrbqdahc0";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
buildInputs = [ hamlib rtaudio alsaLib libpulseaudio libjack2 libusb1 soapysdr ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/"
|
||||||
|
"-DUSE_HAMLIB=ON"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/pothosware/SoapyAudio";
|
||||||
|
description = "SoapySDR plugin for amateur radio and audio devices";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ numinit ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
30
pkgs/development/compilers/flasm/default.nix
Normal file
30
pkgs/development/compilers/flasm/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv, fetchzip, unzip, bison, flex, gperf, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "flasm";
|
||||||
|
version = "1.64";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://www.nowrap.de/download/flasm16src.zip";
|
||||||
|
sha256 = "03hvxm66rb6rjwbr07hc3k7ia5rim2xlhxbd9qmcai9xwmyiqafg";
|
||||||
|
stripRoot = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "CC=cc" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ unzip bison flex gperf ];
|
||||||
|
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -Dm755 flasm -t $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Assembler and disassembler for Flash (SWF) bytecode";
|
||||||
|
homepage = "http://flasm.sourceforge.net/";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ siraben ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -23,15 +23,17 @@
|
||||||
, fftwSinglePrec
|
, fftwSinglePrec
|
||||||
, zlib
|
, zlib
|
||||||
, curl
|
, curl
|
||||||
, qrupdate
|
|
||||||
, blas, lapack
|
, blas, lapack
|
||||||
, arpack
|
# These two should use the same lapack and blas as the above
|
||||||
|
, qrupdate, arpack, suitesparse ? null
|
||||||
|
# If set to true, the above 5 deps are overriden to use the blas and lapack
|
||||||
|
# with 64 bit indexes support. If all are not compatible, the build will fail.
|
||||||
|
, use64BitIdx ? false
|
||||||
, libwebp
|
, libwebp
|
||||||
, gl2ps
|
, gl2ps
|
||||||
, ghostscript ? null
|
, ghostscript ? null
|
||||||
, hdf5 ? null
|
, hdf5 ? null
|
||||||
, glpk ? null
|
, glpk ? null
|
||||||
, suitesparse ? null
|
|
||||||
, gnuplot ? null
|
, gnuplot ? null
|
||||||
# - Include support for GNU readline:
|
# - Include support for GNU readline:
|
||||||
, enableReadline ? true
|
, enableReadline ? true
|
||||||
|
@ -41,7 +43,7 @@
|
||||||
, jdk ? null
|
, jdk ? null
|
||||||
, python ? null
|
, python ? null
|
||||||
, overridePlatforms ? null
|
, overridePlatforms ? null
|
||||||
, sundials_2 ? null
|
, sundials ? null
|
||||||
# - Build Octave Qt GUI:
|
# - Build Octave Qt GUI:
|
||||||
, enableQt ? false
|
, enableQt ? false
|
||||||
, qtbase ? null
|
, qtbase ? null
|
||||||
|
@ -56,9 +58,42 @@
|
||||||
, darwin
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert (!blas.isILP64) && (!lapack.isILP64);
|
let
|
||||||
|
# Not always evaluated
|
||||||
mkDerivation rec {
|
blas' = if use64BitIdx then
|
||||||
|
blas.override {
|
||||||
|
isILP64 = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
blas
|
||||||
|
;
|
||||||
|
lapack' = if use64BitIdx then
|
||||||
|
lapack.override {
|
||||||
|
isILP64 = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
lapack
|
||||||
|
;
|
||||||
|
qrupdate' = qrupdate.override {
|
||||||
|
# If use64BitIdx is false, this override doesn't evaluate to a new
|
||||||
|
# derivation, as blas and lapack are not overriden.
|
||||||
|
blas = blas';
|
||||||
|
lapack = lapack';
|
||||||
|
};
|
||||||
|
arpack' = arpack.override {
|
||||||
|
blas = blas';
|
||||||
|
lapack = lapack';
|
||||||
|
};
|
||||||
|
# Not always suitesparse is required at all
|
||||||
|
suitesparse' = if suitesparse != null then
|
||||||
|
suitesparse.override {
|
||||||
|
blas = blas';
|
||||||
|
lapack = lapack';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
null
|
||||||
|
;
|
||||||
|
in mkDerivation rec {
|
||||||
version = "6.1.0";
|
version = "6.1.0";
|
||||||
pname = "octave";
|
pname = "octave";
|
||||||
|
|
||||||
|
@ -78,34 +113,36 @@ mkDerivation rec {
|
||||||
fltk
|
fltk
|
||||||
zlib
|
zlib
|
||||||
curl
|
curl
|
||||||
blas
|
blas'
|
||||||
lapack
|
lapack'
|
||||||
libsndfile
|
libsndfile
|
||||||
fftw
|
fftw
|
||||||
fftwSinglePrec
|
fftwSinglePrec
|
||||||
portaudio
|
portaudio
|
||||||
qrupdate
|
qrupdate'
|
||||||
arpack
|
arpack'
|
||||||
libwebp
|
libwebp
|
||||||
gl2ps
|
gl2ps
|
||||||
]
|
]
|
||||||
++ (stdenv.lib.optionals enableQt [
|
++ stdenv.lib.optionals enableQt [
|
||||||
qtbase
|
qtbase
|
||||||
qtsvg
|
qtsvg
|
||||||
qscintilla
|
qscintilla
|
||||||
])
|
]
|
||||||
++ (stdenv.lib.optional (ghostscript != null) ghostscript)
|
++ stdenv.lib.optionals (ghostscript != null) [ ghostscript ]
|
||||||
++ (stdenv.lib.optional (hdf5 != null) hdf5)
|
++ stdenv.lib.optionals (hdf5 != null) [ hdf5 ]
|
||||||
++ (stdenv.lib.optional (glpk != null) glpk)
|
++ stdenv.lib.optionals (glpk != null) [ glpk ]
|
||||||
++ (stdenv.lib.optional (suitesparse != null) suitesparse)
|
++ stdenv.lib.optionals (suitesparse != null) [ suitesparse' ]
|
||||||
++ (stdenv.lib.optional (enableJava) jdk)
|
++ stdenv.lib.optionals (enableJava) [ jdk ]
|
||||||
++ (stdenv.lib.optional (sundials_2 != null) sundials_2)
|
++ stdenv.lib.optionals (sundials != null) [ sundials ]
|
||||||
++ (stdenv.lib.optional (gnuplot != null) gnuplot)
|
++ stdenv.lib.optionals (gnuplot != null) [ gnuplot ]
|
||||||
++ (stdenv.lib.optional (python != null) python)
|
++ stdenv.lib.optionals (python != null) [ python ]
|
||||||
++ (stdenv.lib.optionals (!stdenv.isDarwin) [ libGL libGLU libX11 ])
|
++ stdenv.lib.optionals (!stdenv.isDarwin) [ libGL libGLU libX11 ]
|
||||||
++ (stdenv.lib.optionals (stdenv.isDarwin) [ libiconv
|
++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
darwin.apple_sdk.frameworks.Accelerate
|
libiconv
|
||||||
darwin.apple_sdk.frameworks.Cocoa ])
|
darwin.apple_sdk.frameworks.Accelerate
|
||||||
|
darwin.apple_sdk.frameworks.Cocoa
|
||||||
|
]
|
||||||
;
|
;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
@ -115,12 +152,12 @@ mkDerivation rec {
|
||||||
fftwSinglePrec
|
fftwSinglePrec
|
||||||
texinfo
|
texinfo
|
||||||
]
|
]
|
||||||
++ (stdenv.lib.optional (sundials_2 != null) sundials_2)
|
++ stdenv.lib.optionals (sundials != null) [ sundials ]
|
||||||
++ (stdenv.lib.optional enableJIT llvm)
|
++ stdenv.lib.optionals enableJIT [ llvm ]
|
||||||
++ (stdenv.lib.optionals enableQt [
|
++ stdenv.lib.optionals enableQt [
|
||||||
qtscript
|
qtscript
|
||||||
qttools
|
qttools
|
||||||
])
|
]
|
||||||
;
|
;
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
@ -128,14 +165,14 @@ mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# See https://savannah.gnu.org/bugs/?50339
|
# See https://savannah.gnu.org/bugs/?50339
|
||||||
F77_INTEGER_8_FLAG = if blas.isILP64 then "-fdefault-integer-8" else "";
|
F77_INTEGER_8_FLAG = if use64BitIdx then "-fdefault-integer-8" else "";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-blas=blas"
|
"--with-blas=blas"
|
||||||
"--with-lapack=lapack"
|
"--with-lapack=lapack"
|
||||||
(if blas.isILP64 then "--enable-64" else "--disable-64")
|
(if use64BitIdx then "--enable-64" else "--disable-64")
|
||||||
]
|
]
|
||||||
++ (if stdenv.isDarwin then [ "--enable-link-all-dependencies" ] else [ ])
|
++ stdenv.lib.optionals stdenv.isDarwin [ "--enable-link-all-dependencies" ]
|
||||||
++ stdenv.lib.optionals enableReadline [ "--enable-readline" ]
|
++ stdenv.lib.optionals enableReadline [ "--enable-readline" ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ "--with-x=no" ]
|
++ stdenv.lib.optionals stdenv.isDarwin [ "--with-x=no" ]
|
||||||
++ stdenv.lib.optionals enableQt [ "--with-qt=5" ]
|
++ stdenv.lib.optionals enableQt [ "--with-qt=5" ]
|
||||||
|
@ -149,14 +186,20 @@ mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit version;
|
|
||||||
sitePath = "share/octave/${version}/site";
|
sitePath = "share/octave/${version}/site";
|
||||||
|
blas = blas';
|
||||||
|
lapack = lapack';
|
||||||
|
qrupdate = qrupdate';
|
||||||
|
arpack = arpack';
|
||||||
|
suitesparse = suitesparse';
|
||||||
|
inherit python;
|
||||||
|
inherit enableQt enableJIT enableReadline enableJava;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://www.gnu.org/software/octave/";
|
homepage = "https://www.gnu.org/software/octave/";
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
maintainers = with stdenv.lib.maintainers; [raskin];
|
maintainers = with stdenv.lib.maintainers; [ raskin doronbehar ];
|
||||||
description = "Scientific Pragramming Language";
|
description = "Scientific Pragramming Language";
|
||||||
# https://savannah.gnu.org/bugs/?func=detailitem&item_id=56425 is the best attempt to fix JIT
|
# https://savannah.gnu.org/bugs/?func=detailitem&item_id=56425 is the best attempt to fix JIT
|
||||||
broken = enableJIT;
|
broken = enableJIT;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ callPackage, ... } @ args:
|
{ callPackage, ... } @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // {
|
callPackage ./generic.nix (args // {
|
||||||
baseVersion = "2.9";
|
baseVersion = "2.17";
|
||||||
revision = "0";
|
revision = "2";
|
||||||
sha256 = "06fiyalvc68p11qqh953azx2vrbav5vr00yvcfp67p9l4csn8m9h";
|
sha256 = "0v0yiq0qxcrsn5b34j6bz8i6pds8dih2ds90ylmy1msm5gz7vqpb";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -4,6 +4,7 @@ callPackage ./generic.nix (args // {
|
||||||
baseVersion = "1.10";
|
baseVersion = "1.10";
|
||||||
revision = "17";
|
revision = "17";
|
||||||
sha256 = "04rnha712dd3sdb2q7k2yw45sf405jyigk7yrjfr6bwd9fvgyiv8";
|
sha256 = "04rnha712dd3sdb2q7k2yw45sf405jyigk7yrjfr6bwd9fvgyiv8";
|
||||||
|
sourceExtension = "tgz";
|
||||||
extraConfigureFlags = "--with-gnump";
|
extraConfigureFlags = "--with-gnump";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv, fetchurl, python, bzip2, zlib, gmp, openssl, boost
|
{ stdenv, fetchurl, python, bzip2, zlib, gmp, openssl, boost
|
||||||
# Passed by version specific builders
|
# Passed by version specific builders
|
||||||
, baseVersion, revision, sha256
|
, baseVersion, revision, sha256
|
||||||
|
, sourceExtension ? "tar.xz"
|
||||||
, extraConfigureFlags ? ""
|
, extraConfigureFlags ? ""
|
||||||
, postPatch ? null
|
, postPatch ? null
|
||||||
, darwin
|
, darwin
|
||||||
|
@ -12,10 +13,10 @@ stdenv.mkDerivation rec {
|
||||||
version = "${baseVersion}.${revision}";
|
version = "${baseVersion}.${revision}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "Botan-${version}.tgz";
|
name = "Botan-${version}.${sourceExtension}";
|
||||||
urls = [
|
urls = [
|
||||||
"http://files.randombit.net/botan/v${baseVersion}/Botan-${version}.tgz"
|
"http://files.randombit.net/botan/v${baseVersion}/Botan-${version}.${sourceExtension}"
|
||||||
"http://botan.randombit.net/releases/Botan-${version}.tgz"
|
"http://botan.randombit.net/releases/Botan-${version}.${sourceExtension}"
|
||||||
];
|
];
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,10 +25,10 @@ stdenv.mkDerivation rec {
|
||||||
"BLAS=-L${blas}/lib -lblas"
|
"BLAS=-L${blas}/lib -lblas"
|
||||||
"PREFIX=${placeholder "out"}"
|
"PREFIX=${placeholder "out"}"
|
||||||
${stdenv.lib.optionalString blas.isILP64
|
${stdenv.lib.optionalString blas.isILP64
|
||||||
# Use their FFLAGS along with `-fdefault-integer-8`. If another
|
# If another application intends to use qrupdate compiled with blas with
|
||||||
# application intends to use arpack, it should add this to it's FFLAGS as
|
# 64 bit support, it should add this to it's FFLAGS as well. See (e.g):
|
||||||
# well. Otherwise (e.g): https://savannah.gnu.org/bugs/?50339
|
# https://savannah.gnu.org/bugs/?50339
|
||||||
"FFLAGS=-fimplicit-none -O3 -funroll-loops -fdefault-integer-8"
|
"FFLAGS=-fdefault-integer-8"
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
{ stdenv
|
|
||||||
, cmake
|
|
||||||
, fetchurl
|
|
||||||
, python
|
|
||||||
# GNU Octave needs KLU for ODE solvers
|
|
||||||
, suitesparse
|
|
||||||
, blas, lapack
|
|
||||||
, gfortran
|
|
||||||
, lapackSupport ? true }:
|
|
||||||
|
|
||||||
assert (!blas.isILP64) && (!lapack.isILP64);
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "sundials";
|
|
||||||
version = "2.7.0";
|
|
||||||
|
|
||||||
buildInputs = [ python ] ++ stdenv.lib.optionals (lapackSupport) [
|
|
||||||
gfortran
|
|
||||||
suitesparse
|
|
||||||
];
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://computation.llnl.gov/projects/${pname}/download/${pname}-${version}.tar.gz";
|
|
||||||
sha256 = "01513g0j7nr3rh7hqjld6mw0mcx5j9z9y87bwjc16w2x2z3wm7yk";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchurl {
|
|
||||||
# https://github.com/LLNL/sundials/pull/19
|
|
||||||
url = "https://github.com/LLNL/sundials/commit/1350421eab6c5ab479de5eccf6af2dcad1eddf30.patch";
|
|
||||||
sha256 = "0g67lixp9m85fqpb9rzz1hl1z8ibdg0ldwq5z6flj5zl8a7cw52l";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-DEXAMPLES_INSTALL_PATH=${placeholder "out"}/share/examples"
|
|
||||||
] ++ stdenv.lib.optionals (lapackSupport) [
|
|
||||||
"-DSUNDIALS_INDEX_TYPE=int32_t"
|
|
||||||
# GNU Octave needs KLU for ODE solvers
|
|
||||||
"-DKLU_ENABLE=ON"
|
|
||||||
"-DKLU_INCLUDE_DIR=${suitesparse}/include"
|
|
||||||
"-DKLU_LIBRARY_DIR=${suitesparse}/lib"
|
|
||||||
"-DLAPACK_ENABLE=ON"
|
|
||||||
"-DLAPACK_LIBRARIES=${lapack}/lib/lapack${stdenv.hostPlatform.extensions.sharedLibrary};${blas}/lib/blas${stdenv.hostPlatform.extensions.sharedLibrary}"
|
|
||||||
];
|
|
||||||
|
|
||||||
# flaky tests, and patch in https://github.com/LLNL/sundials/pull/21 doesn't apply cleanly for sundials_3
|
|
||||||
doCheck = false;
|
|
||||||
checkPhase = "make test";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Suite of nonlinear differential/algebraic equation solvers";
|
|
||||||
homepage = "https://computation.llnl.gov/projects/sundials";
|
|
||||||
platforms = platforms.all;
|
|
||||||
maintainers = with maintainers; [ idontgetoutmuch ];
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -3,6 +3,8 @@
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "opam-format";
|
pname = "opam-format";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
inherit (opam-core) src version;
|
inherit (opam-core) src version;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02.3";
|
minimumOCamlVersion = "4.02.3";
|
||||||
|
|
|
@ -5,6 +5,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02";
|
minimumOCamlVersion = "4.02";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
inherit (opam-format) src version;
|
inherit (opam-format) src version;
|
||||||
|
|
||||||
patches = [ ./download-tool.patch ];
|
patches = [ ./download-tool.patch ];
|
||||||
|
|
|
@ -5,6 +5,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
inherit (opam) src version;
|
inherit (opam) src version;
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
# get rid of check for curl at configure time
|
# get rid of check for curl at configure time
|
||||||
# opam-state does not call curl at run time
|
# opam-state does not call curl at run time
|
||||||
configureFlags = [ "--disable-checks" ];
|
configureFlags = [ "--disable-checks" ];
|
||||||
|
|
|
@ -22,14 +22,14 @@ let
|
||||||
# Note: when raising the version, ensure that all SNAPSHOT versions in
|
# Note: when raising the version, ensure that all SNAPSHOT versions in
|
||||||
# build.gradle are replaced by a fixed version
|
# build.gradle are replaced by a fixed version
|
||||||
# (the current one at the time of release) (see postPatch).
|
# (the current one at the time of release) (see postPatch).
|
||||||
version = "120.2";
|
version = "121.4";
|
||||||
buildVersion = makeBuildVersion version;
|
buildVersion = makeBuildVersion version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Anuken";
|
owner = "Anuken";
|
||||||
repo = "Mindustry";
|
repo = "Mindustry";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "01a7qpwfr1n540fk0k65kl03biix0gmg66z7qn22mb2703laq1xc";
|
sha256 = "14w0fkn8q5bj84py7vx33wdk9d37ncrq6rdj5ryz4mvlxbix2n4n";
|
||||||
};
|
};
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
|
@ -74,7 +74,7 @@ let
|
||||||
'';
|
'';
|
||||||
outputHashAlgo = "sha256";
|
outputHashAlgo = "sha256";
|
||||||
outputHashMode = "recursive";
|
outputHashMode = "recursive";
|
||||||
outputHash = "1yv9l8zdml6drmvlgv45w3qas9qmb654x4kja3an4d16k020khr7";
|
outputHash = "18n671aa013cnsnp9aaw61llqz4s4vn7zgja8cazd0cg632x8jca";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Separate commands for building and installing the server and the client
|
# Separate commands for building and installing the server and the client
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
, nativeOnly ? false
|
, nativeOnly ? false
|
||||||
, runtimeOnly ? false
|
, runtimeOnly ? false
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
|
, stdenv
|
||||||
|
|
||||||
# DEPRECATED
|
# DEPRECATED
|
||||||
, withJava ? config.steam.java or false
|
, withJava ? config.steam.java or false
|
||||||
|
@ -43,22 +44,32 @@ let
|
||||||
++ lib.optional withPrimus primus
|
++ lib.optional withPrimus primus
|
||||||
++ extraPkgs pkgs;
|
++ extraPkgs pkgs;
|
||||||
|
|
||||||
ldPath = map (x: "/steamrt/${steam-runtime-wrapped.arch}/" + x) steam-runtime-wrapped.libs
|
ldPath = lib.optionals stdenv.is64bit [ "/lib64" ]
|
||||||
++ lib.optionals (steam-runtime-wrapped-i686 != null) (map (x: "/steamrt/${steam-runtime-wrapped-i686.arch}/" + x) steam-runtime-wrapped-i686.libs);
|
++ [ "/lib32" ]
|
||||||
|
++ map (x: "/steamrt/${steam-runtime-wrapped.arch}/" + x) steam-runtime-wrapped.libs
|
||||||
|
++ lib.optionals (steam-runtime-wrapped-i686 != null) (map (x: "/steamrt/${steam-runtime-wrapped-i686.arch}/" + x) steam-runtime-wrapped-i686.libs);
|
||||||
|
|
||||||
# Zachtronics and a few other studios expect STEAM_LD_LIBRARY_PATH to be present
|
# Zachtronics and a few other studios expect STEAM_LD_LIBRARY_PATH to be present
|
||||||
exportLDPath = ''
|
exportLDPath = ''
|
||||||
export LD_LIBRARY_PATH=/lib32:/lib64:${lib.concatStringsSep ":" ldPath}''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=${lib.concatStringsSep ":" ldPath}''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
|
||||||
export STEAM_LD_LIBRARY_PATH="$STEAM_LD_LIBRARY_PATH''${STEAM_LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
export STEAM_LD_LIBRARY_PATH="$STEAM_LD_LIBRARY_PATH''${STEAM_LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# bootstrap.tar.xz has 444 permissions, which means that simple deletes fail
|
||||||
|
# and steam will not be able to start
|
||||||
|
fixBootstrap = ''
|
||||||
|
if [ -r $HOME/.local/share/Steam/bootstrap.tar.xz ]; then
|
||||||
|
chmod +w $HOME/.local/share/Steam/bootstrap.tar.xz
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
setupSh = writeScript "setup.sh" ''
|
setupSh = writeScript "setup.sh" ''
|
||||||
#!${runtimeShell}
|
#!${runtimeShell}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
runSh = writeScript "run.sh" ''
|
runSh = writeScript "run.sh" ''
|
||||||
#!${runtimeShell}
|
#!${runtimeShell}
|
||||||
runtime_paths="/lib32:/lib64:${lib.concatStringsSep ":" ldPath}"
|
runtime_paths="${lib.concatStringsSep ":" ldPath}"
|
||||||
if [ "$1" == "--print-steam-runtime-library-paths" ]; then
|
if [ "$1" == "--print-steam-runtime-library-paths" ]; then
|
||||||
echo "$runtime_paths''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
echo "$runtime_paths''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -226,7 +237,7 @@ in buildFHSUserEnv rec {
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
ln -s ${steam}/share/icons $out/share
|
ln -s ${steam}/share/icons $out/share
|
||||||
ln -s ${steam}/share/pixmaps $out/share
|
ln -s ${steam}/share/pixmaps $out/share
|
||||||
sed "s,/usr/bin/steam,steam,g" ${steam}/share/applications/steam.desktop > $out/share/applications/steam.desktop
|
ln -s ${steam}/share/applications/steam.desktop $out/share/applications/steam.desktop
|
||||||
'';
|
'';
|
||||||
|
|
||||||
profile = ''
|
profile = ''
|
||||||
|
@ -261,6 +272,7 @@ in buildFHSUserEnv rec {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
${lib.optionalString (!nativeOnly) exportLDPath}
|
${lib.optionalString (!nativeOnly) exportLDPath}
|
||||||
|
${fixBootstrap}
|
||||||
exec steam "$@"
|
exec steam "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -287,6 +299,7 @@ in buildFHSUserEnv rec {
|
||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
${lib.optionalString (!nativeOnly) exportLDPath}
|
${lib.optionalString (!nativeOnly) exportLDPath}
|
||||||
|
${fixBootstrap}
|
||||||
exec -- "$run" "$@"
|
exec -- "$run" "$@"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
traceLog = "/tmp/steam-trace-dependencies.log";
|
traceLog = "/tmp/steam-trace-dependencies.log";
|
||||||
version = "1.0.0.61";
|
version = "1.0.0.68";
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
pname = "steam-original";
|
pname = "steam-original";
|
||||||
|
@ -10,7 +10,7 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://repo.steampowered.com/steam/pool/steam/s/steam/steam_${version}.tar.gz";
|
url = "https://repo.steampowered.com/steam/pool/steam/s/steam/steam_${version}.tar.gz";
|
||||||
sha256 = "0c5xy57gwr14vp3wy3jpqi5dl6y7n01p2dy4jlgl9bf9x7616r6n";
|
sha256 = "sha256-ZeiCYjxnH0Ath5bB20QHmE8R3wU4/3RiAw2NUhrrKNM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
||||||
|
@ -26,14 +26,16 @@ in stdenv.mkDerivation {
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/bin/steamdeps
|
chmod +x $out/bin/steamdeps
|
||||||
''}
|
''}
|
||||||
install -d $out/lib/udev/rules.d
|
|
||||||
install -m644 lib/udev/rules.d/*.rules $out/lib/udev/rules.d
|
# this just installs a link, "steam.desktop -> /lib/steam/steam.desktop"
|
||||||
|
rm $out/share/applications/steam.desktop
|
||||||
|
sed -e 's,/usr/bin/steam,steam,g' steam.desktop > $out/share/applications/steam.desktop
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A digital distribution platform";
|
description = "A digital distribution platform";
|
||||||
homepage = "http://store.steampowered.com/";
|
homepage = "http://store.steampowered.com/";
|
||||||
license = licenses.unfreeRedistributable;
|
license = licenses.unfreeRedistributable;
|
||||||
maintainers = with maintainers; [ jagajaga ];
|
maintainers = with maintainers; [ jagajaga jonringer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchFromGitHub, buildLinux, ... } @ args:
|
{ stdenv, fetchFromGitHub, buildLinux, ... } @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.9.14";
|
version = "5.10.1";
|
||||||
in
|
in
|
||||||
|
|
||||||
buildLinux (args // {
|
buildLinux (args // {
|
||||||
|
@ -13,11 +13,11 @@ buildLinux (args // {
|
||||||
owner = "zen-kernel";
|
owner = "zen-kernel";
|
||||||
repo = "zen-kernel";
|
repo = "zen-kernel";
|
||||||
rev = "v${version}-zen1";
|
rev = "v${version}-zen1";
|
||||||
sha256 = "1b8pm80z49d7qk9mvdf9w3hih34pilqr1zjk110q5im1kdz81zrg";
|
sha256 = "1c77x53ixyn64b4qq6br6ckicmjs316c8k08yfxibmhv72av1wcp";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
branch = "5.9/master";
|
branch = "5.10/master";
|
||||||
maintainers = with stdenv.lib.maintainers; [ atemu andresilva ];
|
maintainers = with stdenv.lib.maintainers; [ atemu andresilva ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libpsm2";
|
pname = "libpsm2";
|
||||||
version = "11.2.156";
|
version = "11.2.185";
|
||||||
ifs_version = "10_10_2_0_44";
|
|
||||||
|
|
||||||
preConfigure= ''
|
preConfigure= ''
|
||||||
export UDEVDIR=$out/etc/udev
|
export UDEVDIR=$out/etc/udev
|
||||||
|
@ -14,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ numactl pkgconfig ];
|
buildInputs = [ numactl pkgconfig ];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"DESTDIR=$(out)"
|
"DESTDIR=$(out)"
|
||||||
"UDEVDIR=/etc/udev"
|
"UDEVDIR=/etc/udev"
|
||||||
"LIBPSM2_COMPAT_CONF_DIR=/etc"
|
"LIBPSM2_COMPAT_CONF_DIR=/etc"
|
||||||
|
@ -23,8 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "opa-psm2";
|
repo = "opa-psm2";
|
||||||
rev = "IFS_RELEASE_${ifs_version}";
|
rev = "PSM2_${version}";
|
||||||
sha256 = "0ckrfzih1ga9yvximxjdh0z05kn9l858ykqiblv18w6ka3gra1xz";
|
sha256 = "062hg4r6gz7pla9df70nqs5i2a3mp1wszmp4l0g771fykhhrxsjg";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,25 +1,17 @@
|
||||||
{stdenv, fetchurl, fuse, bison, flex_2_5_35, openssl, python3, ncurses, readline,
|
{stdenv, fetchFromGitHub, fuse, bison, flex_2_5_35, openssl, python3, ncurses, readline,
|
||||||
autoconf, automake, libtool, pkgconfig, zlib, libaio, libxml2, acl, sqlite,
|
autoconf, automake, libtool, pkgconfig, zlib, libaio, libxml2, acl, sqlite,
|
||||||
liburcu, attr, makeWrapper, coreutils, gnused, gnugrep, which,
|
liburcu, attr, makeWrapper, coreutils, gnused, gnugrep, which,
|
||||||
openssh, gawk, findutils, util-linux, lvm2, btrfs-progs, e2fsprogs, xfsprogs, systemd,
|
openssh, gawk, findutils, util-linux, lvm2, btrfs-progs, e2fsprogs, xfsprogs, systemd,
|
||||||
rsync, glibc, rpcsvc-proto, libtirpc
|
rsync, glibc, rpcsvc-proto, libtirpc
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
s =
|
# NOTE: On each glusterfs release, it should be checked if gluster added
|
||||||
rec {
|
# new, or changed, Python scripts whose PYTHONPATH has to be set in
|
||||||
baseName="glusterfs";
|
# `postFixup` below, and whose runtime deps need to go into
|
||||||
# NOTE: On each glusterfs release, it should be checked if gluster added
|
# `nativeBuildInputs`.
|
||||||
# new, or changed, Python scripts whose PYTHONPATH has to be set in
|
# The command
|
||||||
# `postFixup` below, and whose runtime deps need to go into
|
# find /nix/store/...-glusterfs-.../ -name '*.py' -executable
|
||||||
# `nativeBuildInputs`.
|
# can help with finding new Python scripts.
|
||||||
# The command
|
|
||||||
# find /nix/store/...-glusterfs-.../ -name '*.py' -executable
|
|
||||||
# can help with finding new Python scripts.
|
|
||||||
version = "7.6";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="https://github.com/gluster/glusterfs/archive/v${version}.tar.gz";
|
|
||||||
sha256 = "0zdcv2jk8dp67id8ic30mkn97ccp07jf20g7v09a5k31pw9aqyih";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
fuse bison flex_2_5_35 openssl ncurses readline
|
fuse bison flex_2_5_35 openssl ncurses readline
|
||||||
|
@ -60,16 +52,17 @@ let
|
||||||
which # which
|
which # which
|
||||||
xfsprogs # xfs_info
|
xfsprogs # xfs_info
|
||||||
];
|
];
|
||||||
in
|
in stdenv.mkDerivation rec {
|
||||||
stdenv.mkDerivation
|
pname = "glusterfs";
|
||||||
{
|
version = "8.3";
|
||||||
inherit (s) name version;
|
|
||||||
inherit buildInputs propagatedBuildInputs;
|
|
||||||
|
|
||||||
patches = [
|
src = fetchFromGitHub {
|
||||||
# Remove when https://bugzilla.redhat.com/show_bug.cgi?id=1489610 is fixed
|
owner = "gluster";
|
||||||
./glusterfs-fix-bug-1489610-glusterfind-var-data-under-prefix.patch
|
repo = pname;
|
||||||
];
|
rev = "v${version}";
|
||||||
|
sha256 = "09vvbymiacz2pzwnq6f2dd7g2zszzsivdncz45sh977v3z0n84az";
|
||||||
|
};
|
||||||
|
inherit buildInputs propagatedBuildInputs;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e '/chmod u+s/d' -i contrib/fuse-util/Makefile.am
|
sed -e '/chmod u+s/d' -i contrib/fuse-util/Makefile.am
|
||||||
|
@ -91,7 +84,7 @@ stdenv.mkDerivation
|
||||||
# but fails when the version is empty.
|
# but fails when the version is empty.
|
||||||
# See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705
|
# See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
echo "v${s.version}" > VERSION
|
echo "v${version}" > VERSION
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
export PYTHON=${python3}/bin/python
|
export PYTHON=${python3}/bin/python
|
||||||
'';
|
'';
|
||||||
|
@ -109,7 +102,7 @@ stdenv.mkDerivation
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp -r $out/$out/* $out
|
cp -r $out/$out/* $out
|
||||||
rm -r $out/nix
|
rm -r $out/nix
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
# glusterd invokes `gluster` and other utilities when telling other glusterd nodes to run commands.
|
# glusterd invokes `gluster` and other utilities when telling other glusterd nodes to run commands.
|
||||||
|
@ -153,7 +146,7 @@ stdenv.mkDerivation
|
||||||
wrapProgram $out/share/glusterfs/scripts/eventsdash.py --set PATH "$GLUSTER_PATH" --set PYTHONPATH "$GLUSTER_PYTHONPATH" --set LD_LIBRARY_PATH "$GLUSTER_LD_LIBRARY_PATH"
|
wrapProgram $out/share/glusterfs/scripts/eventsdash.py --set PATH "$GLUSTER_PATH" --set PYTHONPATH "$GLUSTER_PYTHONPATH" --set LD_LIBRARY_PATH "$GLUSTER_LD_LIBRARY_PATH"
|
||||||
wrapProgram $out/libexec/glusterfs/glusterfind/brickfind.py --set PATH "$GLUSTER_PATH" --set PYTHONPATH "$GLUSTER_PYTHONPATH" --set LD_LIBRARY_PATH "$GLUSTER_LD_LIBRARY_PATH"
|
wrapProgram $out/libexec/glusterfs/glusterfind/brickfind.py --set PATH "$GLUSTER_PATH" --set PYTHONPATH "$GLUSTER_PYTHONPATH" --set LD_LIBRARY_PATH "$GLUSTER_LD_LIBRARY_PATH"
|
||||||
wrapProgram $out/libexec/glusterfs/glusterfind/changelog.py --set PATH "$GLUSTER_PATH" --set PYTHONPATH "$GLUSTER_PYTHONPATH" --set LD_LIBRARY_PATH "$GLUSTER_LD_LIBRARY_PATH"
|
wrapProgram $out/libexec/glusterfs/glusterfind/changelog.py --set PATH "$GLUSTER_PATH" --set PYTHONPATH "$GLUSTER_PYTHONPATH" --set LD_LIBRARY_PATH "$GLUSTER_LD_LIBRARY_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
|
@ -187,12 +180,7 @@ stdenv.mkDerivation
|
||||||
rm -r $out/bin/conf.py
|
rm -r $out/bin/conf.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
inherit (s) url sha256;
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
inherit (s) version;
|
|
||||||
description = "Distributed storage system";
|
description = "Distributed storage system";
|
||||||
homepage = "https://www.gluster.org";
|
homepage = "https://www.gluster.org";
|
||||||
license = licenses.lgpl3Plus; # dual licese: choice of lgpl3Plus or gpl2
|
license = licenses.lgpl3Plus; # dual licese: choice of lgpl3Plus or gpl2
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
From f523afac49e24ecc0fa4ad85195135689cf445f0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= <mail@nh2.me>
|
|
||||||
Date: Wed, 27 Sep 2017 21:36:41 +0200
|
|
||||||
Subject: [PATCH] Fix "glusterfind saves var data under $prefix instead of
|
|
||||||
localstatedir". Fixes #1489610
|
|
||||||
|
|
||||||
Change-Id: Id2362c20f34346c37acfb9eb1ad105d0b7b8b60f
|
|
||||||
---
|
|
||||||
configure.ac | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index f87d8a454..b4d3f5d10 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1118,7 +1118,7 @@ if test "x$exec_prefix" = xNONE; then
|
|
||||||
exec_prefix="$(eval echo $prefix)"
|
|
||||||
fi
|
|
||||||
GLUSTERFS_LIBEXECDIR="$(eval echo $libexecdir)/glusterfs"
|
|
||||||
-GLUSTERFSD_MISCDIR="$(eval echo $prefix)/var/lib/misc/glusterfsd"
|
|
||||||
+GLUSTERFSD_MISCDIR="$(eval echo $localstatedir)/lib/misc/glusterfsd"
|
|
||||||
prefix=$old_prefix
|
|
||||||
exec_prefix=$old_exec_prefix
|
|
||||||
|
|
||||||
--
|
|
||||||
2.12.0
|
|
||||||
|
|
|
@ -44,5 +44,6 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
maintainers = with maintainers; [ erictapen ];
|
maintainers = with maintainers; [ erictapen ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
broken = true; # fails to build with recent versions of botan. https://github.com/das-labor/neopg/issues/98
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5091,6 +5091,8 @@ in
|
||||||
|
|
||||||
keyfuzz = callPackage ../tools/inputmethods/keyfuzz { };
|
keyfuzz = callPackage ../tools/inputmethods/keyfuzz { };
|
||||||
|
|
||||||
|
keystore-explorer = callPackage ../applications/misc/keystore-explorer { };
|
||||||
|
|
||||||
kibana6 = callPackage ../development/tools/misc/kibana/6.x.nix { };
|
kibana6 = callPackage ../development/tools/misc/kibana/6.x.nix { };
|
||||||
kibana6-oss = callPackage ../development/tools/misc/kibana/6.x.nix {
|
kibana6-oss = callPackage ../development/tools/misc/kibana/6.x.nix {
|
||||||
enableUnfree = false;
|
enableUnfree = false;
|
||||||
|
@ -9033,6 +9035,8 @@ in
|
||||||
|
|
||||||
fasmg = callPackage ../development/compilers/fasmg { };
|
fasmg = callPackage ../development/compilers/fasmg { };
|
||||||
|
|
||||||
|
flasm = callPackage ../development/compilers/flasm { };
|
||||||
|
|
||||||
flyctl = callPackage ../development/web/flyctl { };
|
flyctl = callPackage ../development/web/flyctl { };
|
||||||
|
|
||||||
flutterPackages =
|
flutterPackages =
|
||||||
|
@ -10553,19 +10557,16 @@ in
|
||||||
octave = callPackage ../development/interpreters/octave {
|
octave = callPackage ../development/interpreters/octave {
|
||||||
python = python3;
|
python = python3;
|
||||||
mkDerivation = stdenv.mkDerivation;
|
mkDerivation = stdenv.mkDerivation;
|
||||||
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
|
|
||||||
};
|
};
|
||||||
octave-jit = callPackage ../development/interpreters/octave {
|
octave-jit = callPackage ../development/interpreters/octave {
|
||||||
python = python3;
|
python = python3;
|
||||||
enableJIT = true;
|
enableJIT = true;
|
||||||
mkDerivation = stdenv.mkDerivation;
|
mkDerivation = stdenv.mkDerivation;
|
||||||
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
|
|
||||||
};
|
};
|
||||||
octaveFull = libsForQt5.callPackage ../development/interpreters/octave {
|
octaveFull = libsForQt5.callPackage ../development/interpreters/octave {
|
||||||
python = python3;
|
python = python3;
|
||||||
enableQt = true;
|
enableQt = true;
|
||||||
overridePlatforms = ["x86_64-linux" "x86_64-darwin"];
|
overridePlatforms = ["x86_64-linux" "x86_64-darwin"];
|
||||||
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ocropus = callPackage ../applications/misc/ocropus { };
|
ocropus = callPackage ../applications/misc/ocropus { };
|
||||||
|
@ -16017,6 +16018,8 @@ in
|
||||||
|
|
||||||
soapyairspy = callPackage ../applications/radio/soapyairspy { };
|
soapyairspy = callPackage ../applications/radio/soapyairspy { };
|
||||||
|
|
||||||
|
soapyaudio = callPackage ../applications/radio/soapyaudio { };
|
||||||
|
|
||||||
soapybladerf = callPackage ../applications/radio/soapybladerf { };
|
soapybladerf = callPackage ../applications/radio/soapybladerf { };
|
||||||
|
|
||||||
soapyhackrf = callPackage ../applications/radio/soapyhackrf { };
|
soapyhackrf = callPackage ../applications/radio/soapyhackrf { };
|
||||||
|
@ -16029,6 +16032,7 @@ in
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
limesuite
|
limesuite
|
||||||
soapyairspy
|
soapyairspy
|
||||||
|
soapyaudio
|
||||||
soapybladerf
|
soapybladerf
|
||||||
soapyhackrf
|
soapyhackrf
|
||||||
soapyremote
|
soapyremote
|
||||||
|
@ -16184,10 +16188,6 @@ in
|
||||||
python = python3;
|
python = python3;
|
||||||
};
|
};
|
||||||
|
|
||||||
sundials_2 = callPackage ../development/libraries/sundials/2.x.nix {
|
|
||||||
python = python3;
|
|
||||||
};
|
|
||||||
|
|
||||||
sutils = callPackage ../tools/misc/sutils { };
|
sutils = callPackage ../tools/misc/sutils { };
|
||||||
|
|
||||||
svrcore = callPackage ../development/libraries/svrcore { };
|
svrcore = callPackage ../development/libraries/svrcore { };
|
||||||
|
|
|
@ -9,7 +9,7 @@ let
|
||||||
blasUsers = [
|
blasUsers = [
|
||||||
# "julia_07" "julia_10" "julia_11" "julia_13" "octave" "octaveFull"
|
# "julia_07" "julia_10" "julia_11" "julia_13" "octave" "octaveFull"
|
||||||
"fflas-ffpack" "linbox" "R" "ipopt" "hpl" "rspamd" "octopus"
|
"fflas-ffpack" "linbox" "R" "ipopt" "hpl" "rspamd" "octopus"
|
||||||
"sundials" "sundials_2" "superlu" "suitesparse_5_3" "suitesparse_4_4"
|
"sundials" "superlu" "suitesparse_5_3" "suitesparse_4_4"
|
||||||
"suitesparse_4_2" "scs" "scalapack" "petsc" "cholmod-extra"
|
"suitesparse_4_2" "scs" "scalapack" "petsc" "cholmod-extra"
|
||||||
"arpack" "qrupdate" "libcint" "iml" "globalarrays" "arrayfire" "armadillo"
|
"arpack" "qrupdate" "libcint" "iml" "globalarrays" "arrayfire" "armadillo"
|
||||||
"xfitter" "lammps" "plink-ng" "quantum-espresso" "siesta"
|
"xfitter" "lammps" "plink-ng" "quantum-espresso" "siesta"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue