Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 4, 2024
2 parents b9190b9 + 13d9903 commit 4be617c
Show file tree
Hide file tree
Showing 126 changed files with 2,617 additions and 2,397 deletions.
11 changes: 11 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21431,6 +21431,11 @@
githubId = 1215104;
keys = [ { fingerprint = "B1FD 4E2A 84B2 2379 F4BF 2EF5 FE33 A228 2371 E831"; } ];
};
tyberius-prime = {
name = "Tyberius Prime";
github = "TyberiusPrime";
githubId = 1257580;
};
tylerjl = {
email = "[email protected]";
github = "tylerjl";
Expand Down Expand Up @@ -23162,6 +23167,12 @@
github = "zbioe";
githubId = 7332055;
};
zebradil = {
email = "[email protected]";
github = "zebradil";
githubId = 1475583;
name = "German Lashevich";
};
zebreus = {
matrix = "@lennart:cicen.net";
email = "[email protected]";
Expand Down
9 changes: 9 additions & 0 deletions nixos/modules/services/network-filesystems/samba.nix
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,15 @@ in

security.pam.services.samba = {};
environment.systemPackages = [ cfg.package ];
# Like other mount* related commands that need the setuid bit, this is
# required too.
security.wrappers."mount.cifs" = {
program = "mount.cifs";
source = "${lib.getBin pkgs.cifs-utils}/bin/mount.cifs";
owner = "root";
group = "root";
setuid = true;
};

networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ 139 445 ];
networking.firewall.allowedUDPPorts = mkIf cfg.openFirewall [ 137 138 ];
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/services/web-apps/weblate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ let

weblatePath = with pkgs; [
gitSVN
borgbackup

#optional
git-review
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/blockchains/dcrwallet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "dcrwallet";
version = "2.0.3";
version = "2.0.4";

src = fetchFromGitHub {
owner = "decred";
repo = "dcrwallet";
rev = "release-v${version}";
hash = "sha256-sRwGpOVydfZjgo7W+4RsHC4JElPyilbV5xhcHxPh2Wc=";
hash = "sha256-JKux64ANtoBumfVU2OyAyLgHDNZMe/bn+SMuQ8qV43M=";
};

vendorHash = "sha256-lVVIS3FL8XwthCpzRKdw59NVtHVxXQ0ouD7jYQzOecM=";
vendorHash = "sha256-ic8328r3BpycC2NiErTiFtRIkQaBhYcBwRgq/t9hmT8=";

subPackages = [ "." ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/chatblade/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

python3Packages.buildPythonApplication rec {
pname = "chatblade";
version = "0.6.3";
version = "0.6.4";
format = "setuptools";

src = fetchPypi {
inherit pname version;
hash = "sha256-4zLyIrBkilZ2ciBRkU41iK6Q8xDTdFJYOYalNeEMApg=";
hash = "sha256-d8XavZBuWsuIUxraC2XaWM6tgo2JmsPZwzyl9Rj5wWM=";
};

doCheck = false; # there are no tests
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/syncthingtray/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ https://github.com/NixOS/nixpkgs/issues/199596#issuecomment-1310136382 */
}:

stdenv.mkDerivation (finalAttrs: {
version = "1.6.0";
version = "1.6.1";
pname = "syncthingtray";

src = fetchFromGitHub {
owner = "Martchus";
repo = "syncthingtray";
rev = "v${finalAttrs.version}";
hash = "sha256-tbtSISWBNHxuF2T1XK5JnkiPMYzgP4fyw5t6z91P2p8=";
hash = "sha256-ZyYByMNMlXRjCCrvr5l+ePkWDrX7uxleVvxr09YeURQ=";
};

buildInputs = [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/krelay/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "krelay";
version = "0.1.0";
version = "0.1.1";

src = fetchFromGitHub {
owner = "knight42";
repo = pname;
rev = "v${version}";
hash = "sha256-tZnHkjsAT8AOIpVDIiHnD6k/2S/S/+jM9uw18TaYJaA=";
hash = "sha256-MnIeWsFpxSpE01uZtfI8Mhg6TSI9quz2TDKaMmBYbR0=";
};

vendorHash = "sha256-5lA7I/vrc6+XsiSCL61a/p7jbseLcJyXnOC5R/z85vQ=";
vendorHash = "sha256-N8r+C+j9hyAWdDXTzJgFNUfjL1mROr2KfyY0+XEdZVk=";

subPackages = [ "cmd/client" ];

Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/dnscontrol/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "dnscontrol";
version = "4.12.5";
version = "4.13.0";

src = fetchFromGitHub {
owner = "StackExchange";
repo = "dnscontrol";
rev = "v${version}";
hash = "sha256-xNbCKRAHs9xiZMLbsV6vcu8ga7WaGqZ+Dg4itTmRRr4=";
hash = "sha256-qDCt1Ld3xHPexpCv/0SbvQwGhWE46cVX3BJ0PoBsKcA=";
};

vendorHash = "sha256-Zq/98A3FiOPySXqY83rboC39cLcwrk6AvBk8+XIPrT8=";
vendorHash = "sha256-qEIvxQ4PRtDWyIw3MWmyXV4HLraCLSglHivlV7UJ9jM=";

nativeBuildInputs = [ installShellFiles ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/virtualization/qemu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://www.qemu.org/";
description = "Generic and open source machine emulator and virtualizer";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ qyliss ];
maintainers = with maintainers; [ qyliss ] ++ lib.optionals xenSupport xen.meta.maintainers;
platforms = platforms.unix;
}
# toolsOnly: Does not have qemu-kvm and there's no main support tool
Expand Down
43 changes: 43 additions & 0 deletions pkgs/by-name/cl/cloudflare-dynamic-dns/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
lib,
buildGoModule,
cloudflare-dynamic-dns,
fetchFromGitHub,
testers,
}:
buildGoModule rec {
pname = "cloudflare-dynamic-dns";
version = "4.3.0";

src = fetchFromGitHub {
owner = "zebradil";
repo = "cloudflare-dynamic-dns";
rev = "refs/tags/${version}";
hash = "sha256-3sE4iaSkCAAMJ6FtZgXXkjb0aO73ehluY3WMQlOgxwc=";
};

vendorHash = "sha256-/UaTOCbE8ieCtME6AudbXE5ntCptPFoESYrdn7qK0MU=";

subPackages = ".";

ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
"-X=main.commit=nixpkg-${version}"
"-X=main.date=1970-01-01"
];

CGO_ENABLED = 0;

passthru.tests.version = testers.testVersion { package = cloudflare-dynamic-dns; };

meta = with lib; {
changelog = "https://github.com/Zebradil/cloudflare-dynamic-dns/blob/${version}/CHANGELOG.md";
description = "Dynamic DNS client for Cloudflare";
homepage = "https://github.com/Zebradil/cloudflare-dynamic-dns";
license = licenses.mit;
mainProgram = "cloudflare-dynamic-dns";
maintainers = [ maintainers.zebradil ];
};
}
4 changes: 2 additions & 2 deletions pkgs/by-name/di/disko/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

stdenvNoCC.mkDerivation (finalAttrs: {
pname = "disko";
version = "1.6.1";
version = "1.7.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = "disko";
rev = "v${finalAttrs.version}";
hash = "sha256-5CNvkH0Nf7yMwgKhjUNg/lUK40C7DXB4zKOuA2jVO90=";
hash = "sha256-tqoAO8oT6zEUDXte98cvA1saU9+1dLJQe3pMKLXv8ps=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bash ];
Expand Down
8 changes: 4 additions & 4 deletions pkgs/by-name/fe/feishin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
}:
let
pname = "feishin";
version = "0.7.3";
version = "0.8.0";

src = fetchFromGitHub {
owner = "jeffvli";
repo = "feishin";
rev = "v${version}";
hash = "sha256-UOY0wjWGK7sal/qQbbkHjFUIA49QtbO+Ei6hSTOyHWk=";
hash = "sha256-KaZA7ZAeN6f1PWMeUl0Z4Xl/S/uD2vLPHM5uM+dIbko=";
};

electron = electron_31;
Expand All @@ -26,7 +26,7 @@ buildNpmPackage {
inherit pname version;

inherit src;
npmDepsHash = "sha256-FLo8FCpxvh2Iqd3pkpgwRZ4f2viX4iET64VAuXN362g=";
npmDepsHash = "sha256-1BG4U6x+e204KdrIh0S/rrdj/3wh2iuuWQgFXLjO3iw=";

npmFlags = [ "--legacy-peer-deps" ];
makeCacheWritable = true;
Expand Down Expand Up @@ -60,7 +60,7 @@ buildNpmPackage {
inherit version;

src = "${src}/release/app";
npmDepsHash = "sha256-fQV2yqyNZCjeNUekBaXUsND2lIZYYz07YQ6TGoFxT9Q=";
npmDepsHash = "sha256-//K8jiO3nEHs08l9eMDW2HnZBeBgxBMai2omoCI7wQw=";

npmFlags = [ "--ignore-scripts" ];
dontNpmBuild = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/fl/fluent-bit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "fluent-bit";
version = "3.1.6";
version = "3.1.7";

src = fetchFromGitHub {
owner = "fluent";
repo = "fluent-bit";
rev = "v${finalAttrs.version}";
hash = "sha256-l33DDS7rk/uLCGTU5WTGvQH0JUEarKo3cxMrXn5eefc=";
hash = "sha256-aolwCWZa+HS7NEbRxkcH+8Lv3Q3sDYqa4uFS1fANRHI=";
};

# optional only to avoid linux rebuild
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/he/hextazy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

rustPlatform.buildRustPackage rec {
pname = "hextazy";
version = "0.4";
version = "0.6";

src = fetchFromGitHub {
owner = "0xfalafel";
repo = "hextazy";
rev = "${version}";
hash = "sha256-5ZT6oXG3dWJ8vPX0oieWQsYJQYCTwtlb1B8kmGlLv0k=";
hash = "sha256-unZAW5ErHaEPpPwlo20/3//qhTpCjcmj0ses9FKgVJc=";
};

cargoHash = "sha256-n1HvkWNbHU8UUlqsCnuKESKQznk1WTe6eQiUJjVVXYE=";
cargoHash = "sha256-4JpgUGthCbXSn98f4RrPoTcaGSCyZeuJqMVdLH7gKgs=";

meta = {
description = "TUI hexeditor in Rust with colored bytes";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/hu/hugo/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@

buildGo123Module rec {
pname = "hugo";
version = "0.133.1";
version = "0.134.0";

src = fetchFromGitHub {
owner = "gohugoio";
repo = "hugo";
rev = "refs/tags/v${version}";
hash = "sha256-vTUhUSaUvj3gBoiYOJwmxScCpl2Z6/xRWvyV3ivPBTo=";
hash = "sha256-XglHrV+MD9Nq1qwJB63eATuS+6SwjZVF5u6H5EejEow=";
};

vendorHash = "sha256-+1wNCavx9pVWlFeP3NF/OAMgTVfIqAQdCkq4fW9RZxc=";
vendorHash = "sha256-oDa5uWQ/vFSmTNwZ3zsYtsuLCzddV9DeaEGx5krwWRE=";

doCheck = false;

Expand Down
33 changes: 30 additions & 3 deletions pkgs/by-name/hw/hwinfo/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
runCommand,
validatePkgConfig,
gitUpdater,
buildPackages,
perlPackages,
}:

stdenv.mkDerivation (finalAttrs: {
Expand All @@ -30,15 +32,21 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
flex
validatePkgConfig
perl
perlPackages.XMLWriter
perlPackages.XMLParser
];
depsBuildBuild = [ buildPackages.stdenv.cc ];

buildInputs = [
libuuid
libx86emu
perl
];

postPatch = ''
# used by the build system
echo ${finalAttrs.version} > VERSION
# Replace /usr paths with Nix store paths
substituteInPlace Makefile \
--replace-fail "/sbin" "/bin" \
Expand All @@ -56,13 +64,32 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "/sbin/rmmod" "${kmod}/bin/rmmod" \
--replace-fail "/usr/bin/udevinfo" "${systemdMinimal}/bin/udevinfo" \
--replace-fail "/usr/bin/udevadm" "${systemdMinimal}/bin/udevadm"
'';

# The pci/usb ids in hwinfo are ancient. We can get a more up-to-date list simply by copying from systemd
preBuild = ''
# since we don't have .git, we cannot run this.
rm git2log
pushd src/ids
cp ${systemdMinimal.src}/hwdb.d/pci.ids src/pci
cp ${systemdMinimal.src}/hwdb.d/usb.ids src/usb
# taken from https://github.com/openSUSE/hwinfo/blob/c87f449f1d4882c71b0a1e6dc80638224a5baeed/src/ids/update_pci_usb
perl -pi -e 'undef $_ if /^C\s/..1' src/usb
perl ./convert_hd src/pci
perl ./convert_hd src/usb
popd
# build tools for build arch
make -C src/ids CC=$CC_FOR_BUILD -j $NIX_BUILD_CORES check_hd
make -C src/isdn/cdb CC=$CC_FOR_BUILD -j $NIX_BUILD_CORES isdn_cdb mk_isdnhwdb
'';

makeFlags = [
"LIBDIR=/lib"
"HWINFO_VERSION=${finalAttrs.version}"
"CC=${stdenv.cc.targetPrefix}cc"
"ARCH=${stdenv.hostPlatform.uname.processor}"
];

installFlags = [ "DESTDIR=$(out)" ];

passthru = {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/im/impala/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "impala";
version = "0.2.1";
version = "0.2.3";

src = fetchFromGitHub {
owner = "pythops";
repo = "impala";
rev = "v${version}";
hash = "sha256-0ULcknkZKYEvuqlcY8E1kZtpA0lPxxjRV2/zfak+FKU=";
hash = "sha256-4LQmM4VTW3ykh6eDWKxBe3jxlJphgAytgeaQZNwivsQ=";
};

cargoHash = "sha256-1jFUfpinqXBu8eTFAA1dRDk1F1IhNjcA7CkJmaIjkFQ=";
cargoHash = "sha256-IMvlGAD9DB00luu9F4UKxwSYt0sV+IU8Pb7r10VtyYg=";

meta = {
description = "TUI for managing wifi";
Expand Down
Loading

0 comments on commit 4be617c

Please sign in to comment.