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
@ -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 {
|
extraArgs = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [];
|
default = [];
|
||||||
@ -70,6 +79,7 @@ in
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
StateDirectory = "foldingathome";
|
StateDirectory = "foldingathome";
|
||||||
|
Nice = cfg.daemonNiceLevel;
|
||||||
WorkingDirectory = "%S/foldingathome";
|
WorkingDirectory = "%S/foldingathome";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -12,8 +12,18 @@ let
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{ options =
|
{ options =
|
||||||
{ password = mkOption {
|
{ password = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = "Authorized password to the opposite end of the tunnel.";
|
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 {
|
publicKey = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
@ -1,73 +1,58 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, mono
|
, mono
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
, gtk-sharp-2_0
|
, gtk-sharp-2_0
|
||||||
, gettext
|
, gettext
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, glib
|
, glib
|
||||||
, gtk2-x11
|
, gtk2-x11
|
||||||
, gnome2
|
, libxslt
|
||||||
|
, docbook_xsl
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bless";
|
pname = "bless";
|
||||||
version = "0.6.2";
|
version = "0.6.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "afrantzis";
|
owner = "afrantzis";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "04ra2mcx3pkhzbhcz0zwfmbpqj6cwisrypi6xbc2d6pxd4hdafn1";
|
hash = "sha256-rS+vJX0y9v1TiPsRfABroHiTuENQKEOxNsyKwagRuHM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed "s|get_option('tests')|false|g" -i meson.build
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk-sharp-2_0
|
gtk-sharp-2_0
|
||||||
mono
|
mono
|
||||||
# runtime only deps
|
# runtime only deps
|
||||||
glib
|
glib
|
||||||
gtk2-x11
|
gtk2-x11
|
||||||
gnome2.libglade
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
autoreconfHook
|
meson
|
||||||
|
ninja
|
||||||
gettext
|
gettext
|
||||||
makeWrapper
|
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 = ''
|
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"
|
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"
|
wrapProgram $out/bin/bless --prefix MONO_PATH : "$MPATH" --prefix LD_LIBRARY_PATH : "$MPATH" --prefix PATH : ${lib.makeBinPath [ mono ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/afrantzis/bless";
|
homepage = "https://github.com/afrantzis/bless";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, pantheon
|
, pantheon
|
||||||
@ -57,18 +58,15 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs meson/post_install.py
|
patchShebangs meson/post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = nix-update-script {
|
|
||||||
attrPath = pname;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Find the most beautiful wallpapers for your desktop";
|
|
||||||
homepage = "https://github.com/calo001/fondo";
|
homepage = "https://github.com/calo001/fondo";
|
||||||
|
description = "Find the most beautiful wallpapers for your desktop";
|
||||||
license = licenses.agpl3Plus;
|
license = licenses.agpl3Plus;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
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
|
{ lib
|
||||||
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gtk4
|
||||||
|
, gtksourceview
|
||||||
|
, json-glib
|
||||||
|
, libadwaita
|
||||||
|
, libgee
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, nix-update-script
|
||||||
|
, pantheon
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, vala
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "notejot";
|
pname = "notejot";
|
||||||
version = "1.6.3";
|
version = "3.0.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lainsce";
|
owner = "lainsce";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "170dzgd6cnf2k3hfifjysmdggpskx6v1pjmblqgbwaj2d3snf3h8";
|
hash = "sha256-p8rca3PsnT/3Lp6W30VvqR9aPr6EIuNrH5gsxL0lZ0Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -20,31 +35,30 @@ stdenv.mkDerivation rec {
|
|||||||
python3
|
python3
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3
|
gtk4
|
||||||
gtksourceview
|
gtksourceview
|
||||||
json-glib
|
json-glib
|
||||||
|
libadwaita
|
||||||
libgee
|
libgee
|
||||||
pantheon.elementary-icon-theme
|
pantheon.elementary-icon-theme
|
||||||
pantheon.granite
|
pantheon.granite
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
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; {
|
meta = with lib; {
|
||||||
description = "Stupidly-simple sticky notes applet";
|
|
||||||
homepage = "https://github.com/lainsce/notejot";
|
homepage = "https://github.com/lainsce/notejot";
|
||||||
license = licenses.gpl2Plus;
|
description = "Stupidly-simple sticky notes applet";
|
||||||
maintainers = with maintainers; [ ];
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
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
|
{ lib
|
||||||
, gtk3, libgee, libsoup, libsecret, gobject-introspection, wrapGAppsHook }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk3
|
||||||
|
, libgee
|
||||||
|
, libsecret
|
||||||
|
, libsoup
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, nix-update-script
|
||||||
|
, pantheon
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, vala
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "taxi";
|
pname = "taxi";
|
||||||
version = "0.0.1";
|
version = "0.0.1-unstable=2020-09-03";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Alecaddd";
|
owner = "Alecaddd";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "74aade67fd9ba9e5bc10c950ccd8d7e48adc2ea1";
|
||||||
sha256 = "01c552w68576pnsyqbwy3hjhbww6vys3r3s0wxjdiscjqj1aawqg";
|
sha256 = "sha256-S/FeKJxIdA30CpfFVrQsALdq7Gy4F4+P50Ky5tmqKvM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
vala
|
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
|
vala
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pantheon.granite
|
|
||||||
libgee
|
|
||||||
gtk3
|
gtk3
|
||||||
|
libgee
|
||||||
libsecret
|
libsecret
|
||||||
libsoup
|
libsoup
|
||||||
|
pantheon.granite
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -35,17 +50,15 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs meson/post_install.py
|
patchShebangs meson/post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
meta = with lib; {
|
||||||
updateScript = nix-update-script {
|
homepage = "https://github.com/Alecaddd/taxi";
|
||||||
attrPath = pname;
|
description = "The FTP Client that drives you anywhere";
|
||||||
};
|
license = licenses.lgpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
passthru.updateScript = nix-update-script {
|
||||||
description = "The FTP Client that drives you anywhere";
|
attrPath = pname;
|
||||||
homepage = "https://github.com/Alecaddd/taxi";
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
maintainers = with maintainers; [ ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0g24fq5hplnfgqkh3xqpg3lgx3wmxwnh9c7m6yw7pbi40lmgl1jv";
|
sha256 = "0g24fq5hplnfgqkh3xqpg3lgx3wmxwnh9c7m6yw7pbi40lmgl1jv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "CPP=${stdenv.cc.targetPrefix}c++" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp samblaster $out/bin
|
cp samblaster $out/bin
|
||||||
|
@ -1,42 +1,42 @@
|
|||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nix-update-script
|
|
||||||
, meson
|
|
||||||
, ninja
|
|
||||||
, python3
|
|
||||||
, gettext
|
|
||||||
, pkg-config
|
|
||||||
, desktop-file-utils
|
|
||||||
, wrapGAppsHook
|
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
|
, desktop-file-utils
|
||||||
, epoxy
|
, epoxy
|
||||||
|
, gettext
|
||||||
, glib
|
, glib
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, meson
|
||||||
, mpv
|
, mpv
|
||||||
|
, ninja
|
||||||
|
, nix-update-script
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, wrapGAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "celluloid";
|
pname = "celluloid";
|
||||||
version = "0.20";
|
version = "0.21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "celluloid-player";
|
owner = "celluloid-player";
|
||||||
repo = "celluloid";
|
repo = "celluloid";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-fEZnH8EqU6CykgKINXnKChuBUlisroa97B1vjcx2cWA=";
|
hash = "sha256-1Jeg1uqWxURGKR/Xg4j4roZ9Pg5MR7geyttdzlOU+rA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
appstream-glib
|
||||||
|
desktop-file-utils
|
||||||
|
gettext
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
python3
|
|
||||||
appstream-glib
|
|
||||||
gettext
|
|
||||||
pkg-config
|
pkg-config
|
||||||
desktop-file-utils
|
python3
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
epoxy
|
epoxy
|
||||||
glib
|
glib
|
||||||
@ -50,22 +50,20 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = nix-update-script {
|
|
||||||
attrPath = pname;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/celluloid-player/celluloid";
|
||||||
description = "Simple GTK frontend for the mpv video player";
|
description = "Simple GTK frontend for the mpv video player";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
GNOME MPV interacts with mpv via the client API exported by libmpv,
|
Celluloid (formerly GNOME MPV) is a simple GTK+ frontend for mpv.
|
||||||
allowing access to mpv's powerful playback capabilities through an
|
Celluloid interacts with mpv via the client API exported by libmpv,
|
||||||
easy-to-use user interface.
|
allowing access to mpv's powerful playback capabilities.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/celluloid-player/celluloid";
|
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
@ -21,6 +22,13 @@ mkDerivation rec {
|
|||||||
sha256 = "0zhcv6cbdn9fr5lpglz26gzssbxkpi824sgc0g7w3hh1z6nqqf8l";
|
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 = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, fetchpatch, libtool }:
|
{ lib, stdenv, fetchurl, fetchpatch, libtool, libtommath }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libtomcrypt";
|
pname = "libtomcrypt";
|
||||||
@ -17,14 +17,16 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ libtool ];
|
nativeBuildInputs = [ libtool libtommath ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace makefile.shared --replace "LT:=glibtool" "LT:=libtool"
|
substituteInPlace makefile.shared --replace "LT:=glibtool" "LT:=libtool"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray=(PREFIX=$out \
|
makeFlagsArray+=(PREFIX=$out \
|
||||||
|
CFLAGS="-DUSE_LTM -DLTM_DESC -DLTC_PTHREAD" \
|
||||||
|
EXTRALIBS=\"-ltommath\" \
|
||||||
INSTALL_GROUP=$(id -g) \
|
INSTALL_GROUP=$(id -g) \
|
||||||
INSTALL_USER=$(id -u))
|
INSTALL_USER=$(id -u))
|
||||||
'';
|
'';
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
version = "3.0.1";
|
version = "3.4";
|
||||||
pname = "containers";
|
pname = "containers";
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
@ -14,7 +14,7 @@ buildDunePackage rec {
|
|||||||
owner = "c-cube";
|
owner = "c-cube";
|
||||||
repo = "ocaml-containers";
|
repo = "ocaml-containers";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1m19cfcwks3xcj16nqldfb49dg0vdc7by1q1j8bpac3z2mjvks0l";
|
sha256 = "0ixpy81p6rc3lq71djfndb2sg2hfj20j1jbzzrrmgqsysqdjsgzz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ dune-configurator ];
|
buildInputs = [ dune-configurator ];
|
||||||
|
@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyatmo";
|
pname = "pyatmo";
|
||||||
version = "4.2.2";
|
version = "4.2.3";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jabesq";
|
owner = "jabesq";
|
||||||
repo = "pyatmo";
|
repo = "pyatmo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-3IxDDLa8KMHVkHAeTmdNVRPc5aKzF3VwL2kKnG8Fp7I=";
|
sha256 = "sha256-hbs+1x/pwv00dhm+1Yj1effddJZHDjs2K3oeBmdCY+k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -7,26 +7,25 @@
|
|||||||
, cmake
|
, cmake
|
||||||
, perl
|
, perl
|
||||||
, zstd
|
, zstd
|
||||||
|
, bashInteractive
|
||||||
, xcodebuild
|
, xcodebuild
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let ccache = stdenv.mkDerivation rec {
|
let ccache = stdenv.mkDerivation rec {
|
||||||
pname = "ccache";
|
pname = "ccache";
|
||||||
version = "4.2.1";
|
version = "4.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-AmgJpW7AGCSggbHp1fLO5yhXS9LIm7O77nQdDERJYAA=";
|
hash = "sha256-ZBxDTMUZiZJLIYbvACTFwvlss+IZiMjiL0khfM5hFCM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
outputs = [ "out" "man" ];
|
||||||
# test/run use compgen to get environment variable names, but
|
|
||||||
# compgen isn't available in non-interactive bash.
|
|
||||||
./env-instead-of-compgen.patch
|
|
||||||
|
|
||||||
|
patches = [
|
||||||
# When building for Darwin, test/run uses dwarfdump, whereas on
|
# When building for Darwin, test/run uses dwarfdump, whereas on
|
||||||
# Linux it uses objdump. We don't have dwarfdump packaged for
|
# Linux it uses objdump. We don't have dwarfdump packaged for
|
||||||
# Darwin, so this patch updates the test to also use objdump on
|
# 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 ];
|
nativeBuildInputs = [ asciidoc cmake perl ];
|
||||||
|
|
||||||
buildInputs = [ zstd ];
|
buildInputs = [ zstd ];
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
|
||||||
|
|
||||||
doCheck = true;
|
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 = ''
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
ctest --output-on-failure ${lib.optionalString stdenv.isDarwin ''
|
ctest --output-on-failure ${lib.optionalString stdenv.isDarwin ''
|
||||||
-E '^(test.nocpp2|test.basedir|test.multi_arch)$'
|
-E '^(test.nocpp2|test.basedir|test.multi_arch)$'
|
||||||
''}
|
''}
|
||||||
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
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
|
{ lib, stdenv, fetchFromGitHub, libedit, autoreconfHook, zlib, unzip, libtommath, libtomcrypt, icu, superServer ? false }:
|
||||||
,
|
|
||||||
# icu = null: use icu which comes with firebird
|
|
||||||
|
|
||||||
# icu = pkgs.icu => you may have trouble sharing database files with windows
|
let base = {
|
||||||
# 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";
|
|
||||||
pname = "firebird";
|
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
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
preConfigure = ''
|
|
||||||
makeFlags="$makeFlags CPU=$NIX_BUILD_CORES"
|
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 =
|
}; in {
|
||||||
[ "--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 = fetchurl {
|
firebird_2_5 = stdenv.mkDerivation (base // rec {
|
||||||
url = "mirror://sourceforge/firebird/Firebird-${version}.tar.bz2";
|
version = "2.5.9";
|
||||||
sha256 = "06hp6bq5irqvm3h03s79qjgcc3jsjpq150y9aq7anklx9v4nhfqa";
|
|
||||||
};
|
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
src = fetchFromGitHub {
|
||||||
|
owner = "FirebirdSQL";
|
||||||
|
repo = "firebird";
|
||||||
|
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
||||||
|
sha256 = "sha256-YyvlMeBux80OpVhsCv+6IVxKXFRsgdr+1siupMR13JM=";
|
||||||
|
};
|
||||||
|
|
||||||
# configurePhase = ''
|
configureFlags = base.configureFlags ++ [ "--with-system-icu" ];
|
||||||
# sed -i 's@cp /usr/share/automake-.*@@' autogen.sh
|
|
||||||
# sh autogen.sh $configureFlags --prefix=$out
|
|
||||||
# '';
|
|
||||||
buildInputs = [libedit icu automake autoconf libtool];
|
|
||||||
|
|
||||||
# TODO: Probably this hase to be tidied up..
|
installPhase = ''
|
||||||
# make install requires beeing. disabling the root checks
|
runHook preInstall
|
||||||
# dosen't work. Copying the files manually which can be found
|
mkdir -p $out
|
||||||
# in ubuntu -dev -classic, -example packages:
|
cp -r gen/firebird/* $out
|
||||||
# maybe some of those files can be removed again
|
runHook postInstall
|
||||||
installPhase = "cp -r gen/firebird $out";
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = base.meta // { platforms = [ "x86_64-linux" ]; };
|
||||||
description = "SQL relational database management system";
|
});
|
||||||
homepage = "https://www.firebirdnews.org";
|
|
||||||
license = ["IDPL" "Interbase-1.0"];
|
firebird_3 = stdenv.mkDerivation (base // rec {
|
||||||
maintainers = [lib.maintainers.marcweber];
|
version = "3.0.7";
|
||||||
platforms = lib.platforms.linux;
|
|
||||||
broken = true;
|
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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "unbound-telemetry";
|
pname = "unbound-telemetry";
|
||||||
@ -15,7 +15,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ]
|
||||||
|
++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
inherit (nixosTests.prometheus-exporters) unbound;
|
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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "simple-http-server";
|
pname = "simple-http-server";
|
||||||
@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
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
|
# Currently no tests are implemented, so we avoid building the package twice
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
# http://deb.debian.org/debian/pool/main/r/rig/rig_1.11-1.diff.gz
|
# http://deb.debian.org/debian/pool/main/r/rig/rig_1.11-1.diff.gz
|
||||||
patches = [ ./rig_1.11-1.diff ];
|
patches = [ ./rig_1.11-1.diff ];
|
||||||
|
|
||||||
|
makeFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://rig.sourceforge.net/";
|
homepage = "http://rig.sourceforge.net/";
|
||||||
description = "Random identity generator";
|
description = "Random identity generator";
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
, freetype
|
, freetype
|
||||||
, libxcb
|
, libxcb
|
||||||
, python3
|
, python3
|
||||||
|
, libiconv
|
||||||
, AppKit
|
, AppKit
|
||||||
, CoreText
|
, CoreText
|
||||||
, Security
|
, Security
|
||||||
@ -29,7 +30,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
buildInputs = [ llvmPackages.libclang expat freetype ]
|
buildInputs = [ llvmPackages.libclang expat freetype ]
|
||||||
++ lib.optionals stdenv.isLinux [ libxcb ]
|
++ lib.optionals stdenv.isLinux [ libxcb ]
|
||||||
++ lib.optionals stdenv.isDarwin [ AppKit CoreText Security ];
|
++ lib.optionals stdenv.isDarwin [ libiconv AppKit CoreText Security ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ]
|
nativeBuildInputs = [ cmake pkg-config ]
|
||||||
++ lib.optionals stdenv.isLinux [ python3 ];
|
++ lib.optionals stdenv.isLinux [ python3 ];
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-release";
|
pname = "cargo-release";
|
||||||
version = "0.13.10";
|
version = "0.13.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sunng87";
|
owner = "sunng87";
|
||||||
repo = "cargo-release";
|
repo = "cargo-release";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-WWU+aNMNOOstHiGRE5nj2biWCL3uwyqJKgt0xCAfS0s=";
|
sha256 = "sha256-v0XKLwxUIxBt9hIUzprz+VsxCRifH1/SbNcI0sH2ENM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-W+/owW9Hl1cSBlfSN8Gea575tkjmZlwa5X6TCYyaLsM=";
|
cargoSha256 = "sha256-zbET6UsV29hAL83rw3XRgrcM5FABFNI3w3Kbd61FS7E=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ]
|
buildInputs = [ openssl ]
|
||||||
|
@ -12839,12 +12839,12 @@ in
|
|||||||
inherit (stdenv) cc;
|
inherit (stdenv) cc;
|
||||||
};
|
};
|
||||||
|
|
||||||
ccacheStdenv = lowPrio (makeOverridable ({ extraConfig, stdenv }:
|
ccacheStdenv = lowPrio (makeOverridable ({ stdenv, ... } @ extraArgs:
|
||||||
overrideCC stdenv (buildPackages.ccacheWrapper.override {
|
overrideCC stdenv (buildPackages.ccacheWrapper.override ({
|
||||||
inherit extraConfig;
|
|
||||||
inherit (stdenv) cc;
|
inherit (stdenv) cc;
|
||||||
})) {
|
} // lib.optionalAttrs (builtins.hasAttr "extraConfig" extraArgs) {
|
||||||
extraConfig = "";
|
extraConfig = extraArgs.extraConfig;
|
||||||
|
}))) {
|
||||||
inherit stdenv;
|
inherit stdenv;
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -18932,8 +18932,8 @@ in
|
|||||||
|
|
||||||
fingerd_bsd = callPackage ../servers/fingerd/bsd-fingerd { };
|
fingerd_bsd = callPackage ../servers/fingerd/bsd-fingerd { };
|
||||||
|
|
||||||
firebird = callPackage ../servers/firebird { icu = null; /*stdenv = gcc5Stdenv;*/ };
|
inherit (callPackages ../servers/firebird { }) firebird_4 firebird_3 firebird_2_5;
|
||||||
firebirdSuper = firebird.override { icu = icu58; superServer = true; /*stdenv = gcc5Stdenv;*/ };
|
firebird = firebird_3;
|
||||||
|
|
||||||
freeradius = callPackage ../servers/freeradius { };
|
freeradius = callPackage ../servers/freeradius { };
|
||||||
|
|
||||||
@ -19533,7 +19533,9 @@ in
|
|||||||
prometheus-tor-exporter = callPackage ../servers/monitoring/prometheus/tor-exporter.nix { };
|
prometheus-tor-exporter = callPackage ../servers/monitoring/prometheus/tor-exporter.nix { };
|
||||||
prometheus-statsd-exporter = callPackage ../servers/monitoring/prometheus/statsd-exporter.nix { };
|
prometheus-statsd-exporter = callPackage ../servers/monitoring/prometheus/statsd-exporter.nix { };
|
||||||
prometheus-surfboard-exporter = callPackage ../servers/monitoring/prometheus/surfboard-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-unifi-exporter = callPackage ../servers/monitoring/prometheus/unifi-exporter { };
|
||||||
prometheus-varnish-exporter = callPackage ../servers/monitoring/prometheus/varnish-exporter.nix { };
|
prometheus-varnish-exporter = callPackage ../servers/monitoring/prometheus/varnish-exporter.nix { };
|
||||||
prometheus-jmx-httpserver = callPackage ../servers/monitoring/prometheus/jmx-httpserver.nix { };
|
prometheus-jmx-httpserver = callPackage ../servers/monitoring/prometheus/jmx-httpserver.nix { };
|
||||||
@ -31422,7 +31424,9 @@ in
|
|||||||
|
|
||||||
simplehttp2server = callPackage ../servers/simplehttp2server { };
|
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;
|
diceware = with python3Packages; toPythonApplication diceware;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user