Merge remote-tracking branch 'origin/staging-next' into staging

This commit is contained in:
Jonathan Ringer 2022-02-03 21:34:17 -08:00
commit c6c7162876
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
79 changed files with 2476 additions and 1846 deletions

View File

@ -11811,6 +11811,13 @@
githubId = 863327;
name = "Tyler Benster";
};
tboerger = {
email = "thomas@webhippie.de";
matrix = "@tboerger:matrix.org";
github = "tboerger";
githubId = 156964;
name = "Thomas Boerger";
};
tcbravo = {
email = "tomas.bravo@protonmail.ch";
github = "tcbravo";

View File

@ -149,10 +149,16 @@ rec {
if [[ -h '${output}' ]]; then
rm '${output}'
fi
inherit_errexit_restore=$(shopt -p inherit_errexit)
shopt -s inherit_errexit
''
+ concatStringsSep
"\n"
(imap1 (index: name: "export secret${toString index}=$(<'${secrets.${name}}')")
(imap1 (index: name: ''
secret${toString index}=$(<'${secrets.${name}}')
export secret${toString index}
'')
(attrNames secrets))
+ "\n"
+ "${pkgs.jq}/bin/jq >'${output}' '"
@ -164,6 +170,7 @@ rec {
' <<'EOF'
${builtins.toJSON set}
EOF
$inherit_errexit_restore
'';
systemdUtils = {

View File

@ -1131,8 +1131,8 @@ in {
ExecStartPre = let
preStartFullPrivileges = ''
shopt -s dotglob nullglob
set -eu
set -o errexit -o pipefail -o nounset
shopt -s dotglob nullglob inherit_errexit
chown --no-dereference '${cfg.user}':'${cfg.group}' '${cfg.statePath}'/*
if [[ -n "$(ls -A '${cfg.statePath}'/config/)" ]]; then
@ -1142,7 +1142,8 @@ in {
in "+${pkgs.writeShellScript "gitlab-pre-start-full-privileges" preStartFullPrivileges}";
ExecStart = pkgs.writeShellScript "gitlab-config" ''
set -eu
set -o errexit -o pipefail -o nounset
shopt -s inherit_errexit
umask u=rwx,g=rx,o=
@ -1171,7 +1172,8 @@ in {
rm -f '${cfg.statePath}/config/database.yml'
${if cfg.databasePasswordFile != null then ''
export db_password="$(<'${cfg.databasePasswordFile}')"
db_password="$(<'${cfg.databasePasswordFile}')"
export db_password
if [[ -z "$db_password" ]]; then
>&2 echo "Database password was an empty string!"
@ -1195,10 +1197,11 @@ in {
rm -f '${cfg.statePath}/config/secrets.yml'
export secret="$(<'${cfg.secrets.secretFile}')"
export db="$(<'${cfg.secrets.dbFile}')"
export otp="$(<'${cfg.secrets.otpFile}')"
export jws="$(<'${cfg.secrets.jwsFile}')"
secret="$(<'${cfg.secrets.secretFile}')"
db="$(<'${cfg.secrets.dbFile}')"
otp="$(<'${cfg.secrets.otpFile}')"
jws="$(<'${cfg.secrets.jwsFile}')"
export secret db otp jws
jq -n '{production: {secret_key_base: $ENV.secret,
otp_key_base: $ENV.otp,
db_key_base: $ENV.db,
@ -1232,7 +1235,8 @@ in {
RemainAfterExit = true;
ExecStart = pkgs.writeShellScript "gitlab-db-config" ''
set -eu
set -o errexit -o pipefail -o nounset
shopt -s inherit_errexit
umask u=rwx,g=rx,o=
initial_root_password="$(<'${cfg.initialRootPasswordFile}')"

View File

@ -68,7 +68,7 @@ in
SUBSYSTEM=="misc", KERNEL=="vboxguest", TAG+="systemd"
'';
} (mkIf cfg.x11 {
services.xserver.videoDrivers = mkOverride 50 [ "vmware" "virtualbox" "modesetting" ];
services.xserver.videoDrivers = [ "vmware" "virtualbox" "modesetting" ];
services.xserver.config =
''

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "sidplayfp";
version = "2.2.2";
version = "2.2.3";
src = fetchFromGitHub {
owner = "libsidplayfp";
repo = "sidplayfp";
rev = "v${version}";
sha256 = "sha256-DBZZf3A0AYkeQxQvHGyHHbsQ2EDuxsZnZPbxkWTNcHA=";
sha256 = "sha256-R60Dh19GYM157ysmN8EOJ47eO8a7sdkEEF1TObG1xzk=";
};
nativeBuildInputs = [ autoreconfHook perl pkg-config ];

View File

@ -93,11 +93,11 @@ in
stdenv.mkDerivation rec {
pname = "brave";
version = "1.34.81";
version = "1.35.100";
src = fetchurl {
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
sha256 = "bMNk1l3MguQho0vck78U1e3A+/571DyoWSKKerQVE7s=";
sha256 = "ToPh2uhWHMR6CS7wtos26iVuyKLXi3ctOP/dFyeosoM=";
};
dontConfigure = true;

View File

@ -4,16 +4,16 @@ let isCrossBuild = stdenv.hostPlatform != stdenv.buildPlatform;
in
buildGoModule rec {
pname = "stern";
version = "1.20.1";
version = "1.21.0";
src = fetchFromGitHub {
owner = "stern";
repo = "stern";
rev = "v${version}";
sha256 = "sha256-JredVk2hjnhoaJ9bT7D5k35skBNjcEBLa6GgO8dB2+U=";
sha256 = "sha256-+V0mRSjAwhZoiIS/OpZyqa5rvlqU9pGJwmW0QZ3H2g4=";
};
vendorSha256 = "sha256-GMAYu/BCmDrCUfc0x9TVw6HXJu+eE8eigZoPqPodM3Q=";
vendorSha256 = "sha256-IPHu23/2e6406FELB1Mwegp0C16cFD65mbW5Ah32D4Q=";
subPackages = [ "." ];

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "terragrunt";
version = "0.36.0";
version = "0.36.1";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-HUhV6FcLd75ZOPKw9Fl+7KUsSVG7HpQ6X2JZo9C9eeA=";
sha256 = "sha256-aGVhxyPm5GtYjJlFNiPNxkPtdGdOiYOSkRRTlzyF/lM=";
};
vendorSha256 = "sha256-tNgEepKqwiqXhmoRCIEg7VJw7Y0TGt+R+6dZzd8aECg=";

View File

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "cwltool";
version = "3.1.20220124184855";
version = "3.1.20220202173120";
format = "setuptools";
src = fetchFromGitHub {
owner = "common-workflow-language";
repo = pname;
rev = version;
sha256 = "0b0mxminfijbi3d9sslhwhs8awnagdsx8d2wh9x9ipdpwipihpmb";
sha256 = "sha256-TC0jSnjQTQ7HkEky8BZYJlqNn5uuPOnjGRxALcvumao=";
};
postPatch = ''

View File

@ -23,14 +23,14 @@
with python3Packages;
buildPythonApplication rec {
pname = "kitty";
version = "0.24.1";
version = "0.24.2";
format = "other";
src = fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty";
rev = "v${version}";
sha256 = "sha256-WPkyub7CwNXRksUmqiZeznnSqEPFpyHTeFLQ+D4Fb5c=";
sha256 = "sha256-nGBdoOueX8tcxXRDqKQ/Q+woT6rNQeLXwy1MJbwizKs=";
};
buildInputs = [

View File

@ -12,13 +12,13 @@
python3Packages.buildPythonApplication rec {
pname = "stgit";
version = "1.4";
version = "1.5";
src = fetchFromGitHub {
owner = "stacked-git";
repo = "stgit";
rev = "v${version}";
sha256 = "0yx81d61kp33h7n0c14wvcrh8vvjjjq4xjh1qwq2sdbmqc43p3hg";
sha256 = "sha256-TsJr2Riygz/DZrn6UZMPvq1tTfvl3dFEZZNq2wVj1Nw=";
};
nativeBuildInputs = [ installShellFiles asciidoc xmlto docbook_xsl docbook_xml_dtd_45 ];

View File

@ -0,0 +1,275 @@
{ lib
, stdenv
, fetchurl
, tzdata
, iana-etc
, runCommand
, perl
, which
, pkg-config
, patch
, procps
, pcre
, cacert
, Security
, Foundation
, xcbuild
, mailcap
, runtimeShell
, buildPackages
, pkgsBuildTarget
, callPackage
}:
let
go_bootstrap = buildPackages.callPackage ./bootstrap.nix { };
goBootstrap = runCommand "go-bootstrap" { } ''
mkdir $out
cp -rf ${go_bootstrap}/* $out/
chmod -R u+w $out
find $out -name "*.c" -delete
cp -rf $out/bin/* $out/share/go/bin/
'';
goarch = platform: {
"i686" = "386";
"x86_64" = "amd64";
"aarch64" = "arm64";
"arm" = "arm";
"armv5tel" = "arm";
"armv6l" = "arm";
"armv7l" = "arm";
"mips" = "mips";
"mipsel" = "mipsle";
"riscv64" = "riscv64";
"s390x" = "s390x";
"powerpc64le" = "ppc64le";
}.${platform.parsed.cpu.name} or (throw "Unsupported system");
# We need a target compiler which is still runnable at build time,
# to handle the cross-building case where build != host == target
targetCC = pkgsBuildTarget.targetPackages.stdenv.cc;
in
stdenv.mkDerivation rec {
pname = "go";
version = "1.18beta1";
src = fetchurl {
url = "https://go.dev/dl/go${version}.src.tar.gz";
sha256 = "sha256-QYwCjbFGmctbLUkHrTpBnXn3ibMZFu+HZIZ+SnjmU6E=";
};
# perl is used for testing go vet
nativeBuildInputs = [ perl which pkg-config patch procps ];
buildInputs = [ cacert pcre ]
++ lib.optionals stdenv.isLinux [ stdenv.cc.libc.out ]
++ lib.optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ xcbuild ];
depsTargetTargetPropagated = lib.optionals stdenv.isDarwin [ Security Foundation ];
hardeningDisable = [ "all" ];
prePatch = ''
patchShebangs ./ # replace /bin/bash
# This source produces shell script at run time,
# and thus it is not corrected by patchShebangs.
substituteInPlace misc/cgo/testcarchive/carchive_test.go \
--replace '#!/usr/bin/env bash' '#!${runtimeShell}'
# Patch the mimetype database location which is missing on NixOS.
# but also allow static binaries built with NixOS to run outside nix
sed -i 's,\"/etc/mime.types,"${mailcap}/etc/mime.types\"\,\n\t&,' src/mime/type_unix.go
# Disabling the 'os/http/net' tests (they want files not available in
# chroot builds)
rm src/net/{listen,parse}_test.go
rm src/syscall/exec_linux_test.go
# !!! substituteInPlace does not seems to be effective.
# The os test wants to read files in an existing path. Just don't let it be /usr/bin.
sed -i 's,/usr/bin,'"`pwd`", src/os/os_test.go
sed -i 's,/bin/pwd,'"`type -P pwd`", src/os/os_test.go
# Fails on aarch64
sed -i '/TestFallocate/aif true \{ return\; \}' src/cmd/link/internal/ld/fallocate_test.go
# Skip this test since ssl patches mess it up.
sed -i '/TestLoadSystemCertsLoadColonSeparatedDirs/aif true \{ return\; \}' src/crypto/x509/root_unix_test.go
# Disable another PIE test which breaks.
sed -i '/TestTrivialPIE/aif true \{ return\; \}' misc/cgo/testshared/shared_test.go
# Disable the BuildModePie test
sed -i '/TestBuildmodePIE/aif true \{ return\; \}' src/cmd/go/go_test.go
# Disable the unix socket test
sed -i '/TestShutdownUnix/aif true \{ return\; \}' src/net/net_test.go
# Disable the hostname test
sed -i '/TestHostname/aif true \{ return\; \}' src/os/os_test.go
# ParseInLocation fails the test
sed -i '/TestParseInSydney/aif true \{ return\; \}' src/time/format_test.go
# Remove the api check as it never worked
sed -i '/src\/cmd\/api\/run.go/ireturn nil' src/cmd/dist/test.go
# Remove the coverage test as we have removed this utility
sed -i '/TestCoverageWithCgo/aif true \{ return\; \}' src/cmd/go/go_test.go
# Remove the timezone naming test
sed -i '/TestLoadFixed/aif true \{ return\; \}' src/time/time_test.go
# Remove disable setgid test
sed -i '/TestRespectSetgidDir/aif true \{ return\; \}' src/cmd/go/internal/work/build_test.go
# Remove cert tests that conflict with NixOS's cert resolution
sed -i '/TestEnvVars/aif true \{ return\; \}' src/crypto/x509/root_unix_test.go
# TestWritevError hangs sometimes
sed -i '/TestWritevError/aif true \{ return\; \}' src/net/writev_test.go
# TestVariousDeadlines fails sometimes
sed -i '/TestVariousDeadlines/aif true \{ return\; \}' src/net/timeout_test.go
sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go
# Disable cgo lookup tests not works, they depend on resolver
rm src/net/cgo_unix_test.go
# prepend the nix path to the zoneinfo files but also leave the original value for static binaries
# that run outside a nix server
sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
'' + lib.optionalString stdenv.isAarch32 ''
echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash
'' + lib.optionalString stdenv.isDarwin ''
substituteInPlace src/race.bash --replace \
"sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
sed -i '/TestChdirAndGetwd/aif true \{ return\; \}' src/os/os_test.go
sed -i '/TestCredentialNoSetGroups/aif true \{ return\; \}' src/os/exec/exec_posix_test.go
sed -i '/TestRead0/aif true \{ return\; \}' src/os/os_test.go
sed -i '/TestSystemRoots/aif true \{ return\; \}' src/crypto/x509/root_darwin_test.go
sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/aif true \{ return\; \}' src/cmd/go/go_test.go
sed -i '/TestBuildDashIInstallsDependencies/aif true \{ return\; \}' src/cmd/go/go_test.go
sed -i '/TestDisasmExtld/aif true \{ return\; \}' src/cmd/objdump/objdump_test.go
sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
# TestCurrent fails because Current is not implemented on Darwin
sed -i 's/TestCurrent/testCurrent/g' src/os/user/user_test.go
sed -i 's/TestLookup/testLookup/g' src/os/user/user_test.go
touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd
'';
patches = [
./remove-tools-1.11.patch
./ssl-cert-file-1.16.patch
./remove-test-pie-1.15.patch
./creds-test.patch
./skip-chown-tests-1.16.patch
./skip-external-network-tests-1.16.patch
./skip-nohup-tests.patch
./skip-cgo-tests-1.15.patch
./go_no_vendor_checks-1.16.patch
];
postPatch = ''
find . -name '*.orig' -exec rm {} ';'
'';
GOOS = stdenv.targetPlatform.parsed.kernel.name;
GOARCH = goarch stdenv.targetPlatform;
# GOHOSTOS/GOHOSTARCH must match the building system, not the host system.
# Go will nevertheless build a for host system that we will copy over in
# the install phase.
GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name;
GOHOSTARCH = goarch stdenv.buildPlatform;
# {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those
# to be different from CC/CXX
CC_FOR_TARGET =
if (stdenv.buildPlatform != stdenv.targetPlatform) then
"${targetCC}/bin/${targetCC.targetPrefix}cc"
else
null;
CXX_FOR_TARGET =
if (stdenv.buildPlatform != stdenv.targetPlatform) then
"${targetCC}/bin/${targetCC.targetPrefix}c++"
else
null;
GOARM = toString (lib.intersectLists [ (stdenv.hostPlatform.parsed.cpu.version or "") ] [ "5" "6" "7" ]);
GO386 = "softfloat"; # from Arch: don't assume sse2 on i686
CGO_ENABLED = 1;
# Hopefully avoids test timeouts on Hydra
GO_TEST_TIMEOUT_SCALE = 3;
# Indicate that we are running on build infrastructure
# Some tests assume things like home directories and users exists
GO_BUILDER_NAME = "nix";
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
postConfigure = ''
export GOCACHE=$TMPDIR/go-cache
# this is compiled into the binary
export GOROOT_FINAL=$out/share/go
export PATH=$(pwd)/bin:$PATH
${lib.optionalString (stdenv.buildPlatform != stdenv.targetPlatform) ''
# Independent from host/target, CC should produce code for the building system.
# We only set it when cross-compiling.
export CC=${buildPackages.stdenv.cc}/bin/cc
''}
ulimit -a
'';
postBuild = ''
(cd src && ./make.bash)
'';
doCheck = stdenv.hostPlatform == stdenv.targetPlatform && !stdenv.isDarwin;
checkPhase = ''
runHook preCheck
(cd src && HOME=$TMPDIR GOCACHE=$TMPDIR/go-cache ./run.bash --no-rebuild)
runHook postCheck
'';
preInstall = ''
rm -r pkg/obj
# Contains the wrong perl shebang when cross compiling,
# since it is not used for anything we can deleted as well.
rm src/regexp/syntax/make_perl_groups.pl
'' + (if (stdenv.buildPlatform != stdenv.hostPlatform) then ''
mv bin/*_*/* bin
rmdir bin/*_*
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
''}
'' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
rm -rf bin/*_*
${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
''}
'' else "");
installPhase = ''
runHook preInstall
mkdir -p $GOROOT_FINAL
cp -a bin pkg src lib misc api doc $GOROOT_FINAL
ln -s $GOROOT_FINAL/bin $out/bin
runHook postInstall
'';
disallowedReferences = [ goBootstrap ];
meta = with lib; {
homepage = "https://go.dev/";
description = "The Go Programming language";
license = licenses.bsd3;
maintainers = teams.golang.members;
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -0,0 +1,42 @@
From 9a6718a6355d89b73011fbd1eb1bba8dcfa021e6 Mon Sep 17 00:00:00 2001
From: regnat <rg@regnat.ovh>
Date: Wed, 3 Nov 2021 10:17:28 +0100
Subject: [PATCH] Disable the chown tests
See https://github.com/golang/go/issues/42525 and
https://github.com/NixOS/nix/issues/3245
---
os/os_unix_test.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/os/os_unix_test.go b/os/os_unix_test.go
index 51693fd..0936542 100644
--- a/src/os/os_unix_test.go
+++ b/src/os/os_unix_test.go
@@ -40,6 +40,7 @@ func checkUidGid(t *testing.T, path string, uid, gid int) {
}
func TestChown(t *testing.T) {
+ t.Skipf("https://github.com/golang/go/issues/42525")
// Use TempDir() to make sure we're on a local file system,
// so that the group ids returned by Getgroups will be allowed
// on the file. On NFS, the Getgroups groups are
@@ -83,6 +84,7 @@ func TestChown(t *testing.T) {
}
func TestFileChown(t *testing.T) {
+ t.Skipf("https://github.com/golang/go/issues/42525")
// Use TempDir() to make sure we're on a local file system,
// so that the group ids returned by Getgroups will be allowed
// on the file. On NFS, the Getgroups groups are
@@ -126,6 +128,7 @@ func TestFileChown(t *testing.T) {
}
func TestLchown(t *testing.T) {
+ t.Skipf("https://github.com/golang/go/issues/42525")
// Use TempDir() to make sure we're on a local file system,
// so that the group ids returned by Getgroups will be allowed
// on the file. On NFS, the Getgroups groups are
--
2.31.1

View File

@ -10,13 +10,10 @@ stdenv.mkDerivation rec {
sha256 = "1c1n8n7mp0amsd6vkz32n8zj3vnsckv308bb7na0dg0r8969rap1";
};
postPatch = ''
substituteInPlace Makefile \
--replace "gcc" "${stdenv.cc.targetPrefix}cc" \
--replace "ar" "${stdenv.cc.targetPrefix}ar"
'';
makeFlags = [ "INSTALLPREFIX=$(out)" ];
makeFlags = [
"INSTALLPREFIX=$(out)"
"CC:=$(CC)"
];
postFixup = ''
chmod +x $out/lib/*

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "rocksdb";
version = "6.27.3";
version = "6.28.2";
src = fetchFromGitHub {
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "sha256-s3vBW/vN6lUvOp3vlx/Wo2ZrzobZ2s8MHujFouSU2NM=";
sha256 = "sha256-0T/ANHTRzk0ymezRQbvJt6aL350Z004gcj4JapAyAnQ=";
};
nativeBuildInputs = [ cmake ninja ];

View File

@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-webbrowser-${version}";
pname = "ocaml${ocaml.version}-webbrowser";
version = "0.6.1";
src = fetchurl {
url = "https://erratique.ch/software/webbrowser/releases/webbrowser-${version}.tbz";

View File

@ -0,0 +1,43 @@
{ lib
, aiohttp
, bleak
, buildPythonPackage
, fetchFromGitHub
, async-timeout
, pythonOlder
}:
buildPythonPackage rec {
pname = "adax-local";
version = "0.1.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyAdaxLocal";
rev = version;
hash = "sha256-SGVXzSjtYNRVJN5fUjjskko55/e0L3P8aB90G4HuBOE=";
};
propagatedBuildInputs = [
aiohttp
bleak
async-timeout
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"adax_local"
];
meta = with lib; {
description = "Module for local access to Adax";
homepage = "https://github.com/Danielhiversen/pyAdaxLocal";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,39 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioaseko";
version = "0.0.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "milanmeu";
repo = pname;
rev = "v${version}";
hash = "sha256-dfU2J4aDKNR+GoEmdq/NhX4Mrmm9tmCkse1tb+V5EFQ=";
};
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aioaseko"
];
meta = with lib; {
description = "Module to interact with the Aseko Pool Live API";
homepage = "https://github.com/milanmeu/aioaseko";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,44 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiooncue";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = version;
hash = "sha256-6GnXuYpggUMisfeOnl52xvWFIZRV+oCwsFKAjPwscTU=";
};
propagatedBuildInputs = [
aiohttp
];
# Module doesn't have tests
doCheck = false;
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner",' ""
'';
pythonImportsCheck = [
"aiooncue"
];
meta = with lib; {
description = "Module to interact with the Kohler Oncue API";
homepage = "https://github.com/bdraco/aiooncue";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, websockets
}:
buildPythonPackage rec {
pname = "aiowebostv";
version = "0.1.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = "v${version}";
hash = "sha256-YSrttPoU5XQ9tqNxhHBUqZqKaEZdUdYYJ2CsSREVbbg=";
};
propagatedBuildInputs = [
websockets
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"aiowebostv"
];
meta = with lib; {
description = "Module to interact with LG webOS based TV devices";
homepage = "https://github.com/home-assistant-libs/aiowebostv";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitLab
, future
, pyserial
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aurorapy";
version = "0.2.6";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
owner = "energievalsabbia";
repo = pname;
rev = version;
hash = "sha256-DMlzzLe94dbeHjESmLc045v7vQ//IEsngAv7TeVznHE=";
};
propagatedBuildInputs = [
future
pyserial
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aurorapy"
];
meta = with lib; {
description = "Implementation of the communication protocol for Power-One Aurora inverters";
homepage = "https://gitlab.com/energievalsabbia/aurorapy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "awscrt";
version = "0.13.0";
version = "0.13.1";
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
@ -22,7 +22,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "f8c46335bdf94a5e48d3df2018edbd07c4c903635501c62c1bea4153f407531a";
sha256 = "sha256-1Qx3fcZ0I9RONLpFPDyXHkUEAF09KBgXV64NvepmDm8=";
};
meta = with lib; {

View File

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "azure-batch";
version = "11.0.0";
version = "12.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "ce5fdb0ec962eddfe85cd82205e9177cb0bbdb445265746e38b3bbbf1f16dc73";
sha256 = "sha256-GpseF4mEp79JWvZ7zOUfDbHkqKlXr7KeM1VKFKlnTes=";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "circuit-webhook";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-NhePKBfzdkw7iVHmVrOxf8ZcQrb1Sq2xMIfu4P9+Ppw=";
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"circuit_webhook"
];
meta = with lib; {
description = "Module for Unify Circuit API webhooks";
homepage = "https://github.com/braam/unify/tree/master/circuit-webhook-python";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "deezer-python";
version = "5.0.1";
version = "5.1.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "browniebroke";
repo = pname;
rev = "v${version}";
sha256 = "sha256-dL1d1bF+hHIQrsyk6t1Afj22yNC/cIpuID5Ajgal5bA=";
sha256 = "sha256-hBZBbREPxfAkGf2KRZtO3BpscFGlYiecQjM5l1/Edo0=";
};
nativeBuildInputs = [

View File

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "django-classy-tags";
version = "3.0.0";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "2ef8b82b4f7d77d4fd152b25c45128d926e7a5840d862f2ecd3e5faf6acbe343";
sha256 = "sha256-0iK0VQKsmeVQpWZmeDnvrvlUucc2amST8UOGKqvqyHg=";
};
propagatedBuildInputs = [ django six ];

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "filetype";
version = "1.0.9";
version = "1.0.10";
src = fetchPypi {
inherit pname version;
sha256 = "7124e1bc6a97ffc7c6bead5b8fb2e129baf312a9e60db5772bc27c741799d475";
sha256 = "sha256-MjoTUAcxtsZaJTvDkwu86aVt+6cekLYP/ZaKtp2a6Tc=";
};
checkPhase = ''

View File

@ -37,11 +37,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'httpx = ">=0.20,<1"' 'httpx = ">=0.19,<1"'
'';
pythonImportsCheck = [
"glances_api"
];

View File

@ -5,7 +5,6 @@
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonAtLeast
, pythonOlder
@ -18,7 +17,7 @@
buildPythonPackage rec {
pname = "homematicip";
version = "1.0.1";
version = "1.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -27,18 +26,9 @@ buildPythonPackage rec {
owner = "coreGreenberet";
repo = "homematicip-rest-api";
rev = version;
sha256 = "008snxx9ijpi1zr1pi1v4a6g74j821hyw0khs9lmi08v2mcabm36";
sha256 = "sha256-j2ansly05auevlcDY5TFz6PZR/pNIGIbtkJuU8L5b0o=";
};
patches = [
(fetchpatch {
# Drop loop kwarg from async_timeout.timeout
# https://github.com/coreGreenberet/homematicip-rest-api/pull/424
url = "https://github.com/coreGreenberet/homematicip-rest-api/commit/90efb335667e3d462b7f9ef113d2e0b8bb4e96b4.patch";
sha256 = "0f2bbs0666mf6sc7p4n8fwh29yjilkq36qf5pn0waf6iqdzxqwih";
})
];
propagatedBuildInputs = [
aenum
aiohttp

View File

@ -3,7 +3,7 @@
} :
buildPythonPackage rec {
name = "i-pi";
pname = "i-pi";
version = "2.4.0";
src = fetchFromGitHub {

View File

@ -0,0 +1,45 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pydantic
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "intellifire4py";
version = "0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jeeftor";
repo = pname;
rev = version;
hash = "sha256-ESNFTlzwxv0SZA/vVU3aIjkt5nCX3D4VbwIRNSzMIK4=";
};
propagatedBuildInputs = [
aiohttp
pydantic
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"intellifire4py"
];
meta = with lib; {
description = "Module to read Intellifire fireplace status data";
homepage = "https://github.com/jeeftor/intellifire4py";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "limnoria";
version = "2022.1.1.post1";
version = "2022.1.29";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-9p06yD95emBOFKtTZMVR/3ySAB24pB3QRmzVEnqeb9U=";
hash = "sha256-fBIWmFo3uTswLfxmSaYixALeJ89HCpLcooldw1UZwCw=";
};
propagatedBuildInputs = [

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "mautrix";
version = "0.14.8";
version = "0.14.10";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-0GB6LDsZlWmNS3O01nHWu20JCgSptyih7iBjbEFoZaE=";
sha256 = "sha256-mO0bKUepIjb50UKEOvFIaepHAskehkBajevsTRST8e4=";
};
propagatedBuildInputs = [

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "meshtastic";
version = "1.2.80";
version = "1.2.81";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "meshtastic";
repo = "Meshtastic-python";
rev = version;
sha256 = "sha256-w1pFTp/34o+fJS99SFXKWpFaaD7XrgRh723smjaoXzE=";
sha256 = "sha256-ITE3gtcvXMisARlmnhlSzkZr/tGLiDq8aSO6d6jmlOw=";
};
propagatedBuildInputs = [

View File

@ -1,66 +1,121 @@
{ lib, buildPythonPackage, fetchFromGitHub, xdg-utils
, requests, filetype, pyparsing, configparser, arxiv2bib
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
, click, python-slugify, habanero, isbnlib, typing-extensions
, prompt-toolkit, pygments, stevedore, tqdm, lxml
, python-doi, isPy3k, pytest-cov
#, optional, dependencies
, whoosh, pytest
{ lib
, stdenv
, arxiv2bib
, beautifulsoup4
, bibtexparser
, buildPythonPackage
, chardet
, click
, colorama
, configparser
, fetchFromGitHub
, filetype
, habanero
, isbnlib
, lxml
, prompt-toolkit
, pygments
, pyparsing
, pytestCheckHook
, python-doi
, python-slugify
, pythonAtLeast
, pythonOlder
, pyyaml
, requests
, stevedore
, tqdm
, typing-extensions
, whoosh
, xdg-utils
}:
buildPythonPackage rec {
pname = "papis";
version = "0.11.1";
disabled = !isPy3k;
format = "setuptools";
disabled = pythonOlder "3.7";
# Missing tests on Pypi
src = fetchFromGitHub {
owner = "papis";
repo = pname;
rev = "v${version}";
sha256 = "0bbkjyw1fsvvp0380l404h2lys8ib4xqga5s6401k1y1hld28nl6";
hash = "sha256-hlokGoXBhxkAMbqohztZEWlPBSSAUIAGuHtrF7iXcy0=";
};
propagatedBuildInputs = [
requests filetype pyparsing configparser arxiv2bib
pyyaml chardet beautifulsoup4 colorama bibtexparser
click python-slugify habanero isbnlib
prompt-toolkit pygments typing-extensions
stevedore tqdm lxml
arxiv2bib
beautifulsoup4
bibtexparser
chardet
click
colorama
configparser
filetype
habanero
isbnlib
lxml
prompt-toolkit
pygments
pyparsing
python-doi
# optional dependencies
python-slugify
pyyaml
requests
stevedore
tqdm
typing-extensions
whoosh
];
postPatch = ''
substituteInPlace setup.py \
--replace "lxml<=4.3.5" "lxml~=4.3" \
--replace "isbnlib>=3.9.1,<3.10" "isbnlib~=3.9" \
--replace "python-slugify>=1.2.6,<4" "python-slugify"
--replace "isbnlib>=3.9.1,<3.10" "isbnlib>=3.9"
substituteInPlace setup.cfg \
--replace "--cov=papis" ""
'';
doCheck = !stdenv.isDarwin;
# Tests are failing on Python > 3.9
doCheck = !stdenv.isDarwin && !(pythonAtLeast "3.10");
checkInputs = ([
pytest pytest-cov
pytestCheckHook
]) ++ [
xdg-utils
];
# most of the downloader tests and 4 other tests require a network connection
# test_export_yaml and test_citations check for the exact output produced by pyyaml 3.x and
# fail with 5.x
checkPhase = ''
HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \
-k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url \
and not test_validate_arxivid and not test_downloader_getter and not match"
preCheck = ''
export HOME=$(mktemp -d);
'';
meta = {
pytestFlagsArray = [
"papis tests"
];
disabledTestPaths = [
"tests/downloaders"
];
disabledTests = [
"get_document_url"
"match"
"test_doi_to_data"
"test_downloader_getter"
"test_general"
"test_get_data"
"test_validate_arxivid"
"test_yaml"
];
pythonImportsCheck = [
"papis"
];
meta = with lib; {
description = "Powerful command-line document and bibliography manager";
homepage = "https://papis.readthedocs.io/en/latest/";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ nico202 teto ];
homepage = "https://papis.readthedocs.io/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ nico202 teto ];
};
}

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "pvo";
version = "0.2.0";
version = "0.2.1";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "frenck";
repo = "python-pvoutput";
rev = "v${version}";
sha256 = "sha256-liV5Ae3Bz6MZT3KQ/1aNt6P4Wsg4SOfAMQKI0Qpxvao=";
sha256 = "sha256-IXK4DvmwSLdxyW4418pe1/UOeQELUBSnTO+P6TzPnKw=";
};
nativeBuildInputs = [

View File

@ -0,0 +1,44 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, loguru
, requests
}:
buildPythonPackage rec {
pname = "pyaussiebb";
version = "0.0.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "yaleman";
repo = "aussiebb";
rev = "v${version}";
hash = "sha256-DMU29dTqDaPLQS20iuHIph6mhBdj6ni3+MA9KkRMtzg=";
};
propagatedBuildInputs = [
aiohttp
requests
loguru
];
# Tests require network access
# https://github.com/yaleman/aussiebb/issues/6
doCheck = false;
pythonImportsCheck = [
"aussiebb"
];
meta = with lib; {
description = "Module for interacting with the Aussie Broadband APIs";
homepage = "https://github.com/yaleman/aussiebb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-vcr
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
, untangle
}:
buildPythonPackage rec {
pname = "pyqvrpro";
version = "0.52";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "oblogic7";
repo = pname;
rev = "v${version}";
hash = "sha256-lOd2AqnrkexNqT/usmJts5NW7vJtV8CRsliYgkhgRaU=";
};
propagatedBuildInputs = [
pyyaml
requests
untangle
];
checkInputs = [
pytest-vcr
pytestCheckHook
];
pythonImportsCheck = [
"pyqvrpro"
];
meta = with lib; {
description = "Module for interfacing with QVR Pro API";
homepage = "https://github.com/oblogic7/pyqvrpro";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2,12 +2,12 @@
, setuptools }:
buildPythonPackage rec {
version = "2.1.3";
version = "2.2.0";
pname = "pyshp";
src = fetchPypi {
inherit pname version;
sha256 = "e32b4a6832a3b97986df442df63b4c4a7dcc846b326c903189530a5cc6df0260";
sha256 = "sha256-Dtogm9YvM0VwHE9nmbY4wRTOtn/uKClc3bThyvBT6UQ=";
};
buildInputs = [ setuptools ];

View File

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "pytrends";
version = "4.7.3";
version = "4.8.0";
disabled = isPy27; # python2 pandas is too old
src = fetchPypi {
inherit pname version;
sha256 = "8ccb06c57c31fa157b978a0d810de7718ee46583d28cf818250d45f36abd2faa";
sha256 = "sha256-BLezPrbfwSCqictGQGiKi2MzNydrbdzqRP8Mf2tiQ9I=";
};
propagatedBuildInputs = [ requests lxml pandas ];

View File

@ -0,0 +1,43 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "rtsp-to-webrtc";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "allenporter";
repo = "rtsp-to-webrtc-client";
rev = version;
hash = "sha256-ry6xNymWgkkvYXliVLUFOUiPz8gbCsQDrSuGmCaH4ZE=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [
"rtsp_to_webrtc"
];
meta = with lib; {
description = "Module for RTSPtoWeb and RTSPtoWebRTC";
homepage = "https://github.com/allenporter/rtsp-to-webrtc-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "seatconnect";
version = "1.1.4";
version = "1.1.5";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -21,8 +21,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "farfar";
repo = pname;
rev = "v${version}";
sha256 = "sha256-NA/UiapJ/SyUmrj9hd2xGV5WWy1KhxwQtqGLV73TfHk=";
rev = version;
hash = "sha256-NA/UiapJ/SyUmrj9hd2xGV5WWy1KhxwQtqGLV73TfHk=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;

View File

@ -4,9 +4,9 @@ let
skeinRepo = callPackage ./skeinrepo.nix { inherit src version; };
in
stdenv.mkDerivation rec {
name = "skein-${version}.jar";
pname = "skein.jar";
inherit src;
inherit version src;
nativeBuildInputs = [ maven ];

View File

@ -1,9 +1,9 @@
{ autoPatchelfHook, lib, maven, stdenv, src, version }:
stdenv.mkDerivation rec {
name = "skein-${version}-maven-repo";
pname = "skein-maven-repo";
inherit src;
inherit version src;
nativeBuildInputs = [ maven ] ++ lib.optional stdenv.isLinux autoPatchelfHook;

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "skodaconnect";
version = "1.1.14";
version = "1.1.17";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -20,8 +20,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "lendy007";
repo = pname;
rev = "v${version}";
sha256 = "sha256-aMyowz5+4Iu7bb8FSnHzx6QGp1WzzMXQZI23OZcr/kM=";
rev = version;
hash = "sha256-aMyowz5+4Iu7bb8FSnHzx6QGp1WzzMXQZI23OZcr/kM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;

View File

@ -0,0 +1,46 @@
{ lib
, aiohttp
, buildPythonPackage
, colour
, fetchFromGitHub
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "ttls";
version = "1.4.2";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jschlyter";
repo = pname;
rev = "v${version}";
hash = "sha256-zDMgH9o9obfuihX8pXj226T1eMiKx33xyYOGKjdB1wk=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
colour
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"ttls"
];
meta = with lib; {
description = "Module to interact with Twinkly LEDs";
homepage = "https://github.com/jschlyter/ttls";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -22,13 +22,13 @@
buildPythonPackage rec {
pname = "xml2rfc";
version = "3.12.0";
version = "3.12.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "25deadb9ee95f0dc71376a60e9c1e34636b5016c1952ad5597a6246495e34464";
sha256 = "sha256-xIStWb03CygnqB92AXf0uxMLw7pLhSE3mLQ8l1J6dZM=";
};
propagatedBuildInputs = [

View File

@ -30,8 +30,8 @@ let
src = fetchFromGitHub {
owner = "abathur";
repo = "binlore";
rev = "v0.1.3";
hash = "sha256-+rgv8gAQ3ptOpL/EhbKr/jq+k/4Lpn06/2qON+Ps2wE=";
rev = "v0.1.4";
hash = "sha256-+N0Bqyaj/mAwrcgFtUI8czmKo3VW6J8ZRxaPEghp7QM=";
};
/*
binlore has one one more yallbacks responsible for

View File

@ -1,14 +1,11 @@
{ lib, stdenv, fetchurl }:
let
name = "cccc";
stdenv.mkDerivation rec {
pname = "cccc";
version = "3.1.4";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${name}/${version}/${name}-${version}.tar.gz";
url = "mirror://sourceforge/cccc/${version}/cccc-${version}.tar.gz";
sha256 = "1gsdzzisrk95kajs3gfxks3bjvfd9g680fin6a9pjrism2lyrcr7";
};

View File

@ -10,12 +10,12 @@ let
in
stdenv.mkDerivation rec {
name = "ikos";
pname = "ikos";
version = "3.0";
src = fetchFromGitHub {
owner = "NASA-SW-VnV";
repo = name;
repo = "ikos";
rev = "v${version}";
sha256 = "0k3kp1af0qx3l1x6a4sl4fm8qlwchjvwkvs2ck0fhfnc62q2im5f";
};

View File

@ -1,10 +1,8 @@
{ lib, stdenv, qmake, qtbase, perl, python2, php, kcachegrind, wrapQtAppsHook }:
let
name = lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
in stdenv.mkDerivation {
inherit name;
stdenv.mkDerivation {
pname = "qcachegrind";
version = kcachegrind.version;
src = kcachegrind.src;

View File

@ -12,7 +12,7 @@ let
];
in
buildBazelPackage rec {
name = "bazel-watcher-${version}";
pname = "bazel-watcher";
version = "0.14.0";
src = fetchFromGitHub {

View File

@ -114,10 +114,10 @@ stdenv'.mkDerivation rec {
bashTools = callPackage ./bash-tools-test.nix {};
};
name = "bazel-${version}";
pname = "bazel";
src = fetchurl {
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/${name}-dist.zip";
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
sha256 = "d26dadf62959255d58e523da3448a6222af768fe1224e321b120c1d5bbe4b4f2";
};

View File

@ -2,7 +2,7 @@
makeWrapper, coreutils, git, openssh, bash, gnused, gnugrep,
nixosTests }:
buildGoModule rec {
name = "buildkite-agent-${version}";
pname = "buildkite-agent";
version = "3.33.3";
src = fetchFromGitHub {

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "gocd-agent-${version}-${rev}";
pname = "gocd-agent";
version = "19.3.0";
rev = "8959";

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "gocd-server-${version}-${rev}";
pname = "gocd-server";
version = "19.3.0";
rev = "8959";

View File

@ -1,16 +1,15 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "corgi-${rev}";
rev = "v0.2.4";
pname = "corgi";
version = "0.2.4";
goPackagePath = "github.com/DrakeW/corgi";
src = fetchFromGitHub {
inherit rev;
owner = "DrakeW";
repo = "corgi";
rev = "v${version}";
sha256 = "0h9rjv1j129n1ichwpiiyspgim1273asi3s6hgizvbc75gbbb8fn";
};

View File

@ -24,6 +24,8 @@ buildGoModule rec {
mv $out/bin/gocode $out/bin/gocode-gomod
'';
doCheck = false; # fails on go 1.17
meta = with lib; {
description = "An autocompletion daemon for the Go programming language";
longDescription = ''

View File

@ -12,7 +12,7 @@ buildGoModule rec {
};
modRoot = "gopls";
vendorSha256 = "sha256-nKjJjtVHk/RLIHI/5v8tO4RcaLLZhr0A6llYGsB0ifQ=";
vendorSha256 = "sha256-8osb5C5G58x9KWCxqiepmN6J0jp+q6aR+As/pJeeTKM=";
doCheck = false;

View File

@ -17,7 +17,8 @@ buildGoModule {
sha256 = "0n9pf0i5y59kiiv6dq8h8w1plaz9w6s67rqr2acqgxa45iq36mkh";
};
vendorSha256 = "1lzhhg9wimn8nfzrrla5bshgk1ghnlsdfmq6iask0zqz311g96bv";
vendorSha256 = "1xgl4avq0rblzqqpaxl4dwg4ysrhacwhfd21vb0v9ffr3zcpdw9n";
proxyVendor = true;
subPackages = [ "." ];

View File

@ -692,7 +692,7 @@ self: super: {
let
# Based on the comment at the top of https://github.com/gittup/tup/blob/master/contrib/syntax/tup.vim
ftdetect = builtins.toFile "tup.vim" ''
au BufNewFile,BufRead Tupfile, *.tup set filetype=tup
au BufNewFile,BufRead Tupfile,*.tup setf tup
'';
in
buildVimPluginFrom2Nix {

View File

@ -0,0 +1,36 @@
{ lib, stdenv, fetchurl, libarchive, p7zip }:
stdenv.mkDerivation rec {
pname = "mysides";
version = "1.0.1";
src = fetchurl {
url = "https://github.com/mosen/mysides/releases/download/v${version}/mysides-${version}.pkg";
sha256 = "sha256-dpRrj3xb9xQSXXXxragUDgNPBaniiMc6evRF12wqVRQ=";
};
dontBuild = true;
nativeBuildInputs = [ libarchive p7zip ];
unpackPhase = ''
7z x $src
bsdtar -xf Payload~
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -Dm755 usr/local/bin/mysides -t $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Manage macOS Finder sidebar favorites";
homepage = "https://github.com/mosen/mysides";
license = licenses.mit;
maintainers = with maintainers; [ tboerger ];
platforms = platforms.darwin;
};
}

View File

@ -2,23 +2,15 @@
stdenv.mkDerivation rec {
pname = "gmid";
version = "1.7.5";
version = "1.8";
src = fetchFromGitHub {
owner = "omar-polo";
repo = pname;
rev = version;
sha256 = "sha256-BBd0AL5jRRslxzDnxcTZRR+8J5D23NAQ7mp9K+leXAQ=";
sha256 = "sha256-CwJPaZefRDyn2fliOd9FnOLXq70HFu2RsUZhzWQdE3E";
};
patches = [
# Fix cross-compilation
(fetchpatch {
url = "https://github.com/omar-polo/gmid/commit/eb77afa8d308a2f4f422df2ff19f023b5b2cc591.patch";
sha256 = "sha256-rTTZUpfXOg7X0Ad0Y9evyU7k+aVYpJ0t9SEkNA/sSdk=";
})
];
nativeBuildInputs = [ bison ];
buildInputs = [ libressl libevent ];

View File

@ -9,7 +9,7 @@
"acer_projector" = ps: with ps; [ pyserial ];
"acmeda" = ps: with ps; [ aiopulse ];
"actiontec" = ps: with ps; [ ];
"adax" = ps: with ps; [ adax ]; # missing inputs: Adax-local
"adax" = ps: with ps; [ adax-local adax ];
"adguard" = ps: with ps; [ adguardhome ];
"ads" = ps: with ps; [ pyads ];
"advantage_air" = ps: with ps; [ advantage-air ];
@ -56,7 +56,7 @@
"arris_tg2492lg" = ps: with ps; [ ]; # missing inputs: arris-tg2492lg
"aruba" = ps: with ps; [ pexpect ];
"arwn" = ps: with ps; [ aiohttp-cors paho-mqtt ];
"aseko_pool_live" = ps: with ps; [ ]; # missing inputs: aioaseko
"aseko_pool_live" = ps: with ps; [ aioaseko ];
"asterisk_cdr" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
"asterisk_mbox" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
"asuswrt" = ps: with ps; [ aioasuswrt ];
@ -65,8 +65,8 @@
"atome" = ps: with ps; [ pyatome ];
"august" = ps: with ps; [ yalexs ];
"aurora" = ps: with ps; [ auroranoaa ];
"aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
"aussie_broadband" = ps: with ps; [ ]; # missing inputs: pyaussiebb
"aurora_abb_powerone" = ps: with ps; [ aurorapy ];
"aussie_broadband" = ps: with ps; [ pyaussiebb ];
"auth" = ps: with ps; [ aiohttp-cors ];
"automation" = ps: with ps; [ aiohttp-cors ];
"avea" = ps: with ps; [ avea ];
@ -122,7 +122,7 @@
"cast" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa ifaddr mutagen plexapi plexauth plexwebsocket PyChromecast zeroconf ];
"cert_expiry" = ps: with ps; [ ];
"channels" = ps: with ps; [ pychannels ];
"circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook
"circuit" = ps: with ps; [ circuit-webhook ];
"cisco_ios" = ps: with ps; [ pexpect ];
"cisco_mobility_express" = ps: with ps; [ ciscomobilityexpress ];
"cisco_webex_teams" = ps: with ps; [ webexteamssdk ];
@ -414,7 +414,7 @@
"input_text" = ps: with ps; [ ];
"insteon" = ps: with ps; [ pyinsteon ];
"integration" = ps: with ps; [ ];
"intellifire" = ps: with ps; [ ]; # missing inputs: intellifire4py
"intellifire" = ps: with ps; [ intellifire4py ];
"intent" = ps: with ps; [ aiohttp-cors ];
"intent_script" = ps: with ps; [ ];
"intesishome" = ps: with ps; [ pyintesishome ];
@ -609,7 +609,7 @@
"ombi" = ps: with ps; [ pyombi ];
"omnilogic" = ps: with ps; [ omnilogic ];
"onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
"oncue" = ps: with ps; [ ]; # missing inputs: aiooncue
"oncue" = ps: with ps; [ aiooncue ];
"ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ];
"onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet
"onkyo" = ps: with ps; [ onkyo-eiscp ];
@ -693,7 +693,7 @@
"qnap" = ps: with ps; [ ]; # missing inputs: qnapstats
"qrcode" = ps: with ps; [ pillow ]; # missing inputs: pyzbar
"quantum_gateway" = ps: with ps; [ quantum-gateway ];
"qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro
"qvr_pro" = ps: with ps; [ pyqvrpro ];
"qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch
"rachio" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa rachiopy ];
"radarr" = ps: with ps; [ ];
@ -740,7 +740,7 @@
"rpi_rf" = ps: with ps; [ ]; # missing inputs: RPi.GPIO rpi-rf
"rss_feed_template" = ps: with ps; [ aiohttp-cors ];
"rtorrent" = ps: with ps; [ ];
"rtsp_to_webrtc" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; # missing inputs: rtsp-to-webrtc
"rtsp_to_webrtc" = ps: with ps; [ pyturbojpeg aiohttp-cors rtsp-to-webrtc ];
"ruckus_unleashed" = ps: with ps; [ pyruckus ];
"russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio
"russound_rnet" = ps: with ps; [ ]; # missing inputs: russound
@ -923,7 +923,7 @@
"twilio" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_call" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_sms" = ps: with ps; [ aiohttp-cors twilio ];
"twinkly" = ps: with ps; [ ]; # missing inputs: ttls
"twinkly" = ps: with ps; [ ttls ];
"twitch" = ps: with ps; [ python-twitch-client ];
"twitter" = ps: with ps; [ twitterapi ];
"ubus" = ps: with ps; [ openwrt-ubus-rpc ];
@ -981,7 +981,7 @@
"waze_travel_time" = ps: with ps; [ wazeroutecalculator ];
"weather" = ps: with ps; [ ];
"webhook" = ps: with ps; [ aiohttp-cors ];
"webostv" = ps: with ps; [ sqlalchemy ]; # missing inputs: aiowebostv
"webostv" = ps: with ps; [ aiowebostv sqlalchemy ];
"websocket_api" = ps: with ps; [ aiohttp-cors ];
"wemo" = ps: with ps; [ pywemo ];
"whirlpool" = ps: with ps; [ whirlpool-sixth-sense ];
@ -1037,6 +1037,7 @@
"abode"
"accuweather"
"acmeda"
"adax"
"adguard"
"advantage_air"
"aemet"
@ -1065,10 +1066,13 @@
"aprs"
"arcam_fmj"
"arlo"
"aseko_pool_live"
"asuswrt"
"atag"
"august"
"aurora"
"aurora_abb_powerone"
"aussie_broadband"
"auth"
"automation"
"awair"
@ -1277,6 +1281,7 @@
"input_text"
"insteon"
"integration"
"intellifire"
"intent"
"intent_script"
"ios"
@ -1379,6 +1384,7 @@
"octoprint"
"omnilogic"
"onboarding"
"oncue"
"ondilo_ico"
"open_meteo"
"openalpr_cloud"
@ -1443,6 +1449,7 @@
"roon"
"rpi_power"
"rss_feed_template"
"rtsp_to_webrtc"
"ruckus_unleashed"
"safe_mode"
"samsungtv"
@ -1546,6 +1553,7 @@
"tuya"
"twentemilieu"
"twilio"
"twinkly"
"twitch"
"uk_transport"
"unifi"
@ -1582,6 +1590,7 @@
"waze_travel_time"
"weather"
"webhook"
"webostv"
"websocket_api"
"wemo"
"whirlpool"

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "soft-serve";
version = "0.1.2";
version = "0.1.3";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "soft-serve";
rev = "v${version}";
sha256 = "sha256-sRlEF1ee+oBnYOGSN6rDOvNr3OnfAqV+1Wx5XOyIylw=";
sha256 = "sha256-DEtWFWzUytj9xhNCVTPgSy2vR3sL2VYG76UmF6Dx78M=";
};
vendorSha256 = "sha256-txC85Y5t880XGgJb7tumDgqWTdTRCXXgATAtlWXF7n8=";
vendorSha256 = "sha256-ljbUAsbgonEFDVY6cSeVPkjieXWgF9JFGl6c7J6/164=";
doCheck = false;

View File

@ -3,14 +3,14 @@ let
package = (import ./node.nix { inherit pkgs; inherit (stdenv.hostPlatform) system; }).package;
in
package.override rec {
version = "1.22.2";
version = "1.23.0";
reconstructLock = true;
src = pkgs.fetchFromGitHub {
owner = "Koenkk";
repo = "zigbee2mqtt";
rev = version;
sha256 = "181al3530zdbng6fpcpz35q28cxi3p46ydxff7a2bpm9i7kxnc3i";
sha256 = "0mf6ya5pw5gh0ld0j5dlsicx3ndhfrm3q683faqcm4ks7c5kjhax";
};
passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt;

File diff suppressed because it is too large Load Diff

View File

@ -118,7 +118,7 @@ let
};
azure-batch = overrideAzureMgmtPackage super.azure-batch "11.0.0" "zip"
"83d7a2b0be42ca456ac2b56fa3dc6ce704c130e888d37d924072c1d3718f32da";
"sha256-zl/bDsli7d/oXNgiBekXfLC720RSZXRuOLO7vx8W3HM=";
azure-mgmt-apimanagement = overrideAzureMgmtPackage super.azure-mgmt-apimanagement "0.2.0" "zip"
"0whx3s8ri9939r3pdvjf8iqcslas1xy6cnccidmp10r5ng0023vr";

View File

@ -20,12 +20,12 @@ buildPythonPackage rec {
# The websites yt-dlp deals with are a very moving target. That means that
# downloads break constantly. Because of that, updates should always be backported
# to the latest stable release.
version = "2022.1.21";
version = "2022.2.3";
src = fetchPypi {
inherit pname;
version = builtins.replaceStrings [ ".0" ] [ "." ] version;
sha256 = "sha256-Ig7EBzibXqcuJd/BHDDlQ0ibkAdcVTEdUlXiBF24qeI=";
sha256 = "sha256-lV3RgUq9F4uv8jg9FULv7kit/J3p4vXIZ4SwnNb1omI=";
};
propagatedBuildInputs = [ websockets mutagen ]

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "tcpreplay";
version = "4.3.4";
version = "4.4.0";
src = fetchurl {
url = "https://github.com/appneta/tcpreplay/releases/download/v${version}/tcpreplay-${version}.tar.gz";
sha256 = "sha256-7gZTEIBsIuL9NvAU4euzMbmKfsTblY6Rw9nL2gZA2Sw=";
sha256 = "sha256-o7ElwDGb0JbWj4IcSggFGy09kni6xv4Yz+PJIBcDpWc=";
};
buildInputs = [ libpcap ]

View File

@ -1,7 +1,7 @@
{ stdenv, lib
, pkg-config, autoreconfHook
, fetchurl, cpio, zlib, bzip2, file, elfutils, libbfd, libgcrypt, libarchive, nspr, nss, popt, db, xz, python, lua, llvmPackages
, sqlite, zstd
, sqlite, zstd, fetchpatch
}:
stdenv.mkDerivation rec {
@ -37,6 +37,13 @@ stdenv.mkDerivation rec {
"--sharedstatedir=/com"
];
patches = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ # Fix build for macOS aarch64
(fetchpatch {
url = "https://github.com/rpm-software-management/rpm/commit/ad87ced3990c7e14b6b593fa411505e99412e248.patch";
hash = "sha256-WYlxPGcPB5lGQmkyJ/IpGoqVfAKtMxKzlr5flTqn638=";
})
];
postPatch = ''
substituteInPlace Makefile.am --replace '@$(MKDIR_P) $(DESTDIR)$(localstatedir)/tmp' ""
'';

View File

@ -0,0 +1,25 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dontgo403";
version = "0.3";
src = fetchFromGitHub {
owner = "devploit";
repo = pname;
rev = version;
hash = "sha256-QHkmnhOLdyci3PAhf/JIiYlCta8DJ3cZb1S6Sim0qGQ=";
};
vendorSha256 = "sha256-jF+CSmLHMdlFpttYf3pK84wdfFAHSVPAK8S5zunUzB0=";
meta = with lib; {
description = "Tool to bypass 40X response codes";
homepage = "https://github.com/devploit/dontgo403";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -19,13 +19,13 @@
let
pkg_path = "$out/lib/ghidra";
pname = "ghidra";
version = "10.1.1";
version = "10.1.2";
src = fetchFromGitHub {
owner = "NationalSecurityAgency";
repo = "Ghidra";
rev = "Ghidra_${version}_build";
sha256 = "sha256-0hj9IVvTxgStCbfnTzqeKD+Q5GnGowDsIkMvk2GqJqY=";
sha256 = "sha256-gnSIXje0hUpAculNXAyiS7Twc5XWitMgYp7svyZQxzE=";
};
desktopItem = makeDesktopItem {
@ -101,7 +101,7 @@ HERE
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "sha256-Yxf6g908+fRRUh40PrwNUCTvxzlvSmwzE8R+3ZkRIvs=";
outputHash = "sha256-UHV7Z2HaVTOCY5U0zjUtkchJicrXMBfYBHvL8AA7NTg=";
};
in stdenv.mkDerivation rec {
@ -172,6 +172,7 @@ in stdenv.mkDerivation rec {
homepage = "https://ghidra-sre.org/";
platforms = [ "x86_64-linux" "x86_64-darwin" ];
license = licenses.asl20;
maintainers = [ "roblabla" ];
};
}

View File

@ -18,7 +18,7 @@ buildGoModule rec {
rev = "v${version}";
sha256 = "sha256-WAI/rl6awVLbXqdqYAq8fyABAO2qet+GYucuiwClylI=";
};
vendorSha256 = "sha256-ZZTM1s/kFHkCjnaDYuP7xCrkW2an3I6kvcMXMy63ySE=";
vendorSha256 = "sha256-ckAnSSSEF00gbgxnPAi2Pi8TNu3nmAahK7TP6HnfmNo=";
patches = [
(substituteAll {

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "saml2aws";
version = "2.33.0";
version = "2.34.0";
src = fetchFromGitHub {
owner = "Versent";
repo = "saml2aws";
rev = "v${version}";
sha256 = "sha256-99URhGJJKO4l+ztMGljiuNKVTYIG2iyWUMBXG1WTPdI=";
sha256 = "sha256-JRJjuVF0MkV7KVmbAZhiWPWVwDORByCsZqPwdTuVRoA=";
};
vendorSha256 = "sha256-oUEgJ1DDzhKUpYevylIr+1X28xFGaWMh5+q1HTqOHaU=";
vendorSha256 = "sha256-/N/RYqt+lhhECK+uq99vkm3Mg7PWpdE0GYLXkIYthNw=";
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec {
pname = "vaultwarden";
version = "1.23.1";
version = "1.24.0";
src = fetchFromGitHub {
owner = "dani-garcia";
repo = pname;
rev = version;
sha256 = "sha256-UMeltpuGUPdB5j4NBxA6SuLUqzinrF8USCaJk9SjDJA=";
sha256 = "sha256-zeMVdsTSp1z8cwebU2N6w7436N8CcI7PzNedDOSvEx4=";
};
cargoSha256 = "sha256-8SjCWioOK/bk6G+0Yfl0ilgbLu83hn+AtuX9QWrnQEc=";
cargoSha256 = "sha256-Sn6DuzV2OfaywE0W2afRG0h8PfOprqMtZtYM/exGEww=";
postPatch = ''
# Upstream specifies 1.57; nixpkgs has 1.56 which also produces a working

View File

@ -1735,6 +1735,8 @@ with pkgs;
dkimpy = with python3Packages; toPythonApplication dkimpy;
dontgo403 = callPackage ../tools/security/dontgo403 { };
dpt-rp1-py = callPackage ../tools/misc/dpt-rp1-py { };
dot-http = callPackage ../development/tools/dot-http {
@ -2989,7 +2991,7 @@ with pkgs;
element-desktop = callPackage ../applications/networking/instant-messengers/element/element-desktop.nix {
inherit (darwin.apple_sdk.frameworks) Security AppKit CoreServices;
electron = electron_13;
electron = electron_15;
};
element-desktop-wayland = writeScriptBin "element-desktop" ''
#!/bin/sh
@ -12535,6 +12537,13 @@ with pkgs;
buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
});
go_1_18 = callPackage ../development/compilers/go/1.18.nix ({
inherit (darwin.apple_sdk.frameworks) Security Foundation;
} // lib.optionalAttrs (stdenv.cc.isGNU && stdenv.isAarch64) {
stdenv = gcc8Stdenv;
buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
});
go_2-dev = callPackage ../development/compilers/go/2-dev.nix ({
inherit (darwin.apple_sdk.frameworks) Security Foundation;
} // lib.optionalAttrs (stdenv.cc.isGNU && stdenv.isAarch64) {
@ -12542,7 +12551,7 @@ with pkgs;
buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
});
go = go_1_16;
go = go_1_17;
go-repo-root = callPackage ../development/tools/go-repo-root { };
@ -20826,30 +20835,26 @@ with pkgs;
buildGo116Package = callPackage ../development/go-packages/generic {
go = buildPackages.go_1_16;
};
# go_1_17 has go module changes which may not be portable
# across different go versions and/or platforms:
# https://github.com/NixOS/nixpkgs/issues/144667
#
# That's why `buildGoPackage != buildGo117Package`.
buildGo117Package = callPackage ../development/go-packages/generic {
go = buildPackages.go_1_17;
};
buildGo118Package = callPackage ../development/go-packages/generic {
go = buildPackages.go_1_18;
};
buildGoPackage = buildGo116Package;
buildGoPackage = buildGo117Package;
buildGo116Module = callPackage ../development/go-modules/generic {
go = buildPackages.go_1_16;
};
# go_1_17 has go module changes which may not be portable
# across different go versions and/or platforms:
# https://github.com/NixOS/nixpkgs/issues/144667
#
# That's why `buildGoModule != buildGo117Module`.
buildGo117Module = callPackage ../development/go-modules/generic {
go = buildPackages.go_1_17;
};
buildGo118Module = callPackage ../development/go-modules/generic {
go = buildPackages.go_1_18;
};
buildGoModule = buildGo116Module;
buildGoModule = buildGo117Module;
go2nix = callPackage ../development/tools/go2nix { };
@ -21938,7 +21943,9 @@ with pkgs;
redstore = callPackage ../servers/http/redstore { };
reproxy = callPackage ../servers/reproxy { };
reproxy = callPackage ../servers/reproxy {
buildGoModule = buildGo116Module;
};
restic = callPackage ../tools/backup/restic { };
@ -22115,7 +22122,9 @@ with pkgs;
buildGoModule = buildGo116Module;
};
victoriametrics = callPackage ../servers/nosql/victoriametrics { };
victoriametrics = callPackage ../servers/nosql/victoriametrics {
buildGoModule = buildGo116Module;
};
virtiofsd = callPackage ../servers/misc/virtiofsd { };
@ -27724,7 +27733,9 @@ with pkgs;
onlyoffice-bin = callPackage ../applications/office/onlyoffice-bin { };
open-policy-agent = callPackage ../development/tools/open-policy-agent { };
open-policy-agent = callPackage ../development/tools/open-policy-agent {
buildGoModule = buildGo116Module;
};
openshift = callPackage ../applications/networking/cluster/openshift { };
@ -33320,6 +33331,8 @@ with pkgs;
mynewt-newt = callPackage ../tools/package-management/mynewt-newt { };
mysides = callPackage ../os-specific/darwin/mysides { };
nar-serve = callPackage ../tools/nix/nar-serve { };
neo = callPackage ../applications/misc/neo { };

View File

@ -3683,7 +3683,7 @@ let
};
};
ConfigIniFiles = buildPerlModule {
ConfigIniFiles = buildPerlPackage {
pname = "Config-IniFiles";
version = "3.000003";
src = fetchurl {

View File

@ -194,6 +194,8 @@ in {
adax = callPackage ../development/python-modules/adax { };
adax-local = callPackage ../development/python-modules/adax-local { };
adb-enhanced = callPackage ../development/python-modules/adb-enhanced { };
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };
@ -258,6 +260,8 @@ in {
aioamqp = callPackage ../development/python-modules/aioamqp { };
aioaseko = callPackage ../development/python-modules/aioaseko { };
aioasuswrt = callPackage ../development/python-modules/aioasuswrt { };
aioazuredevops = callPackage ../development/python-modules/aioazuredevops { };
@ -362,6 +366,8 @@ in {
aionotion = callPackage ../development/python-modules/aionotion { };
aiooncue = callPackage ../development/python-modules/aiooncue { };
aiopg = callPackage ../development/python-modules/aiopg { };
aioprocessing = callPackage ../development/python-modules/aioprocessing { };
@ -416,6 +422,8 @@ in {
aiowatttime = callPackage ../development/python-modules/aiowatttime { };
aiowebostv = callPackage ../development/python-modules/aiowebostv { };
aiowinreg = callPackage ../development/python-modules/aiowinreg { };
aioymaps = callPackage ../development/python-modules/aioymaps { };
@ -746,6 +754,8 @@ in {
auroranoaa = callPackage ../development/python-modules/auroranoaa { };
aurorapy = callPackage ../development/python-modules/aurorapy { };
auth0-python = callPackage ../development/python-modules/auth0-python { };
authcaptureproxy = callPackage ../development/python-modules/authcaptureproxy { };
@ -1579,6 +1589,8 @@ in {
ci-py = callPackage ../development/python-modules/ci-py { };
circuit-webhook = callPackage ../development/python-modules/circuit-webhook { };
circuitbreaker = callPackage ../development/python-modules/circuitbreaker { };
cirq = callPackage ../development/python-modules/cirq { };
@ -3991,6 +4003,8 @@ in {
intelhex = callPackage ../development/python-modules/intelhex { };
intellifire4py = callPackage ../development/python-modules/intellifire4py { };
intensity-normalization = callPackage ../development/python-modules/intensity-normalization { };
internetarchive = callPackage ../development/python-modules/internetarchive { };
@ -6530,6 +6544,8 @@ in {
pyaudio = callPackage ../development/python-modules/pyaudio { };
pyaussiebb = callPackage ../development/python-modules/pyaussiebb { };
pyautogui = callPackage ../development/python-modules/pyautogui { };
pyavm = callPackage ../development/python-modules/pyavm { };
@ -7335,6 +7351,8 @@ in {
pyquil = callPackage ../development/python-modules/pyquil { };
pyqvrpro = callPackage ../development/python-modules/pyqvrpro { };
pyrabbit2 = callPackage ../development/python-modules/pyrabbit2 { };
pyrad = callPackage ../development/python-modules/pyrad { };
@ -8723,6 +8741,8 @@ in {
rtslib = callPackage ../development/python-modules/rtslib { };
rtsp-to-webrtc = callPackage ../development/python-modules/rtsp-to-webrtc { };
ruamel-base = callPackage ../development/python-modules/ruamel-base { };
ruamel-yaml = callPackage ../development/python-modules/ruamel-yaml { };
@ -9933,6 +9953,8 @@ in {
trytond = callPackage ../development/python-modules/trytond { };
ttls = callPackage ../development/python-modules/ttls { };
ttp = callPackage ../development/python-modules/ttp { };
tubes = callPackage ../development/python-modules/tubes { };