Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-05-14 12:01:25 +00:00 committed by GitHub
commit 85f6ef0ee9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
139 changed files with 3866 additions and 2461 deletions

View File

@ -8,6 +8,7 @@
# derivation like fetchurl is allowed to do so since its result is # derivation like fetchurl is allowed to do so since its result is
# by definition pure. # by definition pure.
"http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"
"HTTP_PROXY" "HTTPS_PROXY" "FTP_PROXY" "ALL_PROXY" "NO_PROXY"
]; ];
} }

View File

@ -814,6 +814,7 @@ with lib.maintainers; {
aanderse aanderse
drupol drupol
ma27 ma27
patka
talyz talyz
]; ];
githubTeams = [ githubTeams = [

View File

@ -687,7 +687,7 @@ in {
authentication = { authentication = {
mode = mkOption { mode = mkOption {
default = "wpa3-sae"; default = "wpa3-sae";
type = types.enum ["none" "wpa2-sha256" "wpa3-sae-transition" "wpa3-sae"]; type = types.enum ["none" "wpa2-sha1" "wpa2-sha256" "wpa3-sae-transition" "wpa3-sae"];
description = '' description = ''
Selects the authentication mode for this AP. Selects the authentication mode for this AP.
@ -695,7 +695,9 @@ in {
and create an open AP. Use {option}`settings` together with this option if you and create an open AP. Use {option}`settings` together with this option if you
want to configure the authentication manually. Any password options will still be want to configure the authentication manually. Any password options will still be
effective, if set. effective, if set.
- {var}`"wpa2-sha256"`: WPA2-Personal using SHA256 (IEEE 802.11i/RSN). Passwords are set - {var}`"wpa2-sha1"`: Not recommended. WPA2-Personal using HMAC-SHA1. Passwords are set
using {option}`wpaPassword` or preferably by {option}`wpaPasswordFile` or {option}`wpaPskFile`.
- {var}`"wpa2-sha256"`: WPA2-Personal using HMAC-SHA256 (IEEE 802.11i/RSN). Passwords are set
using {option}`wpaPassword` or preferably by {option}`wpaPasswordFile` or {option}`wpaPskFile`. using {option}`wpaPassword` or preferably by {option}`wpaPasswordFile` or {option}`wpaPskFile`.
- {var}`"wpa3-sae-transition"`: Use WPA3-Personal (SAE) if possible, otherwise fallback - {var}`"wpa3-sae-transition"`: Use WPA3-Personal (SAE) if possible, otherwise fallback
to WPA2-SHA256. Only use if necessary and switch to the newer WPA3-SAE when possible. to WPA2-SHA256. Only use if necessary and switch to the newer WPA3-SAE when possible.
@ -812,7 +814,7 @@ in {
Warning: These entries will get put into a world-readable file in Warning: These entries will get put into a world-readable file in
the Nix store! Using {option}`saePasswordFile` instead is recommended. the Nix store! Using {option}`saePasswordFile` instead is recommended.
Not used when {option}`mode` is {var}`"wpa2-sha256"`. Not used when {option}`mode` is {var}`"wpa2-sha1"` or {var}`"wpa2-sha256"`.
''; '';
type = types.listOf (types.submodule { type = types.listOf (types.submodule {
options = { options = {
@ -884,7 +886,7 @@ in {
parameters doesn't matter: parameters doesn't matter:
`<password>[|mac=<peer mac>][|vlanid=<VLAN ID>][|pk=<m:ECPrivateKey-base64>][|id=<identifier>]` `<password>[|mac=<peer mac>][|vlanid=<VLAN ID>][|pk=<m:ECPrivateKey-base64>][|id=<identifier>]`
Not used when {option}`mode` is {var}`"wpa2-sha256"`. Not used when {option}`mode` is {var}`"wpa2-sha1"` or {var}`"wpa2-sha256"`.
''; '';
}; };
@ -959,6 +961,9 @@ in {
} // optionalAttrs (bssCfg.authentication.mode == "wpa3-sae-transition") { } // optionalAttrs (bssCfg.authentication.mode == "wpa3-sae-transition") {
wpa = 2; wpa = 2;
wpa_key_mgmt = "WPA-PSK-SHA256 SAE"; wpa_key_mgmt = "WPA-PSK-SHA256 SAE";
} // optionalAttrs (bssCfg.authentication.mode == "wpa2-sha1") {
wpa = 2;
wpa_key_mgmt = "WPA-PSK";
} // optionalAttrs (bssCfg.authentication.mode == "wpa2-sha256") { } // optionalAttrs (bssCfg.authentication.mode == "wpa2-sha256") {
wpa = 2; wpa = 2;
wpa_key_mgmt = "WPA-PSK-SHA256"; wpa_key_mgmt = "WPA-PSK-SHA256";
@ -1186,8 +1191,8 @@ in {
message = ''hostapd radio ${radio} bss ${bss}: uses WPA3-SAE in transition mode requires defining both a wpa password option and a sae password option''; message = ''hostapd radio ${radio} bss ${bss}: uses WPA3-SAE in transition mode requires defining both a wpa password option and a sae password option'';
} }
{ {
assertion = auth.mode == "wpa2-sha256" -> countWpaPasswordDefinitions == 1; assertion = (auth.mode == "wpa2-sha1" || auth.mode == "wpa2-sha256") -> countWpaPasswordDefinitions == 1;
message = ''hostapd radio ${radio} bss ${bss}: uses WPA2-SHA256 which requires defining a wpa password option''; message = ''hostapd radio ${radio} bss ${bss}: uses WPA2-PSK which requires defining a wpa password option'';
} }
]) ])
radioCfg.networks)) radioCfg.networks))

View File

@ -1,4 +1,4 @@
{ lib, fetchurl, appimageTools, pkgs }: { lib, fetchurl, appimageTools }:
let let
pname = "plexamp"; pname = "plexamp";
@ -16,9 +16,6 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
multiArch = false; # no 32bit needed
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/plexamp.desktop $out/share/applications/plexamp.desktop install -m 444 -D ${appimageContents}/plexamp.desktop $out/share/applications/plexamp.desktop
install -m 444 -D ${appimageContents}/plexamp.png \ install -m 444 -D ${appimageContents}/plexamp.png \

View File

@ -1,5 +1,4 @@
{ lib, appimageTools, fetchurl, makeDesktopItem { lib, appimageTools, fetchurl, makeDesktopItem }:
}:
let let
pname = "MyCrypto"; pname = "MyCrypto";
@ -24,12 +23,9 @@ let
categories = [ "Finance" ]; categories = [ "Finance" ];
}; };
in appimageTools.wrapType2 rec { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
multiArch = false; # no p32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share mkdir -p $out/share
cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons

View File

@ -839,6 +839,10 @@
dependencies = with self; [ plenary-nvim ]; dependencies = with self; [ plenary-nvim ];
}; };
luasnip = super.luasnip.overrideAttrs {
dependencies = with self; [ luaPackages.jsregexp ];
};
magma-nvim-goose = buildVimPlugin { magma-nvim-goose = buildVimPlugin {
pname = "magma-nvim-goose"; pname = "magma-nvim-goose";
version = "2023-03-13"; version = "2023-03-13";

View File

@ -17,13 +17,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "flycast"; pname = "flycast";
version = "2.3"; version = "2.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "flyinghead"; owner = "flyinghead";
repo = "flycast"; repo = "flycast";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-o1Xnyts2+A3ZkzVN0o8E5nGPo2c2vYltMlHF4LZMppU="; sha256 = "sha256-YFLSUaEikwLPglHh3t8sHiKHRn5cchKzzkJlZDdgVsU=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -18,7 +18,7 @@ in
appimageTools.wrapType2 { appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [vulkan-headers vulkan-loader]; extraPkgs = pkgs: [ pkgs.vulkan-headers pkgs.vulkan-loader ];
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share/{applications,pixmaps} mkdir -p $out/share/{applications,pixmaps}

View File

@ -28,9 +28,7 @@ appimageTools.wrapAppImage rec {
# taken from # taken from
# https://github.com/Dygmalab/Bazecor/blob/v1.3.11/src/main/utils/udev.ts#L6 # https://github.com/Dygmalab/Bazecor/blob/v1.3.11/src/main/utils/udev.ts#L6
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ extraPkgs = pkgs: [ pkgs.glib ];
p.glib
];
# Also expose the udev rules here, so it can be used as: # Also expose the udev rules here, so it can be used as:
# services.udev.packages = [ pkgs.bazecor ]; # services.udev.packages = [ pkgs.bazecor ];

View File

@ -12,7 +12,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share/applications $out/share/pixmaps mkdir -p $out/share/applications $out/share/pixmaps

View File

@ -14,7 +14,7 @@ in
appimageTools.wrapType2 { appimageTools.wrapType2 {
inherit pname src version; inherit pname src version;
extraPkgs = pkgs: with pkgs; [ R zlib libusb-compat-0_1 ]; extraPkgs = pkgs: [ pkgs.R pkgs.zlib pkgs.libusb-compat-0_1 ];
extraInstallCommands = '' extraInstallCommands = ''
mv $out/bin/${pname} $out/bin/GoldenCheetah mv $out/bin/${pname} $out/bin/GoldenCheetah

View File

@ -49,8 +49,6 @@ let
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
source "${makeWrapper}/nix-support/setup-hook" source "${makeWrapper}/nix-support/setup-hook"
wrapProgram $out/bin/${pname} \ wrapProgram $out/bin/${pname} \

View File

@ -20,11 +20,7 @@ appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed extraPkgs = pkgs: [ pkgs.libsecret pkgs.xorg.libxkbfile ];
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [
p.libsecret
p.xorg.libxkbfile
];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/marktext.desktop $out/share/applications/marktext.desktop install -m 444 -D ${appimageContents}/marktext.desktop $out/share/applications/marktext.desktop

View File

@ -13,7 +13,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit name src; inherit name src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
mv $out/bin/${name} $out/bin/${pname} mv $out/bin/${name} $out/bin/${pname}

View File

@ -12,7 +12,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [ libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications

View File

@ -13,8 +13,6 @@ let
appimageContents = appimageTools.extract { appimageContents = appimageTools.extract {
inherit pname version src; inherit pname version src;
}; };
nativeBuildInputs = [ makeWrapper ];
in in
appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
@ -24,8 +22,8 @@ appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed extraPkgs = pkgs: [ pkgs.at-spi2-atk pkgs.at-spi2-core ];
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ p.at-spi2-atk p.at-spi2-core ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/notable.desktop $out/share/applications/notable.desktop install -m 444 -D ${appimageContents}/notable.desktop $out/share/applications/notable.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/1024x1024/apps/notable.png \ install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/1024x1024/apps/notable.png \

View File

@ -48,8 +48,6 @@ let
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiPkgs = null; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
install -Dm444 ${appimageContents}/notesnook.desktop -t $out/share/applications install -Dm444 ${appimageContents}/notesnook.desktop -t $out/share/applications
install -Dm444 ${appimageContents}/notesnook.png -t $out/share/pixmaps install -Dm444 ${appimageContents}/notesnook.png -t $out/share/pixmaps

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pgmodeler"; pname = "pgmodeler";
version = "1.1.2"; version = "1.1.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pgmodeler"; owner = "pgmodeler";
repo = "pgmodeler"; repo = "pgmodeler";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-urKAsuYmK8dsXhP+I7p27PXXYRapPtkI8FqARfLwnEw="; sha256 = "sha256-LDgRv7Todyy2pnE21Z0O5JQ6mE4ZO3THv6rfEWU66Cc=";
}; };
nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ]; nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ];

View File

@ -22,9 +22,7 @@ in appimageTools.wrapAppImage {
inherit pname version; inherit pname version;
src = appimageContents; src = appimageContents;
extraPkgs = { pkgs, ... }@args: [ extraPkgs = pkgs: [ pkgs.hidapi ];
pkgs.hidapi
] ++ appimageTools.defaultFhsEnvArgs.multiPkgs args;
extraInstallCommands = '' extraInstallCommands = ''
# Add desktop convencience stuff # Add desktop convencience stuff

View File

@ -1,6 +1,6 @@
{ callPackage, texliveMedium }: { callPackage }:
builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; inherit texliveMedium; })) { builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) {
zettlr = { zettlr = {
version = "3.0.2"; version = "3.0.2";
hash = "sha256-xwBq+kLmTth15uLiYWJOhi/YSPZVJNO6JTrKFojSDXA="; hash = "sha256-xwBq+kLmTth15uLiYWJOhi/YSPZVJNO6JTrKFojSDXA=";

View File

@ -4,8 +4,6 @@
, appimageTools , appimageTools
, lib , lib
, fetchurl , fetchurl
, texliveMedium
, pandoc
}: }:
# Based on https://gist.github.com/msteen/96cb7df66a359b827497c5269ccbbf94 and joplin-desktop nixpkgs. # Based on https://gist.github.com/msteen/96cb7df66a359b827497c5269ccbbf94 and joplin-desktop nixpkgs.
@ -21,8 +19,8 @@ in
appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
inherit pname version src; inherit pname version src;
multiArch = false; # no 32bit needed extraPkgs = pkgs: [ pkgs.texliveMedium pkgs.pandoc ];
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ texliveMedium pandoc ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/Zettlr.desktop $out/share/applications/Zettlr.desktop install -m 444 -D ${appimageContents}/Zettlr.desktop $out/share/applications/Zettlr.desktop
install -m 444 -D ${appimageContents}/Zettlr.png $out/share/icons/hicolor/512x512/apps/Zettlr.png install -m 444 -D ${appimageContents}/Zettlr.png $out/share/icons/hicolor/512x512/apps/Zettlr.png

View File

@ -17,9 +17,6 @@ appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
meta = with lib; { meta = with lib; {
description = "Sylk WebRTC client"; description = "Sylk WebRTC client";
homepage = "https://sylkserver.com/"; homepage = "https://sylkserver.com/";

View File

@ -3,10 +3,10 @@
{ {
firefox = buildMozillaMach rec { firefox = buildMozillaMach rec {
pname = "firefox"; pname = "firefox";
version = "125.0.3"; version = "126.0";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "18e705a3093290311ccb5f27f01e43fe243ece94c1769a9ccc4fa53d370e32a1ec6a107cdeb531e9468b9aca1a1fe668161adb7acc1ec65fd383837882c7d484"; sha512 = "56025b051d544ca294911a1d6a66f09945f71012131881b64313dafb579730810a4b091950c90a21d4fd3f393ba23670d8409086e1677d80d0bbbe347c303527";
}; };
extraPatches = [ extraPatches = [
@ -94,11 +94,11 @@
firefox-esr-115 = buildMozillaMach rec { firefox-esr-115 = buildMozillaMach rec {
pname = "firefox-esr-115"; pname = "firefox-esr-115";
version = "115.10.0esr"; version = "115.11.0esr";
applicationName = "Mozilla Firefox ESR"; applicationName = "Mozilla Firefox ESR";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "0626e2c68ce43f24dfc2b9216e2565537ad8781daf4195d53420e1b78d57d0f6360fbe56b0ddbedae3818546c72472c85c1ff2b208c123d32a0543e666f42b65"; sha512 = "0f3a87c99fb008088afd509d9259f893fdd44ea6bf6a5e69806fefb8d355415e81b9e8832a392acb9d0c1c50e4add7f1362a4aaadc35e1d9c2e55baf7136aed8";
}; };
meta = { meta = {

View File

@ -16,8 +16,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname src version; inherit pname src version;
multiArch = false; extraPkgs = pkgs: [ pkgs.bash ];
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "hubble"; pname = "hubble";
version = "0.13.3"; version = "0.13.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cilium"; owner = "cilium";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-tHkLUoccOUcUjODecy1QyeuDb/aXv67sK8JHJ1IspC8="; sha256 = "sha256-YordxRIZtlYQprAYnH9Qn5ha6y7D52sjEOaRTcd0Z8g=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "istioctl"; pname = "istioctl";
version = "1.21.2"; version = "1.22.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "istio"; owner = "istio";
repo = "istio"; repo = "istio";
rev = version; rev = version;
hash = "sha256-U0SCjozy968pcXMGyUgM47VGYYNwPq8wOzTnKp49ZY4="; hash = "sha256-xiIuCwzERvy7HFx9CZHen1tz1nwsTMryq5hB0om2dyo=";
}; };
vendorHash = "sha256-23t1xJPRip0ojXmUl1qlk6QJsYHT+9EAS080m6c0d6U="; vendorHash = "sha256-de9cPm2MuflsOhFZfZmvZpLYiwt3UBgW+MO1Z2QB4F4=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, pname, version, src, meta, appimageTools, makeWrapper, nss_latest }: { pname, version, src, meta, appimageTools, makeWrapper }:
let let
name = "${pname}-${version}"; name = "${pname}-${version}";
@ -25,5 +25,5 @@ appimageTools.wrapType2 {
--replace 'Exec=AppRun' 'Exec=${pname}' --replace 'Exec=AppRun' 'Exec=${pname}'
''; '';
extraPkgs = _: [ nss_latest ]; extraPkgs = pkgs: [ pkgs.nss_latest ];
} }

View File

@ -15,9 +15,9 @@
buildGoModule rec { buildGoModule rec {
pname = "minikube"; pname = "minikube";
version = "1.33.0"; version = "1.33.1";
vendorHash = "sha256-eFIo9C9AEZksQolMlWKPJR2WWpU7Yu4eJb1OBwdqGhI="; vendorHash = "sha256-VHl6CKPWqahX70GHbZE6SVa8XPfiC912DvsOteH2B0w=";
doCheck = false; doCheck = false;
@ -25,7 +25,7 @@ buildGoModule rec {
owner = "kubernetes"; owner = "kubernetes";
repo = "minikube"; repo = "minikube";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-4OSChPgUD1oYnChAi7r2jgZpplR9ZaHpHPiTS6jSpME="; sha256 = "sha256-z0wNngEzddxpeeLyQVA2yRC5SfYvU5G66V95sVmW6bA=";
}; };
postPatch = postPatch =
( (

View File

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "gnmic"; pname = "gnmic";
version = "0.36.2"; version = "0.37.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openconfig"; owner = "openconfig";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-PUOIKPkzM6riiXR8R1Io0QI/qr6HaexfFgbp2Hx2SOo="; hash = "sha256-PktDdwtdCHLgLVpCRLi+Rna7dO2JeAAT6myFesIhpYc=";
}; };
vendorHash = "sha256-zrG/rNoYtfVNN50g41txLQIcBAKi1yE5p1TODrDiXzU="; vendorHash = "sha256-gxtVvh39VqJgS5VetnLpUyKJE8DcUZgn4MA8zdD/ccU=";
ldflags = [ ldflags = [
"-s" "-w" "-s" "-w"

View File

@ -2,7 +2,6 @@
, stdenvNoCC , stdenvNoCC
, fetchurl , fetchurl
, appimageTools , appimageTools
, libsecret
, makeWrapper , makeWrapper
, writeShellApplication , writeShellApplication
, curl , curl
@ -19,7 +18,7 @@ let
}; };
appimage = appimageTools.wrapType2 { appimage = appimageTools.wrapType2 {
inherit version pname src; inherit version pname src;
extraPkgs = pkgs: with pkgs; [ libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {
inherit version pname src; inherit version pname src;

View File

@ -1,5 +1,4 @@
{ lib { fetchurl
, fetchurl
, appimageTools , appimageTools
, xorg , xorg
, pname , pname
@ -27,8 +26,6 @@ in
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs;
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share mkdir -p $out/share
"${xorg.lndir}/bin/lndir" -silent "${extracted}/usr/share" "$out/share" "${xorg.lndir}/bin/lndir" -silent "${extracted}/usr/share" "$out/share"

View File

@ -2,11 +2,11 @@
let let
pname = "rambox"; pname = "rambox";
version = "2.3.1"; version = "2.3.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage"; url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage";
hash = "sha256-fSj/AX1uCUAC3Vg5+rtGF3IDPFTHRAgJ8CPVL8BYc+E="; hash = "sha256-9AGzhj4UL2rEe67qvkX5VYhQEMETGYSDWv5XOgABSEE=";
}; };
desktopItem = (makeDesktopItem { desktopItem = (makeDesktopItem {
@ -30,7 +30,7 @@ appimageTools.wrapType2 {
install -Dm644 ${desktopItem}/share/applications/* $out/share/applications install -Dm644 ${desktopItem}/share/applications/* $out/share/applications
''; '';
extraPkgs = pkgs: with pkgs; [ procps ]; extraPkgs = pkgs: [ pkgs.procps ];
meta = with lib; { meta = with lib; {
description = "Workspace Simplifier - a cross-platform application organizing web services into Workspaces similar to browser profiles"; description = "Workspace Simplifier - a cross-platform application organizing web services into Workspaces similar to browser profiles";

View File

@ -16,7 +16,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [ at-spi2-core ]; extraPkgs = pkgs: [ pkgs.at-spi2-core ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/irccloud.desktop $out/share/applications/irccloud.desktop install -m 444 -D ${appimageContents}/irccloud.desktop $out/share/applications/irccloud.desktop

View File

@ -1,4 +1,4 @@
{ appimageTools, lib, fetchurl, libsecret }: { appimageTools, lib, fetchurl }:
let let
pname = "electron-mail"; pname = "electron-mail";
@ -20,9 +20,9 @@ in appimageTools.wrapType2 {
cp -r ${appimageContents}/usr/share/icons $out/share cp -r ${appimageContents}/usr/share/icons $out/share
''; '';
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: [
libsecret pkgs.libsecret
libappindicator-gtk3 pkgs.libappindicator-gtk3
]; ];
meta = with lib; { meta = with lib; {

View File

@ -12,7 +12,7 @@ appimageTools.wrapType2 rec {
hash = "sha256-D7qWwIFuCJmBvfdgf4Dsd2/jvi39tbAttaHOwLND4DY="; hash = "sha256-D7qWwIFuCJmBvfdgf4Dsd2/jvi39tbAttaHOwLND4DY=";
}; };
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = extraInstallCommands =
let appimageContents = appimageTools.extract { inherit pname version src; }; let appimageContents = appimageTools.extract { inherit pname version src; };

View File

@ -19,22 +19,11 @@
, lame , lame
, pixman , pixman
, libjpeg_turbo , libjpeg_turbo
, _experimental-update-script-combinators
, gitUpdater
}: }:
let let
version = "0.9.25.1";
patchedXrdpSrc = applyPatches {
patches = [ ./dynamic_config.patch ];
name = "xrdp-patched-${version}";
src = fetchFromGitHub {
owner = "neutrinolabs";
repo = "xrdp";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-oAs0oWkCyj3ObdJuHLfT25ZzkTrxNAXDiFU64OOP4Ow=";
};
};
xorgxrdp = stdenv.mkDerivation rec { xorgxrdp = stdenv.mkDerivation rec {
pname = "xorgxrdp"; pname = "xorgxrdp";
version = "0.9.20"; version = "0.9.20";
@ -62,16 +51,29 @@ let
preConfigure = "./bootstrap"; preConfigure = "./bootstrap";
configureFlags = [ "XRDP_CFLAGS=-I${patchedXrdpSrc}/common" ]; configureFlags = [ "XRDP_CFLAGS=-I${xrdp.src}/common" ];
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
}; };
xrdp = stdenv.mkDerivation { xrdp = stdenv.mkDerivation rec {
inherit version;
pname = "xrdp"; pname = "xrdp";
version = "0.9.25.1";
src = patchedXrdpSrc; src = applyPatches {
inherit version;
patches = [ ./dynamic_config.patch ];
name = "xrdp-patched-${version}";
src = fetchFromGitHub {
owner = "neutrinolabs";
repo = "xrdp";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-oAs0oWkCyj3ObdJuHLfT25ZzkTrxNAXDiFU64OOP4Ow=";
};
};
nativeBuildInputs = [ pkg-config autoconf automake which libtool nasm perl ]; nativeBuildInputs = [ pkg-config autoconf automake which libtool nasm perl ];
@ -150,6 +152,15 @@ let
enableParallelBuilding = true; enableParallelBuilding = true;
passthru = {
inherit xorgxrdp;
updateScript = _experimental-update-script-combinators.sequence (map (item: item.command) [
(gitUpdater { rev-prefix = "v"; attrPath = "xrdp.src"; ignoredVersions = [ "beta" ]; })
{ command = ["rm" "update-git-commits.txt"]; }
(gitUpdater { rev-prefix = "v"; attrPath = "xrdp.xorgxrdp"; })
]);
};
meta = with lib; { meta = with lib; {
description = "An open source RDP server"; description = "An open source RDP server";
homepage = "https://github.com/neutrinolabs/xrdp"; homepage = "https://github.com/neutrinolabs/xrdp";

View File

@ -1,11 +1,11 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, lib , lib
, nix-update-script
, pulseaudio , pulseaudio
, autoreconfHook , autoreconfHook
, pkg-config , pkg-config
, nixosTests , nixosTests
, gitUpdater
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
]; ];
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = gitUpdater { rev-prefix = "v"; };
tests = { tests = {
inherit (nixosTests) xrdp-with-audio-pulseaudio; inherit (nixosTests) xrdp-with-audio-pulseaudio;
}; };

View File

@ -19,8 +19,6 @@ in appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false;
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/browserx.desktop $out/share/applications/browserx.desktop install -m 444 -D ${appimageContents}/browserx.desktop $out/share/applications/browserx.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/browserx.png \ install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/browserx.png \

View File

@ -3,10 +3,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "homebank"; pname = "homebank";
version = "5.7.4"; version = "5.8";
src = fetchurl { src = fetchurl {
url = "https://www.gethomebank.org/public/sources/homebank-${version}.tar.gz"; url = "https://www.gethomebank.org/public/sources/homebank-${version}.tar.gz";
hash = "sha256-Qs5xRsh16gyjyTORtqm/RxTbRiHGP0oJTcxviYW7VOQ="; hash = "sha256-tgjcz4znnw++5lBoJDWtHKpRFENfM0xBpyhGf8nAACw=";
}; };
nativeBuildInputs = [ pkg-config wrapGAppsHook3 intltool ]; nativeBuildInputs = [ pkg-config wrapGAppsHook3 intltool ];

View File

@ -1,7 +1,6 @@
{ lib { lib
, fetchurl , fetchurl
, appimageTools , appimageTools
, libsecret
}: }:
let let
@ -19,9 +18,7 @@ let
in appimageTools.wrapType2 rec { in appimageTools.wrapType2 rec {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: [ pkgs.libsecret ];
libsecret
];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/timeular.desktop $out/share/applications/timeular.desktop install -m 444 -D ${appimageContents}/timeular.desktop $out/share/applications/timeular.desktop

View File

@ -31,8 +31,6 @@ in appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
mkdir "$out/share" mkdir "$out/share"
ln -s "${desktopItem}/share/applications" "$out/share/" ln -s "${desktopItem}/share/applications" "$out/share/"

View File

@ -1,20 +1,47 @@
{ lib, stdenv, fetchFromGitHub, cmake, coreutils, perlPackages, bicpl, libminc, zlib, minc_tools, {
makeWrapper }: lib,
stdenv,
fetchFromGitHub,
cmake,
coreutils,
perlPackages,
bicpl,
libminc,
zlib,
minc_tools,
makeWrapper,
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "conglomerate"; pname = "conglomerate";
version = "unstable-2017-09-10"; version = "unstable-2023-01-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "BIC-MNI"; owner = "BIC-MNI";
repo = pname; repo = pname;
rev = "7343238bc6215942c7ecc885a224f24433a291b0"; rev = "6fb26084f2871a85044e2e4afc868982702b40ed";
sha256 = "1mlqgmy3jc13bv7d01rjwldxq0p4ayqic85xcl222hhifi3w2prr"; hash = "sha256-Inr4b2bxguzkcRQBURObsQQ0Rb3H/Zz6hEzNRd+IX3w=";
}; };
nativeBuildInputs = [ cmake makeWrapper ]; nativeBuildInputs = [
buildInputs = [ libminc zlib bicpl ]; cmake
propagatedBuildInputs = [ coreutils minc_tools ] ++ (with perlPackages; [ perl GetoptTabular MNI-Perllib ]); makeWrapper
];
buildInputs = [
libminc
zlib
bicpl
];
propagatedBuildInputs =
[
coreutils
minc_tools
]
++ (with perlPackages; [
perl
GetoptTabular
MNI-Perllib
]);
cmakeFlags = [ cmakeFlags = [
"-DLIBMINC_DIR=${libminc}/lib/cmake" "-DLIBMINC_DIR=${libminc}/lib/cmake"
@ -23,15 +50,20 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
for p in $out/bin/*; do for p in $out/bin/*; do
wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${lib.makeBinPath [ coreutils minc_tools ]}"; wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${
lib.makeBinPath [
coreutils
minc_tools
]
}";
done done
''; '';
meta = with lib; { meta = {
homepage = "https://github.com/BIC-MNI/conglomerate"; homepage = "https://github.com/BIC-MNI/conglomerate";
description = "More command-line utilities for working with MINC files"; description = "More command-line utilities for working with MINC files";
maintainers = with maintainers; [ bcdarwin ]; maintainers = with lib.maintainers; [ bcdarwin ];
platforms = platforms.unix; platforms = lib.platforms.unix;
license = licenses.hpndUc; license = lib.licenses.hpndUc;
}; };
} }

View File

@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "gitsign"; pname = "gitsign";
version = "0.10.1"; version = "0.10.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sigstore"; owner = "sigstore";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-WaiGkbjqty/MsTWPvx5DmmaNwWTJAEFKwVqArt2oZZc="; hash = "sha256-JNCz5MVqn8PeTfYUVowIVZwtpfD+Gx9yBckter6PfXA=";
}; };
vendorHash = "sha256-p2E010k7uozpLvl9VpfG5/JyQR4mVUBKv2p78UdFlac="; vendorHash = "sha256-QW+ZWYEXkhSQR4HvmPLENzY/VEfjEX43mBPhmhsEBMI=";
subPackages = [ subPackages = [
"." "."

View File

@ -15,9 +15,7 @@ appimageTools.wrapAppImage rec {
}; };
# At runtime, Lbry likes to have access to Ffmpeg # At runtime, Lbry likes to have access to Ffmpeg
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: [ pkgs.ffmpeg ];
ffmpeg
];
# General fixup # General fixup
extraInstallCommands = '' extraInstallCommands = ''

View File

@ -29,8 +29,6 @@ appimageTools.wrapType2 {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
extraPkgs = ps: appimageTools.defaultFhsEnvArgs.multiPkgs ps;
extraInstallCommands = '' extraInstallCommands = ''
( (
mkdir -p $out/share mkdir -p $out/share

View File

@ -40,7 +40,7 @@ rec {
wrapAppImage = args@{ wrapAppImage = args@{
src, src,
extraPkgs, extraPkgs ? pkgs: [ ],
meta ? {}, meta ? {},
... ...
}: buildFHSEnv }: buildFHSEnv

View File

@ -13,8 +13,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit name src; inherit name src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) extraPkgs = pkgs: [ pkgs.libsecret ];
++ [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
mv $out/bin/${name} $out/bin/${pname} mv $out/bin/${name} $out/bin/${pname}

View File

@ -23,7 +23,7 @@ appimageTools.wrapType2 {
substituteInPlace $out/share/applications/${pname}.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U' substituteInPlace $out/share/applications/${pname}.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U'
''; '';
extraPkgs = pkgs: with pkgs; [ libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
meta = with lib; { meta = with lib; {
description = "Open-source electronics prototyping platform"; description = "Open-source electronics prototyping platform";

View File

@ -16,7 +16,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname src version; inherit pname src version;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libthai ]; extraPkgs = pkgs: [ pkgs.libthai ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/caido.desktop -t $out/share/applications install -m 444 -D ${appimageContents}/caido.desktop -t $out/share/applications

View File

@ -14,8 +14,7 @@ let
in appimageTools.wrapType2 rec { in appimageTools.wrapType2 rec {
inherit name pname src; inherit name pname src;
multiArch = false; extraPkgs = pkgs: [ pkgs.glib ];
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ p.glib ];
# Also expose the udev rules here, so it can be used as: # Also expose the udev rules here, so it can be used as:
# services.udev.packages = [ pkgs.chrysalis ]; # services.udev.packages = [ pkgs.chrysalis ];

View File

@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "dumbpipe"; pname = "dumbpipe";
version = "0.7.0"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "n0-computer"; owner = "n0-computer";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-pvAB3kvnyNZ6N7bC8NIaSNUxcn9AfpEozYcczA+5zmc="; hash = "sha256-NaN3r4Vk4SCdgfFgtyCgeMOyOCfxj15vLrXRmUKTAWM=";
}; };
cargoHash = "sha256-aHuRG1mLb18bra/iTddU3B4XjS5shheBqW1Hs+QMcJs="; cargoHash = "sha256-Efuif2fIP20tXCq7bpa/n1lthvi0jcyYCpWM//qEHCY=";
buildInputs = lib.optionals stdenv.isDarwin ( buildInputs = lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks; [ with darwin.apple_sdk.frameworks; [

View File

@ -62,9 +62,6 @@ if stdenv.isDarwin then stdenv.mkDerivation
else appimageTools.wrapType2 { else appimageTools.wrapType2 {
inherit pname version src meta; inherit pname version src meta;
extraPkgs = pkgs:
appimageTools.defaultFhsEnvArgs.multiPkgs pkgs;
extraInstallCommands = extraInstallCommands =
let let
appimageContents = appimageTools.extractType2 { inherit pname version src; }; appimageContents = appimageTools.extractType2 { inherit pname version src; };

View File

@ -35,7 +35,6 @@ let
appimage = appimageTools.wrapAppImage { appimage = appimageTools.wrapAppImage {
inherit pname version; inherit pname version;
src = appimageContents; src = appimageContents;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.targetPkgs pkgs);
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {

View File

@ -11,17 +11,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "just"; pname = "just";
version = "1.25.2"; version = "1.26.0";
outputs = [ "out" "man" "doc" ]; outputs = [ "out" "man" "doc" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "casey"; owner = "casey";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-w7tHLjIFnlvyuTw5yG6zxJtQ7oDNdKRXHIRKY638vTo="; hash = "sha256-jPVvKxTHTOFkjpTsnjy9/IxQtHLgv1fInKA6knKUmu8=";
}; };
cargoHash = "sha256-VL2uNbEtqOv3xmLukhdCmo3lrfx5yFwOAMGwgBlgAVw="; cargoHash = "sha256-ssZ5JxOd0XVs4hsvnSz1IvtKE7ftEKX3nN2B8SsMesw=";
nativeBuildInputs = [ installShellFiles mdbook ]; nativeBuildInputs = [ installShellFiles mdbook ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];

View File

@ -16,7 +16,7 @@ in
appimageTools.wrapType2 { appimageTools.wrapType2 {
inherit meta pname version src; inherit meta pname version src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.ocl-icd ]; extraPkgs = pkgs: [ pkgs.ocl-icd ];
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share/applications mkdir -p $out/share/applications

View File

@ -31,8 +31,6 @@ in
appimageTools.wrapType2 { appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: [ ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
install -m 444 -D ${appimageContents}/${pname}.png $out/share/icons/hicolor/1024x1024/apps/${pname}.png install -m 444 -D ${appimageContents}/${pname}.png $out/share/icons/hicolor/1024x1024/apps/${pname}.png

View File

@ -0,0 +1,33 @@
{
lib,
fetchFromGitea,
buildGoModule,
}:
buildGoModule rec {
pname = "nodeinfo";
version = "0.3.2";
vendorHash = "sha256-4nHdz/Js8xBUMiH+hH+hSYP25cB4yHbe+QVk0RMqLgc=";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "thefederationinfo";
repo = "nodeinfo-go";
rev = "refs/tags/v${version}";
hash = "sha256-NNrMv4AS7ybuJfTgs+p61btSIxo+iMvzH7Y5ct46Dag=";
};
tags = "extension";
sourceRoot = "${src.name}/cli";
CGO_ENABLED = 0;
meta = with lib; {
mainProgram = "nodeinfo";
description = "A command line tool to query nodeinfo based on a given domain";
homepage = "https://codeberg.org/thefederationinfo/nodeinfo-go";
changelog = "https://codeberg.org/thefederationinfo/nodeinfo-go/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ _6543 ];
};
}

View File

@ -58,9 +58,9 @@ if stdenv.isDarwin then stdenv.mkDerivation {
} else appimageTools.wrapType2 { } else appimageTools.wrapType2 {
inherit pname version src meta; inherit pname version src meta;
extraPkgs = ps: (appimageTools.defaultFhsEnvArgs.multiPkgs ps) ++ [ extraPkgs = pkgs: [
# Required to run DynamoDB locally # Required to run DynamoDB locally
ps.jdk21 pkgs.jdk21
]; ];
extraInstallCommands = let extraInstallCommands = let

View File

@ -20,9 +20,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: [ pkgs.segger-jlink ];
segger-jlink
];
extraInstallCommands = '' extraInstallCommands = ''
install -Dm444 ${appimageContents}/nrfconnect.desktop -t $out/share/applications install -Dm444 ${appimageContents}/nrfconnect.desktop -t $out/share/applications

View File

@ -15,14 +15,14 @@
}: }:
let let
version = "46.1"; version = "46.2";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "chergert"; owner = "chergert";
repo = "ptyxis"; repo = "ptyxis";
rev = version; rev = version;
hash = "sha256-4fdl6H0kxZwpEQp+sZJkO0auQDR327m7RDXf6tbB5x0="; hash = "sha256-/n/S2ws6qsVwTXX96MPa+/ISozDDu8A1wkD1g3dmAtQ=";
}; };
vte-gtk4-patched = vte-gtk4.overrideAttrs (prev: { vte-gtk4-patched = vte-gtk4.overrideAttrs (prev: {

View File

@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "sendme"; pname = "sendme";
version = "0.6.0"; version = "0.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "n0-computer"; owner = "n0-computer";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-zUI9o3UWufl8NadwMeWsnoSuW8++tFw8NvzA6OdlkMI="; hash = "sha256-x4RN/C/XMvpfsbWJTX5wDj1K+ADz2YIb/esAIEpFVcs=";
}; };
cargoHash = "sha256-NuPBoMSB4Dr26O9IspFLPBzoUJljDjGZCXRyUIxa3IU="; cargoHash = "sha256-yeexP6wfhg2Ir1oJzaxMwRMen9M409MB4cNZ8fd6cHc=";
buildInputs = lib.optionals stdenv.isDarwin ( buildInputs = lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks; [ with darwin.apple_sdk.frameworks; [

View File

@ -19,10 +19,6 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [
makeWrapper
];
extraBwrapArgs = [ extraBwrapArgs = [
"--setenv _JAVA_AWT_WM_NONREPARENTING 1" "--setenv _JAVA_AWT_WM_NONREPARENTING 1"
]; ];

View File

@ -57,8 +57,7 @@ if stdenv.isDarwin then stdenv.mkDerivation
else appimageTools.wrapType2 { else appimageTools.wrapType2 {
inherit pname version src meta passthru; inherit pname version src meta passthru;
extraPkgs = pkgs: extraPkgs = pkgs: [ pkgs.libthai ];
(appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libthai ];
extraInstallCommands = extraInstallCommands =
let let

View File

@ -17,7 +17,12 @@ buildGoModule rec {
owner = "symfony-cli"; owner = "symfony-cli";
repo = "symfony-cli"; repo = "symfony-cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-IanaxFhD0nAabr9w6ARCVie+sYW9bvgHoahsuHQYeqE="; hash = "sha256-UmGyIZk5s5A8ModafWMZqeJHdZ4fa+hAHi62pdlfJ8I=";
leaveDotGit = true;
postFetch = ''
git --git-dir $out/.git log -1 --pretty=%cd --date=format:'%Y-%m-%dT%H:%M:%SZ' > $out/SOURCE_DATE
rm -rf $out/.git
'';
}; };
ldflags = [ ldflags = [
@ -27,6 +32,10 @@ buildGoModule rec {
"-X main.channel=stable" "-X main.channel=stable"
]; ];
preBuild = ''
ldflags+=" -X main.buildDate=$(cat SOURCE_DATE)"
'';
buildInputs = [ makeBinaryWrapper ]; buildInputs = [ makeBinaryWrapper ];
postInstall = '' postInstall = ''

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@ let
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/ollama/default.nix # https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/ollama/default.nix
pname = "tabby"; pname = "tabby";
version = "0.10.0"; version = "0.11.0";
availableAccelerations = flatten [ availableAccelerations = flatten [
@ -78,7 +78,7 @@ let
# to use a specific device type as it is relying on llama-cpp only being # to use a specific device type as it is relying on llama-cpp only being
# built to use one type of device. # built to use one type of device.
# #
# See: https://github.com/TabbyML/tabby/blob/v0.10.0/crates/llama-cpp-bindings/include/engine.h#L20 # See: https://github.com/TabbyML/tabby/blob/v0.11.0/crates/llama-cpp-bindings/include/engine.h#L20
# #
llamaccpPackage = llama-cpp.override { llamaccpPackage = llama-cpp.override {
rocmSupport = enableRocm; rocmSupport = enableRocm;
@ -108,13 +108,14 @@ rustPlatform.buildRustPackage {
owner = "TabbyML"; owner = "TabbyML";
repo = "tabby"; repo = "tabby";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Oi4KY2H6/dSBydjvPmycdinXUWCdbbhV32wKRvjjnuo="; hash = "sha256-7PHCvI2/QSFVs6SAXrx8rohU5Wu8QRaqsI1CimnUGQY=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"apalis-0.5.1" = "sha256-hGvVuSy32lSTR5DJdiyf8q1sXbIeuLSGrtyq6m2QlUQ=";
"tree-sitter-c-0.20.6" = "sha256-Etl4s29YSOxiqPo4Z49N6zIYqNpIsdk/Qd0jR8jdvW4="; "tree-sitter-c-0.20.6" = "sha256-Etl4s29YSOxiqPo4Z49N6zIYqNpIsdk/Qd0jR8jdvW4=";
"tree-sitter-cpp-0.20.3" = "sha256-UrQ48CoUMSHmlHzOMu22c9N4hxJtHL2ZYRabYjf5byA="; "tree-sitter-cpp-0.20.3" = "sha256-UrQ48CoUMSHmlHzOMu22c9N4hxJtHL2ZYRabYjf5byA=";
"tree-sitter-solidity-0.0.3" = "sha256-b+LthCf+g19sjKeNgXZmUV0RNi94O3u0WmXfgKRpaE0="; "tree-sitter-solidity-0.0.3" = "sha256-b+LthCf+g19sjKeNgXZmUV0RNi94O3u0WmXfgKRpaE0=";

View File

@ -1,25 +1,26 @@
{ stdenv {
, lib stdenv,
, fetchFromGitLab lib,
, meson fetchFromGitLab,
, ninja meson,
, pkg-config ninja,
, llvmPackages pkg-config,
, gobject-introspection llvmPackages,
, glib gobject-introspection,
, unstableGitUpdater glib,
unstableGitUpdater,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation {
pname = "tartan"; pname = "tartan";
version = "0.3.0-unstable-2021-12-23"; version = "0.3.0-unstable-2023-10-11";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.freedesktop.org"; domain = "gitlab.freedesktop.org";
owner = "tartan"; owner = "tartan";
repo = "tartan"; repo = "tartan";
rev = "bd4ea95d8b3ce1258491e9fac7fcc37d2b241a16"; rev = "4a7c945535d746d3d874ebebc0217715d674a862";
sha256 = "l3duPt8Kh/JljzOV+Dm26XbS7gZ+mmFfYUYofWSJRyo="; hash = "sha256-DYvbBGgytf1JOYKejZB+ReehD8iKm1n4BhMmLQURay0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -45,7 +46,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
description = "Tools and Clang plugins for developing code with GLib"; description = "Tools and Clang plugins for developing code with GLib";
homepage = "https://freedesktop.org/wiki/Software/tartan"; homepage = "https://gitlab.freedesktop.org/tartan/tartan";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ jtojnar ]; maintainers = with maintainers; [ jtojnar ];

View File

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "vunnel"; pname = "vunnel";
version = "0.22.2"; version = "0.23.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "anchore"; owner = "anchore";
repo = "vunnel"; repo = "vunnel";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-g/dlo2M7TJRYAbk3HtGQlMUZhORxt+OsDgP8W7rf+NE="; hash = "sha256-pfR3LxC1sSvLKIwq0P/9DcNkGVIIDfwMiSOpwJ7km9Y=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -8,13 +8,13 @@
buildGoModule rec { buildGoModule rec {
pname = "workout-tracker"; pname = "workout-tracker";
version = "0.14.2"; version = "0.14.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jovandeginste"; owner = "jovandeginste";
repo = "workout-tracker"; repo = "workout-tracker";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-hQPBptpsxksfILZXXAVIcFf+W7Eea3pcgnndHY4mO9c="; hash = "sha256-NGj3W6SYZauaAhMinPzsSXM8Dqy+B+am985JJjh6xTs=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, arcan , arcan
, audit , audit
, dbus , dbus
@ -30,21 +29,23 @@
, systemd , systemd
, xcbutil , xcbutil
, xcbutilwm , xcbutilwm
, xcbutilimage
, xkbcomp , xkbcomp
, xkeyboard_config , xkeyboard_config
, xorgproto , xorgproto
, xtrans , xtrans
, unstableGitUpdater
}: }:
stdenv.mkDerivation (finalPackages: { stdenv.mkDerivation (finalPackages: {
pname = "xarcan"; pname = "xarcan";
version = "unstable-2023-11-03"; version = "0-unstable-2024-05-11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "letoram"; owner = "letoram";
repo = "xarcan"; repo = "xarcan";
rev = "380ea856307f593535dfc8b23799938db69e31b0"; rev = "ecc4d0a6408dfeb19934e3bfd4c382b0862c03b4";
hash = "sha256-RdizezCbJylQDkOmUdqL0lBTNLsjyvo+lKAjfZXTXf4="; hash = "sha256-PmaoeemQpin5NN8I6JYOumP+PrzkyTYrqAyxxwBO9K0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -79,6 +80,7 @@ stdenv.mkDerivation (finalPackages: {
systemd systemd
xcbutil xcbutil
xcbutilwm xcbutilwm
xcbutilimage
xkbcomp xkbcomp
xkeyboard_config xkeyboard_config
xorgproto xorgproto
@ -104,6 +106,8 @@ stdenv.mkDerivation (finalPackages: {
"--with-xkb-path=${xkeyboard_config}/share/X11/xkb" "--with-xkb-path=${xkeyboard_config}/share/X11/xkb"
]; ];
passthru.updateScript = unstableGitUpdater {};
meta = { meta = {
homepage = "https://github.com/letoram/letoram"; homepage = "https://github.com/letoram/letoram";
description = "Patched Xserver that bridges connections to Arcan"; description = "Patched Xserver that bridges connections to Arcan";

View File

@ -14,7 +14,6 @@ buildFHSEnv {
pyserial pyserial
])) ]))
]); ]);
multiArch = false;
extraInstallCommands = '' extraInstallCommands = ''
${lib.optionalString withGui '' ${lib.optionalString withGui ''

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "armadillo"; pname = "armadillo";
version = "12.8.2"; version = "12.8.3";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz"; url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
hash = "sha256-A7YvjAnk9ddGQ7R4UgdBuOJ7VefkUll4/K4vXXkaw78="; hash = "sha256-KSJYn2OHeWUEs0Daa7lUvvPYdXTCmFFYkyie3S2JAVE=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -3,7 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, cppunit , cppunit
, iconv , libiconv
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
nativeCheckInputs = [ cppunit ]; nativeCheckInputs = [ cppunit ];
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
iconv # needed on Darwin, see https://github.com/Martchus/cpp-utilities/issues/4 libiconv # needed on Darwin, see https://github.com/Martchus/cpp-utilities/issues/4
]; ];
cmakeFlags = ["-DBUILD_SHARED_LIBS=ON"]; cmakeFlags = ["-DBUILD_SHARED_LIBS=ON"];

View File

@ -3,7 +3,7 @@
, callPackage , callPackage
, fetchurl , fetchurl
, testers , testers
, ngspice
, cmake , cmake
}: }:
@ -17,6 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.isDarwin [ ngspice ];
# https://github.com/libgeos/geos/issues/930 # https://github.com/libgeos/geos/issues/930
cmakeFlags = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ cmakeFlags = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [

View File

@ -1,18 +1,38 @@
{ lib, stdenv, fetchurl, pkg-config, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection {
, vala }: lib,
stdenv,
fetchurl,
pkg-config,
glib,
zlib,
gnupg,
gpgme,
libidn2,
libunistring,
gobject-introspection,
vala,
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "3.2.14"; version = "3.2.14";
pname = "gmime"; pname = "gmime";
src = fetchurl { # https://github.com/jstedfast/gmime/releases src = fetchurl {
# https://github.com/jstedfast/gmime/releases
url = "https://github.com/jstedfast/gmime/releases/download/${version}/gmime-${version}.tar.xz"; url = "https://github.com/jstedfast/gmime/releases/download/${version}/gmime-${version}.tar.xz";
sha256 = "sha256-pes91nX3LlRci8HNEhB+Sq0ursGQXre0ATzbH75eIxc="; sha256 = "sha256-pes91nX3LlRci8HNEhB+Sq0ursGQXre0ATzbH75eIxc=";
}; };
outputs = [ "out" "dev" ]; outputs = [
"out"
"dev"
];
nativeBuildInputs = [ pkg-config gobject-introspection vala ]; nativeBuildInputs = [
pkg-config
gobject-introspection
vala
];
buildInputs = [ buildInputs = [
zlib zlib
gpgme gpgme
@ -21,22 +41,34 @@ stdenv.mkDerivation rec {
vala # for share/vala/Makefile.vapigen vala # for share/vala/Makefile.vapigen
]; ];
propagatedBuildInputs = [ glib ]; propagatedBuildInputs = [ glib ];
configureFlags = [ configureFlags =
"--enable-introspection=yes" [
"--enable-vala=yes" "--enable-introspection=yes"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "ac_cv_have_iconv_detect_h=yes" ]; "--enable-vala=yes"
]
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "ac_cv_have_iconv_detect_h=yes" ];
postPatch = '' postPatch =
substituteInPlace tests/testsuite.c \ ''
--replace /bin/rm rm substituteInPlace tests/testsuite.c \
''; --replace /bin/rm rm
''
+ lib.optionalString stdenv.isDarwin ''
# This specific test fails on darwin for some unknown reason
substituteInPlace tests/test-filters.c \
--replace-fail 'test_charset_conversion (datadir, "japanese", "utf-8", "iso-2022-jp");' ""
'';
preConfigure = '' preConfigure =
PKG_CONFIG_VAPIGEN_VAPIGEN="$(type -p vapigen)" ''
export PKG_CONFIG_VAPIGEN_VAPIGEN PKG_CONFIG_VAPIGEN_VAPIGEN="$(type -p vapigen)"
'' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' export PKG_CONFIG_VAPIGEN_VAPIGEN
cp ${if stdenv.hostPlatform.isMusl then ./musl-iconv-detect.h else ./iconv-detect.h} ./iconv-detect.h ''
''; + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
cp ${
if stdenv.hostPlatform.isMusl then ./musl-iconv-detect.h else ./iconv-detect.h
} ./iconv-detect.h
'';
nativeCheckInputs = [ gnupg ]; nativeCheckInputs = [ gnupg ];
@ -44,11 +76,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = {
homepage = "https://github.com/jstedfast/gmime/"; homepage = "https://github.com/jstedfast/gmime/";
description = "A C/C++ library for creating, editing and parsing MIME messages and structures"; description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
license = licenses.lgpl21Plus; license = lib.licenses.lgpl21Plus;
maintainers = with maintainers; [ ]; maintainers = with lib.maintainers; [ ];
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
} }

View File

@ -22,6 +22,10 @@ stdenv.mkDerivation {
done done
''; '';
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
"-Wno-error=gnu-folding-constant"
]);
meta = with lib; { meta = with lib; {
description = "C utility functions for OpenWrt"; description = "C utility functions for OpenWrt";
homepage = "https://git.openwrt.org/?p=project/libubox.git;a=summary"; homepage = "https://git.openwrt.org/?p=project/libubox.git;a=summary";

View File

@ -14,6 +14,10 @@ stdenv.mkDerivation {
buildInputs = [ libubox libjson ]; buildInputs = [ libubox libjson ];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
"-Wno-error=gnu-folding-constant"
]);
meta = with lib; { meta = with lib; {
description = "OpenWrt system message/RPC bus"; description = "OpenWrt system message/RPC bus";
homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary"; homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary";

View File

@ -26,5 +26,6 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ mkg20001 ]; maintainers = with maintainers; [ mkg20001 ];
mainProgram = "uclient-fetch"; mainProgram = "uclient-fetch";
platforms = platforms.all; platforms = platforms.all;
broken = stdenv.isDarwin;
}; };
} }

View File

@ -10,12 +10,12 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "ustream-ssl"; pname = "ustream-ssl";
version = "unstable-2023-11-11"; version = "0-unstable-2024-03-26";
src = fetchgit { src = fetchgit {
url = "https://git.openwrt.org/project/ustream-ssl.git"; url = "https://git.openwrt.org/project/ustream-ssl.git";
rev = "263b9a97cf7e1e2467319c23832b705fc01190b5"; rev = "7621339d7694abef5da5e5353ac440f2d39dcecb";
hash = "sha256-RLHU6swNbS3DL3QbKnwU4BbD0EFGKCrHHp0hbnoSssw="; hash = "sha256-No0Pk8KbkT7W4Rav7W3rMKEJISbp7RRoRx7t6LPMxlk=";
}; };
preConfigure = '' preConfigure = ''

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchurl { lib, buildDunePackage, fetchurl, fetchpatch
, astring, cmdliner, fmt, re, stdlib-shims, uutf, ocaml-syntax-shims , astring, cmdliner, fmt, re, stdlib-shims, uutf, ocaml-syntax-shims
}: }:
@ -6,13 +6,17 @@ buildDunePackage rec {
pname = "alcotest"; pname = "alcotest";
version = "1.7.0"; version = "1.7.0";
duneVersion = "3";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz"; url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-${version}.tbz";
hash = "sha256-gSus2zS0XoiZXgfXMGvasvckee8ZlmN/HV0fQWZ5At8="; hash = "sha256-gSus2zS0XoiZXgfXMGvasvckee8ZlmN/HV0fQWZ5At8=";
}; };
# Fix tests with OCaml 5.2
patches = fetchpatch {
url = "https://github.com/mirage/alcotest/commit/aa437168b258db97680021116af176c55e1bd53b.patch";
hash = "sha256-cytuJFg4Mft47LsAEcz2zvzyy1wNzMdeLK+cjaFANpo=";
};
nativeBuildInputs = [ ocaml-syntax-shims ]; nativeBuildInputs = [ ocaml-syntax-shims ];
propagatedBuildInputs = [ astring cmdliner fmt re stdlib-shims uutf ]; propagatedBuildInputs = [ astring cmdliner fmt re stdlib-shims uutf ];

View File

@ -1,5 +1,9 @@
{ lib, stdenv, fetchFromGitHub, buildDunePackage, ocaml, findlib, cppo }: { lib, stdenv, fetchFromGitHub, buildDunePackage, ocaml, findlib, cppo }:
if lib.versionAtLeast ocaml.version "5.2"
then throw "ppx_tools is not available for OCaml ${ocaml.version}"
else
let param = let param =
let v6_6 = { let v6_6 = {
version = "6.6"; version = "6.6";
@ -58,7 +62,6 @@ then
buildDunePackage { buildDunePackage {
inherit pname src meta; inherit pname src meta;
inherit (param) version buildInputs nativeBuildInputs; inherit (param) version buildInputs nativeBuildInputs;
duneVersion = "3";
} }
else else
stdenv.mkDerivation { stdenv.mkDerivation {

View File

@ -6,16 +6,16 @@
php82.buildComposerProject (finalAttrs: { php82.buildComposerProject (finalAttrs: {
pname = "box"; pname = "box";
version = "4.6.1"; version = "4.6.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "box-project"; owner = "box-project";
repo = "box"; repo = "box";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-58L0eWIuUleb90ICBrmeHEQDVYySX0TdSaJBnBtmBXc="; hash = "sha256-gYIAP9pTjahNkpNNXx0c8sQm+9Kaq6/IAo/xI5bNy7Y=";
}; };
vendorHash = "sha256-9kTqU+1i6ICLOlCZe+JCyKn8VN/67Uk9vmn8ng8+HdI="; vendorHash = "sha256-HCbjW4HdyQNWDEHXj9U1t3S3EKcrPV1z/9I1ClFsMsc=";
meta = { meta = {
changelog = "https://github.com/box-project/box/releases/tag/${finalAttrs.version}"; changelog = "https://github.com/box-project/box/releases/tag/${finalAttrs.version}";

View File

@ -16,13 +16,13 @@
buildPecl rec { buildPecl rec {
pname = "mongodb"; pname = "mongodb";
version = "1.18.1"; version = "1.19.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mongodb"; owner = "mongodb";
repo = "mongo-php-driver"; repo = "mongo-php-driver";
rev = version; rev = version;
hash = "sha256-GstDJShuwzXZqlzhLWMEkvrNgCdmORAkGncpmPe879Q="; hash = "sha256-hog6bOKAhLwZMjrUD5yOJ607B1MLYaZJjq6CXIYPlH4=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@ php.buildComposerProject (finalAttrs: {
hash = "sha256-7ATlfAlCFv78JSKg5cD/VcYoq/EAM/6/GjH3lkfVCJ8="; hash = "sha256-7ATlfAlCFv78JSKg5cD/VcYoq/EAM/6/GjH3lkfVCJ8=";
}; };
vendorHash = "sha256-ykAv7laYMvzd+uD6raMRQiZmCEa0ELQj1hJPb8UvjCk="; vendorHash = "sha256-MOq7xmX8wqDk9W3M2gkejyXXPTcVFFgU0ohmDpL0Tvg=";
composerLock = ./composer.lock; composerLock = ./composer.lock;

View File

@ -6,16 +6,16 @@
php.buildComposerProject (finalAttrs: { php.buildComposerProject (finalAttrs: {
pname = "phpstan"; pname = "phpstan";
version = "1.10.67"; version = "1.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "phpstan"; owner = "phpstan";
repo = "phpstan-src"; repo = "phpstan-src";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-fa/bPOwZoYmnFBBmQofsFb8VphAfcTUwroSGCdnpNq8="; hash = "sha256-zf6u7fGMMx+DeXcS4SxyK3aQ53jnXzQ8YPrJ89vG65Y=";
}; };
vendorHash = "sha256-cTJWXfBjH6BiD/a2qQ60MFB/QuFaVm8vOLMQYPW+7TI="; vendorHash = "sha256-Uv2BoE/hTK59uxHsdm4M5hfozDw4LwwZH4MHd+vN60Y=";
composerStrictValidation = false; composerStrictValidation = false;
meta = { meta = {

View File

@ -1,98 +1,73 @@
{ lib { lib
, asdf-standard , asdf-standard
, asdf-transform-schemas , asdf-transform-schemas
, astropy , attrs
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fsspec
, importlib-resources , importlib-metadata
, jmespath , jmespath
, jsonschema
, lz4 , lz4
, numpy , numpy
, packaging , packaging
, pytest-astropy , psutil
, pytest-remotedata
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pyyaml , pyyaml
, semantic-version , semantic-version
, setuptools
, setuptools-scm , setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "asdf"; pname = "asdf";
version = "2.13.0"; version = "3.2.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "asdf-format/"; owner = "asdf-format";
repo = pname; repo = "asdf";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-u8e7ot5NDRqQFH0eLVnGinBQmQD73BlR5K9HVjA7SIg="; hash = "sha256-r+cEv6g7fq3I/h2mlszzJRQcazy7qP9pg0hfYG/Sa9E=";
}; };
patches = [ build-system = [
# Fix default validation, https://github.com/asdf-format/asdf/pull/1203 setuptools
(fetchpatch {
name = "default-validation.patch";
url = "https://github.com/asdf-format/asdf/commit/6f79f620b4632e20178d9bd53528702605d3e976.patch";
hash = "sha256-h/dYhXRCf5oIIC+u6+8C91mJnmEzuNmlEzqc0UEhLy0=";
excludes = [
"CHANGES.rst"
];
})
];
postPatch = ''
# https://github.com/asdf-format/asdf/pull/1203
substituteInPlace pyproject.toml \
--replace "'jsonschema >=4.0.1, <4.10.0'," "'jsonschema >=4.0.1',"
'';
nativeBuildInputs = [
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
asdf-standard asdf-standard
asdf-transform-schemas asdf-transform-schemas
importlib-metadata
jmespath jmespath
jsonschema
numpy numpy
packaging packaging
pyyaml pyyaml
semantic-version semantic-version
] ++ lib.optionals (pythonOlder "3.9") [ attrs
importlib-resources
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
astropy fsspec
lz4 lz4
pytest-astropy psutil
pytest-remotedata
pytestCheckHook pytestCheckHook
]; ];
preCheck = ''
export PY_IGNORE_IMPORTMISMATCH=1
'';
pythonImportsCheck = [ pythonImportsCheck = [
"asdf" "asdf"
]; ];
disabledTests = [
"config.rst"
];
meta = with lib; { meta = with lib; {
description = "Python tools to handle ASDF files"; description = "Python tools to handle ASDF files";
homepage = "https://github.com/asdf-format/asdf"; homepage = "https://github.com/asdf-format/asdf";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
# Many tests fail, according to Hydra
broken = true;
}; };
} }

View File

@ -1,19 +1,20 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pytest-asyncio fetchFromGitHub,
, pytest-mock pytest-asyncio,
, pytestCheckHook pytest-mock,
, python-socks pytestCheckHook,
, pythonOlder python-socks,
, setuptools pythonOlder,
, tldextract setuptools,
, whodap tldextract,
whodap,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "asyncwhois"; pname = "asyncwhois";
version = "1.1.0"; version = "1.1.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -22,14 +23,17 @@ buildPythonPackage rec {
owner = "pogzyb"; owner = "pogzyb";
repo = "asyncwhois"; repo = "asyncwhois";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-rJwJhSOFrZZ3WXEZmPMfdosBBW/R5/PMqs0QLnsPMoI="; hash = "sha256-ESVgK4Z26OAamdHPEVxysnlJ0rEUlr8KNd24fawHuEg=";
}; };
nativeBuildInputs = [ postPatch = ''
setuptools substituteInPlace setup.py \
]; --replace-fail "python-socks[asyncio]" "python-socks"
'';
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
python-socks python-socks
tldextract tldextract
whodap whodap
@ -41,11 +45,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace setup.py \
--replace-fail "python-socks[asyncio]" "python-socks"
'';
disabledTests = [ disabledTests = [
# Tests require network access # Tests require network access
"test_pywhois_aio_get_hostname_from_ip" "test_pywhois_aio_get_hostname_from_ip"
@ -63,9 +62,7 @@ buildPythonPackage rec {
"test__get_top_level_domain" "test__get_top_level_domain"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "asyncwhois" ];
"asyncwhois"
];
meta = with lib; { meta = with lib; {
description = "Python module for retrieving WHOIS information"; description = "Python module for retrieving WHOIS information";

View File

@ -0,0 +1,84 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
geopy,
httpx,
numpy,
poetry-core,
pytestCheckHook,
pytest-asyncio,
python-dateutil,
pythonOlder,
rapidfuzz,
scipy,
shapely,
time-machine,
xmltodict,
}:
buildPythonPackage rec {
pname = "avwx-engine";
version = "1.8.28";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "avwx-rest";
repo = "avwx-engine";
rev = "refs/tags/${version}";
hash = "sha256-sxOLhcmTJg/dTrtemr9BcfcBoHTP1eGo8U1ab8iSvUM=";
};
postPatch = ''
sed -i -e "/--cov/d" -e "/--no-cov/d" pyproject.toml
'';
build-system = [ poetry-core ];
dependencies = [
geopy
httpx
python-dateutil
xmltodict
];
passthru.optional-dependencies = {
all = [
numpy
rapidfuzz
scipy
shapely
];
fuzz = [ rapidfuzz ];
scipy = [
numpy
scipy
];
shape = [ shapely ];
};
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
time-machine
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ "avwx" ];
disabledTests = [
# Tests require network access
"fetch"
"test_nbm_all"
"test_station_nearest_ip"
];
meta = with lib; {
description = "Aviation Weather parsing engine";
homepage = "https://github.com/avwx-rest/avwx-engine";
changelog = "https://github.com/avwx-rest/avwx-engine/blob/${version}/changelog.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,30 +1,49 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder {
, pytestCheckHook, nose, glibcLocales, fetchpatch lib,
, numpy, scipy, matplotlib, h5py }: buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
numpy,
scipy,
h5py,
truncnorm,
pytestCheckHook,
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bayespy"; pname = "bayespy";
version = "0.6.1"; version = "0.6.1";
format = "setuptools"; pyproject = true;
# Python 2 not supported and not some old Python 3 because MPL doesn't support # Python 2 not supported and not some old Python 3 because MPL doesn't support
# them properly. # them properly.
disabled = pythonOlder "3.4"; disabled = pythonOlder "3.4";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "bayespy";
sha256 = "sha256-3N8w/LiTLsDZbHp3z26FvDg3vStB2l3XkIWx+Mma1G0="; repo = "bayespy";
rev = "refs/tags/${version}";
hash = "sha256-X7CwJBrKHlU1jqMkt/7XEzaiwul1Yzkb/V64lXG4Aqo=";
}; };
nativeCheckInputs = [ pytestCheckHook nose glibcLocales ]; postPatch = ''
substituteInPlace versioneer.py \
--replace-fail SafeConfigParser ConfigParser \
--replace-fail readfp read_file
'';
propagatedBuildInputs = [ numpy scipy matplotlib h5py ]; build-system = [ setuptools ];
disabledTests = [ dependencies = [
# Assertion error numpy
"test_message_to_parents" scipy
h5py
truncnorm
]; ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bayespy" ]; pythonImportsCheck = [ "bayespy" ];
meta = with lib; { meta = with lib; {

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bleak"; pname = "bleak";
version = "0.21.1"; version = "0.22.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "hbldh"; owner = "hbldh";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-T0im8zKyNLbskAEDeUUFS/daJtvttlHlttjscqP8iSk="; hash = "sha256-kBKNBVbEq1xHLu/gKUL2SwlA2WKjzqFVC5o4N+qnqLM=";
}; };
postPatch = '' postPatch = ''

View File

@ -366,7 +366,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "boto3-stubs"; pname = "boto3-stubs";
version = "1.34.103"; version = "1.34.104";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -374,7 +374,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "boto3_stubs"; pname = "boto3_stubs";
inherit version; inherit version;
hash = "sha256-MxMTEnOQKpgEYyL4wZkl7NUykk66ZOm/wFKNBGrrbYw="; hash = "sha256-GsQmm7pLMdSCQfAtLwa0WB+75hdC3O44MV4BQgwQMVs=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "frozendict"; pname = "frozendict";
version = "2.4.3"; version = "2.4.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "Marco-Sulla"; owner = "Marco-Sulla";
repo = "python-frozendict"; repo = "python-frozendict";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-DGSHQbVfqkaHgxL2bBXSxKqshTdWqp1z2F+YA9lu20E="; hash = "sha256-TgXhffUvx74fU2SgDV04R1yS9xGbiP/ksQ+3KGT5bdQ=";
}; };
# build C version if it exists # build C version if it exists

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-generativeai"; pname = "google-generativeai";
version = "0.5.2"; version = "0.5.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "google"; owner = "google";
repo = "generative-ai-python"; repo = "generative-ai-python";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-R1ndVzGKXWRNkWvvuP4HFBXbuk54bCZZvMJY+yalJGU="; hash = "sha256-tJ04E69xNhDqxZ/0YVCIDFqWdA73rs57usyh3fDv8Ls=";
}; };
pythonRelaxDeps = [ "google-ai-generativelanguage" ]; pythonRelaxDeps = [ "google-ai-generativelanguage" ];

View File

@ -1,22 +1,23 @@
{ lib {
, buildPythonPackage lib,
, emoji buildPythonPackage,
, fetchFromGitHub emoji,
, freezegun fetchFromGitHub,
, tzdata freezegun,
, pyparsing tzdata,
, pydantic pyparsing,
, pytest-benchmark pydantic,
, pytestCheckHook pytest-benchmark,
, pythonOlder pytestCheckHook,
, python-dateutil pythonOlder,
, setuptools python-dateutil,
, syrupy setuptools,
syrupy,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ical"; pname = "ical";
version = "8.0.1"; version = "8.0.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -25,12 +26,10 @@ buildPythonPackage rec {
owner = "allenporter"; owner = "allenporter";
repo = "ical"; repo = "ical";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-GA2Kn6OednhQtNzmIq5npN2qXVaMHCzy02Jwx7g3GBA="; hash = "sha256-NrnRId+bgRh31+ocWBjWE2Zo3gOvPJ2fYtOVWOWD5EY=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
python-dateutil python-dateutil
@ -47,9 +46,7 @@ buildPythonPackage rec {
syrupy syrupy
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "ical" ];
"ical"
];
meta = with lib; { meta = with lib; {
description = "Library for handling iCalendar"; description = "Library for handling iCalendar";

View File

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "inform"; pname = "inform";
version = "1.28"; version = "1.29";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "KenKundert"; owner = "KenKundert";
repo = "inform"; repo = "inform";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-RA8/or3HTS/rQmG4A/Eg5j24YElaTEpnHa1yksARVMQ="; hash = "sha256-quJGgXMvVZGqZA6M/AjU/cjYeL0R2nuPDoL0Ji0Ow6I=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-llms-openai"; pname = "llama-index-llms-openai";
version = "0.1.18"; version = "0.1.19";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_index_llms_openai"; pname = "llama_index_llms_openai";
inherit version; inherit version;
hash = "sha256-jLdUahiFulWP9YCxFNY4VpoK7YGiZJYRFOcZvEKzcQA="; hash = "sha256-9htkqZeJLkJPs81UcJDSecWyEO8VthT8Od6FTTzKp+c=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-multi-modal-llms-openai"; pname = "llama-index-multi-modal-llms-openai";
version = "0.1.5"; version = "0.1.6";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_index_multi_modal_llms_openai"; pname = "llama_index_multi_modal_llms_openai";
inherit version; inherit version;
hash = "sha256-miN/T4htHiDCfpST6As+H4dThZSB/xtY/iW3qjmxmKI="; hash = "sha256-EN51qHekRK81MGOF+q2bnwYkOR5VMJlwVkEUoICgV4w=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "lsassy"; pname = "lsassy";
version = "3.1.10"; version = "3.1.11";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "Hackndo"; owner = "Hackndo";
repo = "lsassy"; repo = "lsassy";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Eqparqj1O0gK0MvR4BBkGVNji2WXEnMsdWvKiR6XHFk="; hash = "sha256-boPFrmPqaHpezxXM3VM50i+n+n+gXkuwP4ErpMpN/AI=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

Some files were not shown because too many files have changed in this diff Show More