Merge master into staging-next

authored by github-actions[bot] and committed by GitHub fb70b933 5c3a01ad

+65 -47
+1 -1
nixos/modules/services/networking/syncthing.nix
··· 46 46 old_cfg=$(curl ${cfg.guiAddress}/rest/config) 47 47 48 48 # generate the new config by merging with the NixOS config options 49 - new_cfg=$(echo "$old_cfg" | ${pkgs.jq}/bin/jq -c '. * { 49 + new_cfg=$(printf '%s\n' "$old_cfg" | ${pkgs.jq}/bin/jq -c '. * { 50 50 "devices": (${builtins.toJSON devices}${optionalString (! cfg.overrideDevices) " + .devices"}), 51 51 "folders": (${builtins.toJSON folders}${optionalString (! cfg.overrideFolders) " + .folders"}) 52 52 } * ${builtins.toJSON cfg.extraOptions}')
+16 -14
pkgs/development/python-modules/typer/default.nix
··· 4 4 , click 5 5 , pytestCheckHook 6 6 , shellingham 7 - , pytest-cov 8 7 , pytest-xdist 9 8 , pytest-sugar 10 9 , coverage 11 10 , mypy 12 11 , black 13 12 , isort 13 + , pythonOlder 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 17 pname = "typer"; 18 - version = "0.3.2"; 18 + version = "0.4.0"; 19 + 20 + disabled = pythonOlder "3.6"; 19 21 20 22 src = fetchPypi { 21 23 inherit pname version; 22 - sha256 = "00v3h63dq8yxahp9vg3yb9r27l2niwv8gv0dbds9dzrc298dfmal"; 24 + sha256 = "1pgm0zsylbmz1r96q4n3rfi0h3pn4jss2yfs83z0yxa90nmsxhv3"; 23 25 }; 24 26 25 - propagatedBuildInputs = [ click ]; 27 + propagatedBuildInputs = [ 28 + click 29 + ]; 26 30 27 31 checkInputs = [ 28 32 pytestCheckHook 29 - pytest-cov 30 33 pytest-xdist 31 34 pytest-sugar 32 35 shellingham ··· 35 38 black 36 39 isort 37 40 ]; 38 - pytestFlagsArray = [ 39 - "--ignore=tests/test_completion/test_completion.py" 40 - "--ignore=tests/test_completion/test_completion_install.py" 41 - ]; 41 + 42 + preCheck = '' 43 + export HOME=$(mktemp -d); 44 + ''; 45 + 46 + pythonImportsCheck = [ "typer" ]; 42 47 43 48 meta = with lib; { 49 + description = "Python library for building CLI applications"; 44 50 homepage = "https://typer.tiangolo.com/"; 45 - description = "Typer, build great CLIs. Easy to code. Based on Python type hints."; 46 51 license = licenses.mit; 47 - # is incompatible with click8 48 - # https://github.com/tiangolo/typer/issues/280 49 - broken = true; 50 - maintainers = [ maintainers.winpat ]; 52 + maintainers = with maintainers; [ winpat ]; 51 53 }; 52 54 }
+2 -2
pkgs/misc/emulators/cdemu/analyzer.nix
··· 1 1 { callPackage, makeWrapper, gobject-introspection, cmake 2 2 , python3Packages, gtk3, glib, libxml2, gnuplot, gnome, gdk-pixbuf, librsvg, intltool, libmirage }: 3 3 let pkg = import ./base.nix { 4 - version = "3.2.3"; 4 + version = "3.2.5"; 5 5 pkgName = "image-analyzer"; 6 - pkgSha256 = "17yfjmf65s77214qassz6l01cjcni4cv06nzfsm7qrzw172fmci4"; 6 + pkgSha256 = "00906lky0z1m0bdqnjmzxgcb19dzvljhddhh42lixyr53sjp94cc"; 7 7 }; 8 8 in callPackage pkg { 9 9 buildInputs = [ glib gtk3 libxml2 gnuplot libmirage makeWrapper
+2 -2
pkgs/misc/emulators/cdemu/base.nix
··· 4 4 in stdenv.mkDerivation ({ 5 5 inherit name buildInputs; 6 6 src = fetchurl { 7 - url = "mirror://sourceforge/cdemu/${name}.tar.bz2"; 7 + url = "mirror://sourceforge/cdemu/${name}.tar.xz"; 8 8 sha256 = pkgSha256; 9 9 }; 10 10 nativeBuildInputs = [ pkg-config cmake ]; ··· 29 29 30 30 Optical media emulated by CDemu can be mounted within Linux. Automounting is also allowed. 31 31 ''; 32 - homepage = "http://cdemu.sourceforge.net/"; 32 + homepage = "https://cdemu.sourceforge.io/"; 33 33 license = licenses.gpl2Plus; 34 34 platforms = platforms.linux; 35 35 maintainers = with lib.maintainers; [ bendlas ];
+2 -2
pkgs/misc/emulators/cdemu/client.nix
··· 1 1 { callPackage, python3Packages, intltool, makeWrapper }: 2 2 let pkg = import ./base.nix { 3 - version = "3.2.3"; 3 + version = "3.2.5"; 4 4 pkgName = "cdemu-client"; 5 - pkgSha256 = "1bvc2m63fx03rbp3ihgl2n7k24lwg5ydwkmr84gsjfcxp46q10zq"; 5 + pkgSha256 = "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7"; 6 6 }; 7 7 in callPackage pkg { 8 8 buildInputs = [ python3Packages.python python3Packages.dbus-python python3Packages.pygobject3
+2 -2
pkgs/misc/emulators/cdemu/daemon.nix
··· 1 1 { callPackage, glib, libao, intltool, libmirage }: 2 2 let pkg = import ./base.nix { 3 - version = "3.2.3"; 3 + version = "3.2.5"; 4 4 pkgName = "cdemu-daemon"; 5 - pkgSha256 = "022xzgwmncswb9md71w3ly3mjkdfc93lbij2llp2jamq8grxjjxr"; 5 + pkgSha256 = "16g6fv1lxkdmbsy6zh5sj54dvgwvm900fd18aq609yg8jnqm644d"; 6 6 }; 7 7 in callPackage pkg { 8 8 buildInputs = [ glib libao libmirage intltool ];
+2 -2
pkgs/misc/emulators/cdemu/gui.nix
··· 2 2 , python3Packages, gtk3, glib, libnotify, intltool, gnome, gdk-pixbuf, librsvg }: 3 3 let 4 4 pkg = import ./base.nix { 5 - version = "3.2.3"; 5 + version = "3.2.5"; 6 6 pkgName = "gcdemu"; 7 - pkgSha256 = "19vy1awha8s7cfja3a6npaf3rfy3pl3cbsh4vd609q9jz4v4lyg4"; 7 + pkgSha256 = "1nvpbq4mz8caw91q5ny9gf206g9bypavxws9nxyfcanfkc4zfkl4"; 8 8 }; 9 9 inherit (python3Packages) python pygobject3; 10 10 in callPackage pkg {
+2 -2
pkgs/misc/emulators/cdemu/libmirage.nix
··· 3 3 , pcre, util-linux, libselinux, libsepol }: 4 4 5 5 let pkg = import ./base.nix { 6 - version = "3.2.3"; 6 + version = "3.2.5"; 7 7 pkgName = "libmirage"; 8 - pkgSha256 = "08mfvqyk3833ksfd47i4j3ppmrw5ry219km6h7lywdh9hm9x14yf"; 8 + pkgSha256 = "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm"; 9 9 }; 10 10 in callPackage pkg { 11 11 buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate intltool ];
+4 -6
pkgs/misc/emulators/cdemu/vhba.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "vhba"; 5 - version = "20190831"; 5 + version = "20210418"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.bz2"; 9 - sha256 = "1ybbk6l06n0y11n5wnfmvdz0baizmq55l458ywimghdyz0n7g0ws"; 8 + url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz"; 9 + sha256 = "119zgav6caialmf3hr096wkf72l9h76sqc9w5dhx26kj4yp85g8q"; 10 10 }; 11 11 12 12 makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ]; 13 13 nativeBuildInputs = kernel.moduleBuildDependencies; 14 14 15 - hardeningDisable = [ "pic" ]; 16 - 17 15 meta = with lib; { 18 16 description = "Provides a Virtual (SCSI) HBA"; 19 - homepage = "http://cdemu.sourceforge.net/about/vhba/"; 17 + homepage = "https://cdemu.sourceforge.io/about/vhba/"; 20 18 platforms = platforms.linux; 21 19 license = licenses.gpl2Plus; 22 20 maintainers = with lib.maintainers; [ bendlas ];
+32 -14
pkgs/tools/networking/ipcalc/default.nix
··· 1 - {lib, stdenv, fetchurl, perl}: 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , glib 5 + , meson 6 + , ninja 7 + , libmaxminddb 8 + , pkg-config 9 + , ronn 10 + }: 11 + 2 12 stdenv.mkDerivation rec { 3 13 pname = "ipcalc"; 4 - version = "0.41"; 5 - src = fetchurl { 6 - url = "http://jodies.de/ipcalc-archive/${pname}-${version}.tar.gz"; 7 - sha256 = "dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a"; 14 + version = "1.0.1"; 15 + 16 + src = fetchFromGitLab { 17 + owner = "ipcalc"; 18 + repo = "ipcalc"; 19 + rev = version; 20 + sha256 = "0qg516jv94dlk0qj0bj5y1dd0i31ziqcjd6m00w8xp5wl97bj2ji"; 8 21 }; 9 - buildInputs = [perl]; 10 - installPhase = '' 11 - mkdir -p $out/bin 12 - cp ipcalc $out/bin 13 - ''; 14 - meta = { 22 + 23 + nativeBuildInputs = [ 24 + glib 25 + meson 26 + ninja 27 + pkg-config 28 + libmaxminddb 29 + ronn 30 + ]; 31 + 32 + meta = with lib; { 15 33 description = "Simple IP network calculator"; 16 - homepage = "http://jodies.de/ipcalc"; 17 - license = lib.licenses.gpl2Plus; 18 - platforms = lib.platforms.all; 34 + homepage = "https://gitlab.com/ipcalc/ipcalc"; 35 + license = licenses.gpl2Plus; 36 + maintainers = with maintainers; [ ]; 19 37 }; 20 38 }