Merge remote-tracking branch 'origin/master' into staging-next
Conflicts: pkgs/tools/package-management/cargo-release/default.nix
This commit is contained in:
commit
ca46ad3762
21 changed files with 264 additions and 238 deletions
|
@ -49,6 +49,15 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
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 = [];
|
||||
|
@ -70,6 +79,7 @@ in
|
|||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
StateDirectory = "foldingathome";
|
||||
Nice = cfg.daemonNiceLevel;
|
||||
WorkingDirectory = "%S/foldingathome";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -15,6 +15,16 @@ let
|
|||
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;
|
||||
description = "Public key at the opposite end of the tunnel.";
|
||||
|
|
|
@ -1,72 +1,57 @@
|
|||
{ 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; {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, pantheon
|
||||
|
@ -57,18 +58,15 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs meson/post_install.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find the most beautiful wallpapers for your desktop";
|
||||
homepage = "https://github.com/calo001/fondo";
|
||||
description = "Find the most beautiful wallpapers for your desktop";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,15 +1,30 @@
|
|||
{ 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 = [
|
||||
|
@ -20,31 +35,30 @@ stdenv.mkDerivation rec {
|
|||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,33 +1,48 @@
|
|||
{ 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 = ''
|
||||
|
@ -35,17 +50,15 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs meson/post_install.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "The FTP Client that drives you anywhere";
|
||||
homepage = "https://github.com/Alecaddd/taxi";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
description = "The FTP Client that drives you anywhere";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0g24fq5hplnfgqkh3xqpg3lgx3wmxwnh9c7m6yw7pbi40lmgl1jv";
|
||||
};
|
||||
|
||||
makeFlags = [ "CPP=${stdenv.cc.targetPrefix}c++" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp samblaster $out/bin
|
||||
|
|
|
@ -1,42 +1,42 @@
|
|||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, meson
|
||||
, ninja
|
||||
, python3
|
||||
, gettext
|
||||
, pkg-config
|
||||
, desktop-file-utils
|
||||
, wrapGAppsHook
|
||||
, appstream-glib
|
||||
, desktop-file-utils
|
||||
, 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 = [
|
||||
appstream-glib
|
||||
desktop-file-utils
|
||||
gettext
|
||||
meson
|
||||
ninja
|
||||
python3
|
||||
appstream-glib
|
||||
gettext
|
||||
pkg-config
|
||||
desktop-file-utils
|
||||
python3
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
epoxy
|
||||
glib
|
||||
|
@ -50,22 +50,20 @@ stdenv.mkDerivation rec {
|
|||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
|
@ -21,6 +22,13 @@ mkDerivation rec {
|
|||
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
|
||||
pkg-config
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, libtool }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, libtool, libtommath }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtomcrypt";
|
||||
|
@ -17,14 +17,16 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
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))
|
||||
'';
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "3.0.1";
|
||||
version = "3.4";
|
||||
pname = "containers";
|
||||
|
||||
useDune2 = true;
|
||||
|
@ -14,7 +14,7 @@ buildDunePackage rec {
|
|||
owner = "c-cube";
|
||||
repo = "ocaml-containers";
|
||||
rev = "v${version}";
|
||||
sha256 = "1m19cfcwks3xcj16nqldfb49dg0vdc7by1q1j8bpac3z2mjvks0l";
|
||||
sha256 = "0ixpy81p6rc3lq71djfndb2sg2hfj20j1jbzzrrmgqsysqdjsgzz";
|
||||
};
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
|
||||
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 = ''
|
||||
|
|
|
@ -7,26 +7,25 @@
|
|||
, 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
|
||||
|
@ -38,18 +37,22 @@ let ccache = stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
nativeBuildInputs = [ asciidoc cmake perl ];
|
||||
|
||||
buildInputs = [ zstd ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = lib.optional stdenv.isDarwin xcodebuild;
|
||||
checkInputs = [
|
||||
# test/run requires the compgen function which is available in
|
||||
# bashInteractive, but not bash.
|
||||
bashInteractive
|
||||
] ++ 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 = {
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
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
|
|
@ -1,91 +1,84 @@
|
|||
{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 }:
|
||||
|
||||
# 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
|
||||
|
||||
# icu version missmatch may cause such error when selecting from a table:
|
||||
# "Collation unicode for character set utf8 is not installed"
|
||||
|
||||
# icu 3.0 can still be built easily by nix (by dropping the #elif case and
|
||||
# make | make)
|
||||
icu ? null
|
||||
|
||||
, superServer ? false
|
||||
, port ? 3050
|
||||
, serviceName ? "gds_db"
|
||||
}:
|
||||
|
||||
/*
|
||||
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.
|
||||
|
||||
manual says that you usually don't notice the difference between a and b.
|
||||
|
||||
I'm only interested in the embedder shared libary for now.
|
||||
So everything isn't tested yet
|
||||
|
||||
*/
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.5.7.27050-0";
|
||||
let base = {
|
||||
pname = "firebird";
|
||||
|
||||
# enableParallelBuilding = false; build fails
|
||||
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 ];
|
||||
};
|
||||
|
||||
# http://tracker.firebirdsql.org/browse/CORE-3246
|
||||
preConfigure = ''
|
||||
makeFlags="$makeFlags CPU=$NIX_BUILD_CORES"
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ libedit icu ];
|
||||
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath [ icu ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-system-editline"
|
||||
] ++ (lib.optional superServer "--enable-superserver");
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
cp -r gen/Release/firebird/* $out
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
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");
|
||||
}; in {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/firebird/Firebird-${version}.tar.bz2";
|
||||
sha256 = "06hp6bq5irqvm3h03s79qjgcc3jsjpq150y9aq7anklx9v4nhfqa";
|
||||
firebird_2_5 = stdenv.mkDerivation (base // rec {
|
||||
version = "2.5.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FirebirdSQL";
|
||||
repo = "firebird";
|
||||
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
||||
sha256 = "sha256-YyvlMeBux80OpVhsCv+6IVxKXFRsgdr+1siupMR13JM=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
configureFlags = base.configureFlags ++ [ "--with-system-icu" ];
|
||||
|
||||
# configurePhase = ''
|
||||
# sed -i 's@cp /usr/share/automake-.*@@' autogen.sh
|
||||
# sh autogen.sh $configureFlags --prefix=$out
|
||||
# '';
|
||||
buildInputs = [libedit icu automake autoconf libtool];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
cp -r gen/firebird/* $out
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# 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";
|
||||
meta = base.meta // { platforms = [ "x86_64-linux" ]; };
|
||||
});
|
||||
|
||||
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;
|
||||
firebird_3 = stdenv.mkDerivation (base // rec {
|
||||
version = "3.0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FirebirdSQL";
|
||||
repo = "firebird";
|
||||
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
||||
sha256 = "sha256-8nGan10qjW8dFF89BL/tUWtwMGhahBiODbOqRrHSrbs=";
|
||||
};
|
||||
|
||||
buildInputs = base.buildInputs ++ [ zlib libtommath ];
|
||||
|
||||
meta = base.meta // { platforms = [ "x86_64-linux" ]; };
|
||||
});
|
||||
|
||||
firebird_4 = stdenv.mkDerivation (base // rec {
|
||||
version = "4.0.0-rc1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FirebirdSQL";
|
||||
repo = "firebird";
|
||||
rev = "T4_0_0_RC1";
|
||||
sha256 = "sha256-FLaRePosF5dtJ+fmrfvzkE6wawC9Z9YLhT/ZWkwWXb4=";
|
||||
};
|
||||
|
||||
buildInputs = base.buildInputs ++ [ zlib unzip libtommath libtomcrypt ];
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, openssl, pkg-config, nixosTests }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, openssl, pkg-config, nixosTests, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "unbound-telemetry";
|
||||
|
@ -15,7 +15,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests.prometheus-exporters) unbound;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "simple-http-server";
|
||||
|
@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
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;
|
||||
|
|
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
# 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";
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
, freetype
|
||||
, libxcb
|
||||
, python3
|
||||
, libiconv
|
||||
, AppKit
|
||||
, CoreText
|
||||
, Security
|
||||
|
@ -29,7 +30,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
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 ];
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
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 ]
|
||||
|
|
|
@ -12839,12 +12839,12 @@ in
|
|||
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;
|
||||
});
|
||||
|
||||
|
@ -18932,8 +18932,8 @@ in
|
|||
|
||||
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 { };
|
||||
|
||||
|
@ -19533,7 +19533,9 @@ in
|
|||
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 { };
|
||||
|
@ -31422,7 +31424,9 @@ in
|
|||
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue