Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-10-14 12:01:35 +00:00 committed by GitHub
commit cc090d2b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 438 additions and 239 deletions

View File

@ -34,6 +34,8 @@ jobs:
--argstr keep-going true \ --argstr keep-going true \
--argstr max-workers 2 \ --argstr max-workers 2 \
--argstr path terraform-providers --argstr path terraform-providers
- name: clean repo
run: |
git clean -f git clean -f
- name: create PR - name: create PR
uses: peter-evans/create-pull-request@v4 uses: peter-evans/create-pull-request@v4
@ -41,6 +43,8 @@ jobs:
body: | body: |
Automatic update by [update-terraform-providers](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/update-terraform-providers.yml) action. Automatic update by [update-terraform-providers](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/update-terraform-providers.yml) action.
https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}
Check that all providers build with: Check that all providers build with:
``` ```
@ofborg build terraform.full @ofborg build terraform.full

View File

@ -441,6 +441,7 @@ in {
non-default-filesystems = handleTest ./non-default-filesystems.nix {}; non-default-filesystems = handleTest ./non-default-filesystems.nix {};
noto-fonts = handleTest ./noto-fonts.nix {}; noto-fonts = handleTest ./noto-fonts.nix {};
novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {}; novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {};
nscd = handleTest ./nscd.nix {};
nsd = handleTest ./nsd.nix {}; nsd = handleTest ./nsd.nix {};
nzbget = handleTest ./nzbget.nix {}; nzbget = handleTest ./nzbget.nix {};
nzbhydra2 = handleTest ./nzbhydra2.nix {}; nzbhydra2 = handleTest ./nzbhydra2.nix {};
@ -531,7 +532,6 @@ in {
rasdaemon = handleTest ./rasdaemon.nix {}; rasdaemon = handleTest ./rasdaemon.nix {};
redis = handleTest ./redis.nix {}; redis = handleTest ./redis.nix {};
redmine = handleTest ./redmine.nix {}; redmine = handleTest ./redmine.nix {};
resolv = handleTest ./resolv.nix {};
restartByActivationScript = handleTest ./restart-by-activation-script.nix {}; restartByActivationScript = handleTest ./restart-by-activation-script.nix {};
restic = handleTest ./restic.nix {}; restic = handleTest ./restic.nix {};
retroarch = handleTest ./retroarch.nix {}; retroarch = handleTest ./retroarch.nix {};

107
nixos/tests/nscd.nix Normal file
View File

@ -0,0 +1,107 @@
import ./make-test-python.nix ({ pkgs, ... }:
let
# build a getent that itself doesn't see anything in /etc/hosts and
# /etc/nsswitch.conf, by using libredirect to steer its own requests to
# /dev/null.
# This means is /has/ to go via nscd to actuallly resolve any of the
# additionally configured hosts.
getent' = pkgs.writeScript "getent-without-etc-hosts" ''
export NIX_REDIRECTS=/etc/hosts=/dev/null:/etc/nsswitch.conf=/dev/null
export LD_PRELOAD=${pkgs.libredirect}/lib/libredirect.so
exec getent $@
'';
in
{
name = "nscd";
nodes.machine = { pkgs, ... }: {
imports = [ common/user-account.nix ];
networking.extraHosts = ''
2001:db8::1 somehost.test
192.0.2.1 somehost.test
'';
specialisation = {
withUnscd.configuration = { ... }: {
services.nscd.package = pkgs.unscd;
};
};
};
testScript = { nodes, ... }:
let
specialisations = "${nodes.machine.system.build.toplevel}/specialisation";
in
''
# Regression test for https://github.com/NixOS/nixpkgs/issues/50273
def test_dynamic_user():
with subtest("DynamicUser actually allocates a user"):
assert "iamatest" in machine.succeed(
"systemd-run --pty --property=Type=oneshot --property=DynamicUser=yes --property=User=iamatest whoami"
)
# Test resolution of somehost.test with getent', to make sure we go via nscd
def test_host_lookups():
with subtest("host lookups via nscd"):
# ahosts
output = machine.succeed("${getent'} ahosts somehost.test")
assert "192.0.2.1" in output
assert "2001:db8::1" in output
# ahostsv4
output = machine.succeed("${getent'} ahostsv4 somehost.test")
assert "192.0.2.1" in output
assert "2001:db8::1" not in output
# ahostsv6
output = machine.succeed("${getent'} ahostsv6 somehost.test")
assert "192.0.2.1" not in output
assert "2001:db8::1" in output
# reverse lookups (hosts)
assert "somehost.test" in machine.succeed("${getent'} hosts 2001:db8::1")
assert "somehost.test" in machine.succeed("${getent'} hosts 192.0.2.1")
# Test host resolution via nss modules works
# We rely on nss-myhostname in this case, which resolves *.localhost and
# _gateway.
# We don't need to use getent' here, as non-glibc nss modules can only be
# discovered via nscd.
def test_nss_myhostname():
with subtest("nss-myhostname provides hostnames (ahosts)"):
# ahosts
output = machine.succeed("getent ahosts foobar.localhost")
assert "::1" in output
assert "127.0.0.1" in output
# ahostsv4
output = machine.succeed("getent ahostsv4 foobar.localhost")
assert "::1" not in output
assert "127.0.0.1" in output
# ahostsv6
output = machine.succeed("getent ahostsv6 foobar.localhost")
assert "::1" in output
assert "127.0.0.1" not in output
start_all()
machine.wait_for_unit("default.target")
# Test all tests with glibc-nscd.
test_dynamic_user()
test_host_lookups()
test_nss_myhostname()
with subtest("unscd"):
machine.succeed('${specialisations}/withUnscd/bin/switch-to-configuration test')
machine.wait_for_unit("default.target")
# known to fail, unscd doesn't load external NSS modules
# test_dynamic_user()
test_host_lookups()
# known to fail, unscd doesn't load external NSS modules
# test_nss_myhostname()
'';
})

View File

@ -1,46 +0,0 @@
# Test whether DNS resolving returns multiple records and all address families.
import ./make-test-python.nix ({ pkgs, ... } : {
name = "resolv";
meta = with pkgs.lib.maintainers; {
maintainers = [ ckauhaus ];
};
nodes.resolv = { ... }: {
networking.extraHosts = ''
# IPv4 only
192.0.2.1 host-ipv4.example.net
192.0.2.2 host-ipv4.example.net
# IP6 only
2001:db8::2:1 host-ipv6.example.net
2001:db8::2:2 host-ipv6.example.net
# dual stack
192.0.2.1 host-dual.example.net
192.0.2.2 host-dual.example.net
2001:db8::2:1 host-dual.example.net
2001:db8::2:2 host-dual.example.net
'';
};
testScript = ''
def addrs_in(hostname, addrs):
res = resolv.succeed("getent ahosts {}".format(hostname))
for addr in addrs:
assert addr in res, "Expected output '{}' not found in\n{}".format(addr, res)
start_all()
resolv.wait_for_unit("nscd")
ipv4 = ["192.0.2.1", "192.0.2.2"]
ipv6 = ["2001:db8::2:1", "2001:db8::2:2"]
with subtest("IPv4 resolves"):
addrs_in("host-ipv4.example.net", ipv4)
with subtest("IPv6 resolves"):
addrs_in("host-ipv6.example.net", ipv6)
with subtest("Dual stack resolves"):
addrs_in("host-dual.example.net", ipv4 + ipv6)
'';
})

View File

@ -87,12 +87,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.succeed("test -e /home/alice/user_conf_read") machine.succeed("test -e /home/alice/user_conf_read")
machine.succeed("test -z $(ls -1 /var/log/journal)") machine.succeed("test -z $(ls -1 /var/log/journal)")
# Regression test for https://github.com/NixOS/nixpkgs/issues/50273
with subtest("DynamicUser actually allocates a user"):
assert "iamatest" in machine.succeed(
"systemd-run --pty --property=Type=oneshot --property=DynamicUser=yes --property=User=iamatest whoami"
)
with subtest("regression test for https://bugs.freedesktop.org/show_bug.cgi?id=77507"): with subtest("regression test for https://bugs.freedesktop.org/show_bug.cgi?id=77507"):
retcode, output = machine.execute("systemctl status testservice1.service") retcode, output = machine.execute("systemctl status testservice1.service")
assert retcode in [0, 3] # https://bugs.freedesktop.org/show_bug.cgi?id=77507 assert retcode in [0, 3] # https://bugs.freedesktop.org/show_bug.cgi?id=77507

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "new-session-manager"; pname = "new-session-manager";
version = "1.6.0"; version = "1.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "linuxaudio"; owner = "linuxaudio";
repo = "new-session-manager"; repo = "new-session-manager";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-QVykRYXToeVXr7pYQy2afgEAlXrQnm68+xEUZhd+FkY="; sha256 = "sha256-5G2GlBuKjC/r1SMm78JKia7bMA97YcvUR5l6zBucemw=";
}; };
nativeBuildInputs = [ meson pkg-config ninja ]; nativeBuildInputs = [ meson pkg-config ninja ];

View File

@ -3,12 +3,14 @@
, fetchFromGitHub , fetchFromGitHub
, SDL2 , SDL2
, cmake , cmake
, libepoxy , copyDesktopItems
, ffmpeg_4 , ffmpeg
, imagemagick , imagemagick
, libedit , libedit
, libelf , libelf
, libepoxy
, libzip , libzip
, lua
, makeDesktopItem , makeDesktopItem
, minizip , minizip
, pkg-config , pkg-config
@ -18,31 +20,33 @@
, wrapQtAppsHook , wrapQtAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "mgba"; pname = "mgba";
version = "0.9.3"; version = "0.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mgba-emu"; owner = "mgba-emu";
repo = "mgba"; repo = "mgba";
rev = version; rev = finalAttrs.version;
hash = "sha256-0ZtoyyoD+YjplJlPFpZgIg5119j/6X8ZaSZP+UpX5K0="; hash = "sha256-2thc2v3aD8t1PrREZIjzRuYfP7b3BA7uFb6R95zxsZI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
copyDesktopItems
pkg-config pkg-config
wrapQtAppsHook wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
SDL2 SDL2
libepoxy ffmpeg
ffmpeg_4
imagemagick imagemagick
libedit libedit
libelf libelf
libepoxy
libzip libzip
lua
minizip minizip
qtbase qtbase
qtmultimedia qtmultimedia
@ -79,9 +83,9 @@ stdenv.mkDerivation rec {
runners, and a modern feature set for emulators that older emulators may runners, and a modern feature set for emulators that older emulators may
not support. not support.
''; '';
changelog = "https://github.com/mgba-emu/mgba/blob/${finalAttrs.version}/CHANGES";
license = licenses.mpl20; license = licenses.mpl20;
maintainers = with maintainers; [ MP2E AndersonTorres ]; maintainers = with maintainers; [ MP2E AndersonTorres ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} })
# TODO: use desktopItem functions

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, qt5
, cmake
, pkg-config
, imagemagick
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "cyan";
version = "1.2.4";
src = fetchFromGitHub {
owner = "rodlie";
repo = pname;
rev = version;
hash = "sha256-R5sj8AN7UT9OIeUPNrdTIUQvtEitXp1A32l/Z2qRS94=";
};
nativeBuildInputs = [
cmake
pkg-config
qt5.wrapQtAppsHook
];
buildInputs = [ imagemagick ];
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
description = "Image viewer and converter, designed for prepress (print) work";
homepage = "https://github.com/rodlie/cyan";
mainProgram = "Cyan";
license = licenses.cecill21;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
};
}

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gpxsee"; pname = "gpxsee";
version = "11.5"; version = "11.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumic0"; owner = "tumic0";
repo = "GPXSee"; repo = "GPXSee";
rev = version; rev = version;
hash = "sha256-bA5C+BFqeOS0oFgz/qlYOFMsuh3L/U6QJbzOcRQkNhY="; hash = "sha256-kwEltkLcMCZlUJyE+nyy70WboVO1FgMw0cH1hxLVtKQ=";
}; };
patches = (substituteAll { patches = (substituteAll {

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "atlantis"; pname = "atlantis";
version = "0.19.8"; version = "0.20.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "runatlantis"; owner = "runatlantis";
repo = "atlantis"; repo = "atlantis";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-o8lBpiR8gIo1kyOTkPOIuMnJbJsi619Zl0bAAFGYM4E="; sha256 = "sha256-5zchElzEjrIgODRUvQTQwlBz5371iJU5VOpz12Xtbcg=";
}; };
vendorSha256 = "sha256-aEMRCvZBaY1uwZqKtMmZ4aiPdNmtANcnuE7eykBiTQg="; vendorSha256 = "sha256-n2yzqNjmPDP+8/ipiuUt6BqFYF0Oh0Y0TCdKsqCcrIQ=";
subPackages = [ "." ]; subPackages = [ "." ];

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "atmos"; pname = "atmos";
version = "1.8.2"; version = "1.10.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cloudposse"; owner = "cloudposse";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-rDbnny/qRU31ciAXKLGLXS3FhgOpxmkLT4oatYCbt9g="; sha256 = "sha256-/rxGAfYjV5VzYs9h8eCpz5jhmW7jPdk1XB3bXHH+oQw=";
}; };
vendorSha256 = "sha256-Kfv3RlH80E/9yf/rvnY5vljaRr4cH5AhgXQn54x72Ds="; vendorSha256 = "sha256-/b764auKkZF0oMqNlXmsW9aB5gcq4WFQRFjsVhNDiB4=";
ldflags = [ "-s" "-w" "-X github.com/cloudposse/atmos/cmd.Version=v${version}" ]; ldflags = [ "-s" "-w" "-X github.com/cloudposse/atmos/cmd.Version=v${version}" ];

View File

@ -47,8 +47,8 @@ let
x86_64-darwin-version = "4.28.182"; x86_64-darwin-version = "4.28.182";
x86_64-darwin-sha256 = "0x0zc45k0jh0hivgjymcxnnwc2lwyfq68rw39lbxp4i1ir2sbnxg"; x86_64-darwin-sha256 = "0x0zc45k0jh0hivgjymcxnnwc2lwyfq68rw39lbxp4i1ir2sbnxg";
x86_64-linux-version = "4.28.171"; x86_64-linux-version = "4.28.184";
x86_64-linux-sha256 = "sha256-rsHX/NLLGR0XZsg3Cc6GjNK6rSc9UmM2XkfjqwsJZV4="; x86_64-linux-sha256 = "sha256-qAc9rHJbM7lmqNxOcOSnqnuib5zJ0Ry3hAGri8DKIlo=";
aarch64-darwin-version = "4.28.182"; aarch64-darwin-version = "4.28.182";
aarch64-darwin-sha256 = "0bc8lhmpm0310gh1w9xkb8i1cpldchm4b4mzsr9h0mhvljxmvlyf"; aarch64-darwin-sha256 = "0bc8lhmpm0310gh1w9xkb8i1cpldchm4b4mzsr9h0mhvljxmvlyf";

View File

@ -0,0 +1,60 @@
{ lib
, rustPlatform
, fetchFromGitLab
, pkg-config
, gtk4
, libadwaita
, wrapGAppsHook4
, glib
, tzdata
}:
rustPlatform.buildRustPackage rec {
pname = "karlender";
version = "0.6.2";
src = fetchFromGitLab {
owner = "loers";
repo = "karlender";
rev = "v${version}";
sha256 = "sha256-YF46C+Vz7eGl4lqOQXqiQqaa6ieo1p8l6QCh4oNSJEg=";
};
cargoSha256 = "sha256-Kx5K2tp5PAQWac8LVrmOsk8Qf9m34SJ1vyfv7Ef2Wr0=";
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
glib
];
buildInputs = [
gtk4
libadwaita
];
postPatch = ''
substituteInPlace src/domain/time.rs --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
'';
postInstall = ''
substituteInPlace target/gra-gen/data/codes.loers.Karlender.desktop \
--replace "Exec=codes.loers.Karlender" "Exec=karlender"
substituteInPlace target/gra-gen/data/codes.loers.Karlender.appdata.xml \
--replace "<binary>codes.loers.Karlender</binary>" "<binary>karlender</binary>"
install -Dm444 target/gra-gen/codes.loers.Karlender.gschema.xml -t $out/share/gsettings-schemas/$name/glib-2.0/schemas/
glib-compile-schemas $out/share/gsettings-schemas/$name/glib-2.0/schemas/
install -Dm444 target/gra-gen/data/codes.loers.Karlender.svg -t $out/share/icons/hicolor/scalable/apps/
install -Dm444 target/gra-gen/data/codes.loers.Karlender.64.png -T $out/share/icons/hicolor/64x64/apps/codes.loers.Karlender.png
install -Dm444 target/gra-gen/data/codes.loers.Karlender.128.png -T $out/share/icons/hicolor/128x128/apps/codes.loers.Karlender.png
install -Dm444 target/gra-gen/data/codes.loers.Karlender.desktop -t $out/share/applications/
install -Dm444 target/gra-gen/data/codes.loers.Karlender.appdata.xml -t $out/share/metainfo/
'';
meta = with lib; {
description = "Mobile-friendly GTK calendar application";
homepage = "https://gitlab.com/loers/karlender";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ chuangzhu ];
platforms = platforms.linux;
};
}

View File

@ -4,11 +4,11 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "MAVProxy"; pname = "MAVProxy";
version = "1.8.56"; version = "1.8.57";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-wyY9oYWABkXNhlZW4RFuyZy/HEnv7cGFVbXVoEnIF1Q="; sha256 = "sha256-tsx3oVXPIa3OtbLWj3QWrW9leL9/jsdbbLG+Wd3nxn4=";
}; };
postPatch = '' postPatch = ''

View File

@ -1,29 +1,27 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitea , fetchFromGitHub
, rustPlatform , rustPlatform
, libiconv
, Security , Security
, installShellFiles , installShellFiles
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "git-gone"; pname = "git-gone";
version = "0.4.1"; version = "0.4.2";
src = fetchFromGitea { src = fetchFromGitHub {
domain = "codeberg.org"; owner = "lunaryorn";
owner = "flausch"; repo = "git-gone";
repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-kqKFs3xvTVHnsLpLC9gjj1dcPChhegmupNrbWy+7C6o="; sha256 = "sha256-aKBNi797aMPawxD+BLpk0sazXz2g0XTzmDpR/mk07no=";
}; };
cargoSha256 = "sha256-8R13eHS69fQ3r3LYlnB3nPTPX7VesUPlAUCmQEpUUdw="; cargoSha256 = "sha256-vO1ePqDIy5HEBauO3OkMCovrgtIVB9biJExw/q89ivE=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; buildInputs = lib.optionals stdenv.isDarwin [ Security ];
postInstall = '' postInstall = ''
installManPage git-gone.1 installManPage git-gone.1
@ -31,8 +29,8 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "Cleanup stale Git branches of merge requests"; description = "Cleanup stale Git branches of merge requests";
homepage = "https://codeberg.org/flausch/git-gone"; homepage = "https://github.com/lunaryorn/git-gone";
changelog = "https://codeberg.org/flausch/git-gone/raw/tag/v${version}/CHANGELOG.md"; changelog = "https://github.com/lunaryorn/git-gone/raw/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.marsam ]; maintainers = [ maintainers.marsam ];
}; };

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "git-interactive-rebase-tool"; pname = "git-interactive-rebase-tool";
version = "2.2.0"; version = "2.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MitMaro"; owner = "MitMaro";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-++KTMzTt84dowoZP+Bc9E/jUS21YN5ybKrlpQUKCir0="; sha256 = "sha256-KqItunxh24jAkvsAMnByS+dhm+wyUqmdF96qEDs/5mI=";
}; };
cargoSha256 = "sha256-OUaP/nDs589FYaGYcleRMTQNu3/q/2wBjHSv2q8OyjA="; cargoSha256 = "sha256-510kNtcSsuXADMmSqu2t0HsnPUS/Jedsfvjnh2k+vDs=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];

View File

@ -26,13 +26,13 @@
mkDerivation rec { mkDerivation rec {
pname = "haruna"; pname = "haruna";
version = "0.9.1"; version = "0.9.3";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "multimedia"; owner = "multimedia";
repo = "haruna"; repo = "haruna";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-pkskrzpKDsMg7DOC335zXknEIKh9Ku2NgyeinawQtiY="; hash = "sha256-JINvLmiS6EnkAmxbqPJI+J9Wk4+ZXwZZm1x5Ew7FCBg=";
domain = "invent.kde.org"; domain = "invent.kde.org";
}; };

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
dontConfigure = true; dontConfigure = true;
buildPhase = '' buildPhase = ''
${stdenv.cc}/bin/cc -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm $CC -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm
''; '';
installPhase = '' installPhase = ''

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nvidia-vaapi-driver"; pname = "nvidia-vaapi-driver";
version = "0.0.6"; version = "0.0.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elFarto"; owner = "elFarto";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-/9PCqjs0hiIM7ZLvDesff5Bh0a1B8/w/CTw62spw+j4="; sha256 = "sha256-c74XJW9e8sgjBuTpZQOgIvgEoP73aQlx6beE6bChYfw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -38,7 +38,7 @@ in stdenv.mkDerivation {
homepage = "https://oracle.github.io/odpi/"; homepage = "https://oracle.github.io/odpi/";
maintainers = with maintainers; [ mkazulak flokli ]; maintainers = with maintainers; [ mkazulak flokli ];
license = licenses.asl20; license = licenses.asl20;
platforms = [ "x86_64-linux" "x86_64-darwin" ]; platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
hydraPlatforms = []; hydraPlatforms = [];
}; };
} }

View File

@ -22,18 +22,32 @@ let
# determine the version number, there might be different ones per architecture # determine the version number, there might be different ones per architecture
version = { version = {
x86_64-linux = "19.3.0.0.0"; x86_64-linux = "19.16.0.0.0";
aarch64-linux = "19.10.0.0.0";
x86_64-darwin = "19.3.0.0.0"; x86_64-darwin = "19.3.0.0.0";
}.${stdenv.hostPlatform.system} or throwSystem; }.${stdenv.hostPlatform.system} or throwSystem;
directory = {
x86_64-linux = "1916000";
aarch64-linux = "191000";
x86_64-darwin = "193000";
}.${stdenv.hostPlatform.system} or throwSystem;
# hashes per component and architecture # hashes per component and architecture
hashes = { hashes = {
x86_64-linux = { x86_64-linux = {
basic = "1yk4ng3a9ka1mzgfph9br6rwclagbgfvmg6kja11nl5dapxdzaxy"; basic = "sha256-Sq1rWvbC1YME7EjSYPaP2g+1Xxxkk4ZkGaBmLo2cKcQ=";
sdk = "115v1gqr0czy7dcf2idwxhc6ja5b0nind0mf1rn8iawgrw560l99"; sdk = "sha256-yJ8f/Hlq6vZoPxv+dfY4z1E7rWvcqlK+ou0SU0KKlEI=";
sqlplus = "0zj5h84ypv4n4678kfix6jih9yakb277l9hc0819iddc0a5slbi5"; sqlplus = "sha256-C44srukpCB9et9UWm59daJmU83zr0HAktnWv7R42Irw=";
tools = "1q19blr0gz1c8bq0bnv1njzflrp03hf82ngid966xc6gwmqpkdsk"; tools = "sha256-GP4E1REIoU3lctVYmLsAiwTJEvGRpCmOFlRuZk+A8HE=";
odbc = "1g1z6pdn76dp440fh49pm8ijfgjazx4cvxdi665fsr62h62xkvch"; odbc = "sha256-JECxK7Ia1IJtve2goZJdTkvm5NJjqB2rc6k5BXUt3oA=";
};
aarch64-linux = {
basic = "sha256-DNntH20BAmo5kOz7uEgW2NXaNfwdvJ8l8oMnp50BOsY=";
sdk = "sha256-8VpkNyLyFMUfQwbZpSDV/CB95RoXfaMr8w58cRt/syw=";
sqlplus = "sha256-iHcyijHhAvjsAqN9R+Rxo2R47k940VvPbScc2MWYn0Q=";
tools = "sha256-4QY0EwcnctwPm6ZGDZLudOFM4UycLFmRIluKGXVwR0M=";
odbc = "sha256-T+RIIKzZ9xEg/E72pfs5xqHz2WuIWKx/oRfDrQbw3ms=";
}; };
x86_64-darwin = { x86_64-darwin = {
basic = "f4335c1d53e8188a3a8cdfb97494ff87c4d0f481309284cf086dc64080a60abd"; basic = "f4335c1d53e8188a3a8cdfb97494ff87c4d0f481309284cf086dc64080a60abd";
@ -50,11 +64,13 @@ let
# convert platform to oracle architecture names # convert platform to oracle architecture names
arch = { arch = {
x86_64-linux = "linux.x64"; x86_64-linux = "linux.x64";
aarch64-linux = "linux.arm64";
x86_64-darwin = "macos.x64"; x86_64-darwin = "macos.x64";
}.${stdenv.hostPlatform.system} or throwSystem; }.${stdenv.hostPlatform.system} or throwSystem;
shortArch = { shortArch = {
x86_64-linux = "linux"; x86_64-linux = "linux";
aarch64-linux = "linux";
x86_64-darwin = "mac"; x86_64-darwin = "mac";
}.${stdenv.hostPlatform.system} or throwSystem; }.${stdenv.hostPlatform.system} or throwSystem;
@ -62,12 +78,11 @@ let
srcFilename = component: arch: version: rel: srcFilename = component: arch: version: rel:
"instantclient-${component}-${arch}-${version}" + "instantclient-${component}-${arch}-${version}" +
(optionalString (rel != "") "-${rel}") + (optionalString (rel != "") "-${rel}") +
(optionalString (arch == "linux.x64" || arch == "macos.x64") "dbru") + # ¯\_(ツ)_/¯ "dbru.zip"; # ¯\_(ツ)_/¯
".zip";
# fetcher for the non clickthrough artifacts # fetcher for the non clickthrough artifacts
fetcher = srcFilename: hash: fetchurl { fetcher = srcFilename: hash: fetchurl {
url = "https://download.oracle.com/otn_software/${shortArch}/instantclient/193000/${srcFilename}"; url = "https://download.oracle.com/otn_software/${shortArch}/instantclient/${directory}/${srcFilename}";
sha256 = hash; sha256 = hash;
}; };
@ -127,7 +142,7 @@ stdenv.mkDerivation {
''; '';
sourceProvenance = with sourceTypes; [ binaryBytecode ]; sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.unfree; license = licenses.unfree;
platforms = [ "x86_64-linux" "x86_64-darwin" ]; platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ flokli ]; maintainers = with maintainers; [ flokli ];
hydraPlatforms = [ ]; hydraPlatforms = [ ];
}; };

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clhep"; pname = "clhep";
version = "2.4.5.3"; version = "2.4.6.0";
src = fetchurl { src = fetchurl {
url = "https://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-${version}.tgz"; url = "https://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-${version}.tgz";
hash = "sha256-RfY+6wl/Av5nuGp9rb8Q1Am0AcKKGj4XLbNiUsMJfBM="; hash = "sha256-6NFt67hM7SjkDproR4nPWgra1F+SE/usPOdYPgbKp7E=";
}; };
prePatch = '' prePatch = ''

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rocksdb"; pname = "rocksdb";
version = "7.7.2"; version = "7.7.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "facebook"; owner = "facebook";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Cla2yat/xCrzx53mYRKjcvH9cCY0MVD8RSMjGfxVDUM="; sha256 = "sha256-Np3HPTZYzyoPOKL0xgsLzcvOkceFiEQd+1nyGbg4BHo=";
}; };
nativeBuildInputs = [ cmake ninja ]; nativeBuildInputs = [ cmake ninja ];

View File

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioftp"; pname = "aioftp";
version = "0.21.3"; version = "0.21.4";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-xtrlCzqgfwlbLZOoN9Y23ZPyNaqv5Ure+Cvg+OVWf9I="; sha256 = "sha256-KLsm1GFsfDgaFUMoH5hwUbjS0dW/rwI9nn4sIQXFG7k=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -7,41 +7,56 @@
, freezegun , freezegun
, humanize , humanize
, lark , lark
, lxml
, parse-type , parse-type
, pysingleton , pysingleton
, pytest-mock
, pytestCheckHook , pytestCheckHook
, pythonOlder
, pyyaml , pyyaml
, tag-expressions , tag-expressions
, lxml
, pytest-mock
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "radish-bdd"; pname = "radish-bdd";
version = "0.13.4"; version = "0.14.0";
format = "setuptools";
disabled = pythonOlder "3.7";
# Pypi package does not have necessary test fixtures.
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = "radish"; repo = "radish";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "1slfgh61648i009qj8156qipy21a6zm8qzjk00kbm5kk5z9jfryi"; hash = "sha256-7C8XgGlpNVUONSfg9DsIS8Awpy6iDzFOLAFs1xpfHXI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
lark
click click
colorful colorful
tag-expressions
parse-type
humanize
pyyaml
docopt docopt
humanize
lark
lxml
parse-type
pysingleton pysingleton
tag-expressions
]; ];
checkInputs = [ freezegun lxml pytestCheckHook pytest-mock ]; checkInputs = [
disabledTests = [ "test_main_cli_calls" ]; freezegun
pytest-mock
pytestCheckHook
pyyaml
];
pythonImportsCheck = [
"radish"
];
disabledTests = [
"test_main_cli_calls"
];
meta = with lib; { meta = with lib; {
description = "Behaviour-Driven-Development tool for python"; description = "Behaviour-Driven-Development tool for python";

View File

@ -11,13 +11,13 @@
mkDerivation rec { mkDerivation rec {
pname = "cutter"; pname = "cutter";
version = "2.1.0"; version = "2.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rizinorg"; owner = "rizinorg";
repo = "cutter"; repo = "cutter";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-JfJQuEUeLXCjzm4d0ZNHRVazF0Bk6fVAsNvBb+okoXs="; sha256 = "sha256-rJYnKQYrwj2zSg3dBHOI7zxwXTAO7ImAj0dkbVmUvHU=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "fly"; pname = "fly";
version = "7.8.2"; version = "7.8.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "concourse"; owner = "concourse";
repo = "concourse"; repo = "concourse";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Lgsn5k3ITJnRnOXXZjfjlEEG+OvTZjFq+LB3Us3DH8k="; sha256 = "sha256-7r9/r6gj8u3r4R5UQIxpnmJ33SGfEAuOcqRLK11khfc=";
}; };
vendorSha256 = "sha256-91N6AOxXFOI6AM28avlInseAeZkqE9IfybJAX31tPDg="; vendorSha256 = "sha256-tEh1D/eczqLzuVQUcHE4+7Q74jM/yomdPDt6+TVJeew=";
subPackages = [ "fly" ]; subPackages = [ "fly" ];

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "millet"; pname = "millet";
version = "0.3.14"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "azdavis"; owner = "azdavis";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-fi0kU1+gazSfQEyL3qYcK/qeMh1UGuitGXJ9FsVAiTw="; sha256 = "sha256-7CIi1a3SyuJzvBrjTE5wS7xKXEVdmUu2RUVeL3P//z8=";
}; };
cargoSha256 = "sha256-ijXGXq5+OOnf4Nmg68GcSKZe/5tjG0KebOsCWU+vmHc="; cargoSha256 = "sha256-Dg/dq2/q+snqbkX1fR/mgKozfKZlZOuT5vXFTuu0AiY=";
postPatch = '' postPatch = ''
rm .cargo/config.toml rm .cargo/config.toml

View File

@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "terraform-ls"; pname = "terraform-ls";
version = "0.29.2"; version = "0.29.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hashicorp"; owner = "hashicorp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-oPBk5mTCq8nn4olC9Z7ROvrfAUXDxnWhm8w20sh5Wkw="; sha256 = "sha256-CYbeRhwoffyELM0REZL14m4tTe/66GDToqNKcEfmums=";
}; };
vendorSha256 = "sha256-5Pb1mr3rYPcWFLjETAZp8rLW32n+RyCm7NbfooM4hZs="; vendorSha256 = "sha256-wbB3/RfzL05SaLv49gs7WKrjV//dM3SjpbMNGI1yH4I=";
ldflags = [ "-s" "-w" "-X main.version=v${version}" "-X main.prerelease=" ]; ldflags = [ "-s" "-w" "-X main.version=v${version}" "-X main.prerelease=" ];

View File

@ -2,14 +2,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-pgx"; pname = "cargo-pgx";
version = "0.4.5"; version = "0.5.0";
src = fetchCrate { src = fetchCrate {
inherit version pname; inherit version pname;
sha256 = "sha256-BcMGa/1ATwLG8VnwItfd5eqmrck/u0MEoR5sA2yuzyQ="; sha256 = "sha256-5UH34l4zmKFZY2uHLDqJ1kW/QRQbII0/zmmGA3DFKB4=";
}; };
cargoSha256 = "sha256-urlwqBCZMxlPEjLLPBhI2lDNTusCSZ1bZu1p8poVrtw="; cargoSha256 = "sha256-1CU/VrNS3tGycjel5MV6SrZJ7LExds2YhdO+VAHgusM=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View File

@ -1,28 +1,24 @@
{ lib, stdenv, fetchFromGitHub, SDL2, wxGTK } : { lib, stdenv, fetchFromGitHub, pkg-config, SDL2, wxGTK32, Cocoa }:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "sound-of-sorting"; pname = "sound-of-sorting";
version = "2017-12-23"; version = "unstable-2022-10-12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bingmann"; owner = "bingmann";
repo = "sound-of-sorting"; repo = "sound-of-sorting";
rev = "5884a357af5775fb57d89eb028d4bf150760db75"; rev = "5cfcaf752593c8cbcf52555dd22745599a7d8b1b";
sha256 = "01bpzn38cwn9zlydzvnfz9k7mxdnjnvgnbcpx7i4al8fha7x9lw8"; sha256 = "sha256-cBrTvFoz6WZIsh5qPPiWxQ338Z0OfcIefiI8CZF6nn8=";
}; };
buildInputs = nativeBuildInputs = [ pkg-config ];
[ wxGTK SDL2 ];
preConfigure = '' buildInputs = [ wxGTK32 SDL2 ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
export SDL_CONFIG=${SDL2.dev}/bin/sdl2-config
'';
meta = with lib; { meta = with lib; {
description = "Audibilization and Visualization of Sorting Algorithms"; description = "Audibilization and Visualization of Sorting Algorithms";
homepage = "https://panthema.net/2013/sound-of-sorting/"; homepage = "https://panthema.net/2013/sound-of-sorting/";
license = with licenses; gpl3; license = with licenses; gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
}; };
} }

View File

@ -4,16 +4,16 @@ let
# comments with variant added for update script # comments with variant added for update script
# ./update-zen.py zen # ./update-zen.py zen
zenVariant = { zenVariant = {
version = "5.19.12"; #zen version = "6.0.1"; #zen
suffix = "zen1"; #zen suffix = "zen2"; #zen
sha256 = "001zrsgsg5yl74yn4qdmykwmys4mdwnnbiqmfpw60i3qr5ig90ap"; #zen sha256 = "172xacqqkrnrbgf2sy158wny4dpb92isilq0p4x700xxrvvz4ag2"; #zen
isLqx = false; isLqx = false;
}; };
# ./update-zen.py lqx # ./update-zen.py lqx
lqxVariant = { lqxVariant = {
version = "5.19.12"; #lqx version = "5.19.15"; #lqx
suffix = "lqx1"; #lqx suffix = "lqx2"; #lqx
sha256 = "19y3znj3zjifkd1m8agb8f80kzfs1rx1ccpnq7fvkd7j4yd3khlf"; #lqx sha256 = "1zqfgxcba24y0v3xd249rbqvd92lcf3s888mmqwidxcdjqlj5kc8"; #lqx
isLqx = true; isLqx = true;
}; };
zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // { zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {

View File

@ -7,7 +7,7 @@
, installShellFiles , installShellFiles
}: }:
let let
version = "2.6.1"; version = "2.6.2";
dist = fetchFromGitHub { dist = fetchFromGitHub {
owner = "caddyserver"; owner = "caddyserver";
repo = "dist"; repo = "dist";
@ -23,20 +23,16 @@ buildGoModule {
owner = "caddyserver"; owner = "caddyserver";
repo = "caddy"; repo = "caddy";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Z8MiMhXH1er+uYvmDQiamF/jSxHbTMwjo61qbH0ioEo="; sha256 = "sha256-Tbf6RB3106OEZGc/Wx7vk+I82Z8/Q3WqnID4f8uZ6z0=";
}; };
vendorSha256 = "sha256-6UTErIPB/z4RfndPSLKFJDFweLB3ax8WxEDA+3G5asI="; vendorSha256 = "sha256-YxGXk3Q1qw6uZxrGc8l2lKExP2GP+nm3eYbHDoEbgdY=";
patches = [
./inject_version.diff
];
subPackages = [ "cmd/caddy" ]; subPackages = [ "cmd/caddy" ];
ldflags = [ ldflags = [
"-s" "-w" "-s" "-w"
"-X github.com/caddyserver/caddy/v2.ShortVersion=${version}" "-X github.com/caddyserver/caddy/v2.CustomVersion=${version}"
]; ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -1,15 +0,0 @@
diff --git a/caddy.go b/caddy.go
index 584865bd..082b9b6c 100644
--- a/caddy.go
+++ b/caddy.go
@@ -840,7 +840,10 @@ func InstanceID() (uuid.UUID, error) {
// and https://github.com/golang/go/issues/50603.
//
// This function is experimental and subject to change or removal.
+var ShortVersion = "(devel)"
+
func Version() (simple, full string) {
+ return ShortVersion, ShortVersion
// the currently-recommended way to build Caddy involves
// building it as a dependency so we can extract version
// information from go.mod tooling; once the upstream

View File

@ -14,7 +14,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "slurm"; pname = "slurm";
version = "22.05.4.1"; version = "22.05.5.1";
# N.B. We use github release tags instead of https://www.schedmd.com/downloads.php # N.B. We use github release tags instead of https://www.schedmd.com/downloads.php
# because the latter does not keep older releases. # because the latter does not keep older releases.
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
repo = "slurm"; repo = "slurm";
# The release tags use - instead of . # The release tags use - instead of .
rev = "${pname}-${builtins.replaceStrings ["."] ["-"] version}"; rev = "${pname}-${builtins.replaceStrings ["."] ["-"] version}";
sha256 = "100ixhpi4ahx5w7b1ncgmmg1ar48brp095lrxhcxr55fq2wqlv35"; sha256 = "1mw0dkll1iwwdpdbxcy26zpnjgj07prlgdz2da64krn4yyfhca30";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -2,11 +2,11 @@
, dataPath ? "/var/lib/snappymail" }: , dataPath ? "/var/lib/snappymail" }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "snappymail"; pname = "snappymail";
version = "2.18.5"; version = "2.18.6";
src = fetchurl { src = fetchurl {
url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz"; url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz";
sha256 = "sha256-JfKxeXLlK4n2BQwJa2JV5VHtNfW6W9cdd+9W+MnxZZo="; sha256 = "sha256-BoRumpU9HjkNDr113LvIGmpsLlRJtAmGhSBcUoGO8Vc=";
}; };
sourceRoot = "snappymail"; sourceRoot = "snappymail";

View File

@ -233,4 +233,13 @@ in self: {
thisAttr = "postgresql_14"; thisAttr = "postgresql_14";
inherit self; inherit self;
}; };
postgresql_15 = self.callPackage generic {
version = "15.0";
psqlSchema = "15";
hash = "sha256-cux09KfBbmhPQ+pC4hVJf81MVdAopo+3LpnmH/QNpNY=";
this = self.postgresql_15;
thisAttr = "postgresql_15";
inherit self;
};
} }

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "periods"; pname = "periods";
version = "1.2"; version = "1.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xocolatl"; owner = "xocolatl";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "13aix61qzlb7cs042dz4x0z4sc2xayg4nzi2cks46zibxm5i4gzm"; sha256 = "sha256-XAqjP8Cih+HzqlI8XjgCNzSVQSbaetLRvJReiwHdaIc=";
}; };
buildInputs = [ postgresql ]; buildInputs = [ postgresql ];

View File

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pg_partman"; pname = "pg_partman";
version = "4.7.0"; version = "4.7.1";
buildInputs = [ postgresql ]; buildInputs = [ postgresql ];
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
owner = "pgpartman"; owner = "pgpartman";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-Hbg3lf9XEIt5r4sYW+1r1tu6GyBgRXQxrPRWNuZPsvM="; sha256 = "sha256-XewRIzue38aXhjU6GKEiuUyY+6ngtyQLhCl3/T6Al+A=";
}; };
installPhase = '' installPhase = ''

View File

@ -2,15 +2,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pg_repack"; pname = "pg_repack";
version = "1.4.7"; version = "1.4.8";
buildInputs = [ postgresql openssl zlib readline ]; buildInputs = [ postgresql openssl zlib readline ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "reorg"; owner = "reorg";
repo = "pg_repack"; repo = "pg_repack";
rev = "refs/tags/ver_${version}"; rev = "f42c1bd707bd5d69a9eb33494133db2e47a2c05a"; # no release tag
sha256 = "12j8crgljvkm9dz790xcsr8l7sv8ydvb2imrb0jh1jvj0r9yg1v5"; sha256 = "sha256-pZjspnmPTXS/SbyLAd7vcoF01cbC6PnxZjuto4lUuQA=";
}; };
installPhase = '' installPhase = ''

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "pgjwt"; pname = "pgjwt";
version = "unstable-2017-04-24"; version = "unstable-2021-11-13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "michelp"; owner = "michelp";
repo = "pgjwt"; repo = "pgjwt";
rev = "546a2911027b716586e241be7fd4c6f1785237cd"; rev = "9742dab1b2f297ad3811120db7b21451bca2d3c9";
sha256 = "1riz0xvwb6y02j0fljbr9hcbqb2jqs4njlivmavy9ysbcrrv1vrf"; sha256 = "sha256-Hw3R9bMGDmh+dMzjmqZSy/rT4mX8cPU969OJiARFg10=";
}; };
dontBuild = true; dontBuild = true;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pgroonga"; pname = "pgroonga";
version = "2.3.9"; version = "2.4.0";
src = fetchurl { src = fetchurl {
url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz"; url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-qCS0ndupiRUSI0+BX+o56dgDN9/jPLPdAD16N+gGHqo="; sha256 = "sha256-W6quDn2B+BZ+J46aNMbtVq7OizT1q5jyKMZECAk0F7M=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, postgresql }: { lib, stdenv, fetchFromGitHub, fetchpatch, postgresql }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pgvector"; pname = "pgvector";
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-kIgdr3+KC11Qxk1uBTmcN4dDaLIhfo/Fs898boESsBc="; sha256 = "sha256-kIgdr3+KC11Qxk1uBTmcN4dDaLIhfo/Fs898boESsBc=";
}; };
patches = [
# Added support for Postgres 15. Remove with the next release.
(fetchpatch {
url = "https://github.com/pgvector/pgvector/commit/c9c6b96eede7d78758ca7ca5db98bf8b24021d0f.patch";
sha256 = "sha256-hgCpGtuYmqo4Ttlpn4FBskbNdZmM1wJeMQBJZ7H923g=";
})
];
buildInputs = [ postgresql ]; buildInputs = [ postgresql ];
installPhase = '' installPhase = ''

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "plpgsql_check"; pname = "plpgsql_check";
version = "2.2.1"; version = "2.2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "okbob"; owner = "okbob";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-0x7alz0EySMcqi4yZm5z6pZeL6glf8AYHG+dVBBtnIU="; sha256 = "sha256-Nxq4wpOWYt4oyoLxERWPhlEwWmLiDEk27EFyDtW/BfI=";
}; };
buildInputs = [ postgresql ]; buildInputs = [ postgresql ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, postgresql }: { lib, stdenv, fetchFromGitHub, postgresql }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "tsearch-extras"; pname = "tsearch-extras";
@ -11,7 +11,6 @@ stdenv.mkDerivation {
sha256 = "18j0saqblg3jhrz38splk173xjwdf32c67ymm18m8n5y94h8d2ba"; sha256 = "18j0saqblg3jhrz38splk173xjwdf32c67ymm18m8n5y94h8d2ba";
}; };
nativenativeBuildInputs = [ pkg-config ];
buildInputs = [ postgresql ]; buildInputs = [ postgresql ];
installPhase = '' installPhase = ''

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, bison, flex, postgresql }: { lib, stdenv, fetchFromGitHub, postgresql }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wal2json"; pname = "wal2json";
version = "2.4"; version = "2.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eulerto"; owner = "eulerto";
repo = "wal2json"; repo = "wal2json";
rev = "wal2json_${builtins.replaceStrings ["."] ["_"] version}"; rev = "wal2json_${builtins.replaceStrings ["."] ["_"] version}";
sha256 = "sha256-EB+tCaILWsU9fDhqosl6EyMoYBd6SHISFfyxiZ9pNOk="; sha256 = "sha256-Gpc9uDKrs/dmVSFgdgHM453+TaEnhRh9t0gDbSn8FUI=";
}; };
buildInputs = [ postgresql ]; buildInputs = [ postgresql ];

View File

@ -24,16 +24,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nushell"; pname = "nushell";
version = "0.68.1"; version = "0.69.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-PE6UewAE7z0Ie5aFocDK3Qu0Y4ppuPtpD6tDnYfM11Y="; sha256 = "sha256-aEEuzl3HRWNk2zJq+Vh5ZLyT26Qk7oI3bQKUr4SlDr8=";
}; };
cargoSha256 = "sha256-7guFkR/paL8jk5YwiRNMbWCyA6DqOaLGTmbWHAWDxRw="; cargoSha256 = "sha256-qaBiTZUe4RSYdXAEWPVv0ATWDN/+aOYiEpq+oztwNEc=";
# enable pkg-config feature of zstd # enable pkg-config feature of zstd
cargoPatches = [ ./zstd-pkg-config.patch ]; cargoPatches = [ ./zstd-pkg-config.patch ];
@ -66,7 +66,9 @@ rustPlatform.buildRustPackage rec {
# TODO investigate why tests are broken on darwin # TODO investigate why tests are broken on darwin
# failures show that tests try to write to paths # failures show that tests try to write to paths
# outside of TMPDIR # outside of TMPDIR
doCheck = ! stdenv.isDarwin; # doCheck = ! stdenv.isDarwin;
# TODO tests are not guaranteed while package is in beta
doCheck = false;
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, libconfuse, gettext }: { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libconfuse, gettext }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "genimage"; pname = "genimage";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-hp+WYtO3eMabHR/nDfZY4cnpCu2iart1P2/lXosMbnM="; sha256 = "sha256-hp+WYtO3eMabHR/nDfZY4cnpCu2iart1P2/lXosMbnM=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libconfuse gettext ]; buildInputs = [ libconfuse gettext ];
postInstall = '' postInstall = ''

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "arp-scan"; pname = "arp-scan";
version = "1.9.7"; version = "1.9.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "royhills"; owner = "royhills";
repo = "arp-scan"; repo = "arp-scan";
rev = version; rev = version;
sha256 = "1mf7a4f9vzvnkiavc87aqyciswggsb4fpy7j05jxnvjyyxv3l7gp"; sha256 = "sha256-zSihemqGaQ5z6XjA/dALoSJOuAkxF5/nnV6xE+GY7KI=";
}; };
perlModules = with perlPackages; [ perlModules = with perlPackages; [

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "chezmoi"; pname = "chezmoi";
version = "2.24.0"; version = "2.25.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "twpayne"; owner = "twpayne";
repo = "chezmoi"; repo = "chezmoi";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-HXQdUxc622Pq9NoXa0MPk1yjmDvyYe67RxM6AJ8roN0="; sha256 = "sha256-a7Qf0mKo1aWABftgIDgh94mJf49d7KAtBkemRNRash0=";
}; };
vendorSha256 = "sha256-A9l4YbZWdmhoAz6PqFufWGxSnY3TbZfVqXnu+ZWLnQA="; vendorSha256 = "sha256-jqK115vnEYlER3sAFVFlMFGjpMnAIMlFM+4oN8Ujad4=";
doCheck = false; doCheck = false;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "csv2latex"; pname = "csv2latex";
version = "0.22"; version = "0.23.1";
src = fetchurl { src = fetchurl {
url = "http://brouits.free.fr/csv2latex/csv2latex-${version}.tar.gz"; url = "http://brouits.free.fr/csv2latex/csv2latex-${version}.tar.gz";
sha256 = "09qih2zx6cvlii1n5phiinvm9xw1l8f4i60b5hg56pymzjhn97vy"; sha256 = "sha256-k1vQyrVJmfaJ7jVaoW2dkPD7GO8EoDqJY5m8O2U/kYw=";
}; };
installPhase = '' installPhase = ''

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "lazydocker"; pname = "lazydocker";
version = "0.18.1"; version = "0.19.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jesseduffield"; owner = "jesseduffield";
repo = "lazydocker"; repo = "lazydocker";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-qtGPsfZVu5ZuCusO5nYgxR/qHiwyhzMmBMLMDpKzKDA="; sha256 = "sha256-Ns758mqz4O8hKpu3LHFFm1U1vxF1TJZ4GKstWADXOl0=";
}; };
vendorSha256 = null; vendorSha256 = null;

View File

@ -2,31 +2,21 @@
, lib , lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, fetchurl
, Cocoa , Cocoa
, installShellFiles , installShellFiles
}: }:
buildGoModule rec { buildGoModule rec {
pname = "noti"; pname = "noti";
version = "3.5.0"; version = "3.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "variadico"; owner = "variadico";
repo = "noti"; repo = "noti";
rev = version; rev = version;
sha256 = "12r9wawwl6x0rfv1kahwkamfa0pjq24z60az9pn9nsi2z1rrlwkd"; sha256 = "sha256-FhVpw6PJcm0aYQBlN7AUjOkJgCzleOHXIXumSegtxfA=";
}; };
patches = [
# update golang.org/x/sys to fix building on aarch64-darwin
# using fetchurl because fetchpatch breaks the patch
(fetchurl {
url = "https://github.com/variadico/noti/commit/a90bccfdb2e6a0adc2e92f9a4e7be64133832ba9.patch";
sha256 = "sha256-vSAwuAR9absMSFqGOlzmRZoOGC/jpkmh8CMCVjeleUo=";
})
];
vendorSha256 = null; vendorSha256 = null;
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -39,8 +29,12 @@ buildGoModule rec {
"-X github.com/variadico/noti/internal/command.Version=${version}" "-X github.com/variadico/noti/internal/command.Version=${version}"
]; ];
preCheck = ''
export PATH=$out/bin:$PATH
'';
postInstall = '' postInstall = ''
installManPage docs/man/* installManPage docs/man/dist/*
''; '';
meta = with lib; { meta = with lib; {
@ -48,7 +42,8 @@ buildGoModule rec {
longDescription = '' longDescription = ''
Monitor a process and trigger a notification. Monitor a process and trigger a notification.
Never sit and wait for some long-running process to finish. Noti can alert you when it's done. You can receive messages on your computer or phone. Never sit and wait for some long-running process to finish. Noti can alert
you when it's done. You can receive messages on your computer or phone.
''; '';
homepage = "https://github.com/variadico/noti"; homepage = "https://github.com/variadico/noti";
license = licenses.mit; license = licenses.mit;

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "diffstat"; pname = "diffstat";
version = "1.64"; version = "1.65";
src = fetchurl { src = fetchurl {
urls = [ urls = [
"ftp://ftp.invisible-island.net/diffstat/diffstat-${version}.tgz" "ftp://ftp.invisible-island.net/diffstat/diffstat-${version}.tgz"
"https://invisible-mirror.net/archives/diffstat/diffstat-${version}.tgz" "https://invisible-mirror.net/archives/diffstat/diffstat-${version}.tgz"
]; ];
sha256 = "sha256-uK7jjZ0uHQWSbmtVgQqdLC3UB/JNaiZzh1Y6RDbj9/w="; sha256 = "sha256-jPJ0JJJt682FkhdVw5FVWSiCRL0QP2LXQNxrg7VXooo=";
}; };
meta = with lib; { meta = with lib; {

View File

@ -1582,7 +1582,15 @@ with pkgs;
melonDS = libsForQt5.callPackage ../applications/emulators/melonDS { }; melonDS = libsForQt5.callPackage ../applications/emulators/melonDS { };
mgba = libsForQt5.callPackage ../applications/emulators/mgba { }; mgba = callPackage ../applications/emulators/mgba {
ffmpeg = ffmpeg_4;
lua = lua5_4;
inherit (libsForQt5)
qtbase
qtmultimedia
qttools
wrapQtAppsHook;
};
mupen64plus = callPackage ../applications/emulators/mupen64plus { }; mupen64plus = callPackage ../applications/emulators/mupen64plus { };
@ -23964,12 +23972,14 @@ with pkgs;
postgresql_12 postgresql_12
postgresql_13 postgresql_13
postgresql_14 postgresql_14
postgresql_15
; ;
postgresql = postgresql_14.override { this = postgresql; }; postgresql = postgresql_14.override { this = postgresql; };
postgresqlPackages = recurseIntoAttrs postgresql.pkgs; postgresqlPackages = recurseIntoAttrs postgresql.pkgs;
postgresql11Packages = recurseIntoAttrs postgresql_11.pkgs; postgresql11Packages = recurseIntoAttrs postgresql_11.pkgs;
postgresql12Packages = recurseIntoAttrs postgresql_12.pkgs; postgresql12Packages = recurseIntoAttrs postgresql_12.pkgs;
postgresql13Packages = recurseIntoAttrs postgresql_13.pkgs; postgresql13Packages = recurseIntoAttrs postgresql_13.pkgs;
postgresql15Packages = recurseIntoAttrs postgresql_15.pkgs;
postgresql14Packages = postgresqlPackages; postgresql14Packages = postgresqlPackages;
postgresql_jdbc = callPackage ../development/java-modules/postgresql_jdbc { }; postgresql_jdbc = callPackage ../development/java-modules/postgresql_jdbc { };
@ -27353,6 +27363,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Carbon; inherit (darwin.apple_sdk.frameworks) Carbon;
}; };
cyan = callPackage ../applications/graphics/cyan {};
cyanrip = callPackage ../applications/audio/cyanrip { }; cyanrip = callPackage ../applications/audio/cyanrip { };
centerim = callPackage ../applications/networking/instant-messengers/centerim { }; centerim = callPackage ../applications/networking/instant-messengers/centerim { };
@ -27936,6 +27948,8 @@ with pkgs;
icesl = callPackage ../applications/misc/icesl { }; icesl = callPackage ../applications/misc/icesl { };
karlender = callPackage ../applications/office/karlender { };
keepassx = callPackage ../applications/misc/keepassx { }; keepassx = callPackage ../applications/misc/keepassx { };
keepassx2 = callPackage ../applications/misc/keepassx/2.0.nix { }; keepassx2 = callPackage ../applications/misc/keepassx/2.0.nix { };
keepassxc = libsForQt5.callPackage ../applications/misc/keepassx/community.nix { }; keepassxc = libsForQt5.callPackage ../applications/misc/keepassx/community.nix { };
@ -36871,7 +36885,9 @@ with pkgs;
soundmodem = callPackage ../applications/radio/soundmodem {}; soundmodem = callPackage ../applications/radio/soundmodem {};
soundOfSorting = callPackage ../misc/sound-of-sorting { }; soundOfSorting = callPackage ../misc/sound-of-sorting {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
sourceAndTags = callPackage ../misc/source-and-tags { sourceAndTags = callPackage ../misc/source-and-tags {
hasktags = haskellPackages.hasktags; hasktags = haskellPackages.hasktags;