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