Merge remote-tracking branch 'origin/master' into staging-next

Conflicts:
pkgs/tools/package-management/cargo-release/default.nix

Changed files
+258 -232
nixos
modules
services
computing
foldingathome
networking
pkgs
applications
editors
bless
graphics
fondo
misc
notejot
networking
ftp
science
biology
samblaster
video
celluloid
desktops
lxqt
lxqt-build-tools
development
libraries
libtomcrypt
ocaml-modules
containers
python-modules
pyatmo
tools
servers
firebird
monitoring
simple-http-server
tools
misc
rig
silicon
package-management
cargo-release
top-level
+10
nixos/modules/services/computing/foldingathome/client.nix
···
'';
};
+
daemonNiceLevel = mkOption {
+
type = types.ints.between (-20) 19;
+
default = 0;
+
description = ''
+
Daemon process priority for FAHClient.
+
0 is the default Unix process priority, 19 is the lowest.
+
'';
+
};
+
extraArgs = mkOption {
type = types.listOf types.str;
default = [];
···
serviceConfig = {
DynamicUser = true;
StateDirectory = "foldingathome";
+
Nice = cfg.daemonNiceLevel;
WorkingDirectory = "%S/foldingathome";
};
};
+12 -2
nixos/modules/services/networking/cjdns.nix
···
{ ... }:
{ options =
{ password = mkOption {
-
type = types.str;
-
description = "Authorized password to the opposite end of the tunnel.";
+
type = types.str;
+
description = "Authorized password to the opposite end of the tunnel.";
+
};
+
login = mkOption {
+
default = "";
+
type = types.str;
+
description = "(optional) name your peer has for you";
+
};
+
peerName = mkOption {
+
default = "";
+
type = types.str;
+
description = "(optional) human-readable name for peer";
};
publicKey = mkOption {
type = types.str;
+20 -35
pkgs/applications/editors/bless/default.nix
···
{ lib, stdenv
, fetchFromGitHub
-
, autoreconfHook
, pkg-config
, mono
+
, meson
+
, ninja
, gtk-sharp-2_0
, gettext
, makeWrapper
, glib
, gtk2-x11
-
, gnome2
+
, libxslt
+
, docbook_xsl
+
, python3
}:
stdenv.mkDerivation rec {
pname = "bless";
-
version = "0.6.2";
+
version = "0.6.3";
src = fetchFromGitHub {
owner = "afrantzis";
repo = pname;
rev = "v${version}";
-
sha256 = "04ra2mcx3pkhzbhcz0zwfmbpqj6cwisrypi6xbc2d6pxd4hdafn1";
+
hash = "sha256-rS+vJX0y9v1TiPsRfABroHiTuENQKEOxNsyKwagRuHM=";
};
+
postPatch = ''
+
sed "s|get_option('tests')|false|g" -i meson.build
+
patchShebangs .
+
'';
+
buildInputs = [
gtk-sharp-2_0
mono
# runtime only deps
glib
gtk2-x11
-
gnome2.libglade
];
nativeBuildInputs = [
pkg-config
-
autoreconfHook
+
meson
+
ninja
gettext
makeWrapper
+
libxslt
+
docbook_xsl
+
python3
];
-
configureFlags = [
-
# scrollkeeper is a gnome2 package, so it must be old and we shouldn't really support it
-
# NOTE: that sadly doesn't turn off the compilation of the manual with scrollkeeper, so we have to fake the binaries below
-
"--without-scrollkeeper"
-
];
-
-
autoreconfPhase = ''
-
mkdir _bin
-
-
# this fakes the scrollkeeper commands, to keep the build happy
-
for f in scrollkeeper-preinstall scrollkeeper-update; do
-
echo "true" > ./_bin/$f
-
chmod +x ./_bin/$f
-
done
-
-
export PATH="$PWD/_bin:$PATH"
-
-
# and it also wants to install that file
-
touch ./doc/user/bless-manual.omf
-
-
# patch mono path
-
sed "s|^mono|${mono}/bin/mono|g" -i src/bless-script.in
-
-
./autogen.sh
-
'';
-
preFixup = ''
-
MPATH="${gtk-sharp-2_0}/lib/mono/gtk-sharp-2.0:${glib.out}/lib:${gtk2-x11}/lib:${gnome2.libglade}/lib:${gtk-sharp-2_0}/lib"
-
wrapProgram $out/bin/bless --prefix MONO_PATH : "$MPATH" --prefix LD_LIBRARY_PATH : "$MPATH"
-
'';
+
MPATH="${gtk-sharp-2_0}/lib/mono/gtk-sharp-2.0:${glib.out}/lib:${gtk2-x11}/lib:${gtk-sharp-2_0}/lib"
+
wrapProgram $out/bin/bless --prefix MONO_PATH : "$MPATH" --prefix LD_LIBRARY_PATH : "$MPATH" --prefix PATH : ${lib.makeBinPath [ mono ]}
+
'';
meta = with lib; {
homepage = "https://github.com/afrantzis/bless";
+8 -10
pkgs/applications/graphics/fondo/default.nix
···
-
{ lib, stdenv
+
{ lib
+
, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
···
patchShebangs meson/post_install.py
'';
-
passthru = {
-
updateScript = nix-update-script {
-
attrPath = pname;
-
};
-
};
-
-
meta = with lib; {
+
homepage = "https://github.com/calo001/fondo";
description = "Find the most beautiful wallpapers for your desktop";
-
homepage = "https://github.com/calo001/fondo";
license = licenses.agpl3Plus;
-
maintainers = with maintainers; [ ];
+
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
+
};
+
+
passthru.updateScript = nix-update-script {
+
attrPath = pname;
};
}
+30 -16
pkgs/applications/misc/notejot/default.nix
···
-
{ lib, stdenv, fetchFromGitHub, nix-update-script, vala, pkg-config, meson, ninja, python3, pantheon
-
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
+
{ lib
+
, stdenv
+
, fetchFromGitHub
+
, gtk4
+
, gtksourceview
+
, json-glib
+
, libadwaita
+
, libgee
+
, meson
+
, ninja
+
, nix-update-script
+
, pantheon
+
, pkg-config
+
, python3
+
, vala
+
, wrapGAppsHook
+
}:
stdenv.mkDerivation rec {
pname = "notejot";
-
version = "1.6.3";
+
version = "3.0.4";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
-
sha256 = "170dzgd6cnf2k3hfifjysmdggpskx6v1pjmblqgbwaj2d3snf3h8";
+
hash = "sha256-p8rca3PsnT/3Lp6W30VvqR9aPr6EIuNrH5gsxL0lZ0Q=";
};
nativeBuildInputs = [
···
python3
wrapGAppsHook
];
-
buildInputs = [
-
gtk3
+
gtk4
gtksourceview
json-glib
+
libadwaita
libgee
pantheon.elementary-icon-theme
pantheon.granite
];
postPatch = ''
-
patchShebangs meson/post_install.py
+
chmod +x build-aux/post_install.py
+
patchShebangs build-aux/post_install.py
'';
-
passthru = {
-
updateScript = nix-update-script {
-
attrPath = pname;
-
};
-
};
-
meta = with lib; {
-
description = "Stupidly-simple sticky notes applet";
homepage = "https://github.com/lainsce/notejot";
-
license = licenses.gpl2Plus;
-
maintainers = with maintainers; [ ];
+
description = "Stupidly-simple sticky notes applet";
+
license = licenses.gpl3Plus;
+
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
+
};
+
+
passthru.updateScript = nix-update-script {
+
attrPath = pname;
};
}
+31 -18
pkgs/applications/networking/ftp/taxi/default.nix
···
-
{ lib, stdenv, fetchFromGitHub, nix-update-script, pantheon, pkg-config, meson, ninja, python3, vala
-
, gtk3, libgee, libsoup, libsecret, gobject-introspection, wrapGAppsHook }:
+
{ lib
+
, stdenv
+
, fetchFromGitHub
+
, gobject-introspection
+
, gtk3
+
, libgee
+
, libsecret
+
, libsoup
+
, meson
+
, ninja
+
, nix-update-script
+
, pantheon
+
, pkg-config
+
, python3
+
, vala
+
, wrapGAppsHook
+
}:
stdenv.mkDerivation rec {
pname = "taxi";
-
version = "0.0.1";
+
version = "0.0.1-unstable=2020-09-03";
src = fetchFromGitHub {
owner = "Alecaddd";
repo = pname;
-
rev = "v${version}";
-
sha256 = "01c552w68576pnsyqbwy3hjhbww6vys3r3s0wxjdiscjqj1aawqg";
+
rev = "74aade67fd9ba9e5bc10c950ccd8d7e48adc2ea1";
+
sha256 = "sha256-S/FeKJxIdA30CpfFVrQsALdq7Gy4F4+P50Ky5tmqKvM=";
};
nativeBuildInputs = [
-
vala
gobject-introspection
meson
ninja
pkg-config
python3
+
vala
wrapGAppsHook
];
buildInputs = [
-
pantheon.granite
-
libgee
gtk3
+
libgee
libsecret
libsoup
+
pantheon.granite
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
-
-
passthru = {
-
updateScript = nix-update-script {
-
attrPath = pname;
-
};
-
};
meta = with lib; {
+
homepage = "https://github.com/Alecaddd/taxi";
description = "The FTP Client that drives you anywhere";
-
homepage = "https://github.com/Alecaddd/taxi";
-
license = licenses.gpl3Plus;
-
maintainers = with maintainers; [ ];
-
platforms = platforms.linux;
+
license = licenses.lgpl3Plus;
+
maintainers = with maintainers; [ AndersonTorres ];
+
platforms = platforms.linux;
+
};
+
+
passthru.updateScript = nix-update-script {
+
attrPath = pname;
};
}
+2
pkgs/applications/science/biology/samblaster/default.nix
···
sha256 = "0g24fq5hplnfgqkh3xqpg3lgx3wmxwnh9c7m6yw7pbi40lmgl1jv";
};
+
makeFlags = [ "CPP=${stdenv.cc.targetPrefix}c++" ];
+
installPhase = ''
mkdir -p $out/bin
cp samblaster $out/bin
+25 -27
pkgs/applications/video/celluloid/default.nix
···
-
{ lib, stdenv
+
{ lib
+
, stdenv
, fetchFromGitHub
-
, nix-update-script
-
, meson
-
, ninja
-
, python3
-
, gettext
-
, pkg-config
+
, appstream-glib
, desktop-file-utils
-
, wrapGAppsHook
-
, appstream-glib
, epoxy
+
, gettext
, glib
, gtk3
+
, meson
, mpv
+
, ninja
+
, nix-update-script
+
, pkg-config
+
, python3
+
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "celluloid";
-
version = "0.20";
+
version = "0.21";
src = fetchFromGitHub {
owner = "celluloid-player";
repo = "celluloid";
rev = "v${version}";
-
hash = "sha256-fEZnH8EqU6CykgKINXnKChuBUlisroa97B1vjcx2cWA=";
+
hash = "sha256-1Jeg1uqWxURGKR/Xg4j4roZ9Pg5MR7geyttdzlOU+rA=";
};
nativeBuildInputs = [
-
meson
-
ninja
-
python3
appstream-glib
+
desktop-file-utils
gettext
+
meson
+
ninja
pkg-config
-
desktop-file-utils
+
python3
wrapGAppsHook
];
-
buildInputs = [
epoxy
glib
···
doCheck = true;
-
passthru = {
-
updateScript = nix-update-script {
-
attrPath = pname;
-
};
-
};
-
meta = with lib; {
+
homepage = "https://github.com/celluloid-player/celluloid";
description = "Simple GTK frontend for the mpv video player";
longDescription = ''
-
GNOME MPV interacts with mpv via the client API exported by libmpv,
-
allowing access to mpv's powerful playback capabilities through an
-
easy-to-use user interface.
+
Celluloid (formerly GNOME MPV) is a simple GTK+ frontend for mpv.
+
Celluloid interacts with mpv via the client API exported by libmpv,
+
allowing access to mpv's powerful playback capabilities.
'';
-
homepage = "https://github.com/celluloid-player/celluloid";
license = licenses.gpl3Plus;
-
maintainers = with maintainers; [ ];
+
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
+
};
+
+
passthru.updateScript = nix-update-script {
+
attrPath = pname;
};
}
+8
pkgs/desktops/lxqt/lxqt-build-tools/default.nix
···
{ lib
+
, stdenv
, mkDerivation
, fetchFromGitHub
, cmake
···
rev = version;
sha256 = "0zhcv6cbdn9fr5lpglz26gzssbxkpi824sgc0g7w3hh1z6nqqf8l";
};
+
+
# Nix clang on darwin identifies as 'Clang', not 'AppleClang'
+
# Without this, dependants fail to link.
+
postPatch = ''
+
substituteInPlace cmake/modules/LXQtCompilerSettings.cmake \
+
--replace AppleClang Clang
+
'';
nativeBuildInputs = [
cmake
+5 -3
pkgs/development/libraries/libtomcrypt/default.nix
···
-
{ lib, stdenv, fetchurl, fetchpatch, libtool }:
+
{ lib, stdenv, fetchurl, fetchpatch, libtool, libtommath }:
stdenv.mkDerivation rec {
pname = "libtomcrypt";
···
})
];
-
nativeBuildInputs = [ libtool ];
+
nativeBuildInputs = [ libtool libtommath ];
postPatch = ''
substituteInPlace makefile.shared --replace "LT:=glibtool" "LT:=libtool"
'';
preBuild = ''
-
makeFlagsArray=(PREFIX=$out \
+
makeFlagsArray+=(PREFIX=$out \
+
CFLAGS="-DUSE_LTM -DLTM_DESC -DLTC_PTHREAD" \
+
EXTRALIBS=\"-ltommath\" \
INSTALL_GROUP=$(id -g) \
INSTALL_USER=$(id -u))
'';
+2 -2
pkgs/development/ocaml-modules/containers/default.nix
···
}:
buildDunePackage rec {
-
version = "3.0.1";
+
version = "3.4";
pname = "containers";
useDune2 = true;
···
owner = "c-cube";
repo = "ocaml-containers";
rev = "v${version}";
-
sha256 = "1m19cfcwks3xcj16nqldfb49dg0vdc7by1q1j8bpac3z2mjvks0l";
+
sha256 = "0ixpy81p6rc3lq71djfndb2sg2hfj20j1jbzzrrmgqsysqdjsgzz";
};
buildInputs = [ dune-configurator ];
+2 -2
pkgs/development/python-modules/pyatmo/default.nix
···
buildPythonPackage rec {
pname = "pyatmo";
-
version = "4.2.2";
+
version = "4.2.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jabesq";
repo = "pyatmo";
rev = "v${version}";
-
sha256 = "sha256-3IxDDLa8KMHVkHAeTmdNVRPc5aKzF3VwL2kKnG8Fp7I=";
+
sha256 = "sha256-hbs+1x/pwv00dhm+1Yj1effddJZHDjs2K3oeBmdCY+k=";
};
postPatch = ''
+13 -10
pkgs/development/tools/misc/ccache/default.nix
···
, cmake
, perl
, zstd
+
, bashInteractive
, xcodebuild
, makeWrapper
}:
let ccache = stdenv.mkDerivation rec {
pname = "ccache";
-
version = "4.2.1";
+
version = "4.3";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
-
hash = "sha256-AmgJpW7AGCSggbHp1fLO5yhXS9LIm7O77nQdDERJYAA=";
+
hash = "sha256-ZBxDTMUZiZJLIYbvACTFwvlss+IZiMjiL0khfM5hFCM=";
};
-
patches = [
-
# test/run use compgen to get environment variable names, but
-
# compgen isn't available in non-interactive bash.
-
./env-instead-of-compgen.patch
+
outputs = [ "out" "man" ];
+
patches = [
# When building for Darwin, test/run uses dwarfdump, whereas on
# Linux it uses objdump. We don't have dwarfdump packaged for
# Darwin, so this patch updates the test to also use objdump on
···
];
nativeBuildInputs = [ asciidoc cmake perl ];
-
buildInputs = [ zstd ];
-
outputs = [ "out" "man" ];
+
doCheck = true;
+
checkInputs = [
+
# test/run requires the compgen function which is available in
+
# bashInteractive, but not bash.
+
bashInteractive
+
] ++ lib.optional stdenv.isDarwin xcodebuild;
-
doCheck = true;
-
checkInputs = lib.optional stdenv.isDarwin xcodebuild;
checkPhase = ''
+
runHook preCheck
export HOME=$(mktemp -d)
ctest --output-on-failure ${lib.optionalString stdenv.isDarwin ''
-E '^(test.nocpp2|test.basedir|test.multi_arch)$'
''}
+
runHook postCheck
'';
passthru = {
-18
pkgs/development/tools/misc/ccache/env-instead-of-compgen.patch
···
-
diff --git a/test/run b/test/run
-
index cbdd98f0..bc930200 100755
-
--- a/test/run
-
+++ b/test/run
-
@@ -346,11 +346,11 @@ expect_perm() {
-
}
-
-
reset_environment() {
-
- while IFS= read -r name; do
-
+ while IFS='=' read -r name value; do
-
if [[ $name =~ ^CCACHE_[A-Z0-9_]*$ ]]; then
-
unset $name
-
fi
-
- done < <(compgen -e)
-
+ done < <(env)
-
-
unset GCC_COLORS
-
unset TERM
+65 -72
pkgs/servers/firebird/default.nix
···
-
{lib, stdenv, fetchurl, libedit, automake, autoconf, libtool
-
,
-
# icu = null: use icu which comes with firebird
+
{ lib, stdenv, fetchFromGitHub, libedit, autoreconfHook, zlib, unzip, libtommath, libtomcrypt, icu, superServer ? false }:
+
+
let base = {
+
pname = "firebird";
+
+
meta = with lib; {
+
description = "SQL relational database management system";
+
homepage = "https://firebirdsql.org/";
+
changelog = "https://github.com/FirebirdSQL/firebird/blob/master/CHANGELOG.md";
+
license = [ "IDPL" "Interbase-1.0" ];
+
platforms = platforms.linux;
+
maintainers = with maintainers; [ marcweber ];
+
};
+
+
nativeBuildInputs = [ autoreconfHook ];
-
# icu = pkgs.icu => you may have trouble sharing database files with windows
-
# users if "Collation unicode" columns are being used
-
# windows icu version is *30.dll, however neither the icu 3.0 nor the 3.6
-
# sources look close to what ships with this package.
-
# Thus I think its best to trust firebird devs and use their version
+
buildInputs = [ libedit icu ];
-
# icu version missmatch may cause such error when selecting from a table:
-
# "Collation unicode for character set utf8 is not installed"
+
LD_LIBRARY_PATH = lib.makeLibraryPath [ icu ];
-
# icu 3.0 can still be built easily by nix (by dropping the #elif case and
-
# make | make)
-
icu ? null
+
configureFlags = [
+
"--with-system-editline"
+
] ++ (lib.optional superServer "--enable-superserver");
-
, superServer ? false
-
, port ? 3050
-
, serviceName ? "gds_db"
-
}:
+
installPhase = ''
+
runHook preInstall
+
mkdir -p $out
+
cp -r gen/Release/firebird/* $out
+
runHook postInstall
+
'';
-
/*
-
there are 3 ways to use firebird:
-
a) superserver
-
- one process, one thread for each connection
-
b) classic
-
- is built by default
-
- one process for each connection
-
- on linux direct io operations (?)
-
c) embedded.
+
}; in {
-
manual says that you usually don't notice the difference between a and b.
+
firebird_2_5 = stdenv.mkDerivation (base // rec {
+
version = "2.5.9";
-
I'm only interested in the embedder shared libary for now.
-
So everything isn't tested yet
+
src = fetchFromGitHub {
+
owner = "FirebirdSQL";
+
repo = "firebird";
+
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
+
sha256 = "sha256-YyvlMeBux80OpVhsCv+6IVxKXFRsgdr+1siupMR13JM=";
+
};
-
*/
+
configureFlags = base.configureFlags ++ [ "--with-system-icu" ];
-
stdenv.mkDerivation rec {
-
version = "2.5.7.27050-0";
-
pname = "firebird";
+
installPhase = ''
+
runHook preInstall
+
mkdir -p $out
+
cp -r gen/firebird/* $out
+
runHook postInstall
+
'';
-
# enableParallelBuilding = false; build fails
+
meta = base.meta // { platforms = [ "x86_64-linux" ]; };
+
});
-
# http://tracker.firebirdsql.org/browse/CORE-3246
-
preConfigure = ''
-
makeFlags="$makeFlags CPU=$NIX_BUILD_CORES"
-
'';
+
firebird_3 = stdenv.mkDerivation (base // rec {
+
version = "3.0.7";
-
configureFlags =
-
[ "--with-serivec-port=${builtins.toString port}"
-
"--with-service-name=${serviceName}"
-
"--with-system-editline"
-
"--with-fblog=/var/log/firebird"
-
"--with-fbconf=/etc/firebird"
-
"--with-fbsecure-db=/var/db/firebird/system"
-
]
-
++ (lib.optional (icu != null) "--with-system-icu")
-
++ (lib.optional superServer "--enable-superserver");
+
src = fetchFromGitHub {
+
owner = "FirebirdSQL";
+
repo = "firebird";
+
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
+
sha256 = "sha256-8nGan10qjW8dFF89BL/tUWtwMGhahBiODbOqRrHSrbs=";
+
};
-
src = fetchurl {
-
url = "mirror://sourceforge/firebird/Firebird-${version}.tar.bz2";
-
sha256 = "06hp6bq5irqvm3h03s79qjgcc3jsjpq150y9aq7anklx9v4nhfqa";
-
};
+
buildInputs = base.buildInputs ++ [ zlib libtommath ];
-
hardeningDisable = [ "format" ];
+
meta = base.meta // { platforms = [ "x86_64-linux" ]; };
+
});
-
# configurePhase = ''
-
# sed -i 's@cp /usr/share/automake-.*@@' autogen.sh
-
# sh autogen.sh $configureFlags --prefix=$out
-
# '';
-
buildInputs = [libedit icu automake autoconf libtool];
+
firebird_4 = stdenv.mkDerivation (base // rec {
+
version = "4.0.0-rc1";
-
# TODO: Probably this hase to be tidied up..
-
# make install requires beeing. disabling the root checks
-
# dosen't work. Copying the files manually which can be found
-
# in ubuntu -dev -classic, -example packages:
-
# maybe some of those files can be removed again
-
installPhase = "cp -r gen/firebird $out";
+
src = fetchFromGitHub {
+
owner = "FirebirdSQL";
+
repo = "firebird";
+
rev = "T4_0_0_RC1";
+
sha256 = "sha256-FLaRePosF5dtJ+fmrfvzkE6wawC9Z9YLhT/ZWkwWXb4=";
+
};
-
meta = {
-
description = "SQL relational database management system";
-
homepage = "https://www.firebirdnews.org";
-
license = ["IDPL" "Interbase-1.0"];
-
maintainers = [lib.maintainers.marcweber];
-
platforms = lib.platforms.linux;
-
broken = true;
-
};
+
buildInputs = base.buildInputs ++ [ zlib unzip libtommath libtomcrypt ];
+
});
}
+3 -2
pkgs/servers/monitoring/prometheus/unbound-exporter.nix
···
-
{ lib, rustPlatform, fetchFromGitHub, openssl, pkg-config, nixosTests }:
+
{ lib, stdenv, rustPlatform, fetchFromGitHub, openssl, pkg-config, nixosTests, Security }:
rustPlatform.buildRustPackage rec {
pname = "unbound-telemetry";
···
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [ openssl ];
+
buildInputs = [ openssl ]
+
++ lib.optional stdenv.isDarwin Security;
passthru.tests = {
inherit (nixosTests.prometheus-exporters) unbound;
+2 -2
pkgs/servers/simple-http-server/default.nix
···
-
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
+
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
rustPlatform.buildRustPackage rec {
pname = "simple-http-server";
···
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [ openssl ];
+
buildInputs = if stdenv.isDarwin then [ Security ] else [ openssl ];
# Currently no tests are implemented, so we avoid building the package twice
doCheck = false;
+2
pkgs/tools/misc/rig/default.nix
···
# http://deb.debian.org/debian/pool/main/r/rig/rig_1.11-1.diff.gz
patches = [ ./rig_1.11-1.diff ];
+
makeFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ];
+
meta = {
homepage = "http://rig.sourceforge.net/";
description = "Random identity generator";
+2 -1
pkgs/tools/misc/silicon/default.nix
···
, freetype
, libxcb
, python3
+
, libiconv
, AppKit
, CoreText
, Security
···
buildInputs = [ llvmPackages.libclang expat freetype ]
++ lib.optionals stdenv.isLinux [ libxcb ]
-
++ lib.optionals stdenv.isDarwin [ AppKit CoreText Security ];
+
++ lib.optionals stdenv.isDarwin [ libiconv AppKit CoreText Security ];
nativeBuildInputs = [ cmake pkg-config ]
++ lib.optionals stdenv.isLinux [ python3 ];
+3 -3
pkgs/tools/package-management/cargo-release/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "cargo-release";
-
version = "0.13.10";
+
version = "0.13.11";
src = fetchFromGitHub {
owner = "sunng87";
repo = "cargo-release";
rev = "v${version}";
-
sha256 = "sha256-WWU+aNMNOOstHiGRE5nj2biWCL3uwyqJKgt0xCAfS0s=";
+
sha256 = "sha256-v0XKLwxUIxBt9hIUzprz+VsxCRifH1/SbNcI0sH2ENM=";
};
-
cargoSha256 = "sha256-W+/owW9Hl1cSBlfSN8Gea575tkjmZlwa5X6TCYyaLsM=";
+
cargoSha256 = "sha256-zbET6UsV29hAL83rw3XRgrcM5FABFNI3w3Kbd61FS7E=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
+13 -9
pkgs/top-level/all-packages.nix
···
inherit (stdenv) cc;
-
ccacheStdenv = lowPrio (makeOverridable ({ extraConfig, stdenv }:
-
overrideCC stdenv (buildPackages.ccacheWrapper.override {
-
inherit extraConfig;
+
ccacheStdenv = lowPrio (makeOverridable ({ stdenv, ... } @ extraArgs:
+
overrideCC stdenv (buildPackages.ccacheWrapper.override ({
inherit (stdenv) cc;
-
})) {
-
extraConfig = "";
+
} // lib.optionalAttrs (builtins.hasAttr "extraConfig" extraArgs) {
+
extraConfig = extraArgs.extraConfig;
+
}))) {
inherit stdenv;
});
···
fingerd_bsd = callPackage ../servers/fingerd/bsd-fingerd { };
-
firebird = callPackage ../servers/firebird { icu = null; /*stdenv = gcc5Stdenv;*/ };
-
firebirdSuper = firebird.override { icu = icu58; superServer = true; /*stdenv = gcc5Stdenv;*/ };
+
inherit (callPackages ../servers/firebird { }) firebird_4 firebird_3 firebird_2_5;
+
firebird = firebird_3;
freeradius = callPackage ../servers/freeradius { };
···
prometheus-tor-exporter = callPackage ../servers/monitoring/prometheus/tor-exporter.nix { };
prometheus-statsd-exporter = callPackage ../servers/monitoring/prometheus/statsd-exporter.nix { };
prometheus-surfboard-exporter = callPackage ../servers/monitoring/prometheus/surfboard-exporter.nix { };
-
prometheus-unbound-exporter = callPackage ../servers/monitoring/prometheus/unbound-exporter.nix { };
+
prometheus-unbound-exporter = callPackage ../servers/monitoring/prometheus/unbound-exporter.nix {
+
inherit (darwin.apple_sdk.frameworks) Security;
+
};
prometheus-unifi-exporter = callPackage ../servers/monitoring/prometheus/unifi-exporter { };
prometheus-varnish-exporter = callPackage ../servers/monitoring/prometheus/varnish-exporter.nix { };
prometheus-jmx-httpserver = callPackage ../servers/monitoring/prometheus/jmx-httpserver.nix { };
···
simplehttp2server = callPackage ../servers/simplehttp2server { };
-
simple-http-server = callPackage ../servers/simple-http-server { };
+
simple-http-server = callPackage ../servers/simple-http-server {
+
inherit (darwin.apple_sdk.frameworks) Security;
+
};
diceware = with python3Packages; toPythonApplication diceware;