Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-12-30 00:01:41 +00:00 committed by GitHub
commit e5a8efa722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 165 additions and 62 deletions

View File

@ -3,7 +3,7 @@
, heimdal, krb5, libsoup, libvorbis, speex, openssl, zlib, xorg, pango, gtk2
, gnome2, mesa, nss, nspr, gtk_engines, freetype, dconf, libpng12, libxml2
, libjpeg, libredirect, tzdata, cacert, systemd, libcxxabi, libcxx, e2fsprogs, symlinkJoin
, libpulseaudio, pcsclite, glib-networking
, libpulseaudio, pcsclite, glib-networking, llvmPackages_12
, homepage, version, prefix, hash
@ -99,7 +99,8 @@ stdenv.mkDerivation rec {
xorg.libXtst
zlib
] ++ lib.optional (lib.versionOlder version "20.04") e2fsprogs
++ lib.optional (lib.versionAtLeast version "20.10") libpulseaudio;
++ lib.optional (lib.versionAtLeast version "20.10") libpulseaudio
++ lib.optional (lib.versionAtLeast version "21.12") llvmPackages_12.libunwind;
runtimeDependencies = [
glib
@ -120,10 +121,11 @@ stdenv.mkDerivation rec {
installPhase = let
icaFlag = program:
if (builtins.match "selfservice(.*)" program) != null then "--icaroot"
else if (lib.versionAtLeast version "21.12" && builtins.match "wfica(.*)" program != null) then null
else "-icaroot";
wrap = program: ''
wrapProgram $out/opt/citrix-icaclient/${program} \
--add-flags "${icaFlag program} $ICAInstDir" \
${lib.optionalString (icaFlag program != null) ''--add-flags "${icaFlag program} $ICAInstDir"''} \
--set ICAROOT "$ICAInstDir" \
--prefix LD_LIBRARY_PATH : "$ICAInstDir:$ICAInstDir/lib" \
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \

View File

@ -122,6 +122,17 @@ let
x86suffix = "25";
homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html";
};
"21.12.0" = {
major = "21";
minor = "12";
patch = "0";
x64hash = "de81deab648e1ebe0ddb12aa9591c8014d7fad4eba0db768f25eb156330bb34d";
x86hash = "3746cdbe26727f7f6fb85fbe5f3e6df0322d79bb66e3a70158b22cb4f6b6b292";
x64suffix = "18";
x86suffix = "18";
homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html";
};
};
# Retain attribute-names for abandoned versions of Citrix workspace to

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "boschshcpy";
version = "0.2.27";
version = "0.2.28";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "tschamm";
repo = pname;
rev = version;
sha256 = "sha256-xlkLMCLo1tut1mLj/L9YcRn16+GVKXJSSkpClBh1ujI=";
sha256 = "sha256-CnfJiYUM8A4QZ6VMtekO8nD5tQ2VL9vMeK6OWYcgwmU=";
};
propagatedBuildInputs = [

View File

@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "deemix";
version = "3.6.1";
version = "3.6.3";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-oLVCh268TlImOff75m3oSy0dPJi7qrOQ4YOf6rj105M=";
sha256 = "sha256-mzQ5bqVBMkfBQmedO8+qh7r1OwWQxg1oMHGaYWBlBWo=";
};
propagatedBuildInputs = [

View File

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "deezer-py";
version = "1.3.0";
version = "1.3.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "2e38f02b6b8809907d3fb419d54c040bd176ec921b2b226a716fe7ebb456bde4";
sha256 = "sha256-G4GREc+PWvaphnOuzBePraj4pHgmhhKqsyVHKOPwGik=";
};
propagatedBuildInputs = [ requests ];

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "flux-led";
version = "0.27.19";
version = "0.27.20";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "Danielhiversen";
repo = "flux_led";
rev = version;
sha256 = "sha256-QJCRBwsfQQzXQ7DDvzb9NKnZS2LqrQUygdzJ+ccjWt4=";
sha256 = "sha256-bkVhM6Em0kyIhfSCFtotZR5Ob4i8IWBL1oSc+BTVFuw=";
};
propagatedBuildInputs = [

View File

@ -18,6 +18,11 @@ buildPythonPackage rec {
sha256 = "655b879217dd445a2023e16154cc231febef802b5c812d5c2e822280ad69e1dc";
};
postPatch = ''
# fixes build on non-x86_64 architectures
rm frozendict/src/3_9/cpython_src/Include/pyconfig.h
'';
pythonImportsCheck = [
"frozendict"
];

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "hahomematic";
version = "0.6.1";
version = "0.7.0";
format = "setuptools";
disabled = pythonOlder "3.9";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "danielperna84";
repo = pname;
rev = version;
sha256 = "sha256-s3XdbkngdHApV4uE/Qudrr9TFf6gUvNHJKM3RA4UeN0=";
sha256 = "sha256-3qdA/s03mVek4KH+6wAvbPmpp3pSUWCmeOByNs48+MU=";
};
propagatedBuildInputs = [

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "huawei-lte-api";
version = "1.5.2";
version = "1.5.4";
disabled = pythonOlder "3.4";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "Salamek";
repo = "huawei-lte-api";
rev = version;
sha256 = "sha256-xG0QTvjYW0/C/7NNhl/d024TSAe0TzgMknOXvNxrPOY=";
hash = "sha256-aTxP2lVrGr2B+ELz7fnVZVB0nm9HHAb15wDafV44h7M=";
};
postPatch = ''

View File

@ -5,6 +5,7 @@
, karton-core
, mistune
, prometheus-client
, pythonOlder
}:
buildPythonPackage rec {
@ -12,6 +13,8 @@ buildPythonPackage rec {
version = "1.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = pname;
@ -29,7 +32,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace requirements.txt \
--replace "Flask==1.1.1" "Flask" \
--replace "prometheus-client==0.10.0" "prometheus-client"
--replace "prometheus_client==0.11.0" "prometheus_client"
'';
# Project has no tests. pythonImportsCheck requires MinIO configuration

View File

@ -16,14 +16,16 @@
buildPythonPackage rec {
pname = "minio";
version = "7.1.1";
version = "7.1.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "minio";
repo = "minio-py";
rev = version;
sha256 = "sha256-dUNx6r7KppfeHefa1IeJPXSEMyElPk+RAGdn447ax1g=";
sha256 = "sha256-KluSdmhpSSqUTLVdFpIGwre7LOu3A16rt73FvaTmuz8=";
};
propagatedBuildInputs = [
@ -42,12 +44,14 @@ buildPythonPackage rec {
pytestCheckHook
];
# example credentials aren't present
disabledTestPaths = [
# example credentials aren't present
"tests/unit/credentials_test.py"
];
pythonImportsCheck = [ "minio" ];
pythonImportsCheck = [
"minio"
];
meta = with lib; {
description = "Simple APIs to access any Amazon S3 compatible object storage server";

View File

@ -7,7 +7,8 @@
buildPythonPackage rec {
pname = "mutf8";
version = "1.0.5";
version = "1.0.6";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -15,7 +16,7 @@ buildPythonPackage rec {
owner = "TkTech";
repo = pname;
rev = "v${version}";
sha256 = "0blp6gb7q3f7if326xard8zlfg2rcmb3a7mxvaxgkvxigipjb9af";
hash = "sha256-4Ojn3t0EbOVdrYEiY8JegJuvW9sz8jt9tKFwOluiGQo=";
};
checkInputs = [
@ -27,7 +28,9 @@ buildPythonPackage rec {
pytest
'';
pythonImportsCheck = [ "mutf8" ];
pythonImportsCheck = [
"mutf8"
];
meta = with lib; {
description = "Fast MUTF-8 encoder & decoder";

View File

@ -1,24 +1,26 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, git
, pythonOlder
, pytestCheckHook
, pythonOlder
, ruamel-yaml
, stdenv
, toml
}:
buildPythonPackage rec {
pname = "pre-commit-hooks";
version = "4.0.1";
version = "4.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pre-commit";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Rg2I79r0Pp3AUgT6mD+kEdm+5CEGgdmFn6G3xcU6fnk=";
sha256 = "sha256-nxJp7LkCUkJj77RCeWedBusue3x0lZYatSidbueZqfo=";
};
propagatedBuildInputs = [
@ -42,9 +44,12 @@ buildPythonPackage rec {
git config --global user.name "Nix Builder"
git config --global user.email "nix-builder@nixos.org"
git init .
'';
pythonImportsCheck = [ "pre_commit_hooks" ];
pythonImportsCheck = [
"pre_commit_hooks"
];
meta = with lib; {
description = "Some out-of-the-box hooks for pre-commit";

View File

@ -2,11 +2,15 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "prometheus-client";
version = "0.12.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "prometheus";
@ -19,11 +23,14 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "prometheus_client" ];
pythonImportsCheck = [
"prometheus_client"
];
meta = with lib; {
description = "Prometheus instrumentation library for Python applications";
homepage = "https://github.com/prometheus/client_python";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}

View File

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

View File

@ -15,15 +15,16 @@
buildPythonPackage rec {
pname = "pylama";
version = "8.0.6";
version = "8.3.6";
format = "setuptools";
src = fetchFromGitHub {
name = "${pname}-${version}-source";
owner = "klen";
repo = "pylama";
rev = version;
sha256 = "sha256-Olq/CZ/t1wqACoknAKsvdDKnyLZkxRtHokpu33I3trg=";
hash = "sha256-KU/G+2Fm4G/dUuNhhk8xM0Y8+7YOUUgREONM8CQGugw=";
};
patches = [
@ -51,6 +52,7 @@ buildPythonPackage rec {
"test_pylint" # infinite recursion
"test_quotes" # FIXME package pylama-quotes
"test_radon" # FIXME package radon
"test_sort"
];
pythonImportsCheck = [

View File

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "pyweatherflowrest";
version = "0.1.23";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "briis";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VeLkQmH9h41upATWEWwKjf2GCXjltBnHHauGB76ViBc=";
sha256 = "sha256-LS7vwQQBCVwi098aJd8ZSkEEwZKL1bikvAvjH+XHaok=";
};
propagatedBuildInputs = [

View File

@ -1,10 +1,10 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry
, poetry-core
, prompt-toolkit
, pytest-cov
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
@ -12,6 +12,8 @@ buildPythonPackage rec {
version = "1.10.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tmbo";
repo = pname;
@ -20,7 +22,7 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
poetry
poetry-core
];
propagatedBuildInputs = [
@ -28,11 +30,17 @@ buildPythonPackage rec {
];
checkInputs = [
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "questionary" ];
disabledTests = [
# TypeError: <lambda>() missing 1 required...
"test_print_with_style"
];
pythonImportsCheck = [
"questionary"
];
meta = with lib; {
description = "Python library to build command line user prompts";

View File

@ -1,24 +1,24 @@
{ buildPythonPackage, fetchFromGitHub, lib, pythonOlder, pytest }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "typed-ast";
version = "1.5.0";
disabled = pythonOlder "3.3";
version = "1.5.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python";
repo = "typed_ast";
rev = version;
sha256 = "sha256-z3l5gMG1Jp6EI7SnGn5ABVXVBi+bK///iJBqEWn4d+s=";
hash = "sha256-qfXMT+rSf/WcWHpkg4VZXZMYj/5IKQWAKRsxQ0TRzPU=";
};
pythonImportsCheck = [
"typed_ast"
"typed_ast.ast27"
"typed_ast.ast3"
"typed_ast.conversions"
];
checkInputs = [
pytest
];
@ -34,9 +34,16 @@ buildPythonPackage rec {
runHook postCheck
'';
pythonImportsCheck = [
"typed_ast"
"typed_ast.ast27"
"typed_ast.ast3"
"typed_ast.conversions"
];
meta = with lib; {
description = "Python AST modules with type comment support";
homepage = "https://github.com/python/typed_ast";
description = "Python 2 and 3 ast modules with type comment support";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View File

@ -5,17 +5,20 @@
buildPythonPackage rec {
pname = "types-decorator";
version = "5.1.0";
version = "5.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-mavQDGFOVOde4I2IeZiGrMKRjMiJBeymR0upF7Mncps=";
sha256 = "sha256-WBcQj9v71OppsQcrG1fJpyakF4z9CBYMtb1PmTdptsE=";
};
# Modules doesn't have tests
doCheck = false;
pythonImportsCheck = [ "decorator-stubs" ];
pythonImportsCheck = [
"decorator-stubs"
];
meta = with lib; {
description = "Typing stubs for decorator";

View File

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "types-requests";
version = "2.26.2";
version = "2.26.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0e22d9cdeff4c3eb068eb883d59b127c98d80525f3d0412a1c4499c6ae1f711e";
sha256 = "sha256-1j+mF4Rtzv/1qi1Z5Hq0/9gG5LsFZxFfetu15DgwL+Q=";
};
# Module doesn't have tests

View File

@ -46,13 +46,13 @@ with py.pkgs;
buildPythonApplication rec {
pname = "checkov";
version = "2.0.693";
version = "2.0.695";
src = fetchFromGitHub {
owner = "bridgecrewio";
repo = pname;
rev = version;
sha256 = "sha256-xteBVQ+OXxLc2BOlhajGX+1wTc7BHGjPtpgU3IjA7g0=";
sha256 = "sha256-7ppEMlgdZrMWzKmJfivU6qLSHTgvC+WSiOLdjiRWKP8=";
};
nativeBuildInputs = with py.pkgs; [
@ -63,6 +63,7 @@ buildPythonApplication rec {
aiodns
aiohttp
aiomultiprocess
argcomplete
bc-python-hcl2
boto3
cachetools

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 = "2021.12.25";
version = "2021.12.27";
src = fetchPypi {
inherit pname;
version = builtins.replaceStrings [ ".0" ] [ "." ] version;
sha256 = "sha256-h8E1F8VVEM+sqGFyYN43YCkDXbwvhxWnQmulZS6P4hI=";
sha256 = "sha256-IkTfN1l1FIfnlrI7ZyFr7pjnCDKjpDwlJrCw4Lv7y1s=";
};
propagatedBuildInputs = [ websockets mutagen ]

View File

@ -0,0 +1,37 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, pcsclite
, PCSC
}:
rustPlatform.buildRustPackage rec {
pname = "age-plugin-yubikey";
version = "0.2.0";
src = fetchFromGitHub {
owner = "str4d";
repo = pname;
rev = "51910edfab4006a068864602469ff7db3766bfbe"; # no tag for this release
sha256 = "sha256-mMqvBlGFdwe5BaC0bXZg/27BGNmFTTYbLUHWUciqxQ0=";
};
cargoSha256 = "sha256-OCbVLSmGx51pJ/EPgPfOyVrYWdloNEbexDV1zMsmEJc=";
nativeBuildInputs = [ pkg-config ];
buildInputs =
if stdenv.isDarwin then [
PCSC
] else [
pcsclite
];
meta = with lib; {
description = "YubiKey plugin for age clients";
homepage = "https://github.com/str4d/age-plugin-yubikey";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ vtuan10 ];
};
}

View File

@ -4107,7 +4107,7 @@ with pkgs;
circus = callPackage ../tools/networking/circus { };
citrix_workspace = citrix_workspace_21_09_0;
citrix_workspace = citrix_workspace_21_12_0;
inherit (callPackage ../applications/networking/remote/citrix-workspace { })
citrix_workspace_20_04_0
@ -4120,6 +4120,7 @@ with pkgs;
citrix_workspace_21_06_0
citrix_workspace_21_08_0
citrix_workspace_21_09_0
citrix_workspace_21_12_0
;
citra = libsForQt5.callPackage ../misc/emulators/citra { };
@ -4309,6 +4310,10 @@ with pkgs;
agebox = callPackage ../tools/security/agebox { };
age-plugin-yubikey = callPackage ../tools/security/age-plugin-yubikey {
inherit (pkgs.darwin.apple_sdk.frameworks) PCSC;
};
bore = callPackage ../tools/networking/bore {
inherit (darwin) Libsystem;
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;