Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-11-13 18:01:11 +00:00 committed by GitHub
commit 4db5f307b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 258 additions and 179 deletions

View file

@ -305,7 +305,7 @@ class CleanEnvironment(object):
def get_current_plugins(editor: Editor) -> List[Plugin]:
with CleanEnvironment():
cmd = ["nix", "eval", "--json", editor.get_plugins]
cmd = ["nix", "eval", "--impure", "--json", "--expr", editor.get_plugins]
log.debug("Running command %s", cmd)
out = subprocess.check_output(cmd)
data = json.loads(out)

View file

@ -1,6 +1,5 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config
, withGui ? true, webkitgtk, Cocoa, WebKit
}:
{ stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config, withGui ? true
, webkitgtk, Cocoa, WebKit, zenity, makeWrapper }:
rustPlatform.buildRustPackage rec {
pname = "alfis";
@ -27,10 +26,15 @@ rustPlatform.buildRustPackage rec {
"--skip=dns::client::tests::test_udp_client"
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = lib.optional (withGui && stdenv.isLinux) webkitgtk
++ lib.optionals (withGui && stdenv.isDarwin) [ Cocoa WebKit ];
postInstall = lib.optionalString (withGui && stdenv.isLinux) ''
wrapProgram $out/bin/alfis \
--prefix PATH : ${lib.makeBinPath [ zenity ]}
'';
meta = with lib; {
description = "Alternative Free Identity System";
homepage = "https://alfis.name";

View file

@ -0,0 +1,15 @@
{ pkgs ? import ../../../../.. { } }:
with pkgs;
let
pyEnv = python3.withPackages (ps: [ ps.GitPython ]);
in
mkShell {
packages = [
bash
pyEnv
nix
nix-prefetch-scripts
];
}

View file

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -p nix-prefetch-git -p python3 -p python3Packages.GitPython nix -i python3
#!nix-shell update-shell.nix -i python3
# format:
# $ nix run nixpkgs.python3Packages.black -c black update.py

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "pueue";
version = "1.0.3";
version = "1.0.4";
src = fetchFromGitHub {
owner = "Nukesor";
repo = pname;
rev = "v${version}";
sha256 = "sha256-1iAXLs3O7EV7LfbXnajlDm75tQtanFInfNWZmnittlk=";
sha256 = "sha256-tNTKX++LrWwuVGdmAjvBStNYp4p1ai12JwJmozo1GV0=";
};
cargoSha256 = "sha256-x/qRNxZS++DBq5B9+/9eXN95QZN/FSLi+3XyJ06Y1hg=";
cargoSha256 = "sha256-t1d8K0v7kHPjH78lYCRCa4pyPCvyQT1kaQtVpoROZIE=";
nativeBuildInputs = [ installShellFiles ];

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "glitter";
version = "1.5.2";
version = "1.5.3";
src = fetchFromGitHub {
owner = "milo123459";
repo = pname;
rev = "v${version}";
sha256 = "sha256-p+Oee0xUqd+vBjpjKI33wR21zBen29xu2gdmMCiH1zk=";
sha256 = "sha256-esrN6VH+ayc9DIhOLGR5oOaMjSBAc7u7fr8L1kSh4Gk=";
};
cargoSha256 = "sha256-qmlnmj7+w+RVYj7DKiwm0JowGNlyOsbAGBwfXgRcLHE=";
cargoSha256 = "sha256-0ugr9HcJLsV34kKJs1E+n10tdOv09wkaYmkIodLhyLk=";
# tests require it to be in a git repository
preCheck = ''

View file

@ -1,6 +1,6 @@
{ lib, stdenv, writeText, ocaml, findlib, ocamlbuild, camlp4 }:
{ name, version, nativeBuildInputs ? [],
{ pname ? args.name, version, nativeBuildInputs ? [],
createFindlibDestdir ? true,
dontStrip ? true,
minimumSupportedOcamlVersion ? null,
@ -17,13 +17,13 @@ in
lib.versionOlder minimumSupportedOcamlVersion ocaml.version;
stdenv.mkDerivation (args // {
name = "ocaml-${name}-${version}";
name = "ocaml-${pname}-${version}";
nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ] ++ nativeBuildInputs;
setupHook = if setupHook == null && hasSharedObjects
then writeText "setupHook.sh" ''
export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH-}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/${name}/"
export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH-}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/${pname}/"
''
else setupHook;

View file

@ -12,7 +12,7 @@ mkCoqDerivation {
inherit version;
defaultVersion = with versions; switch coq.coq-version [
{ case = isEq "8.13"; out = "0.9"; }
{ case = isGe "8.13"; out = "0.9"; }
] null;
propagatedBuildInputs = [ mathcomp-algebra mathcomp-finmap hierarchy-builder ];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "GameNetworkingSockets";
version = "1.2.0";
version = "1.3.0";
src = fetchFromGitHub {
owner = "ValveSoftware";
repo = pname;
rev = "v${version}";
sha256 = "1zghyc4liml8gzxflyh5gp6zi11ny6ng5hv9wyqvp32rfx221gc6";
sha256 = "1d3k1ciw8c8rznxsr4bfmw0f0srblpflv8xqavhcxx2zwvaya78c";
};
nativeBuildInputs = [ cmake ninja go ];
@ -18,11 +18,10 @@ stdenv.mkDerivation rec {
# tmp home for go
preBuild = "export HOME=\"$TMPDIR\"";
buildInputs = [ protobuf openssl ];
buildInputs = [ protobuf ];
propagatedBuildInputs = [ openssl ];
meta = with lib; {
# build failure is resolved on master, remove at next release
broken = stdenv.isDarwin;
description = "GameNetworkingSockets is a basic transport layer for games";
license = licenses.bsd3;
platforms = platforms.unix;

View file

@ -5,7 +5,7 @@ then throw "bin_prot-112.24.00 is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
name = "bin_prot";
pname = "bin_prot";
version = "112.24.00";
minimumSupportedOcamlVersion = "4.00";

View file

@ -1,7 +1,7 @@
{lib, buildOcaml, fetchurl, type_conv}:
buildOcaml rec {
name = "comparelib";
pname = "comparelib";
version = "113.00.00";
minimumSupportedOcamlVersion = "4.00";

View file

@ -1,5 +1,7 @@
{ stdenv, lib, fetchzip, buildDunePackage, camlp5
, ppxlib, ppx_deriving, re, perl, ncurses
, re, perl, ncurses
, ppxlib, ppx_deriving
, ppxlib_0_15, ppx_deriving_0_15
, version ? "1.13.7"
}:
with lib;
@ -23,7 +25,11 @@ buildDunePackage rec {
buildInputs = [ perl ncurses ];
propagatedBuildInputs = [ camlp5 ppxlib ppx_deriving re ];
propagatedBuildInputs = [ camlp5 re ]
++ (if lib.versionAtLeast version "1.13"
then [ ppxlib ppx_deriving ]
else [ ppxlib_0_15 ppx_deriving_0_15 ]
);
meta = {
description = "Embeddable λProlog Interpreter";

View file

@ -5,7 +5,7 @@ then throw "estring is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
name = "estring";
pname = "estring";
version = "1.3";
src = fetchurl {

View file

@ -6,7 +6,7 @@ else
buildOcaml rec {
minimumSupportedOcamlVersion = "4.00";
name = "faillib";
pname = "faillib";
version = "111.17.00";
src = fetchurl {

View file

@ -2,7 +2,7 @@
buildOcaml rec {
version = "112.35.00";
name = "herelib";
pname = "herelib";
minimumSupportedOcamlVersion = "4.00";

View file

@ -1,14 +1,14 @@
{ buildOcaml, opaline, js_build_tools, ocaml_oasis, fetchurl } :
{ name, version ? "113.33.03", buildInputs ? [],
{ pname, version ? "113.33.03", buildInputs ? [],
hash ? "",
minimumSupportedOcamlVersion ? "4.02", ...
}@args:
buildOcaml (args // {
inherit name version minimumSupportedOcamlVersion;
inherit pname version minimumSupportedOcamlVersion;
src = fetchurl {
url = "https://github.com/janestreet/${name}/archive/${version}.tar.gz";
url = "https://github.com/janestreet/${pname}/archive/${version}.tar.gz";
sha256 = hash;
};
@ -20,10 +20,16 @@ buildOcaml (args // {
dontAddStaticConfigureFlags = true;
configurePlatforms = [];
configurePhase = "./configure --prefix $out";
configurePhase = ''
./configure --prefix $out
'';
buildPhase = "OCAML_TOPLEVEL_PATH=`ocamlfind query findlib`/.. make";
buildPhase = ''
OCAML_TOPLEVEL_PATH=`ocamlfind query findlib`/.. make
'';
installPhase = "opaline -prefix $prefix -libdir $OCAMLFIND_DESTDIR ${name}.install";
installPhase = ''
opaline -prefix $prefix -libdir $OCAMLFIND_DESTDIR ${pname}.install
'';
})

View file

@ -1,13 +1,13 @@
{ lib, buildOcaml, fetchurl, ocaml_oasis, opaline }:
buildOcaml rec {
name = "js-build-tools";
pname = "js-build-tools";
version = "113.33.06";
minimumSupportedOcamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/janestreet/${name}/archive/${version}.tar.gz";
url = "https://github.com/janestreet/js-build-tools/archive/${version}.tar.gz";
sha256 = "1nvgyp4gsnlnpix3li6kr90b12iin5ihichv298p03i6h2809dia";
};
@ -19,7 +19,7 @@ buildOcaml rec {
dontAddStaticConfigureFlags = true;
configurePlatforms = [];
configurePhase = "./configure --prefix $prefix";
installPhase = "opaline -prefix $prefix -libdir $OCAMLFIND_DESTDIR ${name}.install";
installPhase = "opaline -prefix $prefix -libdir $OCAMLFIND_DESTDIR js-build-tools.install";
patches = [ ./js-build-tools-darwin.patch ];

View file

@ -1,7 +1,7 @@
{lib, buildOcaml, fetchurl, type_conv, pa_ounit}:
buildOcaml rec {
name = "pa_bench";
pname = "pa_bench";
version = "113.00.00";
minimumSupportedOcamlVersion = "4.00";

View file

@ -5,7 +5,7 @@ then throw "pa_ounit is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
name = "pa_ounit";
pname = "pa_ounit";
version = "113.00.00";
src = fetchurl {

View file

@ -1,7 +1,7 @@
{lib, buildOcaml, fetchurl}:
buildOcaml rec {
name = "pipebang";
pname = "pipebang";
version = "113.00.00";
minimumSupportedOcamlVersion = "4.00";

View file

@ -3,7 +3,7 @@
buildOcaml rec {
minimumSupportedOcamlVersion = "4.02";
name = "type_conv";
pname = "type_conv";
version = "113.00.02";
src = fetchurl {

View file

@ -1,7 +1,7 @@
{ lib, buildOcaml, fetchFromGitHub, type_conv }:
buildOcaml rec {
name = "typerep";
pname = "typerep";
version = "112.24.00";
minimumSupportedOcamlVersion = "4.00";

View file

@ -5,7 +5,7 @@ then throw "variantslib-109.15.03 is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
name = "variantslib";
pname = "variantslib";
version = "109.15.03";
minimumSupportedOcamlVersion = "4.00";

View file

@ -51,6 +51,12 @@ buildPythonPackage rec {
"http" "https" "wheel"
# Assert not true
"test_no_append_driver_cannot_append"
] ++ lib.optionals stdenv.isAarch64 [
# https://github.com/Toblerity/Fiona/issues/1012 the existence of this
# as a bug hasn't been challenged and other distributors seem to also
# be skipping these tests on aarch64, so this is not unique to nixpkgs.
"test_write_or_driver_error"
"test_append_or_driver_error"
];
meta = with lib; {

View file

@ -2,14 +2,16 @@
, beautifulsoup4
, buildPythonPackage
, click
, dataclasses
, dataclasses-json
, fetchFromGitHub
, htmlmin
, jinja2
, markdown2
, pbr
, poetry-core
, pygments
, pytestCheckHook
, pythonOlder
, pytz
, pyyaml
, requests
@ -17,16 +19,21 @@
buildPythonPackage rec {
pname = "json-schema-for-humans";
version = "0.31.0";
version = "0.39.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "coveooss";
repo = pname;
rev = "v${version}";
sha256 = "1aj1w0qxdw8d6mf5vngk0xjgs7z8vzwc2aycahnkqg7q3cagq19n";
sha256 = "sha256-JoD4XEfIUsAbITWa0LMYgNP6WzrblI4HUIgLpx5gn18=";
};
nativeBuildInputs = [ pbr ];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
click
@ -38,12 +45,10 @@ buildPythonPackage rec {
pytz
pyyaml
requests
] ++ lib.optionals (pythonOlder "3.7") [
dataclasses
];
preBuild = ''
export PBR_VERSION=0.0.1
'';
checkInputs = [
beautifulsoup4
pytestCheckHook
@ -52,9 +57,13 @@ buildPythonPackage rec {
disabledTests = [
# Tests require network access
"test_references_url"
# Tests are failing
"TestMdGenerate"
];
pythonImportsCheck = [ "json_schema_for_humans" ];
pythonImportsCheck = [
"json_schema_for_humans"
];
meta = with lib; {
description = "Quickly generate HTML documentation from a JSON schema";

View file

@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "libcst";
version = "0.3.20";
version = "0.3.21";
format = "setuptools";
disabled = pythonOlder "3.6";
# Some files for tests missing from PyPi
# https://github.com/Instagram/LibCST/issues/331
src = fetchFromGitHub {
owner = "instagram";
repo = pname;
@ -54,7 +54,9 @@ buildPythonPackage rec {
"test_codemod_formatter_error_input"
];
pythonImportsCheck = [ "libcst" ];
pythonImportsCheck = [
"libcst"
];
meta = with lib; {
description = "Concrete Syntax Tree (CST) parser and serializer library for Python";

View file

@ -30,7 +30,7 @@
buildPythonPackage rec {
pname = "ocrmypdf";
version = "12.7.0";
version = "12.7.2";
src = fetchFromGitHub {
owner = "jbarlow83";
@ -42,7 +42,7 @@ buildPythonPackage rec {
extraPostFetch = ''
rm "$out/.git_archival.txt"
'';
sha256 = "sha256-lpTuaZRrmFoKV1SAFoGpsYfPBkLB2+iB63fg3t9RC5o=";
sha256 = "sha256-+mh7NgAk7R/94FXjRV+SLy478pZwYLLS8HwCazEbMf4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -24,7 +24,7 @@
buildPythonPackage rec {
pname = "pikepdf";
version = "3.2.0";
version = "4.0.1.post1";
disabled = ! isPy3k;
src = fetchFromGitHub {
@ -37,7 +37,7 @@ buildPythonPackage rec {
extraPostFetch = ''
rm "$out/.git_archival.txt"
'';
sha256 = "03c7ihd6rf6kdfc3cpgxy5pi6cj4zwscz8nyxmmp15fmdk3hkw4g";
sha256 = "sha256-s7eS7jYGohYt75/r++4v9K6BRfiQ3drdG5wbIL3WoiU=";
};
patches = [

View file

@ -1,16 +1,16 @@
diff --git a/src/pikepdf/_methods.py b/src/pikepdf/_methods.py
index 70cdc9e..c3a14d0 100644
index 9db6b49..4020bcf 100644
--- a/src/pikepdf/_methods.py
+++ b/src/pikepdf/_methods.py
@@ -190,7 +190,7 @@ def _mudraw(buffer, fmt) -> bytes:
@@ -204,7 +204,7 @@ def _mudraw(buffer, fmt) -> bytes:
tmp_in.flush()
proc = run(
- ['mudraw', '-F', fmt, '-o', '-', tmp_in.name],
+ ['@mudraw@', '-F', fmt, '-o', '-', tmp_in.name],
stdout=PIPE,
stderr=PIPE,
capture_output=True,
check=True,
)
diff --git a/src/pikepdf/jbig2.py b/src/pikepdf/jbig2.py
index 80cc910..64f6d31 100644
--- a/src/pikepdf/jbig2.py

View file

@ -4,20 +4,20 @@ let
let cpuName = platform.parsed.cpu.name; in {
"aarch64" = "arm64";
"armv7l" = "armhf";
"armv6l" = "armhf";
}.${cpuName} or cpuName;
in
buildGoModule rec {
pname = "faas-cli";
# When updating version change rev.
version = "0.13.13";
rev = "72816d486cf76c3089b915dfb0b66b85cf096634";
platform = faasPlatform stdenv.targetPlatform;
version = "0.13.15";
rev = "b562392b12a78a11bcff9c6fca5a47146ea2ba0a";
src = fetchFromGitHub {
owner = "openfaas";
repo = "faas-cli";
rev = version;
sha256 = "0mmrakyy2qmkldld7pxf5bx6whdadq2r52b68f9p9z7yqrdimix8";
sha256 = "15kjxn0p8nz8147vsm9q5q6wr2w5ssybvn247kynj2n7139iva2f";
};
CGO_ENABLED = 0;
@ -30,7 +30,7 @@ buildGoModule rec {
"-s" "-w"
"-X github.com/openfaas/faas-cli/version.GitCommit=${rev}"
"-X github.com/openfaas/faas-cli/version.Version=${version}"
"-X github.com/openfaas/faas-cli/commands.Platform=${platform}"
"-X github.com/openfaas/faas-cli/commands.Platform=${faasPlatform stdenv.targetPlatform}"
];
meta = with lib; {
@ -38,5 +38,13 @@ buildGoModule rec {
description = "Official CLI for OpenFaaS ";
license = licenses.mit;
maintainers = with maintainers; [ welteki ];
platforms = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
"armv7l-linux"
"armv6l-linux"
];
};
}

View file

@ -1,19 +1,19 @@
{ lib, stdenv, fetchFromGitHub, fpc, zip, makeWrapper
, SDL2, freetype, physfs, openal, gamenetworkingsockets
, xorg, autoPatchelfHook
, xorg, autoPatchelfHook, cmake
}:
let
base = stdenv.mkDerivation rec {
pname = "soldat-base";
version = "unstable-2020-11-26";
version = "unstable-2021-09-05";
src = fetchFromGitHub {
name = "base";
owner = "Soldat";
repo = "base";
rev = "e5f9c35ec12562595b248a7a921dd3458b36b605";
sha256 = "0qg0p2adb5v6di44iqczswldhypdqvn1nl96vxkfkxdg9i8x90w3";
rev = "6c74d768d511663e026e015dde788006c74406b5";
sha256 = "175gmkdccy8rnkd95h2zqldqfydyji1hfby8b1qbnl8wz4dh08mz";
};
nativeBuildInputs = [ zip ];
@ -39,55 +39,37 @@ in
stdenv.mkDerivation rec {
pname = "soldat";
version = "unstable-2021-04-27";
version = "unstable-2021-11-01";
src = fetchFromGitHub {
name = "soldat";
owner = "Soldat";
repo = "soldat";
rev = "4d17667c316ff08934e97448b7f290a8dc434e81";
sha256 = "1pf557psmhfaagblfwdn36cw80j7bgs0lgjq8hmjbv58dysw3jdb";
rev = "7780d2948b724970af9f2aaf4fb4e4350d5438d9";
sha256 = "0r39d1394q7kabsgq6vpdlzwsajxafsg23i0r273nggfvs3m805z";
};
nativeBuildInputs = [ fpc makeWrapper autoPatchelfHook ];
patches = [
# Don't build GameNetworkingSockets as an ExternalProject,
# see https://github.com/Soldat/soldat/issues/73
./gamenetworkingsockets-no-external.patch
];
nativeBuildInputs = [ fpc makeWrapper autoPatchelfHook cmake ];
cmakeFlags = [
"-DADD_ASSETS=OFF" # We provide base's smods via nix
];
buildInputs = [ SDL2 freetype physfs openal gamenetworkingsockets ];
# TODO(@sternenseemann): set proper rpath via cmake, so we don't need autoPatchelfHook
runtimeDependencies = [ xorg.libX11 ];
buildPhase = ''
runHook preBuild
mkdir -p client/build server/build
# build .so from stb headers
pushd client/libs/stb
make
popd
# build client
pushd client
make mode=release
popd
# build server
pushd server
make mode=release
popd
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -Dm644 client/libs/stb/libstb.so -t $out/lib
install -Dm755 client/build/soldat_* $out/bin/soldat
install -Dm755 server/build/soldatserver_* $out/bin/soldatserver
# make sure soldat{,server} find their game archive,
# let them write their state and configuration files
# to $XDG_CONFIG_HOME/soldat/soldat{,server} unless
# the user specifies otherwise.
# make sure soldat{,server} find their game archive,
# let them write their state and configuration files
# to $XDG_CONFIG_HOME/soldat/soldat{,server} unless
# the user specifies otherwise.
postInstall = ''
for p in $out/bin/soldatserver $out/bin/soldat; do
configDir="\''${XDG_CONFIG_HOME:-\$HOME/.config}/soldat/$(basename "$p")"
@ -97,8 +79,6 @@ stdenv.mkDerivation rec {
--add-flags "-fs_userpath \"$configDir\"" \
--add-flags "-fs_basepath \"${base}/share/soldat\""
done
runHook postInstall
'';
meta = with lib; {
@ -106,7 +86,7 @@ stdenv.mkDerivation rec {
license = [ licenses.mit base.meta.license ];
inherit (src.meta) homepage;
maintainers = [ maintainers.sternenseemann ];
platforms = platforms.x86_64 ++ platforms.i686;
platforms = [ "x86_64-linux" "i686-linux" ];
# portability currently mainly limited by fpc
# in nixpkgs which doesn't work on darwin,
# aarch64 and arm support should be possible:

View file

@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1084048..1ea4c84 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -143,7 +143,8 @@ if(BUILD_CLIENT OR BUILD_SERVER)
file(WRITE ${PROJECT_BINARY_DIR}/bin/steam_appid.txt "638490")
else()
# GameNetworkingSockets
- add_subdirectory(shared/libs/GameNetworkingSockets)
+ # add_subdirectory(shared/libs/GameNetworkingSockets)
+ find_package(GameNetworkingSockets REQUIRED)
endif()
endif()

View file

@ -1,14 +1,15 @@
{ nixpkgs ? import ../../.. { } }:
with nixpkgs;
{ pkgs ? import ../../.. { } }:
with pkgs;
let
pyEnv = python3.withPackages(ps: [ ps.GitPython ]);
pyEnv = python3.withPackages (ps: [ ps.GitPython ]);
in
mkShell {
packages = [
bash
pyEnv
nix_2_3
nix
nix-prefetch-scripts
];
}

View file

@ -12,41 +12,41 @@
"4.19": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-4.19.215-hardened1.patch",
"sha256": "05m3x3aafwp9msmqb2h1mys54xlsq17477blhb0d3b3nyj3qv503",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.215-hardened1/linux-hardened-4.19.215-hardened1.patch"
"name": "linux-hardened-4.19.216-hardened1.patch",
"sha256": "0a8rg0lc0pj6zlkbrd3fjrjgg3f18918zzs8q4nld092hqjfjbsm",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.216-hardened1/linux-hardened-4.19.216-hardened1.patch"
},
"sha256": "1czjqa5wbsmzgl7wwqlp9qbdig45ibq11m9pcykrjaclrgwn884y",
"version": "4.19.215"
"sha256": "0cs8yy5jfbvvi5j9f3kzyc4j0fjylxdj1641f53ga6gkmjmayv3d",
"version": "4.19.216"
},
"5.10": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.10.77-hardened1.patch",
"sha256": "1y5rdd7irlljjsw7kdv6v8issbhab3hzywggz5igca72qiy7gcwl",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.77-hardened1/linux-hardened-5.10.77-hardened1.patch"
"name": "linux-hardened-5.10.78-hardened1.patch",
"sha256": "06jbxx6vcd6xa0f8y80im14cdwb8dsk21kx18q7c77gjw628b1i1",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.78-hardened1/linux-hardened-5.10.78-hardened1.patch"
},
"sha256": "1hwgbcfv9wfx9ka25lsqjrnzskynfgmswcyp5vk14wnxq7glxdnk",
"version": "5.10.77"
"sha256": "03q5lrv8gr9hnm7984pxi9kwsvxrn21qwykj60amisi2wac6r05y",
"version": "5.10.78"
},
"5.14": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.14.16-hardened1.patch",
"sha256": "0k9n9k25bmzn3wsqkmjc27md7vc5qwg5a79zmwfw0adwlfwlgi5y",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.14.16-hardened1/linux-hardened-5.14.16-hardened1.patch"
"name": "linux-hardened-5.14.17-hardened1.patch",
"sha256": "08s26hmmaji51aczh9spbg8ngbxz5mr067dgi05djp3cgs2hl5pw",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.14.17-hardened1/linux-hardened-5.14.17-hardened1.patch"
},
"sha256": "005wis2y5dhksb6n0r4p3xjldppmdnd360dhxa04rfc4z2qwn3f3",
"version": "5.14.16"
"sha256": "0q7df51yk6di1m8ky0gplkyx6smlr9inxrd569qv3ww3ykg933sd",
"version": "5.14.17"
},
"5.4": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.4.157-hardened1.patch",
"sha256": "0651l6qambsdy7p1jry2ylf806gr66v6zrfz8lk0dndlhsgbb3dq",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.157-hardened1/linux-hardened-5.4.157-hardened1.patch"
"name": "linux-hardened-5.4.158-hardened1.patch",
"sha256": "1pnxwvy5x04b95bfia63916qlrj5mrp2d54dcc4hg5k29vm0z6a5",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.158-hardened1/linux-hardened-5.4.158-hardened1.patch"
},
"sha256": "0jl62j22vs59bc90mvzavv0ii9hvk436pbnrpqf3x9f8nfybngwz",
"version": "5.4.157"
"sha256": "0ncdkf1iz49458k3dvq3dc5b2r9dp21jsn3ffm9lbhlgvkn8y0bf",
"version": "5.4.158"
}
}

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "4.14.254";
version = "4.14.255";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0ihdlsg4jg9wwhhcbjjmrcchnl9pc0szh21nwmbhwnxgqcdmrnfz";
sha256 = "1mxjwqijnlvrdbpd973kdycz1dwklfkj9vpnj1cihgsf880q02zh";
};
} // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "4.19.216";
version = "4.19.217";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0cs8yy5jfbvvi5j9f3kzyc4j0fjylxdj1641f53ga6gkmjmayv3d";
sha256 = "01500jcjvhbkn7xcan564jw0nnwc12cf8hhvl8118jqqqw612lc5";
};
} // (args.argsOverride or {}))

View file

@ -1,12 +1,12 @@
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
buildLinux (args // rec {
version = "4.4.291";
version = "4.4.292";
extraMeta.branch = "4.4";
extraMeta.broken = stdenv.isAarch64;
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0lbbvv3ha4d8nwzjh8bdk0aqyd12w6gw0nsxsdnp8pbmnndgb9vh";
sha256 = "0v5rz8na1d458grc49x3j1951mhvxvqzjq5g9rv1hi0p9rjala97";
};
} // (args.argsOverride or {}))

View file

@ -1,12 +1,12 @@
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
buildLinux (args // rec {
version = "4.9.289";
version = "4.9.290";
extraMeta.branch = "4.9";
extraMeta.broken = stdenv.isAarch64;
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "19kz74qgw5yzfinnsvljmn2zm855lr4cxgfpn8gwljmkspyx1hm5";
sha256 = "1ns0xbcgv0ix4b3xkcws8g3ks1a31kzc5whmkf9arz1k8si5mpnd";
};
} // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.10.78";
version = "5.10.79";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "03q5lrv8gr9hnm7984pxi9kwsvxrn21qwykj60amisi2wac6r05y";
sha256 = "1bd86ywff2mv73sybjdjlvvvhnmsv891jlm17h5nvqifdbhmb6g4";
};
} // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.14.17";
version = "5.14.18";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "0q7df51yk6di1m8ky0gplkyx6smlr9inxrd569qv3ww3ykg933sd";
sha256 = "1pr7qh2wjw7h6r3fixg9ia5r3na7vdb6b4sp9wnbifnqckahzwis";
};
} // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.15.1";
version = "5.15.2";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "1j0lnrsj5y2bsmmym8pjc5wk4wb11y336zr9gad1nmxcr0rwvz9j";
sha256 = "0xdi799k15l7l9kxlq4qbp79mp1c38vxal4z4p9l5gl194x06d2n";
};
} // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.4.158";
version = "5.4.159";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "0ncdkf1iz49458k3dvq3dc5b2r9dp21jsn3ffm9lbhlgvkn8y0bf";
sha256 = "0hw68yjf0c8kahwra8hq863318cbyqc89f429z75scmb9rgk466p";
};
} // (args.argsOverride or {}))

View file

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitea
, rustPlatform
, pkg-config
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "fedigroups";
version = "0.4.4";
src = fetchFromGitea {
domain = "git.ondrovo.com";
owner = "MightyPork";
repo = "group-actor";
rev = "v${version}";
sha256 = "sha256-1WqIQp16bs+UB+NSEZn0JH6NOkuAx8iUfho4roA2B00=";
};
cargoHash = "sha256-88ToWRkBDXUvnEB2K6q5f3+IMuC3zNzrXrVFZnjbA9o=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
] ++ lib.optional stdenv.isDarwin Security;
meta = with lib; {
homepage = "https://git.ondrovo.com/MightyPork/group-actor#fedi-groups";
downloadPage = "https://git.ondrovo.com/MightyPork/group-actor/releases";
description = "An approximation of groups usable with Fediverse software that implements the Mastodon client API";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}

View file

@ -5,26 +5,10 @@
}:
let
py = python3.override {
packageOverrides = self: super: {
frozendict = super.frozendict.overridePythonAttrs (oldAttrs: rec {
version = "1.2";
src = oldAttrs.src.override {
inherit version;
sha256 = "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp";
};
doCheck = false;
});
};
};
in
with py.pkgs;
let
plugins = py.pkgs.callPackage ./plugins { };
plugins = python3.pkgs.callPackage ./plugins { };
tools = callPackage ./tools { };
in
with python3.pkgs;
buildPythonApplication rec {
pname = "matrix-synapse";
version = "1.46.0";
@ -82,13 +66,13 @@ buildPythonApplication rec {
doCheck = !stdenv.isDarwin;
checkPhase = ''
PYTHONPATH=".:$PYTHONPATH" ${py.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tests
PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tests
'';
passthru.tests = { inherit (nixosTests) matrix-synapse; };
passthru.plugins = plugins;
passthru.tools = tools;
passthru.python = py;
passthru.python = python3;
meta = with lib; {
homepage = "https://matrix.org";

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "mu";
version = "1.6.9";
version = "1.6.10";
src = fetchFromGitHub {
owner = "djcb";
repo = "mu";
rev = version;
sha256 = "RoSj283fcllEbirZOScKRU4BKLoxgatDdL1qYZu+LEI=";
sha256 = "1uJB8QdR0JgWlogb1cdUicz+LLtYQpAvYJjwcRjXt+E=";
};
postPatch = lib.optionalString (batchSize != null) ''

View file

@ -20630,6 +20630,10 @@ with pkgs;
fcgiwrap = callPackage ../servers/fcgiwrap { };
fedigroups = callPackage ../servers/fedigroups {
inherit (darwin.apple_sdk.frameworks) Security;
};
felix = callPackage ../servers/felix { };
felix_remoteshell = callPackage ../servers/felix/remoteshell.nix { };
@ -29499,6 +29503,7 @@ with pkgs;
alfis = callPackage ../applications/blockchains/alfis {
inherit (darwin.apple_sdk.frameworks) Cocoa WebKit;
inherit (gnome) zenity;
};
alfis-nogui = alfis.override {
withGui = false;

View file

@ -344,8 +344,8 @@ let
then ppxlib.override { version = "0.15.0"; }
else ppxlib; in
{
ppx_deriving = ppx_deriving.override { ppxlib = ppxlib_0_15; };
ppxlib = ppxlib_0_15;
ppx_deriving_0_15 = ppx_deriving.override { ppxlib = ppxlib_0_15; };
inherit ppxlib_0_15;
}
);