Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2022-01-26 00:08:39 +00:00 committed by GitHub
commit 238f504755
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 255 additions and 69 deletions

View file

@ -8588,6 +8588,12 @@
githubId = 7845120; githubId = 7845120;
name = "Alex Martens"; name = "Alex Martens";
}; };
nialov = {
email = "nikolasovaskainen@gmail.com";
github = "nialov";
githubId = 47318483;
name = "Nikolas Ovaskainen";
};
nikitavoloboev = { nikitavoloboev = {
email = "nikita.voloboev@gmail.com"; email = "nikita.voloboev@gmail.com";
github = "nikitavoloboev"; github = "nikitavoloboev";

View file

@ -278,6 +278,11 @@ in {
"bluetooth_tracker" "bluetooth_tracker"
"bluetooth_le_tracker" "bluetooth_le_tracker"
]; ];
componentsUsingPing = [
# Components that require the capset syscall for the ping wrapper
"ping"
"wake_on_lan"
];
componentsUsingSerialDevices = [ componentsUsingSerialDevices = [
# Components that require access to serial devices (/dev/tty*) # Components that require access to serial devices (/dev/tty*)
# List generated from home-assistant documentation: # List generated from home-assistant documentation:
@ -382,6 +387,8 @@ in {
SystemCallFilter = [ SystemCallFilter = [
"@system-service" "@system-service"
"~@privileged" "~@privileged"
] ++ optionals (any useComponent componentsUsingPing) [
"capset"
]; ];
UMask = "0077"; UMask = "0077";
}; };

View file

@ -119,6 +119,30 @@ ${cfg.extraConfig}
hasLocalPostgresDB = let args = cfg.database_args; in hasLocalPostgresDB = let args = cfg.database_args; in
usePostgresql && (!(args ? host) || (elem args.host [ "localhost" "127.0.0.1" "::1" ])); usePostgresql && (!(args ? host) || (elem args.host [ "localhost" "127.0.0.1" "::1" ]));
registerNewMatrixUser =
let
isIpv6 = x: lib.length (lib.splitString ":" x) > 1;
listener =
lib.findFirst (
listener: lib.any (
resource: lib.any (
name: name == "client"
) resource.names
) listener.resources
) (lib.last cfg.listeners) cfg.listeners;
in
pkgs.writeShellScriptBin "matrix-synapse-register_new_matrix_user" ''
exec ${cfg.package}/bin/register_new_matrix_user \
$@ \
${lib.concatMapStringsSep " " (x: "-c ${x}") ([ configFile ] ++ cfg.extraConfigFiles)} \
"${listener.type}://${
if (isIpv6 listener.bind_address) then
"[${listener.bind_address}]"
else
"${listener.bind_address}"
}:${builtins.toString listener.port}/"
'';
in { in {
options = { options = {
services.matrix-synapse = { services.matrix-synapse = {
@ -294,7 +318,7 @@ in {
description = '' description = ''
List of resources to host on this listener. List of resources to host on this listener.
''; '';
example = ["client" "webclient" "federation"]; example = ["client" "federation"];
}; };
compress = mkOption { compress = mkOption {
type = types.bool; type = types.bool;
@ -319,7 +343,7 @@ in {
tls = true; tls = true;
x_forwarded = false; x_forwarded = false;
resources = [ resources = [
{ names = ["client" "webclient"]; compress = true; } { names = ["client"]; compress = true; }
{ names = ["federation"]; compress = false; } { names = ["federation"]; compress = false; }
]; ];
}]; }];
@ -792,6 +816,8 @@ in {
UMask = "0077"; UMask = "0077";
}; };
}; };
environment.systemPackages = [ registerNewMatrixUser ];
}; };
imports = [ imports = [

View file

@ -49,6 +49,12 @@ in {
payload_on = "let_there_be_light"; payload_on = "let_there_be_light";
payload_off = "off"; payload_off = "off";
}]; }];
wake_on_lan = {};
switch = [{
platform = "wake_on_lan";
mac = "00:11:22:33:44:55";
host = "127.0.0.1";
}];
# tests component-based capability assignment (CAP_NET_BIND_SERVICE) # tests component-based capability assignment (CAP_NET_BIND_SERVICE)
emulated_hue = { emulated_hue = {
host_ip = "127.0.0.1"; host_ip = "127.0.0.1";
@ -99,6 +105,10 @@ in {
print("\n### home-assistant.log ###\n") print("\n### home-assistant.log ###\n")
print(output_log + "\n") print(output_log + "\n")
# wait for home-assistant to fully boot
hass.sleep(30)
hass.wait_for_unit("home-assistant.service")
with subtest("Check that no errors were logged"): with subtest("Check that no errors were logged"):
assert "ERROR" not in output_log assert "ERROR" not in output_log

View file

@ -19,6 +19,12 @@ buildGoPackage rec {
subPackages = [ "." ]; subPackages = [ "." ];
preBuild = ''
pushd go/src/github.com/git-lfs/git-lfs
go generate ./commands
popd
'';
postBuild = '' postBuild = ''
make -C go/src/${goPackagePath} man make -C go/src/${goPackagePath} man
''; '';

View file

@ -1,27 +1,42 @@
{ fetchFromGitHub, python, lib }: { lib
, fetchFromGitHub
, python3
}:
with python.pkgs; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "gitless"; pname = "gitless";
version = "0.8.8"; version = "0.8.8";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gitless-vcs"; owner = "gitless-vcs";
repo = "gitless"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE="; hash = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE=";
}; };
propagatedBuildInputs = with pythonPackages; [ sh pygit2 clint ]; propagatedBuildInputs = with python3.pkgs; [
sh
pygit2
clint
];
postPatch = ''
substituteInPlace setup.py \
--replace "pygit2==0.28.2" "pygit2>=0.28.2"
'';
doCheck = false; doCheck = false;
pythonImportsCheck = [
"gitless"
];
meta = with lib; { meta = with lib; {
description = "Version control system built on top of Git";
homepage = "https://gitless.com/"; homepage = "https://gitless.com/";
description = "A version control system built on top of Git"; license = licenses.mit;
license = licenses.gpl2; maintainers = with maintainers; [ cransom ];
platforms = platforms.all; platforms = platforms.all;
maintainers = [ maintainers.cransom ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }: { lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "plex-mpv-shim"; pname = "plex-mpv-shim";
@ -11,7 +11,7 @@ buildPythonApplication rec {
sha256 = "0hgv9g17dkrh3zbsx27n80yvkgix9j2x0rgg6d3qsf7hp5j3xw4r"; sha256 = "0hgv9g17dkrh3zbsx27n80yvkgix9j2x0rgg6d3qsf7hp5j3xw4r";
}; };
propagatedBuildInputs = [ mpv requests python-mpv-jsonipc ]; propagatedBuildInputs = [ mpv requests python-mpv-jsonipc pystray tkinter ];
# does not contain tests # does not contain tests
doCheck = false; doCheck = false;

View file

@ -3,13 +3,13 @@
let let
unwrapped = python3Packages.buildPythonPackage rec { unwrapped = python3Packages.buildPythonPackage rec {
pname = "qtile"; pname = "qtile";
version = "0.19.0"; version = "0.20.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "qtile"; owner = "qtile";
repo = "qtile"; repo = "qtile";
rev = "v${version}"; rev = "v${version}";
sha256 = "BLHGVPMQd8O4h5TVx/F/klzSra+FZYogp22V6Yq04T0="; sha256 = "TRmul3t//izJRdViTvxFz29JZeGYsWc7WsJjagQ35nw=";
}; };
postPatch = '' postPatch = ''

View file

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libdeltachat"; pname = "libdeltachat";
version = "1.71.0"; version = "1.72.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "deltachat"; owner = "deltachat";
repo = "deltachat-core-rust"; repo = "deltachat-core-rust";
rev = version; rev = version;
hash = "sha256-zpjg7R6/fmDfvFTsooak3B+gwbCadwxiQfbKREqEXY8="; hash = "sha256-/StX22pSQtfOYbBTFL7vh0Y0V038Ohyq+qoDECITD80=";
}; };
patches = [ patches = [
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-BHjb2mtB7b2KhQtdlLwDPg7plkS3uYku7AfxRExQhfs="; hash = "sha256-Jwf95oTyGsOikVMKAg+EaDNY78VW+kECD+lhNePSKWE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -3,7 +3,6 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest-asyncio , pytest-asyncio
, pytest-cov
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, siosocks , siosocks
@ -29,7 +28,6 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
async-timeout async-timeout
pytest-asyncio pytest-asyncio
pytest-cov
pytestCheckHook pytestCheckHook
trustme trustme
]; ];

View file

@ -5,6 +5,7 @@
, pydevccu , pydevccu
, pytest-aiohttp , pytest-aiohttp
, pytestCheckHook , pytestCheckHook
, python-slugify
, pythonOlder , pythonOlder
, voluptuous , voluptuous
, websocket-client , websocket-client
@ -13,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hahomematic"; pname = "hahomematic";
version = "0.21.2"; version = "0.27.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -22,11 +23,12 @@ buildPythonPackage rec {
owner = "danielperna84"; owner = "danielperna84";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-oD4HXdzlQJZ/+ceF9zfmGs6S8DEVoxzLv5h/IURJnOY="; sha256 = "sha256-RPUj0We1nsKgAl1DTpa3pCD7gMm590N00+xwOVFIOaw=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
python-slugify
voluptuous voluptuous
]; ];

View file

@ -6,7 +6,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydevccu"; pname = "pydevccu";
version = "0.1.0"; version = "0.1.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -15,7 +15,7 @@ buildPythonPackage rec {
owner = "danielperna84"; owner = "danielperna84";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-bLXACJPiHZlJzoDm7N9RWskN+qQddSkGFX9d4YcTaLo="; sha256 = "sha256-awTy1yQdiKvqcUb8ecgOMhgpzpF7HvFZw/W8urA92LU=";
}; };
# Module has no tests # Module has no tests

View file

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, geos
, pytestCheckHook
, cython
, numpy
}:
buildPythonPackage rec {
pname = "pygeos";
version = "0.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PEFULvZ8ZgFfRDrj5uaDUDqKIh+cJPsjgPauQq7RYAo=";
};
nativeBuildInputs = [
geos # for geos-config
cython
];
propagatedBuildInputs = [ numpy ];
# The cythonized extensions are required to exist in the pygeos/ directory
# for the package to function. Therefore override of buildPhase was
# necessary.
buildPhase = ''
${python.interpreter} setup.py build_ext --inplace
${python.interpreter} setup.py bdist_wheel
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pygeos" ];
meta = with lib; {
description = "Wraps GEOS geometry functions in numpy ufuncs.";
homepage = "https://github.com/pygeos/pygeos";
license = licenses.bsd3;
maintainers = with maintainers; [ nialov ];
};
}

View file

@ -12,21 +12,27 @@
, wayland , wayland
, pywayland , pywayland
, xkbcommon , xkbcommon
, xorg
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pywlroots"; pname = "pywlroots";
version = "0.14.12"; version = "0.15.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "80v1kuiYL3OdtDVJj0EvgrO9x1eN8xxUyRuI4Wb4giI="; sha256 = "sCHeiD6KugHZLtxcVcLggdHC1gqCxStuHy1065TbGiY=";
}; };
# The XWayland detection uses some hard-coded FHS paths. Since we
# know wlroots was built with xwayland support, replace its
# detection with `return True`.
patches = [ ./xwayland.patch ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
propagatedNativeBuildInputs = [ cffi ]; propagatedNativeBuildInputs = [ cffi ];
buildInputs = [ libinput libxkbcommon pixman udev wayland wlroots ]; buildInputs = [ libinput libxkbcommon pixman xorg.libxcb udev wayland wlroots ];
propagatedBuildInputs = [ cffi pywayland xkbcommon ]; propagatedBuildInputs = [ cffi pywayland xkbcommon ];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
@ -40,6 +46,7 @@ buildPythonPackage rec {
homepage = "https://github.com/flacjacket/pywlroots"; homepage = "https://github.com/flacjacket/pywlroots";
description = "Python bindings to wlroots using cffi"; description = "Python bindings to wlroots using cffi";
license = licenses.ncsa; license = licenses.ncsa;
platforms = platforms.linux;
maintainers = with maintainers; [ chvp ]; maintainers = with maintainers; [ chvp ];
}; };
} }

View file

@ -0,0 +1,25 @@
diff --git a/wlroots/ffi_build.py b/wlroots/ffi_build.py
index bb07ff8..f19efe3 100644
--- a/wlroots/ffi_build.py
+++ b/wlroots/ffi_build.py
@@ -55,19 +55,7 @@ def has_xwayland() -> bool:
Check for XWayland headers. If present, wlroots was built with XWayland support, so
pywlroots can be too.
"""
- try:
- FFI().verify(
- "#include <wlr/xwayland.h>",
- define_macros=[("WLR_USE_UNSTABLE", 1)],
- include_dirs=["/usr/include/pixman-1", include_dir.as_posix()],
- )
- return True
- except VerificationError:
- print("If XWayland support is not required, ignore the above error message.")
- print(
- "If support is required, ensure wlroots was built with -Dxwayland=enabled."
- )
- return False
+ return True
# backend.h

View file

@ -20,7 +20,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "qcs-api-client"; pname = "qcs-api-client";
version = "0.20.9"; version = "0.20.10";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "rigetti"; owner = "rigetti";
repo = "qcs-api-client-python"; repo = "qcs-api-client-python";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-bQ+5TZzjxGnNRsENEW/sN7sF6SOcgWl4MFtLekD0D+8="; hash = "sha256-pBC8pFrk6iNYPS3/LKaVo+ds2okN56bxzvffEfs6SrU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -30,6 +30,13 @@ buildPythonPackage rec {
pytest-trio pytest-trio
]; ];
disabledTestPaths = [
# Timeout on Hydra
"tests/test_trio.py"
"tests/test_sansio.py"
"tests/test_socketserver.py"
];
pythonImportsCheck = [ pythonImportsCheck = [
"siosocks" "siosocks"
]; ];

View file

@ -1,5 +1,5 @@
{ stdenv { lib
, lib , stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
@ -32,6 +32,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sunpy"; pname = "sunpy";
version = "3.1.3"; version = "3.1.3";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
@ -40,36 +42,36 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
setuptools-scm
astropy-extension-helpers astropy-extension-helpers
setuptools-scm
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy asdf
scipy
matplotlib
pandas
astropy astropy
astropy-helpers astropy-helpers
h5netcdf
parfive
sqlalchemy
scikitimage
towncrier
glymur
beautifulsoup4 beautifulsoup4
drms drms
glymur
h5netcdf
matplotlib
numpy
pandas
parfive
python-dateutil python-dateutil
zeep scikitimage
scipy
sqlalchemy
towncrier
tqdm tqdm
asdf zeep
]; ];
checkInputs = [ checkInputs = [
hypothesis hypothesis
pytestCheckHook
pytest-astropy pytest-astropy
pytest-mock pytest-mock
pytestCheckHook
]; ];
# darwin has write permission issues # darwin has write permission issues
@ -81,11 +83,20 @@ buildPythonPackage rec {
disabledTests = [ disabledTests = [
"rst" "rst"
"test_sunpy_warnings_logging"
"test_main_nonexisting_module"
"test_main_stdlib_module"
]; ];
disabledTestPaths = [ disabledTestPaths = [
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/helioprojective-1.0.0.yaml" "sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/helioprojective-1.0.0.yaml"
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/heliocentric-1.0.0.yaml" "sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/heliocentric-1.0.0.yaml"
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/heliographic_carrington-*.yaml"
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/geocentricearthequatorial-1.0.0.yaml"
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/geocentricsolarecliptic-1.0.0.yaml"
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/heliocentricearthecliptic-1.0.0.yaml"
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/coordinates/frames/heliocentricinertial-1.0.0.yaml"
"sunpy/io/special/asdf/schemas/sunpy.org/sunpy/map/generic_map-1.0.0.yaml"
# requires mpl-animators package # requires mpl-animators package
"sunpy/map/tests/test_compositemap.py" "sunpy/map/tests/test_compositemap.py"
"sunpy/map/tests/test_mapbase.py" "sunpy/map/tests/test_mapbase.py"
@ -100,17 +111,24 @@ buildPythonPackage rec {
"sunpy/visualization/colormaps/tests/test_cm.py" "sunpy/visualization/colormaps/tests/test_cm.py"
# requires cdflib package # requires cdflib package
"sunpy/timeseries/tests/test_timeseries_factory.py" "sunpy/timeseries/tests/test_timeseries_factory.py"
# distutils is deprecated
"sunpy/io/setup_package.py"
]; ];
pytestFlagsArray = [ pytestFlagsArray = [
"--deselect=sunpy/tests/tests/test_self_test.py::test_main_nonexisting_module" "-W"
"--deselect=sunpy/tests/tests/test_self_test.py::test_main_stdlib_module" "ignore::DeprecationWarning"
]; ];
# Wants a configuration file
# pythonImportsCheck = [
# "sunpy"
# ];
meta = with lib; { meta = with lib; {
description = "SunPy: Python for Solar Physics"; description = "Python for Solar Physics";
homepage = "https://sunpy.org"; homepage = "https://sunpy.org";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }

View file

@ -22,13 +22,13 @@ with py.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "checkov"; pname = "checkov";
version = "2.0.753"; version = "2.0.762";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bridgecrewio"; owner = "bridgecrewio";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-6CBe4BuztW3EoLWqGmuRmWfVfb1gP5cPEzYnyBtPEsE="; hash = "sha256-7YINKTvEAAOGoGkc4t2YwuMBF4rvOxRD2XhJxJBWvis=";
}; };
nativeBuildInputs = with py.pkgs; [ nativeBuildInputs = with py.pkgs; [
@ -81,7 +81,8 @@ buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" --replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" \
--replace "prettytable>=3.0.0" "prettytable"
''; '';
preCheck = '' preCheck = ''

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, ocaml, findlib }: { lib, stdenv, fetchFromGitHub, ocaml, findlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ocamlbuild-${version}"; pname = "ocaml${ocaml.version}-ocamlbuild";
version = "0.14.0"; version = "0.14.0";
src = fetchFromGitHub { src = fetchFromGitHub {

View file

@ -11,11 +11,11 @@ in
with python3.pkgs; with python3.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "matrix-synapse"; pname = "matrix-synapse";
version = "1.50.2"; version = "1.51.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-dy5VCrrmZjWAAkcyfCzUaPLDGSyA0zlP6n8vhS0V8N0="; sha256 = "sha256-qhwFRveFCwflQmVCwzThC8sP+YCqckgCaXAc3IRms0g=";
}; };
buildInputs = [ openssl ]; buildInputs = [ openssl ];

View file

@ -13,7 +13,7 @@
# Outputs # Outputs
, alsa-lib, libjack2, libpulseaudio, libshout, pipewire , alsa-lib, libjack2, libpulseaudio, libshout, pipewire
# Misc # Misc
, icu, sqlite, avahi, dbus, pcre, libgcrypt, expat , icu, sqlite, avahi, dbus, pcre2, libgcrypt, expat
# Services # Services
, yajl , yajl
# Client support # Client support
@ -79,7 +79,7 @@ let
dbus = [ dbus ]; dbus = [ dbus ];
expat = [ expat ]; expat = [ expat ];
icu = [ icu ]; icu = [ icu ];
pcre = [ pcre ]; pcre = [ pcre2 ];
sqlite = [ sqlite ]; sqlite = [ sqlite ];
syslog = [ ]; syslog = [ ];
systemd = [ systemd ]; systemd = [ systemd ];
@ -116,13 +116,13 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "mpd"; pname = "mpd";
version = "0.23.4"; version = "0.23.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MusicPlayerDaemon"; owner = "MusicPlayerDaemon";
repo = "MPD"; repo = "MPD";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-siMFLV1fKdRt8To6AhLXmAAsgqZCA/bbvmlhbb6hLic="; sha256 = "sha256-zsxh/rUJtcuke0zYBrh225Qd6RKo1SiFDbMmROdkyjI=";
}; };
buildInputs = [ buildInputs = [

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wiki-js"; pname = "wiki-js";
version = "2.5.268"; version = "2.5.272";
src = fetchurl { src = fetchurl {
url = "https://github.com/Requarks/wiki/releases/download/${version}/${pname}.tar.gz"; url = "https://github.com/Requarks/wiki/releases/download/${version}/${pname}.tar.gz";
sha256 = "sha256-Ec4trrVETbgKs41aIc4Ne02c969Qc44QtoBf8tyk4+I="; sha256 = "sha256-30thDjmjc24tChgih0FZyIUU6/aKKl4MAD5yqn0yYa4=";
}; };
sourceRoot = "."; sourceRoot = ".";

View file

@ -5,6 +5,8 @@
, fetchurl , fetchurl
, fetchpatch , fetchpatch
, libedit , libedit
, runCommand
, dash
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -52,5 +54,13 @@ stdenv.mkDerivation rec {
passthru = { passthru = {
shellPath = "/bin/dash"; shellPath = "/bin/dash";
tests = {
"execute-simple-command" = runCommand "${pname}-execute-simple-command" { } ''
mkdir $out
${dash}/bin/dash -c 'echo "Hello World!" > $out/success'
[ -s $out/success ]
grep -q "Hello World" $out/success
'';
};
}; };
} }

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-release"; pname = "cargo-release";
version = "0.19.0"; version = "0.19.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "crate-ci"; owner = "crate-ci";
repo = "cargo-release"; repo = "cargo-release";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-u1XXkenMIflbXACxOeeq7Mg5ubel4oFXpL/uy6McQf0="; sha256 = "sha256-/lY6NQN1oYH+gNyYLXVoqHhikJxd1R0KbpZvuSemnwI=";
}; };
cargoSha256 = "sha256-7QOaSEaX2JXtTQQo3RXbMpZg6V2wzfoQbId9QOD9sCA="; cargoSha256 = "sha256-iw4RPW4VwfsvDgaxphBIlSPM5IhCyVv07mrCpIPKaPI=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -1791,7 +1791,7 @@ with pkgs;
github-to-sqlite = with python3Packages; toPythonApplication github-to-sqlite; github-to-sqlite = with python3Packages; toPythonApplication github-to-sqlite;
gitless = callPackage ../applications/version-management/gitless { python = python3; }; gitless = callPackage ../applications/version-management/gitless { };
gistyc = with python3Packages; toPythonApplication gistyc; gistyc = with python3Packages; toPythonApplication gistyc;

View file

@ -6829,6 +6829,8 @@ in {
pygeoip = callPackage ../development/python-modules/pygeoip { }; pygeoip = callPackage ../development/python-modules/pygeoip { };
pygeos = callPackage ../development/python-modules/pygeos { };
pygetwindow = callPackage ../development/python-modules/pygetwindow { }; pygetwindow = callPackage ../development/python-modules/pygetwindow { };
pygit2 = callPackage ../development/python-modules/pygit2 { }; pygit2 = callPackage ../development/python-modules/pygit2 { };
@ -8278,9 +8280,7 @@ in {
pywizlight = callPackage ../development/python-modules/pywizlight { }; pywizlight = callPackage ../development/python-modules/pywizlight { };
pywlroots = callPackage ../development/python-modules/pywlroots { pywlroots = callPackage ../development/python-modules/pywlroots { };
wlroots = pkgs.wlroots_0_14;
};
pyxattr = callPackage ../development/python-modules/pyxattr { }; pyxattr = callPackage ../development/python-modules/pyxattr { };