Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-01-03 06:23:19 +00:00 committed by GitHub
commit 279110cd86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 83 additions and 6 deletions

@ -37,9 +37,7 @@ buildPythonPackage rec {
preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
# ignore network related tests, which fail in sandbox
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]
# test hangs on darwin with sandbox enabled
++ lib.optionals stdenv.isDarwin [ "--ignore=tests/PyroTests/test_daemon.py" ];
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];
disabledTests = [
"StartNSfunc"
@ -47,6 +45,9 @@ buildPythonPackage rec {
"GetIP"
];
# otherwise the tests hang the build
__darwinAllowLocalNetworking = true;
meta = with stdenv.lib; {
description = "Distributed object middleware for Python (RPC)";
homepage = "https://github.com/irmen/Pyro4";

@ -0,0 +1,60 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, bison
, flex
, openssl
, sqlite
, lksctp-tools
}:
stdenv.mkDerivation rec {
pname = "solanum";
version = "unstable-2020-12-14";
src = fetchFromGitHub {
owner = "solanum-ircd";
repo = pname;
rev = "551e5a146eab4948ce4a57d87a7f671f2d7cc02d";
sha256 = "14cd2cb04w6nwck7q49jw5zvifkzhkmblwhjfskc2nxcdb5x3l96";
};
patches = [
./dont-create-logdir.patch
];
configureFlags = [
"--enable-epoll"
"--enable-ipv6"
"--enable-openssl=${openssl.dev}"
"--with-program-prefix=solanum-"
"--localstatedir=/var/lib/solanum"
"--with-rundir=/run/solanum"
"--with-logdir=/var/log/solanum"
] ++ stdenv.lib.optionals (stdenv.isLinux) [
"--enable-sctp=${lksctp-tools.out}/lib"
];
nativeBuildInputs = [
autoreconfHook
bison
flex
pkg-config
];
buildInputs = [
openssl
sqlite
];
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "An IRCd for unified networks";
homepage = "https://github.com/solanum-ircd/solanum";
license = licenses.gpl2Only;
maintainers = with maintainers; [ hexa ];
platforms = platforms.unix;
};
}

@ -0,0 +1,14 @@
diff --git a/Makefile.am b/Makefile.am
index 19e7b396..21093521 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,9 +35,6 @@ include/serno.h:
echo '#define DATECODE 0UL' >>include/serno.h; \
fi
-install-data-hook:
- test -d ${DESTDIR}${logdir} || mkdir -p ${DESTDIR}${logdir}
-
install-exec-hook:
rm -f ${DESTDIR}${libdir}/*.la
rm -f ${DESTDIR}${moduledir}/*.la

@ -5,15 +5,15 @@
, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:
stdenv.mkDerivation rec {
version = "2021-01-01";
version = "2021-01-02";
pname = "oh-my-zsh";
rev = "0f6aa0182c8d13a2ff909b650d790f83373dc412";
rev = "0e833b622ba43d38bd62227244d831f3c0e4a325";
src = fetchFromGitHub {
inherit rev;
owner = "ohmyzsh";
repo = "ohmyzsh";
sha256 = "HZmomTPS9k1aKgSibdZfF6BxTsLAYTmBx9Gx5T3Circ=";
sha256 = "06bmlc8lzqxs37glwmv7j0yk73kccmrdb783kvqldski56004gba";
};
installPhase = ''

@ -7560,6 +7560,8 @@ in
solaar = callPackage ../applications/misc/solaar {};
solanum = callPackage ../servers/irc/solanum {};
sourceHighlight = callPackage ../tools/text/source-highlight { };
spacebar = callPackage ../os-specific/darwin/spacebar {