diff options
159 files changed, 2667 insertions, 1871 deletions
diff --git a/doc/doc-support/default.nix b/doc/doc-support/default.nix index 7c00195ab3909..429c7a5fbe800 100644 --- a/doc/doc-support/default.nix +++ b/doc/doc-support/default.nix @@ -1,5 +1,8 @@ { pkgs ? (import ../.. {}), nixpkgs ? { }}: let + inherit (pkgs) lib; + inherit (lib) hasPrefix removePrefix; + locationsXml = import ./lib-function-locations.nix { inherit pkgs nixpkgs; }; functionDocs = import ./lib-function-docs.nix { inherit locationsXml pkgs; }; version = pkgs.lib.version; @@ -29,6 +32,18 @@ let optionsDoc = pkgs.nixosOptionsDoc { inherit (pkgs.lib.evalModules { modules = [ ../../pkgs/top-level/config.nix ]; }) options; documentType = "none"; + transformOptions = opt: + opt // { + declarations = + map + (decl: + if hasPrefix (toString ../..) (toString decl) + then + let subpath = removePrefix "/" (removePrefix (toString ../..) (toString decl)); + in { url = "https://github.com/NixOS/nixpkgs/blob/master/${subpath}"; name = subpath; } + else decl) + opt.declarations; + }; }; in pkgs.runCommand "doc-support" {} diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0f581d34fa6b1..cd5023ceda7ad 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3093,6 +3093,12 @@ githubId = 17111639; name = "Devin Singh"; }; + devusb = { + email = "mhelton@devusb.us"; + github = "devusb"; + githubId = 4951663; + name = "Morgan Helton"; + }; dezgeg = { email = "tuomas.tynkkynen@iki.fi"; github = "dezgeg"; @@ -8993,7 +8999,7 @@ githubId = 4323933; name = "Naïm Favier"; keys = [{ - fingerprint = "51A0 705E 7DD2 3CBC 5EAA B43E 49B0 7322 580B 7EE2"; + fingerprint = "F3EB 4BBB 4E71 99BC 299C D4E9 95AF CE82 1190 8325"; }]; }; nckx = { diff --git a/nixos/lib/make-ext4-fs.nix b/nixos/lib/make-ext4-fs.nix index 416beeb32f2fa..b8e1b8d24c48b 100644 --- a/nixos/lib/make-ext4-fs.nix +++ b/nixos/lib/make-ext4-fs.nix @@ -78,6 +78,15 @@ pkgs.stdenv.mkDerivation { # get rid of the unnecessary slack here--but see # https://github.com/NixOS/nixpkgs/issues/125121 for caveats. + # shrink to fit + resize2fs -M $img + + # Add 16 MebiByte to the current_size + new_size=$(dumpe2fs -h $img | awk -F: \ + '/Block count/{count=$2} /Block size/{size=$2} END{print (count*size+16*2**20)/size}') + + resize2fs $img $new_size + if [ ${builtins.toString compressImage} ]; then echo "Compressing image" zstd -v --no-progress ./$img -o $out diff --git a/nixos/lib/make-options-doc/options-to-docbook.xsl b/nixos/lib/make-options-doc/options-to-docbook.xsl index 03e14365cda93..07d69649523f6 100644 --- a/nixos/lib/make-options-doc/options-to-docbook.xsl +++ b/nixos/lib/make-options-doc/options-to-docbook.xsl @@ -213,6 +213,23 @@ <xsl:template match="attr[@name = 'declarations' or @name = 'definitions']"> <simplelist> + <!-- + Example: + opt.declarations = [ { name = "foo/bar.nix"; url = "https://github.com/....."; } ]; + --> + <xsl:for-each select="list/attrs[attr[@name = 'name']]"> + <member><filename> + <xsl:if test="attr[@name = 'url']"> + <xsl:attribute name="xlink:href"><xsl:value-of select="attr[@name = 'url']/string/@value"/></xsl:attribute> + </xsl:if> + <xsl:value-of select="attr[@name = 'name']/string/@value"/> + </filename></member> + </xsl:for-each> + + <!-- + When the declarations/definitions are raw strings, + fall back to hardcoded location logic, specific to Nixpkgs. + --> <xsl:for-each select="list/string"> <member><filename> <!-- Hyperlink the filename either to the NixOS Subversion diff --git a/nixos/modules/installer/sd-card/sd-image.nix b/nixos/modules/installer/sd-card/sd-image.nix index 7560c682517aa..c0335ea487592 100644 --- a/nixos/modules/installer/sd-card/sd-image.nix +++ b/nixos/modules/installer/sd-card/sd-image.nix @@ -18,7 +18,7 @@ with lib; let rootfsImage = pkgs.callPackage ../../../lib/make-ext4-fs.nix ({ inherit (config.sdImage) storePaths; - compressImage = true; + compressImage = config.sdImage.compressImage; populateImageCommands = config.sdImage.populateRootCommands; volumeLabel = "NIXOS_SD"; } // optionalAttrs (config.sdImage.rootPartitionUUID != null) { @@ -174,7 +174,8 @@ in mtools, libfaketime, util-linux, zstd }: stdenv.mkDerivation { name = config.sdImage.imageName; - nativeBuildInputs = [ dosfstools e2fsprogs mtools libfaketime util-linux zstd ]; + nativeBuildInputs = [ dosfstools e2fsprogs libfaketime mtools util-linux ] + ++ lib.optional config.sdImage.compressImage zstd; inherit (config.sdImage) imageName compressImage; @@ -189,14 +190,18 @@ in echo "file sd-image $img" >> $out/nix-support/hydra-build-products fi + root_fs=${rootfsImage} + ${lib.optionalString config.sdImage.compressImage '' + root_fs=./root-fs.img echo "Decompressing rootfs image" - zstd -d --no-progress "${rootfsImage}" -o ./root-fs.img + zstd -d --no-progress "${rootfsImage}" -o $root_fs + ''} # Gap in front of the first partition, in MiB gap=${toString config.sdImage.firmwarePartitionOffset} # Create the image file sized to fit /boot/firmware and /, plus slack for the gap. - rootSizeBlocks=$(du -B 512 --apparent-size ./root-fs.img | awk '{ print $1 }') + rootSizeBlocks=$(du -B 512 --apparent-size $root_fs | awk '{ print $1 }') firmwareSizeBlocks=$((${toString config.sdImage.firmwareSize} * 1024 * 1024 / 512)) imageSize=$((rootSizeBlocks * 512 + firmwareSizeBlocks * 512 + gap * 1024 * 1024)) truncate -s $imageSize $img @@ -214,7 +219,7 @@ in # Copy the rootfs into the SD image eval $(partx $img -o START,SECTORS --nr 2 --pairs) - dd conv=notrunc if=./root-fs.img of=$img seek=$START count=$SECTORS + dd conv=notrunc if=$root_fs of=$img seek=$START count=$SECTORS # Create a FAT32 /boot/firmware partition of suitable size into firmware_part.img eval $(partx $img -o START,SECTORS --nr 1 --pairs) diff --git a/nixos/modules/services/home-automation/home-assistant.nix b/nixos/modules/services/home-automation/home-assistant.nix index e255e5d22188b..2aacc5e55c6e2 100644 --- a/nixos/modules/services/home-automation/home-assistant.nix +++ b/nixos/modules/services/home-automation/home-assistant.nix @@ -369,6 +369,17 @@ in { networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.config.http.server_port ]; + # symlink the configuration to /etc/home-assistant + environment.etc = lib.mkMerge [ + (lib.mkIf (cfg.config != null && !cfg.configWritable) { + "home-assistant/configuration.yaml".source = configFile; + }) + + (lib.mkIf (cfg.lovelaceConfig != null && !cfg.lovelaceConfigWritable) { + "home-assistant/ui-lovelace.yaml".source = lovelaceConfigFile; + }) + ]; + systemd.services.home-assistant = { description = "Home Assistant"; after = [ @@ -378,18 +389,22 @@ in { "mysql.service" "postgresql.service" ]; + reloadTriggers = [ + configFile + lovelaceConfigFile + ]; preStart = let copyConfig = if cfg.configWritable then '' cp --no-preserve=mode ${configFile} "${cfg.configDir}/configuration.yaml" '' else '' rm -f "${cfg.configDir}/configuration.yaml" - ln -s ${configFile} "${cfg.configDir}/configuration.yaml" + ln -s /etc/home-assistant/configuration.yaml "${cfg.configDir}/configuration.yaml" ''; copyLovelaceConfig = if cfg.lovelaceConfigWritable then '' cp --no-preserve=mode ${lovelaceConfigFile} "${cfg.configDir}/ui-lovelace.yaml" '' else '' rm -f "${cfg.configDir}/ui-lovelace.yaml" - ln -s ${lovelaceConfigFile} "${cfg.configDir}/ui-lovelace.yaml" + ln -s /etc/home-assistant/ui-lovelace.yaml "${cfg.configDir}/ui-lovelace.yaml" ''; in (optionalString (cfg.config != null) copyConfig) + diff --git a/nixos/modules/services/networking/bitlbee.nix b/nixos/modules/services/networking/bitlbee.nix index 8bf04e3a1a23c..f76cffc79bfa4 100644 --- a/nixos/modules/services/networking/bitlbee.nix +++ b/nixos/modules/services/networking/bitlbee.nix @@ -174,6 +174,7 @@ in serviceConfig = { DynamicUser = true; StateDirectory = "bitlbee"; + ReadWritePaths = [ cfg.configDir ]; ExecStart = "${bitlbeePkg}/sbin/bitlbee -F -n -c ${bitlbeeConfig}"; }; }; diff --git a/nixos/modules/services/x11/display-managers/xpra.nix b/nixos/modules/services/x11/display-managers/xpra.nix index c23e479140f09..1566e38da0839 100644 --- a/nixos/modules/services/x11/display-managers/xpra.nix +++ b/nixos/modules/services/x11/display-managers/xpra.nix @@ -26,6 +26,13 @@ in description = "Bind xpra to TCP"; }; + desktop = mkOption { + type = types.nullOr types.str; + default = null; + example = "gnome-shell"; + description = "Start a desktop environment instead of seamless mode"; + }; + auth = mkOption { type = types.str; default = "pam"; @@ -222,7 +229,7 @@ in services.xserver.displayManager.job.execCmd = '' ${optionalString (cfg.pulseaudio) "export PULSE_COOKIE=/run/pulse/.config/pulse/cookie"} - exec ${pkgs.xpra}/bin/xpra start \ + exec ${pkgs.xpra}/bin/xpra ${if cfg.desktop == null then "start" else "start-desktop --start=${cfg.desktop}"} \ --daemon=off \ --log-dir=/var/log \ --log-file=xpra.log \ diff --git a/nixos/modules/tasks/network-interfaces-systemd.nix b/nixos/modules/tasks/network-interfaces-systemd.nix index 069116ff0a609..1657fabcd9b1c 100644 --- a/nixos/modules/tasks/network-interfaces-systemd.nix +++ b/nixos/modules/tasks/network-interfaces-systemd.nix @@ -88,20 +88,22 @@ in # more likely to result in interfaces being configured to # use DHCP when they shouldn't. - # We set RequiredForOnline to false, because it's fairly - # common for such devices to have multiple interfaces and - # only one of them to be connected (e.g. a laptop with - # ethernet and WiFi interfaces). Maybe one day networkd will - # support "any"-style RequiredForOnline... + # When wait-online.anyInterface is enabled, RequiredForOnline really + # means "sufficient for online", so we can enable it. + # Otherwise, don't block the network coming online because of default networks. matchConfig.Name = ["en*" "eth*"]; DHCP = "yes"; - linkConfig.RequiredForOnline = lib.mkDefault false; + linkConfig.RequiredForOnline = + lib.mkDefault config.systemd.network.wait-online.anyInterface; + networkConfig.IPv6PrivacyExtensions = "kernel"; }; networks."99-wireless-client-dhcp" = lib.mkIf cfg.useDHCP { # Like above, but this is much more likely to be correct. matchConfig.WLANInterfaceType = "station"; DHCP = "yes"; - linkConfig.RequiredForOnline = lib.mkDefault false; + linkConfig.RequiredForOnline = + lib.mkDefault config.systemd.network.wait-online.anyInterface; + networkConfig.IPv6PrivacyExtensions = "kernel"; # We also set the route metric to one more than the default # of 1024, so that Ethernet is preferred if both are # available. diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix index 80859ac7a96ec..99a968f17af2f 100644 --- a/nixos/tests/docker-tools.nix +++ b/nixos/tests/docker-tools.nix @@ -419,5 +419,10 @@ import ./make-test-python.nix ({ pkgs, ... }: { "docker rmi layered-image-with-path", ) + with subtest("etc"): + docker.succeed("${examples.etc} | docker load") + docker.succeed("docker run --rm etc | grep localhost") + docker.succeed("docker image rm etc:latest") + ''; }) diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix index f7b9d283e4572..59b82593abcd6 100644 --- a/nixos/tests/home-assistant.nix +++ b/nixos/tests/home-assistant.nix @@ -98,9 +98,26 @@ in { }; lovelaceConfigWritable = true; }; + + # Cause a configuration change inside `configuration.yml` and verify that the process is being reloaded. + specialisation.differentName = { + inheritParentConfig = true; + configuration.services.home-assistant.config.homeassistant.name = lib.mkForce "Test Home"; + }; + + # Cause a configuration change that requires a service restart as we added a new runtime dependency + specialisation.newFeature = { + inheritParentConfig = true; + configuration.services.home-assistant.config.device_tracker = [ + { platform = "bluetooth_tracker"; } + ]; + }; }; - testScript = '' + testScript = { nodes, ... }: let + system = nodes.hass.config.system.build.toplevel; + in + '' import re start_all() @@ -142,12 +159,21 @@ in { with subtest("Check extra components are considered in systemd unit hardening"): hass.succeed("systemctl show -p DeviceAllow home-assistant.service | grep -q char-ttyUSB") - with subtest("Print log to ease debugging"): - output_log = hass.succeed("cat ${configDir}/home-assistant.log") - print("\n### home-assistant.log ###\n") - print(output_log + "\n") + with subtest("Check service reloads when configuration changes"): + # store the old pid of the process + pid = hass.succeed("systemctl show --property=MainPID home-assistant.service") + hass.succeed("${system}/specialisation/differentName/bin/switch-to-configuration test") + new_pid = hass.succeed("systemctl show --property=MainPID home-assistant.service") + assert pid == new_pid, "The PID of the process should not change between process reloads" + + with subtest("check service restarts when package changes"): + pid = new_pid + hass.succeed("${system}/specialisation/newFeature/bin/switch-to-configuration test") + new_pid = hass.succeed("systemctl show --property=MainPID home-assistant.service") + assert pid != new_pid, "The PID of the process shoudl change when the HA binary changes" with subtest("Check that no errors were logged"): + output_log = hass.succeed("cat ${configDir}/home-assistant.log") assert "ERROR" not in output_log with subtest("Check systemd unit hardening"): diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index f81d439a3d25b..2571f4e0b4950 100644 --- a/pkgs/applications/editors/eclipse/plugins.nix +++ b/pkgs/applications/editors/eclipse/plugins.nix @@ -185,20 +185,20 @@ rec { anyedittools = buildEclipsePlugin rec { name = "anyedit-${version}"; - version = "2.7.1.201709201439"; + version = "2.7.2.202006062100"; srcFeature = fetchurl { - url = "http://andrei.gmxhome.de/eclipse/features/AnyEditTools_${version}.jar"; - sha256 = "1wqzl7wq85m9gil8rnvly45ps0a2m0svw613pg6djs5i7amhnayh"; + url = "https://github.com/iloveeclipse/plugins/blob/latest/features/AnyEditTools_${version}.jar"; + sha256 = "0dwwwvz8by10f5gnws1ahmg02g6v4xbaqcwc0cydvv1h52cyb40g"; }; srcPlugin = fetchurl { - url = "https://github.com/iloveeclipse/anyedittools/releases/download/2.7.1/de.loskutov.anyedit.AnyEditTools_${version}.jar"; - sha256 = "03iyb6j2srq74iigmg7dk098c2svyv0ygdfql5jqr44a32n07k8q"; + url = "https://github.com/iloveeclipse/plugins/blob/latest/plugins/de.loskutov.anyedit.AnyEditTools_${version}.jar"; + sha256 = "1ip8dk92ka7bczw1bkbs3zkclmwr28ds5q1wrzh525wb70x8v6fi"; }; meta = with lib; { - homepage = "http://andrei.gmxhome.de/anyedit/"; + homepage = "https://github.com/iloveeclipse/plugins"; description = "Adds new tools to the context menu of text-based editors"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.epl10; @@ -231,20 +231,20 @@ rec { bytecode-outline = buildEclipsePlugin rec { name = "bytecode-outline-${version}"; - version = "2.5.0.201711011753-5a57fdf"; + version = "1.0.1.202006062100"; srcFeature = fetchurl { - url = "http://andrei.gmxhome.de/eclipse/features/de.loskutov.BytecodeOutline.feature_${version}.jar"; - sha256 = "0yciqhcq0n5i326mwy57r4ywmkz2c2jky7r4pcmznmhvks3z65ps"; + url = "https://github.com/iloveeclipse/plugins/blob/latest/features/org.eclipse.jdt.bcoview.feature_${version}.jar"; + sha256 = "0zbcph72lgv8cb5n4phcl3qsybc5q5yviwbv8yjv4v12m4l15wpk"; }; srcPlugin = fetchurl { - url = "http://dl.bintray.com/iloveeclipse/plugins/de.loskutov.BytecodeOutline_${version}.jar"; - sha256 = "1vmsqv32jfl7anvdkw0vir342miv5sr9df7vd1w44lf1yf97vxlw"; + url = "https://github.com/iloveeclipse/plugins/blob/latest/plugins/org.eclipse.jdt.bcoview_${version}.jar"; + sha256 = "1bx860k4haqcnhy8825kn4df0pyzd680qbnvjmxfrlxrqhr66fbb"; }; meta = with lib; { - homepage = "http://andrei.gmxhome.de/bytecode/"; + homepage = "https://github.com/iloveeclipse/plugins"; description = "Shows disassembled bytecode of current java editor or class file"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.bsd2; diff --git a/pkgs/applications/editors/ghostwriter/default.nix b/pkgs/applications/editors/ghostwriter/default.nix index b97025d103c85..e4b6393b67e9b 100644 --- a/pkgs/applications/editors/ghostwriter/default.nix +++ b/pkgs/applications/editors/ghostwriter/default.nix @@ -14,13 +14,13 @@ mkDerivation rec { pname = "ghostwriter"; - version = "2.1.3"; + version = "2.1.4"; src = fetchFromGitHub { owner = "wereturtle"; repo = pname; rev = version; - hash = "sha256-U6evyaC7fLFyKzeDNAI3U3/IcCk8DTY8pb3e3xqSfwk="; + hash = "sha256-Vr1w9bAtjQK1ZevFDWQ7xNsUrdv5qrP+JHe1Cuc2CvE="; }; nativeBuildInputs = [ qmake pkg-config qttools ]; diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index abd8419c49ba8..ae65dc33d613e 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1286,8 +1286,8 @@ let mktplcRef = { name = "latex-workshop"; publisher = "James-Yu"; - version = "8.23.0"; - sha256 = "sha256-IHLsAuTi+GBZViL2KozudebNY745RiOYNATzabQfnOY="; + version = "8.27.2"; + sha256 = "sha256-scvT6cjlMrfG4yrhWlUwGM7ozu1E0xAryPRpV7FGCas="; }; meta = with lib; { changelog = "https://marketplace.visualstudio.com/items/James-Yu.latex-workshop/changelog"; @@ -2369,8 +2369,8 @@ let mktplcRef = { name = "vim"; publisher = "vscodevim"; - version = "1.21.5"; - sha256 = "1v1xs1wcigisr6xip31i02cfryxrb157sla34y59pwlnhc5x1gny"; + version = "1.22.2"; + sha256 = "sha256-dtIlgODzRdoMKnG9050ZcCX3w15A/R3FaMc+ZylvBbU="; }; meta = { license = lib.licenses.mit; diff --git a/pkgs/applications/editors/vscode/extensions/python/default.nix b/pkgs/applications/editors/vscode/extensions/python/default.nix index 8d6834dceebf8..6b12320161716 100644 --- a/pkgs/applications/editors/vscode/extensions/python/default.nix +++ b/pkgs/applications/editors/vscode/extensions/python/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, vscode-utils, extractNuGet +{ lib, stdenv, fetchurl, fetchpatch, vscode-utils, extractNuGet , icu, curl, openssl, liburcu, lttng-ust, autoPatchelfHook , python3, musl , pythonUseFixed ? false # When `true`, the python default setting will be fixed to specified. @@ -28,6 +28,17 @@ let url = "https://lttng.org/files/lttng-ust/lttng-ust-${version}.tar.bz2"; sha256 = "0ddwk0nl28bkv2xb78gz16a2bvlpfbjmzwfbgwf5p1cq46dyvy86"; }; + patches = (oldAttrs.patches or []) ++ [ + # Pull upstream fix for -fno-common toolchain. Without it build fails on + # upstream gcc-10 as: + # ld: libustsnprintf.a(libustsnprintf_la-core.o):snprintf/core.c:23: multiple definition of + # `ust_loglevel'; ustctl.o:liblttng-ust-ctl/ustctl.c:80: first defined here + (fetchpatch { + name = "fno-common.patch"; + url = "https://github.com/lttng/lttng-ust/commit/21a934df4c683e73e0a66a9afca33573fcf9d789.patch"; + sha256 = "122lw9rdmr80gmz7814235ibqs47c6pzvg0ryh01805x0cymx74z"; + }) + ]; }); pythonDefaultsTo = if pythonUseFixed then "${python3}/bin/python" else "python"; diff --git a/pkgs/applications/graphics/panotools/default.nix b/pkgs/applications/graphics/panotools/default.nix index 52351fab4ce58..dbc5b973fe9c0 100644 --- a/pkgs/applications/graphics/panotools/default.nix +++ b/pkgs/applications/graphics/panotools/default.nix @@ -1,15 +1,16 @@ -{ fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl }: +{ fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl, cmake }: stdenv.mkDerivation rec { pname = "libpano13"; - version = "2.9.20"; + version = "2.9.21"; src = fetchurl { url = "mirror://sourceforge/panotools/${pname}-${version}.tar.gz"; - sha256 = "12cv4886l1czfjwy7k6ipgf3zjksgwhdjzr2s9fdg33vqcv2hlrv"; + sha256 = "sha256-eeWhRSGZMF4pYUYnIO9ZQRUnecEnxblvw0DSSS5jNZA="; }; buildInputs = [ perl libjpeg libpng libtiff ]; + nativeBuildInputs = [ cmake ]; # one of the tests succeeds on my machine but fails on Hydra (no idea why) #doCheck = true; diff --git a/pkgs/applications/misc/etesync-dav/default.nix b/pkgs/applications/misc/etesync-dav/default.nix index 42d16c3eaf815..1c590451a9b86 100644 --- a/pkgs/applications/misc/etesync-dav/default.nix +++ b/pkgs/applications/misc/etesync-dav/default.nix @@ -46,12 +46,15 @@ in python.pkgs.buildPythonApplication rec { }; propagatedBuildInputs = with python.pkgs; [ + appdirs etebase etesync flask flask-wtf + msgpack (python.pkgs.toPythonModule (radicale3.override { python3 = python; })) - ]; + requests + ] ++ requests.optional-dependencies.socks; doCheck = false; diff --git a/pkgs/applications/misc/gmtp/default.nix b/pkgs/applications/misc/gmtp/default.nix index 9aeed0a7f5780..953aad85ae863 100644 --- a/pkgs/applications/misc/gmtp/default.nix +++ b/pkgs/applications/misc/gmtp/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation { # ld: gmtp-preferences.o:src/main.h:72: multiple definition of # `scrolledwindowMain'; gmtp-about.o:src/main.h:72: first defined here # TODO: can be removed when 1.4.0 is released. - #NIX_CFLAGS_COMPILE = "-fcommon"; + NIX_CFLAGS_COMPILE = "-fcommon"; preFixup = '' gappsWrapperArgs+=(--add-flags "--datapath $out/share"); diff --git a/pkgs/applications/misc/gpxsee/default.nix b/pkgs/applications/misc/gpxsee/default.nix index fa85ad367ec26..7ce85dc6f7678 100644 --- a/pkgs/applications/misc/gpxsee/default.nix +++ b/pkgs/applications/misc/gpxsee/default.nix @@ -1,14 +1,14 @@ -{ lib, stdenv, fetchFromGitHub, qmake, qttools, qttranslations, qtlocation, wrapQtAppsHook, substituteAll }: +{ lib, stdenv, fetchFromGitHub, qmake, qttools, qttranslations, qtlocation, qtpbfimageplugin, wrapQtAppsHook, substituteAll }: stdenv.mkDerivation rec { pname = "gpxsee"; - version = "11.0"; + version = "11.1"; src = fetchFromGitHub { owner = "tumic0"; repo = "GPXSee"; rev = version; - sha256 = "sha256-UT3Q7pirEXvwQmqHHiSivX/VNZPVLwRJ/aiP7wpkhqQ="; + sha256 = "sha256-0n1XPrJ+gssIP/7k9CI8AWXs9ddKOg3Lo3DfrXGUl84="; }; patches = (substituteAll { @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { inherit qttranslations; }); - buildInputs = [ qtlocation ]; + buildInputs = [ qtlocation qtpbfimageplugin ]; nativeBuildInputs = [ qmake qttools wrapQtAppsHook ]; diff --git a/pkgs/applications/misc/pastel/default.nix b/pkgs/applications/misc/pastel/default.nix index b894195cfa603..5e0f5fc9e0114 100644 --- a/pkgs/applications/misc/pastel/default.nix +++ b/pkgs/applications/misc/pastel/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "pastel"; - version = "0.8.1"; + version = "0.9.0"; src = fetchFromGitHub { owner = "sharkdp"; repo = pname; rev = "v${version}"; - sha256 = "12n1a9j61r4spx0zi2kk85nslv11j1s510asxqvj92ggqhr2s3sq"; + sha256 = "sha256-uK4HWC+uGiey+K0p8+Wi+Pi+U7b4k09b8iKF9BmTPcc="; }; - cargoSha256 = "12zachbg78ajx1n1mqp53rd00dzcss5cqhsq0119lalzc8b5zkrn"; + cargoSha256 = "sha256-5paHSrqU8tItD/CAbauj6KcW/mKsveOAfXjD/NUuFAc="; buildInputs = lib.optional stdenv.isDarwin Security; diff --git a/pkgs/applications/misc/rofi-rbw/default.nix b/pkgs/applications/misc/rofi-rbw/default.nix index 6a631d5a95087..561bf1f166cf8 100644 --- a/pkgs/applications/misc/rofi-rbw/default.nix +++ b/pkgs/applications/misc/rofi-rbw/default.nix @@ -2,14 +2,14 @@ buildPythonApplication rec { pname = "rofi-rbw"; - version = "0.5.0"; + version = "1.0.0"; format = "pyproject"; src = fetchFromGitHub { owner = "fdw"; repo = "rofi-rbw"; - rev = version; - hash = "sha256-1RDwb8lKls6+X/XtARbi4F7sK4nT03Iy3Wb9N1LEa5o="; + rev = "refs/tags/${version}"; + hash = "sha256-BL7aLHKhLAGAT5+NXqzAW2g17XB1PjgRgJuxLh8fFk8="; }; propagatedBuildInputs = [ configargparse ]; diff --git a/pkgs/applications/networking/brig/default.nix b/pkgs/applications/networking/brig/default.nix index 20b685a162fef..d049ed4e3893a 100644 --- a/pkgs/applications/networking/brig/default.nix +++ b/pkgs/applications/networking/brig/default.nix @@ -1,25 +1,57 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +, installShellFiles +}: -buildGoPackage rec { +buildGoModule rec { pname = "brig"; version = "0.4.1"; - rev = "v${version}"; - - goPackagePath = "github.com/sahib/brig"; - subPackages = ["."]; src = fetchFromGitHub { owner = "sahib"; repo = "brig"; - inherit rev; + rev = "v${version}"; sha256 = "0gi39jmnzqrgj146yw8lcmgmvzx7ii1dgw4iqig7kx8c0jiqi600"; }; + vendorSha256 = null; + + nativeBuildInputs = [ installShellFiles ]; + + subPackages = [ "." ]; + + ldflags = [ "-s" "-w" ] ++ (with lib; + mapAttrsToList (n: v: "-X github.com/sahib/brig/version.${n}=${v}") + (with versions; { + Major = major version; + Minor = minor version; + Patch = patch version; + ReleaseType = ""; + BuildTime = "1970-01-01T00:00:00+0000"; + GitRev = src.rev; + })); + + postInstall = '' + installShellCompletion --cmd brig \ + --bash $src/autocomplete/bash_autocomplete \ + --zsh $src/autocomplete/zsh_autocomplete + ''; + + # There are no tests for the brig executable. + doCheck = false; + meta = with lib; { - description = "File synchronization on top of ipfs with git like interface and FUSE filesystem"; - homepage = "https://github.com/sahib/brig"; + description = "File synchronization on top of IPFS with a git-like interface and a FUSE filesystem"; + longDescription = '' + brig is a distributed and secure file synchronization tool with a version + control system. It is based on IPFS, written in Go and will feel familiar + to git users. Think of it as a swiss army knife for file synchronization + or as a peer to peer alternative to Dropbox. + ''; + homepage = "https://brig.readthedocs.io"; + changelog = "https://github.com/sahib/brig/releases/tag/${src.rev}"; license = licenses.agpl3; - platforms = platforms.unix; maintainers = with maintainers; [ offline ]; }; } diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.json b/pkgs/applications/networking/browsers/chromium/upstream-info.json index 57a3051b98ed3..0516b1d65bd39 100644 --- a/pkgs/applications/networking/browsers/chromium/upstream-info.json +++ b/pkgs/applications/networking/browsers/chromium/upstream-info.json @@ -1,21 +1,21 @@ { "stable": { - "version": "102.0.5005.115", - "sha256": "1rj7vy824vn513hiivc90lnxvxyi2s0qkdmfqsdssv9v6zjl079h", - "sha256bin64": "0b32sscbjnvr98lk962i9k2srckv2s7fp9pifmsv5jlwndjhzm7y", + "version": "103.0.5060.53", + "sha256": "00di0nw6h3kb0qp2wp3ny3zsar1ayn1lyx5zr28dl1h5cwaaxjqf", + "sha256bin64": "19wxd4jl6fyjpcpy2331ckz6dgzrfj52wvdkp0kb18n0sym17fyn", "deps": { "gn": { - "version": "2022-04-14", + "version": "2022-05-11", "url": "https://gn.googlesource.com/gn", - "rev": "fd9f2036f26d83f9fcfe93042fb952e5a7fe2167", - "sha256": "0b5xs0chcv3hfhy71rycsmgxnqbm375a333hwav8929k9cbi5p9h" + "rev": "578a7fe4c3c6b0bc2ae1fd2e37f14857d09895bf", + "sha256": "03dqfrdpf5xxl64dby3qmbwpzdq2gsa8g7xl438py3a629rgxg63" } }, "chromedriver": { - "version": "102.0.5005.61", - "sha256_linux": "0fzmvggb4jkjx8cdanarlqqava8xdf3z5wrx560x7772pgd7q02b", - "sha256_darwin": "1y6wq5waivrc5svlwj1svcsh0w72lp68kid52q4qwi044d0l25jg", - "sha256_darwin_aarch64": "03xvmix3hkzlvsv1k5yai2hvsvv60in59n3wdwxkb79fdnkpr3i3" + "version": "103.0.5060.24", + "sha256_linux": "0snsv9n9db314adrr7hhcf49mgrkak6bvq84q9l5yvpl8ihvd0xr", + "sha256_darwin": "1rdai2vvnj7156lbbg0zambcz638hq7a3i9npbmlsl826l61m8wm", + "sha256_darwin_aarch64": "15f5q9fdqa63mb9yjm4dql69fh6w85f0xj428sv4grfhrn8w0bh3" } }, "beta": { diff --git a/pkgs/applications/networking/cluster/ocm/default.nix b/pkgs/applications/networking/cluster/ocm/default.nix index 73a5d964f34bb..a63979d5a8bd0 100644 --- a/pkgs/applications/networking/cluster/ocm/default.nix +++ b/pkgs/applications/networking/cluster/ocm/default.nix @@ -1,23 +1,29 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, ocm }: +{ lib, buildGoModule, fetchFromGitHub, stdenv, testers, ocm }: buildGoModule rec { pname = "ocm"; - version = "0.1.62"; + version = "0.1.63"; src = fetchFromGitHub { owner = "openshift-online"; repo = "ocm-cli"; rev = "v${version}"; - sha256 = "0kv0zcx6wdlyid37ygzg05xyyk77ybd2qcdgbswjv6crcjh1xdrd"; + sha256 = "sha256-wBKW2WS1+JmWOFCArmrlVfUTEqFYF7aq1OBrUo7e4ac="; }; - vendorSha256 = "sha256-nXUrbF9mcHy8G7c+ktQixBmmf6x066gpuaZ0eUsJQwc="; + vendorSha256 = "sha256-LyQ/F+E0y1gQtpGSyPEB2z2ImorA7mjY3QjrRORakIo="; + + # Strip the final binary. + ldflags = [ "-s" "-w" ]; # Tests expect the binary to be located in the root directory. preCheck = '' ln -s $GOPATH/bin/ocm ocm ''; + # Tests fail in Darwin sandbox. + doCheck = !stdenv.isDarwin; + passthru.tests.version = testers.testVersion { package = ocm; command = "ocm version"; diff --git a/pkgs/applications/networking/cluster/roxctl/default.nix b/pkgs/applications/networking/cluster/roxctl/default.nix index 9014ce5202572..bbd3d646fdfab 100644 --- a/pkgs/applications/networking/cluster/roxctl/default.nix +++ b/pkgs/applications/networking/cluster/roxctl/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "roxctl"; - version = "3.70.0"; + version = "3.70.1"; src = fetchFromGitHub { owner = "stackrox"; repo = "stackrox"; rev = version; - sha256 = "sha256-VnnMD2tRixCswO/9nrP3PgXmev6O8QUTbkwmFIpPUyE="; + sha256 = "sha256-T06VldyPBIpYWs8+N4OWmaCwXCcb37F7lLD4jHcm1uc="; }; vendorSha256 = "sha256-xh2bgLSWjQHOjHrgDpQri78LvCL4CDbMteQYARyGLgg="; diff --git a/pkgs/applications/networking/cluster/tanka/default.nix b/pkgs/applications/networking/cluster/tanka/default.nix index 0c9776f9f7920..c9a5d7c60cee7 100644 --- a/pkgs/applications/networking/cluster/tanka/default.nix +++ b/pkgs/applications/networking/cluster/tanka/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "tanka"; - version = "0.20.0"; + version = "0.22.1"; src = fetchFromGitHub { owner = "grafana"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Wtfn9ffUNKuwByRbeCYq27xvr2DuzxSSQMH9Sv5a7rU="; + sha256 = "sha256-MMQv3/Ft6/FUueGEXGqYWAYy4zc2R6LASbh2x7eJNdQ="; }; - vendorSha256 = "sha256-ed6rC+wrZHDViGfJrSBl5VUqX/o6RKytXbTKqxb3ZtU="; + vendorSha256 = "sha256-QwtcWzJbusa8BxtG5xmGUgqG0qCMSpkzbmes/x3lnWc="; doCheck = false; diff --git a/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix b/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix index 6f53fe2b3a3b2..ba806409e05c6 100644 --- a/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix @@ -14,17 +14,17 @@ let pname = "mattermost-desktop"; - version = "5.0.3"; + version = "5.1.0"; srcs = { "x86_64-linux" = { url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-x64.tar.gz"; - hash = "sha256-KLSWJpNSMGmfugbkFIJLDnxcZtrtBZOGjLlR+kAoMTA="; + hash = "sha256-KmtQUqg2ODbZ6zJjsnwlvB+vhR1xbK2X9qqmZpyTR78="; }; "i686-linux" = { url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-ia32.tar.gz"; - hash = "sha256-4ofjOsfGbgO1PSqQpigNp90JsvlGP1kGexVAR/h3/88="; + hash = "sha256-X8Zrthw1hZOqmcYidt72l2vonh31iiA3EDGmCQr7e4c="; }; }; diff --git a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix index bca45576db713..e0eff91f983bd 100644 --- a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix +++ b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "signal-cli"; - version = "0.10.2"; + version = "0.10.8"; # Building from source would be preferred, but is much more involved. src = fetchurl { - url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}.tar.gz"; - sha256 = "sha256-etCO7sy48A7aL3mnXWitClNiw/E122G4eD6YfVmXEPw="; + url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}-Linux.tar.gz"; + sha256 = "sha256-vZBFYPim/qBC8hJHvp5gK6P2JxIs9rzR/hIMjW3kNM8="; }; buildInputs = lib.optionals stdenv.isLinux [ libmatthew_java dbus dbus_java ]; diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix index f871b610a41ae..0ee0bef5e233e 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix @@ -71,7 +71,7 @@ let in env.mkDerivation rec { pname = "telegram-desktop"; - version = "3.7.3"; + version = "4.0.0"; # Note: Update via pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py # Telegram-Desktop with submodules @@ -80,7 +80,7 @@ env.mkDerivation rec { repo = "tdesktop"; rev = "v${version}"; fetchSubmodules = true; - sha256 = "01b3nrhfbxhq4w63nsjnrhyfsdq3fm4l7sfkasbh8ib4qk3c9vwz"; + sha256 = "16j5rvlqr2bb1dkc7cc920ylhw3sp4qnqvm1aznnnjzcimqb8xf0"; }; postPatch = '' diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix index bb07989531468..9d50168323d50 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation { pname = "tg_owt"; - version = "unstable-2022-04-14"; + version = "unstable-2022-05-08"; src = fetchFromGitHub { owner = "desktop-app"; repo = "tg_owt"; - rev = "63a934db1ed212ebf8aaaa20f0010dd7b0d7b396"; - sha256 = "sha256-WddSsQ9KW1zYyYckzdUOvfFZArYAbyvXmABQNMtK6cM="; + rev = "10d5f4bf77333ef6b43516f90d2ce13273255f41"; + sha256 = "02sky7sx73rj8xm1f70vy94zxaab6qiif742fv0vi4y6pfqrngn7"; fetchSubmodules = true; }; diff --git a/pkgs/applications/networking/ipfs-cluster/default.nix b/pkgs/applications/networking/ipfs-cluster/default.nix index 85ad97f41b0bc..459610feea745 100644 --- a/pkgs/applications/networking/ipfs-cluster/default.nix +++ b/pkgs/applications/networking/ipfs-cluster/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "ipfs-cluster"; - version = "1.0.0"; + version = "1.0.1"; - vendorSha256 = "sha256-b0k1V1+JikGemSQjyiKcH7cgyDEt0Nn5aVUf6nnE+/0="; + vendorSha256 = "sha256-V+fqyrol+hXjjaCBlAs6f7FeqBqa2jTmMO2bvb6HfgY="; src = fetchFromGitHub { owner = "ipfs"; repo = "ipfs-cluster"; rev = "v${version}"; - sha256 = "sha256-vwu+Fj7PegbK9pmnsNuEl/AQz2gejRiFAAAov5+VNMQ="; + sha256 = "sha256-dwV5fx52QS2QiBUV8gkJ47tBqT54tEOfSpdXF6hmeLQ="; }; meta = with lib; { diff --git a/pkgs/applications/networking/onionshare/default.nix b/pkgs/applications/networking/onionshare/default.nix index e7b661ae6ae74..8452d3c26f651 100644 --- a/pkgs/applications/networking/onionshare/default.nix +++ b/pkgs/applications/networking/onionshare/default.nix @@ -14,6 +14,7 @@ , pycrypto , pynacl , pyside2 +, pysocks , pytestCheckHook , qrcode , qt5 @@ -132,6 +133,7 @@ rec { pyside2 psutil qrcode + pysocks ]; nativeBuildInputs = [ qt5.wrapQtAppsHook ]; diff --git a/pkgs/applications/networking/warp/default.nix b/pkgs/applications/networking/warp/default.nix index 3d9f8a0880ba5..7fe54b785206c 100644 --- a/pkgs/applications/networking/warp/default.nix +++ b/pkgs/applications/networking/warp/default.nix @@ -17,14 +17,14 @@ stdenv.mkDerivation rec { pname = "warp"; - version = "0.1.2"; + version = "0.2.0"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = "warp"; rev = "v${version}"; - hash = "sha256-6KWTjfrJr0QkiYHkwy4IKrzQuVUMHc1yILM7ixHBHSQ="; + hash = "sha256-AtSU/vN20ePyxhSSl0RB2a4KKpd6PTUCC4n5RIuYVr4="; }; postPatch = '' @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-Xy/tn5iUqwlmztmTmqUbISAk1xu9vkbMk4CvK4j2ttM="; + hash = "sha256-DbKoZLB8XIZy5bIOC6blrNa3x4oCVG0Bl9xp6ARgw0c="; }; nativeBuildInputs = [ diff --git a/pkgs/applications/science/logic/verit/default.nix b/pkgs/applications/science/logic/verit/default.nix index 8c9bb7f2005af..6c0d1061dcab9 100644 --- a/pkgs/applications/science/logic/verit/default.nix +++ b/pkgs/applications/science/logic/verit/default.nix @@ -22,7 +22,6 @@ stdenv.mkDerivation { ''; meta = with lib; { - broken = stdenv.isDarwin; description = "An open, trustable and efficient SMT-solver"; homepage = "https://verit.loria.fr/"; license = licenses.bsd3; diff --git a/pkgs/applications/science/misc/snakemake/default.nix b/pkgs/applications/science/misc/snakemake/default.nix index ac44ce6e21359..75ecc1be99ea4 100644 --- a/pkgs/applications/science/misc/snakemake/default.nix +++ b/pkgs/applications/science/misc/snakemake/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "snakemake"; - version = "7.8.2"; + version = "7.8.3"; format = "setuptools"; src = fetchFromGitHub { owner = "snakemake"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-ZJg7yJS4uODnXwyuwE0uY5CNg1CYyGqSIFYPntAlU5k="; + hash = "sha256-fYrsum056PCRRp4P5xO6yLfog3WrE/JR1ID7+iV85fc="; }; propagatedBuildInputs = with python3.pkgs; [ diff --git a/pkgs/applications/version-management/git-and-tools/gh/default.nix b/pkgs/applications/version-management/git-and-tools/gh/default.nix index 9d794eccac268..37ceaaff514c2 100644 --- a/pkgs/applications/version-management/git-and-tools/gh/default.nix +++ b/pkgs/applications/version-management/git-and-tools/gh/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "gh"; - version = "2.12.1"; + version = "2.13.0"; src = fetchFromGitHub { owner = "cli"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-zKEHrnMTz+gPU1A9tjqUO5FLD1zQcnbU7pwVQnYI6uA="; + sha256 = "sha256-9FWmEujTUWexyqNQVagU/U9AyOZJdWL5y4Q0ZHRBxcc="; }; - vendorSha256 = "sha256-sHRahwavPgowKE0EtDU4UNxIJU22edqlY0nOKkaQLPg="; + vendorSha256 = "sha256-a/+Dj66zT/W8rxvvXnJSdoyYhajMY1T3kEbrpC24tMU="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/applications/version-management/git-and-tools/git-machete/default.nix b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix index 265e9b48181ba..1e2af3023c2fc 100644 --- a/pkgs/applications/version-management/git-and-tools/git-machete/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix @@ -12,13 +12,13 @@ buildPythonApplication rec { pname = "git-machete"; - version = "3.10.1"; + version = "3.11.1"; src = fetchFromGitHub { owner = "virtuslab"; repo = pname; rev = "v${version}"; - sha256 = "sha256-ofadxKWhfeC2Sx1IJKXOTmukK5m1TOU5244e4kEGM90="; + sha256 = "sha256-BhR1dE6+K7UKaCbLmWPtLMyq0oIj/xYenXp5s7kRINc="; }; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/applications/video/jellyfin-mpv-shim/default.nix b/pkgs/applications/video/jellyfin-mpv-shim/default.nix index 9642556ad1320..da75adab7b51c 100644 --- a/pkgs/applications/video/jellyfin-mpv-shim/default.nix +++ b/pkgs/applications/video/jellyfin-mpv-shim/default.nix @@ -13,11 +13,11 @@ buildPythonApplication rec { pname = "jellyfin-mpv-shim"; - version = "2.1.0"; + version = "2.2.0"; src = fetchPypi { inherit pname version; - sha256 = "Nh2bSmzxInZgZmmelsXih6lRartDKjbC0/CB1gYiLcQ="; + sha256 = "sha256-JiSC6WjrLsWk3/m/EHq7KNXaJ6rqT2fG9TT1jPvYlK0="; }; propagatedBuildInputs = [ diff --git a/pkgs/applications/virtualization/crun/default.nix b/pkgs/applications/virtualization/crun/default.nix index 2d35b1c4a039a..1a49d76888657 100644 --- a/pkgs/applications/virtualization/crun/default.nix +++ b/pkgs/applications/virtualization/crun/default.nix @@ -11,6 +11,7 @@ , yajl , nixosTests , criu +, fetchpatch }: let @@ -48,6 +49,15 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; + patches = [ + # Should dropped in next release after 1.4.5 + (fetchpatch { + name = "usrbin-paths.patch"; + url = "https://github.com/containers/crun/commit/dd29f7f7f713c49784ac30f7cdca33b2ef94d5b8.patch"; + sha256 = "sha256-kHHix8CUL+c8HbOe5qx4PeF1P19113U4bRZyleMUjqk="; + }) + ]; + nativeBuildInputs = [ autoreconfHook go-md2man pkg-config python3 ]; buildInputs = [ libcap libseccomp systemd yajl ] diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix index 9b9a21a1469c0..f0535f59dfcc0 100644 --- a/pkgs/build-support/docker/examples.nix +++ b/pkgs/build-support/docker/examples.nix @@ -9,6 +9,16 @@ { pkgs, buildImage, buildLayeredImage, fakeNss, pullImage, shadowSetup, buildImageWithNixDb, pkgsCross }: +let + nixosLib = import ../../../nixos/lib { + # Experimental features need testing too, but there's no point in warning + # about it, so we enable the feature flag. + featureFlags.minimalModules = {}; + }; + evalMinimalConfig = module: nixosLib.evalModules { modules = [ module ]; }; + +in + rec { # 1. basic example bash = buildImage { @@ -582,6 +592,37 @@ rec { includeStorePaths = false; }; + etc = + let + inherit (pkgs) lib; + nixosCore = (evalMinimalConfig ({ config, ... }: { + imports = [ + pkgs.pkgsModule + ../../../nixos/modules/system/etc/etc.nix + ]; + environment.etc."some-config-file" = { + text = '' + 127.0.0.1 localhost + ::1 localhost + ''; + # For executables: + # mode = "0755"; + }; + })); + in pkgs.dockerTools.streamLayeredImage { + name = "etc"; + tag = "latest"; + enableFakechroot = true; + fakeRootCommands = '' + mkdir -p /etc + ${nixosCore.config.system.build.etcActivationCommands} + ''; + config.Cmd = pkgs.writeScript "etc-cmd" '' + #!${pkgs.busybox}/bin/sh + ${pkgs.busybox}/bin/cat /etc/some-config-file + ''; + }; + # Example export of the bash image exportBash = pkgs.dockerTools.exportImage { fromImage = bash; }; diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix index 2ae1714e4af02..84f2278db2996 100644 --- a/pkgs/build-support/fetchgit/default.nix +++ b/pkgs/build-support/fetchgit/default.nix @@ -28,6 +28,7 @@ in # needed for netrcPhase netrcImpureEnvVars ? [] , meta ? {} +, allowedRequisites ? null }: /* NOTE: @@ -91,7 +92,8 @@ stdenvNoCC.mkDerivation { "GIT_PROXY_COMMAND" "NIX_GIT_SSL_CAINFO" "SOCKS_SERVER" ]; - inherit preferLocalBuild meta; + + inherit preferLocalBuild meta allowedRequisites; passthru = { gitRepoUrl = url; diff --git a/pkgs/data/icons/papirus-icon-theme/default.nix b/pkgs/data/icons/papirus-icon-theme/default.nix index 9b0a2537f6311..6c764912f4096 100644 --- a/pkgs/data/icons/papirus-icon-theme/default.nix +++ b/pkgs/data/icons/papirus-icon-theme/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "papirus-icon-theme"; - version = "20220302"; + version = "20220606"; src = fetchFromGitHub { owner = "PapirusDevelopmentTeam"; repo = pname; rev = version; - sha256 = "sha256-X92an2jGRgZ/Q3cr6Q729DA2hs/2y34HoRpB1rxk0hI="; + sha256 = "sha256-HJb77ArzwMX9ZYTp0Ffxxtst1/xhPAa+eEP5n950DSs="; }; nativeBuildInputs = [ gtk3 ]; diff --git a/pkgs/desktops/gnome/games/aisleriot/default.nix b/pkgs/desktops/gnome/games/aisleriot/default.nix index efbb9451d7c2d..d06761e66c5ee 100644 --- a/pkgs/desktops/gnome/games/aisleriot/default.nix +++ b/pkgs/desktops/gnome/games/aisleriot/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { owner = "GNOME"; repo = pname; rev = version; - sha256 = "sha256-3pZYmYCqPULFP5Vi4anY4bnx6QMPstAOKgM1a5Kw/cc="; + sha256 = "sha256-G3JSqrHc2ca32RZOO6gFY8iVlEFX+kukZDcTb8O5UHk="; }; nativeBuildInputs = [ diff --git a/pkgs/development/compilers/vyper/default.nix b/pkgs/development/compilers/vyper/default.nix index ee24cc646e492..00d39d6f93e6a 100644 --- a/pkgs/development/compilers/vyper/default.nix +++ b/pkgs/development/compilers/vyper/default.nix @@ -69,5 +69,8 @@ buildPythonPackage rec { homepage = "https://github.com/vyperlang/vyper"; license = licenses.asl20; maintainers = with maintainers; [ siraben ]; + knownVulnerabilities = [ + "CVE-2022-29255" + ]; }; } diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix index 50a0389f1c163..49cba2ca62144 100644 --- a/pkgs/development/interpreters/clojure/default.nix +++ b/pkgs/development/interpreters/clojure/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "clojure"; - version = "1.11.1.1145"; + version = "1.11.1.1149"; src = fetchurl { # https://clojure.org/releases/tools url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz"; - sha256 = "sha256-+UIJo+4NUW3EIzXLE8kl30JeRjFJ9pJXITvSFTz4FSQ="; + sha256 = "sha256-IIhonPSwpADNAuv9DQIKrdsJcGAlX+6uHe+jvA6i3KQ="; }; nativeBuildInputs = [ diff --git a/pkgs/development/interpreters/dhall/build-dhall-url.nix b/pkgs/development/interpreters/dhall/build-dhall-url.nix index 9dcd885d25c3a..6d7103f78e6fa 100644 --- a/pkgs/development/interpreters/dhall/build-dhall-url.nix +++ b/pkgs/development/interpreters/dhall/build-dhall-url.nix @@ -59,6 +59,7 @@ let outputHash = hash; name = baseNameOf url; nativeBuildInputs = [ cacert ]; + impureEnvVars = lib.fetchers.proxyImpureEnvVars; } '' echo "${url} ${dhallHash}" > in-dhall-file @@ -76,7 +77,7 @@ let sourceFile = "source.dhall"; in - runCommand name { impureEnvVars = lib.fetchers.proxyImpureEnvVars; } + runCommand name { } ('' set -eu diff --git a/pkgs/development/libraries/duckdb/default.nix b/pkgs/development/libraries/duckdb/default.nix index b128ed7094529..059c79bfcbb53 100644 --- a/pkgs/development/libraries/duckdb/default.nix +++ b/pkgs/development/libraries/duckdb/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , cmake , ninja , openssl @@ -16,16 +17,24 @@ let in stdenv.mkDerivation rec { pname = "duckdb"; - version = "0.3.4"; + version = "0.4.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-2PBc5qe2md87u2nvMTx/XZVzLsr8QrvUkw46/6VTlGs="; + sha256 = "sha256-pQ/t26dv9ZWLl0MHcAn0sgxryW2T2hM8XyOkXyfC5CY="; }; - patches = [ ./version.patch ]; + patches = [ + ./version.patch + (fetchpatch { + name = "fix-tpce-test.patch"; + url = "https://github.com/duckdb/duckdb/commit/82e13a4bb9f0683af6c52468af2fb903cce4286d.patch"; + sha256 = "sha256-m0Bs0DOJQtkadbKZKk88NHyBFJkjxXUsiWYciuRIJLU="; + }) + ]; + postPatch = '' substituteInPlace CMakeLists.txt --subst-var-by DUCKDB_VERSION "v${version}" ''; @@ -62,6 +71,7 @@ stdenv.mkDerivation rec { "test/common/test_cast_hugeint.test" "test/sql/copy/csv/test_csv_remote.test" "test/sql/copy/parquet/test_parquet_remote.test" + "test/sql/copy/parquet/test_parquet_remote_foreign_files.test" ] ++ lib.optionals stdenv.isAarch64 [ "test/sql/aggregate/aggregates/test_kurtosis.test" "test/sql/aggregate/aggregates/test_skewness.test" diff --git a/pkgs/development/libraries/ffmpeg-full/default.nix b/pkgs/development/libraries/ffmpeg-full/default.nix index 9d9a1a126cb21..0270855ae53d6 100644 --- a/pkgs/development/libraries/ffmpeg-full/default.nix +++ b/pkgs/development/libraries/ffmpeg-full/default.nix @@ -101,9 +101,12 @@ , libXext ? null # Xlib support , libxml2 ? null # libxml2 support, for IMF and DASH demuxers , xz ? null # xz-utils -, nvenc ? !stdenv.isDarwin && !stdenv.isAarch64, nv-codec-headers ? null # NVIDIA NVENC support +, nv-codec-headers ? null +, nvdec ? !stdenv.isDarwin && !stdenv.isAarch64 # NVIDIA NVDEC support +, nvenc ? !stdenv.isDarwin && !stdenv.isAarch64 # NVIDIA NVENC support , openal ? null # OpenAL 1.1 capture support -#, opencl ? null # OpenCL code +, ocl-icd ? null # OpenCL ICD +, opencl-headers ? null # OpenCL headers , opencore-amr ? null # AMR-NB de/encoder & AMR-WB decoder #, opencv ? null # Video filtering , openglExtlib ? false, libGL ? null, libGLU ? null # OpenGL rendering @@ -164,7 +167,7 @@ * * Not packaged: * aacplus avisynth cdio-paranoia crystalhd libavc1394 libiec61883 - * libnut libquvi nvenc opencl oss shine twolame + * libnut libquvi nvenc oss shine twolame * utvideo vo-aacenc vo-amrwbenc xvmc zvbi blackmagic-design-desktop-video * * Need fixes to support Darwin: @@ -375,9 +378,11 @@ stdenv.mkDerivation rec { (enableFeature libxcbshapeExtlib "libxcb-shape") (enableFeature (libxml2 != null) "libxml2") (enableFeature (xz != null) "lzma") + (enableFeature nvdec "cuvid") + (enableFeature nvdec "nvdec") (enableFeature nvenc "nvenc") (enableFeature (openal != null) "openal") - #(enableFeature opencl "opencl") + (enableFeature (ocl-icd != null && opencl-headers != null) "opencl") (enableFeature (opencore-amr != null && version3Licensing) "libopencore-amrnb") #(enableFeature (opencv != null) "libopencv") (enableFeature openglExtlib "opengl") @@ -431,7 +436,7 @@ stdenv.mkDerivation rec { bzip2 celt dav1d fontconfig freetype frei0r fribidi game-music-emu gnutls gsm libjack2 ladspaH lame libaom libass libbluray libbs2b libcaca libdc1394 libmodplug libmysofa libogg libopus librsvg libssh libtheora libvdpau libvorbis libvpx libwebp libX11 - libxcb libXv libXext libxml2 xz openal openjpeg libpulseaudio rav1e svt-av1 rtmpdump opencore-amr + libxcb libXv libXext libxml2 xz openal ocl-icd opencl-headers openjpeg libpulseaudio rav1e svt-av1 rtmpdump opencore-amr samba SDL2 soxr speex srt vid-stab vo-amrwbenc x264 x265 xavs xvidcore zeromq4 zimg zlib openh264 ] ++ optionals openglExtlib [ libGL libGLU ] @@ -441,7 +446,7 @@ stdenv.mkDerivation rec { ++ optional (!isAarch64 && libvmaf != null && version3Licensing) libvmaf ++ optionals isLinux [ alsa-lib libraw1394 libv4l vulkan-loader glslang ] ++ optional (isLinux && !isAarch64 && libmfx != null) libmfx - ++ optional nvenc nv-codec-headers + ++ optional (nvdec || nvenc) nv-codec-headers ++ optionals stdenv.isDarwin [ Cocoa CoreServices CoreAudio AVFoundation MediaToolbox VideoDecodeAcceleration libiconv ]; diff --git a/pkgs/development/ocaml-modules/lablgtk/default.nix b/pkgs/development/ocaml-modules/lablgtk/default.nix index f82548b18838e..17f32ef3edebc 100644 --- a/pkgs/development/ocaml-modules/lablgtk/default.nix +++ b/pkgs/development/ocaml-modules/lablgtk/default.nix @@ -10,18 +10,24 @@ let param = rev = version; sha256 = "sha256:0asib87c42apwf1ln8541x6i3mvyajqbarifvz11in0mqn5k7g7h"; }; + NIX_CFLAGS_COMPILE = null; } else if check "3.12" then { version = "2.18.5"; src = fetchurl { url = "https://forge.ocamlcore.org/frs/download.php/1627/lablgtk-2.18.5.tar.gz"; sha256 = "0cyj6sfdvzx8hw7553lhgwc0krlgvlza0ph3dk9gsxy047dm3wib"; }; + # Workaround build failure on -fno-common toolchains like upstream + # gcc-10. Otherwise build fails as: + # ld: ml_gtktree.o:(.bss+0x0): multiple definition of + # `ml_table_extension_events'; ml_gdkpixbuf.o:(.bss+0x0): first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; } else throw "lablgtk is not available for OCaml ${ocaml.version}"; in stdenv.mkDerivation { pname = "lablgtk"; - inherit (param) version src; + inherit (param) version src NIX_CFLAGS_COMPILE; nativeBuildInputs = [ pkg-config ocaml findlib ]; buildInputs = [ gtk2 libgnomecanvas gtksourceview ]; diff --git a/pkgs/development/perl-modules/WWW-YoutubeViewer/default.nix b/pkgs/development/perl-modules/WWW-YoutubeViewer/default.nix index 17ec8ab48b59c..6ab6233fc7006 100644 --- a/pkgs/development/perl-modules/WWW-YoutubeViewer/default.nix +++ b/pkgs/development/perl-modules/WWW-YoutubeViewer/default.nix @@ -25,7 +25,8 @@ buildPerlPackage rec { meta = with lib; { description = "A lightweight application for searching and streaming videos from YouTube"; homepage = "https://github.com/trizen/youtube-viewer"; - maintainers = with maintainers; [ woffs ]; license = with licenses; [ artistic2 ]; + maintainers = with maintainers; [ woffs ]; + mainProgram = "youtube-viewer"; }; } diff --git a/pkgs/development/perl-modules/ham/default.nix b/pkgs/development/perl-modules/ham/default.nix index 8b19c9404fe05..2fc4b3c3b4305 100644 --- a/pkgs/development/perl-modules/ham/default.nix +++ b/pkgs/development/perl-modules/ham/default.nix @@ -37,6 +37,7 @@ buildPerlPackage { homepage = "https://github.com/kernkonzept/ham"; license = "unknown"; # should be gpl2, but not quite sure maintainers = with lib.maintainers; [ aw ]; + mainProgram = "ham"; platforms = lib.platforms.unix; }; } diff --git a/pkgs/development/python-modules/aesara/default.nix b/pkgs/development/python-modules/aesara/default.nix index 7f7007ff0e939..efa9715a0f005 100644 --- a/pkgs/development/python-modules/aesara/default.nix +++ b/pkgs/development/python-modules/aesara/default.nix @@ -6,6 +6,8 @@ , etuples , fetchFromGitHub , filelock +, jax +, jaxlib , logical-unification , minikanren , numba @@ -19,7 +21,7 @@ buildPythonPackage rec { pname = "aesara"; - version = "2.7.2"; + version = "2.7.3"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -28,7 +30,7 @@ buildPythonPackage rec { owner = "aesara-devs"; repo = "aesara"; rev = "refs/tags/rel-${version}"; - hash = "sha256-NJxklOpIbSbi/SB/rafBNllpnNb1yWLVpyB2f/U0i78="; + hash = "sha256-LeZEWKSfVmU7k7qMjniUjwoDJ5xJUHoYux7Qy5/w4Cg="; }; nativeBuildInputs = [ @@ -47,6 +49,8 @@ buildPythonPackage rec { ]; checkInputs = [ + jax + jaxlib numba numba-scipy pytestCheckHook diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index d8111e13d6fae..118e82fae1a0b 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -24,11 +24,11 @@ buildPythonPackage rec { pname = "ansible-core"; - version = "2.13.0"; + version = "2.13.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-COD7SnGNlnplTnDNpXz5MgGGkyndHPW4pCZ8V8XEyNM="; + sha256 = "sha256-q9R4zv8aCrqV6UzquNyCD0B7zA8AM9xUaEDN3CmjaVg="; }; # ansible_connection is already wrapped, so don't pass it through diff --git a/pkgs/development/python-modules/approvaltests/default.nix b/pkgs/development/python-modules/approvaltests/default.nix index 5dd1ed0d13124..bbd39cf619f46 100644 --- a/pkgs/development/python-modules/approvaltests/default.nix +++ b/pkgs/development/python-modules/approvaltests/default.nix @@ -16,7 +16,7 @@ }: buildPythonPackage rec { - version = "5.2.0"; + version = "5.3.0"; pname = "approvaltests"; format = "setuptools"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "approvals"; repo = "ApprovalTests.Python"; rev = "refs/tags/v${version}"; - sha256 = "sha256-PrO6NC+ARv0o1KHv+ekPwkEi4VpBIj+YjWRrCSFMHI8="; + sha256 = "sha256-nKTMWdXnxAf+UBUHkx+LAY29A/QXH+AtPjC296aarjU="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/archspec/default.nix b/pkgs/development/python-modules/archspec/default.nix new file mode 100644 index 0000000000000..ea48798b6898b --- /dev/null +++ b/pkgs/development/python-modules/archspec/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, poetry-core +, click +, six +, pytestCheckHook +, jsonschema +}: + +buildPythonPackage rec { + pname = "archspec"; + version = "0.1.4"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = "v${version}"; + fetchSubmodules = true; + sha256 = "sha256-ScigEpYNArveqi5tlqiA7LwsVs2RkjT+GChxhSy/ndw="; + }; + + nativeBuildInputs = [ poetry-core ]; + propagatedBuildInputs = [ click six ]; + checkInputs = [ pytestCheckHook jsonschema ]; + + pythonImportsCheck = [ "archspec" ]; + + meta = with lib; { + description = "A library for detecting, labeling, and reasoning about microarchitectures"; + homepage = "https://archspec.readthedocs.io/en/latest/"; + license = with licenses; [ mit asl20 ]; + maintainers = with maintainers; [ atila ]; + }; +} diff --git a/pkgs/development/python-modules/aurorapy/default.nix b/pkgs/development/python-modules/aurorapy/default.nix index 7e59d9c8bc958..00eb71e3d7daf 100644 --- a/pkgs/development/python-modules/aurorapy/default.nix +++ b/pkgs/development/python-modules/aurorapy/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "aurorapy"; - version = "0.2.6"; + version = "0.2.7"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "energievalsabbia"; repo = pname; rev = version; - hash = "sha256-DMlzzLe94dbeHjESmLc045v7vQ//IEsngAv7TeVznHE="; + hash = "sha256-rGwfGq3zdoG9NCGqVN29Q4bWApk5B6CRdsW9ctWgOec="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/azure-mgmt-eventgrid/default.nix b/pkgs/development/python-modules/azure-mgmt-eventgrid/default.nix index e61cd221db9b3..98c897aeabff7 100644 --- a/pkgs/development/python-modules/azure-mgmt-eventgrid/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-eventgrid/default.nix @@ -5,18 +5,20 @@ , msrestazure , azure-common , azure-mgmt-core -, azure-mgmt-nspkg -, isPy3k +, pythonOlder }: buildPythonPackage rec { pname = "azure-mgmt-eventgrid"; - version = "10.1.0"; + version = "10.2.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "4da3bf142d31bc25d80ee26641b95b7f52eb1baf4f326b9954e9f0613944ef3c"; + hash = "sha256-jJ+gvJmOTz2YXQ9BDrFgXCybplgwvOYZ5Gv7FHLhxQA="; }; propagatedBuildInputs = [ @@ -24,13 +26,14 @@ buildPythonPackage rec { msrestazure azure-mgmt-core azure-common - ] ++ lib.optionals (!isPy3k) [ - azure-mgmt-nspkg ]; # has no tests doCheck = false; - pythonImportsCheck = [ "azure.mgmt.eventgrid" ]; + + pythonImportsCheck = [ + "azure.mgmt.eventgrid" + ]; meta = with lib; { description = "This is the Microsoft Azure EventGrid Management Client Library"; diff --git a/pkgs/development/python-modules/azure-mgmt-eventhub/default.nix b/pkgs/development/python-modules/azure-mgmt-eventhub/default.nix index 70103df64cfc2..4955655607d27 100644 --- a/pkgs/development/python-modules/azure-mgmt-eventhub/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-eventhub/default.nix @@ -5,18 +5,20 @@ , msrestazure , azure-common , azure-mgmt-core -, azure-mgmt-nspkg -, isPy3k +, pythonOlder }: buildPythonPackage rec { pname = "azure-mgmt-eventhub"; - version = "10.0.0"; + version = "10.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "0856574ef4b73bbbc62834051061e2081400aba7e3715e10ef5181d639e86a0b"; + hash = "sha256-MZqhSBkwypvEefhoEWEPsBUFidWYD7qAX6edcBDDSSA="; }; propagatedBuildInputs = [ @@ -24,8 +26,6 @@ buildPythonPackage rec { msrestazure azure-common azure-mgmt-core - ] ++ lib.optionals (!isPy3k) [ - azure-mgmt-nspkg ]; # has no tests diff --git a/pkgs/development/python-modules/beaker/default.nix b/pkgs/development/python-modules/beaker/default.nix index c455ee50284ae..9b692ef92f2a5 100644 --- a/pkgs/development/python-modules/beaker/default.nix +++ b/pkgs/development/python-modules/beaker/default.nix @@ -70,6 +70,11 @@ buildPythonPackage rec { meta = { description = "A Session and Caching library with WSGI Middleware"; + homepage = "https://github.com/bbangert/beaker"; + license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ domenkozar ]; + knownVulnerabilities = [ + "CVE-2013-7489" + ]; }; } diff --git a/pkgs/development/python-modules/bitlist/default.nix b/pkgs/development/python-modules/bitlist/default.nix index c96c2e8707b70..e1129f40602f9 100644 --- a/pkgs/development/python-modules/bitlist/default.nix +++ b/pkgs/development/python-modules/bitlist/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "bitlist"; - version = "0.7.0"; + version = "0.8.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-p3Gws48u1/AzltbtPyWvSX4O0u4MgSXiVq4GstpPCCg="; + sha256 = "sha256-43Oh1ERGsW12HOqpbIa7rzLKrP9tIjckZhHwZSmBypE="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/casbin/default.nix b/pkgs/development/python-modules/casbin/default.nix index 5df8ae38bebed..6350fda9650e0 100644 --- a/pkgs/development/python-modules/casbin/default.nix +++ b/pkgs/development/python-modules/casbin/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "casbin"; - version = "1.16.5"; + version = "1.16.6"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = pname; repo = "pycasbin"; rev = "refs/tags/v${version}"; - sha256 = "sha256-27j1iuqf0af4Cm3r32FJnWnjvvUcacuv2+1OL6z/mwM="; + sha256 = "sha256-i7XwB1qV2WQD1dWxi4ncXsAwGUR5tWQhp+Z/jVvv1oo="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/cloudflare/default.nix b/pkgs/development/python-modules/cloudflare/default.nix index e6498216aa03c..97c23c17dd351 100644 --- a/pkgs/development/python-modules/cloudflare/default.nix +++ b/pkgs/development/python-modules/cloudflare/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "cloudflare"; - version = "2.9.10"; + version = "2.9.11"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-LsUMB0zqlelHqWsgdmJ8v+Qn/reYuxCTKTODBT9K0bg="; + hash = "sha256-kvCSazLBU2sBzobdZrVXcdlEpMoAe5wb7rBWxzhDuus="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/cookiecutter/default.nix b/pkgs/development/python-modules/cookiecutter/default.nix index de42f72841121..fdad4febcdafb 100644 --- a/pkgs/development/python-modules/cookiecutter/default.nix +++ b/pkgs/development/python-modules/cookiecutter/default.nix @@ -1,23 +1,31 @@ { lib, buildPythonPackage, fetchPypi, isPyPy , pytest, pytest-cov, pytest-mock, freezegun -, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests -, python-slugify }: +, jinja2, future, binaryornot, click, jinja2_time, requests +, python-slugify +, pyyaml +}: buildPythonPackage rec { pname = "cookiecutter"; - version = "1.7.3"; + version = "2.1.1"; # not sure why this is broken disabled = isPyPy; src = fetchPypi { inherit pname version; - sha256 = "sha256-a5pNcoguJDvgd6c5fQ8fdv5mzz35HzEV27UzDiFPpFc="; + sha256 = "sha256-85gr6NnFPawSYYZAE/3sf4Ov0uQu3m9t0GnF4UnFQNU="; }; checkInputs = [ pytest pytest-cov pytest-mock freezegun ]; propagatedBuildInputs = [ - jinja2 future binaryornot click whichcraft poyo jinja2_time requests python-slugify + binaryornot + jinja2 + click + pyyaml + jinja2_time + python-slugify + requests ]; # requires network access for cloning git repos diff --git a/pkgs/development/python-modules/datashader/default.nix b/pkgs/development/python-modules/datashader/default.nix index e72d54cde4e36..cb93ceb2b204b 100644 --- a/pkgs/development/python-modules/datashader/default.nix +++ b/pkgs/development/python-modules/datashader/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "datashader"; - version = "0.14.0"; + version = "0.14.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-VKEDOJV2ITO1gxKLbFQbcem0gEd/fzTIo+QSmZVsMGI="; + hash = "sha256-VGF6351lVCBat68EY9IY9lHk1hDMcjBcrVdPSliFq4Y="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/ducc0/default.nix b/pkgs/development/python-modules/ducc0/default.nix index ce2d0e4ef6e84..218af92608d46 100644 --- a/pkgs/development/python-modules/ducc0/default.nix +++ b/pkgs/development/python-modules/ducc0/default.nix @@ -2,7 +2,7 @@ buildPythonPackage rec { pname = "ducc0"; - version = "0.23.0"; + version = "0.24.0"; disabled = pythonOlder "3.7"; @@ -11,7 +11,7 @@ buildPythonPackage rec { owner = "mtr"; repo = "ducc"; rev = "ducc0_${lib.replaceStrings ["."] ["_"] version}"; - sha256 = "dOc3TihtoRuLfniC9zQ1MEbnvGJHzFZfZ8+J8Dnw6Lk="; + sha256 = "sFgEO6f9D3AFV62yLEocgrPrj03H60e2NtdA/Ws6lQw="; }; buildInputs = [ pybind11 ]; diff --git a/pkgs/development/python-modules/duckdb-engine/default.nix b/pkgs/development/python-modules/duckdb-engine/default.nix index ef5e039cd28d1..ef4bc58459293 100644 --- a/pkgs/development/python-modules/duckdb-engine/default.nix +++ b/pkgs/development/python-modules/duckdb-engine/default.nix @@ -11,7 +11,7 @@ }: buildPythonPackage rec { pname = "duckdb-engine"; - version = "0.1.10"; + version = "0.1.11"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { repo = "duckdb_engine"; owner = "Mause"; rev = "refs/tags/${version}"; - hash = "sha256-KyRBtl6lCBlgnlh+iblmG6t6brYduosBF6NK3KQQ9OM="; + hash = "sha256-tjyaV9DmiP2XrKxSCX2qKo7T7GNZtT3y5d1yQLdVuSE="; }; nativeBuildInputs = [ poetry-core ]; diff --git a/pkgs/development/python-modules/duckdb/default.nix b/pkgs/development/python-modules/duckdb/default.nix index 787a54f267699..dd7ad8737975a 100644 --- a/pkgs/development/python-modules/duckdb/default.nix +++ b/pkgs/development/python-modules/duckdb/default.nix @@ -1,9 +1,11 @@ { lib , buildPythonPackage , duckdb +, google-cloud-storage , mypy , numpy , pandas +, psutil , pybind11 , setuptools-scm , pytestCheckHook @@ -29,7 +31,9 @@ buildPythonPackage rec { ]; checkInputs = [ + google-cloud-storage mypy + psutil pytestCheckHook ]; diff --git a/pkgs/development/python-modules/flask-caching/default.nix b/pkgs/development/python-modules/flask-caching/default.nix index 9fd80ac6d6778..6e78841ab8c32 100644 --- a/pkgs/development/python-modules/flask-caching/default.nix +++ b/pkgs/development/python-modules/flask-caching/default.nix @@ -1,18 +1,34 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27, flask, pytestCheckHook, pytest-cov, pytest-xprocess, pytestcache }: +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, cachelib +, flask +, pytest-asyncio +, pytest-xprocess +, pytestCheckHook +}: buildPythonPackage rec { pname = "Flask-Caching"; - version = "1.10.1"; - disabled = isPy27; # invalid python2 syntax + version = "1.11.1"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "cf19b722fcebc2ba03e4ae7c55b532ed53f0cbf683ce36fafe5e881789a01c00"; + sha256 = "28af189e97defb9e39b43ebe197b54a58aaee81bdeb759f46d969c26d7aa7810"; }; - propagatedBuildInputs = [ flask ]; + propagatedBuildInputs = [ + cachelib + flask + ]; - checkInputs = [ pytestCheckHook pytest-cov pytest-xprocess pytestcache ]; + checkInputs = [ + pytest-asyncio + pytest-xprocess + pytestCheckHook + ]; disabledTests = [ # backend_cache relies on pytest-cache, which is a stale package from 2013 diff --git a/pkgs/development/python-modules/flower/default.nix b/pkgs/development/python-modules/flower/default.nix index c7a2ba59db3e9..c8c9b7f4b19d4 100644 --- a/pkgs/development/python-modules/flower/default.nix +++ b/pkgs/development/python-modules/flower/default.nix @@ -54,5 +54,8 @@ buildPythonPackage rec { homepage = "https://github.com/mher/flower"; license = licenses.bsdOriginal; maintainers = with maintainers; [ arnoldfarkas ]; + knownVulnerabilities = [ + "CVE-2022-30034" + ]; }; } diff --git a/pkgs/development/python-modules/fontparts/default.nix b/pkgs/development/python-modules/fontparts/default.nix index 0d836e51fe412..1dfaa3f3d5e21 100644 --- a/pkgs/development/python-modules/fontparts/default.nix +++ b/pkgs/development/python-modules/fontparts/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "fontParts"; - version = "0.10.5"; + version = "0.10.6"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-VriGYcpd2uVDMXeF3DXGKCMRQ9pTjDkrUOt2YSUgd5M="; + sha256 = "sha256-mEnQWmzzZ5S8rWzmXuJDjcuoICi6Q+aneX8hGXj11Gg="; extension = "zip"; }; diff --git a/pkgs/development/python-modules/furo/default.nix b/pkgs/development/python-modules/furo/default.nix index 60fbc917f7d95..cd97c2b5697c7 100644 --- a/pkgs/development/python-modules/furo/default.nix +++ b/pkgs/development/python-modules/furo/default.nix @@ -4,11 +4,12 @@ , fetchPypi , sphinx , beautifulsoup4 +, sphinx-basic-ng }: buildPythonPackage rec { pname = "furo"; - version = "2022.4.7"; + version = "2022.6.21"; format = "wheel"; disable = pythonOlder "3.6"; @@ -16,12 +17,13 @@ buildPythonPackage rec { inherit pname version format; dist = "py3"; python = "py3"; - sha256 = "sha256-fz49L7l3SDWQ+Oyyws1RG9gmYbecGO+yTelVi8nN8tc="; + sha256 = "sha256-Bhto4yM0Xif8ugJM8zoed/Pf2NmYdBC+gidJpwbirdY="; }; propagatedBuildInputs = [ sphinx beautifulsoup4 + sphinx-basic-ng ]; installCheckPhase = '' diff --git a/pkgs/development/python-modules/hpccm/default.nix b/pkgs/development/python-modules/hpccm/default.nix new file mode 100644 index 0000000000000..b0c26bae97346 --- /dev/null +++ b/pkgs/development/python-modules/hpccm/default.nix @@ -0,0 +1,39 @@ +{ lib +, fetchFromGitHub +, buildPythonPackage +, six +, archspec +, pytestCheckHook +, pytest-xdist +}: + +buildPythonPackage rec { + pname = "hpccm"; + version = "22.5.0"; + + src = fetchFromGitHub { + owner = "NVIDIA"; + repo = "hpc-container-maker"; + rev = "v${version}"; + sha256 = "sha256-zR5+X9BKaUvLPQ05FnfU817esgxVqP8n+wfdWy20BN4="; + }; + + propagatedBuildInputs = [ six archspec ]; + checkInputs = [ pytestCheckHook pytest-xdist ]; + + disabledTests = [ + # tests require git + "test_commit" + "test_tag" + ]; + + pythonImportsCheck = [ "hpccm" ]; + + meta = with lib; { + description = "HPC Container Maker"; + homepage = "https://github.com/NVIDIA/hpc-container-maker"; + license = licenses.asl20; + platforms = platforms.x86; + maintainers = with maintainers; [ atila ]; + }; +} diff --git a/pkgs/development/python-modules/http-sfv/default.nix b/pkgs/development/python-modules/http-sfv/default.nix index 0a17a20f96bc6..abee83637215b 100644 --- a/pkgs/development/python-modules/http-sfv/default.nix +++ b/pkgs/development/python-modules/http-sfv/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "http-sfv"; - version = "0.9.7"; + version = "0.9.8"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "mnot"; repo = "http_sfv"; rev = "http_sfv-${version}"; - hash = "sha256-VeCDgzpnaN8zkZt7Dy0njU6Dnq1SQTJ95CEYl20QxPQ="; + hash = "sha256-zl0Rk4QbzCVmYZ6TnVq+C+oe27Imz5fEQY9Fco5lo5s="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index 7e99e26c5248b..26c703b4c2549 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "huggingface-hub"; - version = "0.7.0"; + version = "0.8.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = "huggingface_hub"; rev = "refs/tags/v${version}"; - hash = "sha256-GUe9+Z23vt3sfpntDnToMY5vWLK6m0zRySSJgMljetg="; + hash = "sha256-XerI4dkGsnxbOE1Si70adVIwLIrStZ3HSuQPAQoJtnQ="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/ibis-framework/default.nix b/pkgs/development/python-modules/ibis-framework/default.nix index 539238ba948d6..2572903791d28 100644 --- a/pkgs/development/python-modules/ibis-framework/default.nix +++ b/pkgs/development/python-modules/ibis-framework/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, fetchpatch , pythonOlder , pytestCheckHook , atpublic @@ -73,6 +74,14 @@ buildPythonPackage rec { hash = "sha256-7ywDMAHQAl39kiHfxVkq7voUEKqbb9Zq8qlaug7+ukI="; }; + patches = [ + (fetchpatch { + url = "https://github.com/ibis-project/ibis/commit/a6f64c6c32b49098d39bb205952cbce4bdfea657.patch"; + sha256 = "sha256-puVMjiJXWk8C9yhuXPD9HKrgUBYcYmUPacQz5YO5xYQ="; + includes = [ "pyproject.toml" ]; + }) + ]; + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix b/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix index 646ffec6552ea..15f8e338fc3ec 100644 --- a/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix +++ b/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "insteon-frontend-home-assistant"; - version = "0.1.0"; + version = "0.1.1"; src = fetchPypi { inherit pname version; - sha256 = "70ee413cae8717416f5add1be7647158d8ff4303942dafccac0792ef44336cdf"; + sha256 = "sha256-s0MjB1dTsUy1cAMWo/0r+wTiO6/h0aOiPQ3d+1pHsyM="; }; # upstream has no tests diff --git a/pkgs/development/python-modules/jsbeautifier/default.nix b/pkgs/development/python-modules/jsbeautifier/default.nix index 5109f8ffe27b7..b73f266d39ce6 100644 --- a/pkgs/development/python-modules/jsbeautifier/default.nix +++ b/pkgs/development/python-modules/jsbeautifier/default.nix @@ -9,14 +9,14 @@ buildPythonApplication rec { pname = "jsbeautifier"; - version = "1.14.3"; + version = "1.14.4"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-1tV2J8+ezYzZAbnsetSogSeo3t6RAXf6SyGedtAvm9c="; + hash = "sha256-cp+mwP6TWyZm8/6tfsV2+RGubo1731ePmy+5K6N3u7M="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/jupyter_server/default.nix b/pkgs/development/python-modules/jupyter_server/default.nix index 0001dd5e9373a..a140e2930b317 100644 --- a/pkgs/development/python-modules/jupyter_server/default.nix +++ b/pkgs/development/python-modules/jupyter_server/default.nix @@ -1,10 +1,12 @@ { lib , stdenv , buildPythonPackage -, fetchpatch , fetchPypi , pythonOlder +, pandoc , pytestCheckHook +, pytest-console-scripts +, pytest-timeout , pytest-tornasync , argon2-cffi , jinja2 @@ -28,21 +30,14 @@ buildPythonPackage rec { pname = "jupyter_server"; - version = "1.11.2"; - disabled = pythonOlder "3.6"; + version = "1.17.1"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "c1f32e0c1807ab2de37bf70af97a36b4436db0bc8af3124632b1f4441038bf95"; + sha256 = "a36781656645ae17b12819a49ace377c045bf633823b3e4cd4b0c88c01e7711b"; }; - patches = [ (fetchpatch - { name = "Normalize-file-name-and-path.patch"; - url = "https://github.com/jupyter-server/jupyter_server/pull/608/commits/345e26cdfd78651954b68708fa44119c2ac0dbd5.patch"; - sha256 = "1kqz3dyh2w0h1g1fbvqa13q17hb6y32694rlaasyg213mq6g4k32"; - }) - ]; - propagatedBuildInputs = [ argon2-cffi jinja2 @@ -64,7 +59,10 @@ buildPythonPackage rec { checkInputs = [ ipykernel + pandoc pytestCheckHook + pytest-console-scripts + pytest-timeout pytest-tornasync requests ]; @@ -74,19 +72,18 @@ buildPythonPackage rec { export PATH=$out/bin:$PATH ''; - pytestFlagsArray = [ "jupyter_server" ]; - - # disabled failing tests disabledTests = [ - "test_server_extension_list" - "test_list_formats" - "test_base_url" - "test_culling" + "test_cull_idle" ] ++ lib.optionals stdenv.isDarwin [ # attempts to use trashcan, build env doesn't allow this "test_delete" ]; + disabledTestPaths = [ + "tests/services/kernels/test_api.py" + "tests/services/sessions/test_api.py" + ]; + __darwinAllowLocalNetworking = true; meta = with lib; { diff --git a/pkgs/development/python-modules/jupyterhub/default.nix b/pkgs/development/python-modules/jupyterhub/default.nix index c2855d6c8773b..04db4d4d0c229 100644 --- a/pkgs/development/python-modules/jupyterhub/default.nix +++ b/pkgs/development/python-modules/jupyterhub/default.nix @@ -61,12 +61,12 @@ in buildPythonPackage rec { pname = "jupyterhub"; - version = "1.3.0"; + version = "1.5.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "13pf6qhimpaxj20871ff5rvwwan59320cdhhrn9cfh6314971zq5"; + sha256 = "sha256-3GGPZXwjukYoDjYlflCTGAZnS6Dp5kmK+wke/GIm1p0="; }; # Most of this only applies when building from source (e.g. js/css assets are @@ -158,6 +158,7 @@ buildPythonPackage rec { broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; description = "Serves multiple Jupyter notebook instances"; homepage = "https://jupyter.org/"; + changelog = "https://github.com/jupyterhub/jupyterhub/blob/${version}/docs/source/changelog.md"; license = licenses.bsd3; maintainers = with maintainers; [ ixxie cstrahan ]; }; diff --git a/pkgs/development/python-modules/kerberos/default.nix b/pkgs/development/python-modules/kerberos/default.nix index c4772d6065189..a584e38810fc5 100644 --- a/pkgs/development/python-modules/kerberos/default.nix +++ b/pkgs/development/python-modules/kerberos/default.nix @@ -20,8 +20,10 @@ buildPythonPackage rec { meta = with lib; { description = "Kerberos high-level interface"; - homepage = "https://pypi.python.org/pypi/kerberos"; + homepage = "https://pypi.org/project/kerberos/"; license = licenses.asl20; + knownVulnerabilities = [ + "CVE-2015-3206" + ]; }; - } diff --git a/pkgs/development/python-modules/nexia/default.nix b/pkgs/development/python-modules/nexia/default.nix index e96a2b260b907..184271a5fe67e 100644 --- a/pkgs/development/python-modules/nexia/default.nix +++ b/pkgs/development/python-modules/nexia/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "nexia"; - version = "1.0.1"; + version = "1.0.2"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = pname; rev = version; - sha256 = "sha256-f1IUyeOmRmnr7zWoMKF895FKsNgiiCbw7inmXDGZrVw="; + sha256 = "sha256-+3nWf9GjX7ovnumwSq3l1dcHrgWIPPzKsPmI8/tT7Lo="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index d76909efdcfe9..4efaaf3f9ec94 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -27,12 +27,12 @@ buildPythonPackage rec { pname = "notebook"; - version = "6.4.10"; + version = "6.4.12"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "sha256-JAina8YokoOo7s/KZ+KY7IPGfbUaTC4bcT3RgLs56Q4="; + sha256 = "sha256-YmjJ7JBIz/ekVAXJkMKaycpAsLw+wpJj0hjF4B8rToY="; }; LC_ALL = "en_US.utf8"; diff --git a/pkgs/development/python-modules/peaqevcore/default.nix b/pkgs/development/python-modules/peaqevcore/default.nix index 73042ab3c807b..43a3aa4c60f08 100644 --- a/pkgs/development/python-modules/peaqevcore/default.nix +++ b/pkgs/development/python-modules/peaqevcore/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "peaqevcore"; - version = "1.2.1"; + version = "2.0.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-PzGWqBL3276hlcS9beW920Ei75hAxLXxttD8zDPWELE="; + hash = "sha256-ctkBzwZ5Caba1JucxCKF7kJs/eZHJz4YSrV3tNyTEXU="; }; postPatch = '' diff --git a/pkgs/development/python-modules/pex/default.nix b/pkgs/development/python-modules/pex/default.nix index 307e0e411a00c..b2702ac09cd3f 100644 --- a/pkgs/development/python-modules/pex/default.nix +++ b/pkgs/development/python-modules/pex/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "pex"; - version = "2.1.92"; + version = "2.1.93"; format = "flit"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-LEHbS6rSKQl1APWYjNS8y1edtXDRqSuhfftcuM67K44="; + hash = "sha256-7aXpKbGjJrkMS6l2B6jR1XWn7t3WLyztePEyMQaJkbk="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pulumi-aws/default.nix b/pkgs/development/python-modules/pulumi-aws/default.nix index 023414f3c41d6..b62f9b7eaaf5c 100644 --- a/pkgs/development/python-modules/pulumi-aws/default.nix +++ b/pkgs/development/python-modules/pulumi-aws/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pulumi-aws"; # Version is independant of pulumi's. - version = "5.8.0"; + version = "5.9.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "pulumi"; repo = "pulumi-aws"; rev = "refs/tags/v${version}"; - hash = "sha256-exMPHz5sq6AW3hyv+pl66RmHR4nEBIeDu7NPPyH1mig="; + hash = "sha256-QEOVI6PvFJ8gf02Hlh42grMt2cObTJsOSmrgmjEZ8Rw="; }; sourceRoot = "${src.name}/sdk/python"; diff --git a/pkgs/development/python-modules/pychromecast/default.nix b/pkgs/development/python-modules/pychromecast/default.nix index 584462035eb9d..9dce1cfa7938c 100644 --- a/pkgs/development/python-modules/pychromecast/default.nix +++ b/pkgs/development/python-modules/pychromecast/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pychromecast"; - version = "12.1.3"; + version = "12.1.4"; format = "setuptools"; disabled = !isPy3k; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "PyChromecast"; inherit version; - sha256 = "sha256-7dZ7bSPV0GSlbJfNkOpmH6j/12cgvxmbWhJsaGn4HgE="; + sha256 = "sha256-nlfcmFpKBdtb3NXaIZy/bO0lVIygk/jXS8EHs8VU7AA="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/pyoverkiz/default.nix b/pkgs/development/python-modules/pyoverkiz/default.nix index 6f09f2d6d9898..fe4f854e53eab 100644 --- a/pkgs/development/python-modules/pyoverkiz/default.nix +++ b/pkgs/development/python-modules/pyoverkiz/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pyoverkiz"; - version = "1.4.1"; + version = "1.4.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "iMicknl"; repo = "python-overkiz-api"; rev = "refs/tags/v${version}"; - hash = "sha256-PVRNfpV6LwZNzSQaDJnDztNUdzosa2yIdXRLXpPMVW4="; + hash = "sha256-o6qAeZSjXK/V5TKFCsnVvCbDH6lQTts1ClJ5scmDeVQ="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pypdf2/default.nix b/pkgs/development/python-modules/pypdf2/default.nix index 26d27f4455afd..d147de042c9f7 100644 --- a/pkgs/development/python-modules/pypdf2/default.nix +++ b/pkgs/development/python-modules/pypdf2/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "PyPDF2"; - version = "1.26.0"; + version = "1.28.4"; src = fetchPypi { inherit pname version; - sha256 = "11a3aqljg4sawjijkvzhs3irpw0y67zivqpbjpm065ha5wpr13z2"; + sha256 = "sha256-BM5CzQVweIH+28oxZHRFEYBf6MMGGK5M+yuUDjNo1a0="; }; LC_ALL = "en_US.UTF-8"; diff --git a/pkgs/development/python-modules/pyside2/default.nix b/pkgs/development/python-modules/pyside2/default.nix index bf16e1522ddea..3be201d3c913d 100644 --- a/pkgs/development/python-modules/pyside2/default.nix +++ b/pkgs/development/python-modules/pyside2/default.nix @@ -3,11 +3,11 @@ stdenv.mkDerivation rec { pname = "pyside2"; - version = "5.15.2"; + version = "5.15.5"; src = fetchurl { url = "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src/pyside-setup-opensource-src-${version}.tar.xz"; - sha256 = "060ljj1nzyp4zfz2vasbv2i7gs5rfkkjwxxbisd0fdw01d5m01mk"; + sha256 = "0cwvw6695215498rsbm2xzkwaxdr3w7zfvy4kc62c01k6pxs881r"; }; patches = [ diff --git a/pkgs/development/python-modules/pysigma/default.nix b/pkgs/development/python-modules/pysigma/default.nix index 17e6a27ea57db..e0ae16b805fed 100644 --- a/pkgs/development/python-modules/pysigma/default.nix +++ b/pkgs/development/python-modules/pysigma/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pysigma"; - version = "0.6.2"; + version = "0.6.3"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -19,8 +19,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "SigmaHQ"; repo = "pySigma"; - rev = "v${version}"; - hash = "sha256-/SZe4pzlhlkzW84WOjPOibfdznf5uLHL5RsNnT/EL9M="; + rev = "refs/tags/v${version}"; + hash = "sha256-39wp12YDM0Wnl+8tNS6XsoYF+5xM7uQRpUtlo3A2PYE="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pysnmp-pysmi/default.nix b/pkgs/development/python-modules/pysnmp-pysmi/default.nix index 0616a7c695e9f..1a9cab98915d9 100644 --- a/pkgs/development/python-modules/pysnmp-pysmi/default.nix +++ b/pkgs/development/python-modules/pysnmp-pysmi/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pysnmp-pysmi"; - version = "1.1.8"; + version = "1.1.10"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -17,8 +17,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pysnmp"; repo = "pysmi"; - rev = "v${version}"; - hash = "sha256-nsIEZPD7bfbePZukkudP0ZH/m8Be88QkVDM5PdjNHVk="; + rev = "refs/tags/v${version}"; + hash = "sha256-ZfN0nU9IurBEjSZijC2E4UoLIM54mBFgv7rcI1v/a4Q="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/python-jenkins/default.nix b/pkgs/development/python-modules/python-jenkins/default.nix index 7c1d64fc827db..dad933966aead 100644 --- a/pkgs/development/python-modules/python-jenkins/default.nix +++ b/pkgs/development/python-modules/python-jenkins/default.nix @@ -10,8 +10,8 @@ , multi_key_dict , testscenarios , requests -, unittest2 , requests-mock +, stestr }: buildPythonPackage rec { @@ -33,16 +33,16 @@ buildPythonPackage rec { buildInputs = [ mock ]; propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ]; - checkInputs = [ unittest2 testscenarios requests-mock ]; - checkPhase = '' - unit2 - ''; + checkInputs = [ stestr testscenarios requests-mock ]; + checkPhase = '' + stestr run + ''; meta = with lib; { description = "Python bindings for the remote Jenkins API"; homepage = "https://pypi.python.org/pypi/python-jenkins"; license = licenses.bsd3; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ gador ]; }; } diff --git a/pkgs/development/python-modules/rencode/default.nix b/pkgs/development/python-modules/rencode/default.nix index 464bbd78515c1..86192cbc29caa 100644 --- a/pkgs/development/python-modules/rencode/default.nix +++ b/pkgs/development/python-modules/rencode/default.nix @@ -2,25 +2,37 @@ , buildPythonPackage , fetchFromGitHub , cython +, pytestCheckHook }: buildPythonPackage rec { pname = "rencode"; - version = "1.0.6"; + version = "unstable-2021-08-10"; + + format = "setuptools"; src = fetchFromGitHub { owner = "aresch"; repo = "rencode"; - rev = "v${version}"; - sha256 = "sha256-PGjjrZuoGYSPMNqXG1KXoZnOoWIe4g6s056jFhqrJ60="; + rev = "572ff74586d9b1daab904c6f7f7009ce0143bb75"; + hash = "sha256-cL1hV3RMDuSdcjpPXXDYIEbzQrxiPeRs82PU8HTEQYk="; }; - buildInputs = [ cython ]; + nativeBuildInputs = [ cython ]; + + checkInputs = [ + pytestCheckHook + ]; + + preCheck = '' + # import from $out + rm -r rencode + ''; meta = with lib; { homepage = "https://github.com/aresch/rencode"; description = "Fast (basic) object serialization similar to bencode"; - license = licenses.gpl3; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ ]; }; - } diff --git a/pkgs/development/python-modules/sagemaker/default.nix b/pkgs/development/python-modules/sagemaker/default.nix index 7f32ad9f3bece..627f2baf38e81 100644 --- a/pkgs/development/python-modules/sagemaker/default.nix +++ b/pkgs/development/python-modules/sagemaker/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "sagemaker"; - version = "2.95.0"; + version = "2.96.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Rx4PrQqWN6Q19ov9Ao5sAGvdgls+y6WjMxP+35dpKsQ="; + hash = "sha256-40xvL7EwCDx/zsYHJhczx1MqVVrwQiDhlcv3QrEuv/E="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/shiboken2/default.nix b/pkgs/development/python-modules/shiboken2/default.nix index 2a7e7613dfb81..11461a9545cd2 100644 --- a/pkgs/development/python-modules/shiboken2/default.nix +++ b/pkgs/development/python-modules/shiboken2/default.nix @@ -34,6 +34,6 @@ stdenv.mkDerivation { license = with licenses; [ gpl2 lgpl21 ]; homepage = "https://wiki.qt.io/Qt_for_Python"; maintainers = with maintainers; [ gebner ]; - broken = stdenv.isDarwin || python.isPy310; + broken = stdenv.isDarwin; }; } diff --git a/pkgs/development/python-modules/sphinx-basic-ng/default.nix b/pkgs/development/python-modules/sphinx-basic-ng/default.nix new file mode 100644 index 0000000000000..df55a1316fbb7 --- /dev/null +++ b/pkgs/development/python-modules/sphinx-basic-ng/default.nix @@ -0,0 +1,44 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchFromGitHub +, fetchpatch +, sphinx +}: + +buildPythonPackage rec { + pname = "sphinx-basic-ng"; + version = "0.0.1.a11"; + disable = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "pradyunsg"; + repo = "sphinx-basic-ng"; + rev = version; + sha256 = "sha256-Eur3CadC2NTuBXosG4SN9t2L0qkqN+Q79bcvhvlG/f8="; + }; + + patches = [ + (fetchpatch { + name = "fix-import-error.patch"; + url = "https://github.com/pradyunsg/sphinx-basic-ng/pull/32/commits/323a0085721b908aa11bc3c36c51e16f517ee023.patch"; + sha256 = "sha256-/G1wLG/08u2s3YENSKSYekLrV1fUkxDAlxc3crTQNHk="; + }) + ]; + + propagatedBuildInputs = [ + sphinx + ]; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ "sphinx_basic_ng" ]; + + meta = with lib; { + description = "A modernised skeleton for Sphinx themes"; + homepage = "https://sphinx-basic-ng.readthedocs.io/en/latest/"; + license = licenses.mit; + maintainers = with maintainers; [ Luflosi ]; + }; +} diff --git a/pkgs/development/python-modules/tensorflow-metadata/default.nix b/pkgs/development/python-modules/tensorflow-metadata/default.nix index bdf6cc08aa64f..5204e2158dc71 100644 --- a/pkgs/development/python-modules/tensorflow-metadata/default.nix +++ b/pkgs/development/python-modules/tensorflow-metadata/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "tensorflow-metadata"; - version = "1.8.0"; + version = "1.9.0"; src = fetchFromGitHub { owner = "tensorflow"; repo = "metadata"; rev = "refs/tags/v${version}"; - sha256 = "sha256-IaLr6XYEy1EcyWi5GWzDFa7TeVZ59v8Wj5qkNdVbOqw="; + sha256 = "sha256-6BtKHyVrprtEb2Bi7g2YuctUykWSRXmKwADfHzGkYjc="; }; patches = [ diff --git a/pkgs/development/python-modules/tensorflow/bin.nix b/pkgs/development/python-modules/tensorflow/bin.nix index 37a886c1812d6..b266f837f8499 100644 --- a/pkgs/development/python-modules/tensorflow/bin.nix +++ b/pkgs/development/python-modules/tensorflow/bin.nix @@ -9,6 +9,7 @@ , numpy , six , termcolor +, packaging , protobuf , absl-py , grpcio @@ -48,9 +49,6 @@ in buildPythonPackage { inherit (packages) version; format = "wheel"; - # See https://github.com/tensorflow/tensorflow/issues/55581#issuecomment-1101890383 - disabled = pythonAtLeast "3.10" && !cudaSupport; - src = let pyVerNoDot = lib.strings.stringAsChars (x: if x == "." then "" else x) python.pythonVersion; platform = if stdenv.isDarwin then "mac" else "linux"; @@ -62,6 +60,7 @@ in buildPythonPackage { astunparse flatbuffers typing-extensions + packaging protobuf numpy scipy @@ -93,21 +92,25 @@ in buildPythonPackage { pushd dist + orig_name="$(echo ./*.whl)" wheel unpack --dest unpacked ./*.whl rm ./*.whl ( cd unpacked/tensorflow* # Adjust dependency requirements: - # - Relax tensorflow-estimator version requirement that doesn't match what we have packaged + # - Relax flatbuffers, gast and tensorflow-estimator version requirements that don't match what we have packaged # - The purpose of python3Packages.libclang is not clear at the moment and we don't have it packaged yet # - keras and tensorlow-io-gcs-filesystem will be considered as optional for now. sed -i *.dist-info/METADATA \ - -e "s/Requires-Dist: tf-estimator-nightly.*/Requires-Dist: tensorflow-estimator/" \ + -e "/Requires-Dist: flatbuffers/d" \ + -e "/Requires-Dist: gast/d" \ -e "/Requires-Dist: libclang/d" \ -e "/Requires-Dist: keras/d" \ + -e "/Requires-Dist: tensorflow-estimator/d" \ -e "/Requires-Dist: tensorflow-io-gcs-filesystem/d" ) wheel pack ./unpacked/tensorflow* + mv *.whl $orig_name # avoid changes to the _os_arch.whl suffix popd ''; @@ -187,7 +190,6 @@ in buildPythonPackage { }; meta = with lib; { - broken = stdenv.isDarwin; description = "Computation using data flow graphs for scalable machine learning"; homepage = "http://tensorflow.org"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; diff --git a/pkgs/development/python-modules/tensorflow/binary-hashes.nix b/pkgs/development/python-modules/tensorflow/binary-hashes.nix index 0d221452bb72b..69f72867cd871 100644 --- a/pkgs/development/python-modules/tensorflow/binary-hashes.nix +++ b/pkgs/development/python-modules/tensorflow/binary-hashes.nix @@ -1,51 +1,51 @@ { -version = "2.8.0"; +version = "2.9.0"; linux_py_37_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp37-cp37m-manylinux2010_x86_64.whl"; - sha256 = "1nza8i0nvqgrcwj2yy74a3wgpgf52svf0yrz9xd6l18gsifkmkx0"; + url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "1gs10w8hm47lmp4hln8qw02x7c018lxmcxs4i8dj3z5h2k64nx75"; }; linux_py_38_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp38-cp38-manylinux2010_x86_64.whl"; - sha256 = "1li2gllznd5w3hh2w9ibh5lkvvssnwh5vhk7i873dxjjdl1w8sqy"; + url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "01jz7vsinbzznzh6dv5bcz0yf8v050wd0axpn9z2jakkh5bwskhp"; }; linux_py_39_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp39-cp39-manylinux2010_x86_64.whl"; - sha256 = "03swmyak1hb0k6b2fi9a8g76fi57jz30ym015a576iwp42pqcgkq"; + url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "0458w6p567pm9xs1n5x4z5qygmlwy752d8livvn98p3j0lzccnhy"; }; linux_py_310_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.8.0-cp310-cp310-manylinux2010_x86_64.whl"; - sha256 = ""; + url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "136d7hjdsks7gvgz54vl9riq1xdqpiamjp449myy9a768vz2xghp"; }; linux_py_37_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp37-cp37m-manylinux2010_x86_64.whl"; - sha256 = "06q3vjrlqfkqa5r18hla3d8ms1sqa897g7fpnqizgh4k8skhm9fq"; + url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "11w1jrz9x6c8kzqfv14snp9djrwy17qc74h5kdiphhprm9ikkikz"; }; linux_py_38_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp38-cp38-manylinux2010_x86_64.whl"; - sha256 = "0099aa5g19zi74n6bamhmmcgp096m41fhr61swkwnh92myz1ylgb"; + url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "0vszrrnm706cqqv7b0726dd9ql3pcd08almqk8w0bcfk3fz05d3w"; }; linux_py_39_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp39-cp39-manylinux2010_x86_64.whl"; - sha256 = "0zw20yvlqga7znr13pa10qxww42mj64209syiicgvhs74ji1zdca"; + url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "18mgv36kdpx4q39qm708abfcjxy4gppv9ray0f418q0jlmfy2fi0"; }; linux_py_310_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.8.0-cp310-cp310-manylinux2010_x86_64.whl"; - sha256 = "06kwjlhzl46jhjcg836crys2aw39x0g8s1s9qfscm1kbwzbww1hq"; + url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "17wnvfgj9vynq1ibylfqw2cngnjawsxw1mvphdl3g57i92mqsn2x"; }; mac_py_37_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp37-cp37m-macosx_10_14_x86_64.whl"; - sha256 = "1z5w6wx3h45fz0ji9kn2m2kf963bqbvmqc7cyjv4ixymd0rp4jps"; + url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp37-cp37m-macosx_10_14_x86_64.whl"; + sha256 = "1lvc8rp0a0snjz5cgw6m5nk9qdnl6h7v2cc2pmxssp5c0flqzx4j"; }; mac_py_38_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp38-cp38-macosx_10_14_x86_64.whl"; - sha256 = "1h5v8flhc5zb038ld0av7638cyqqkrib379lrlzvf8dw7q8ry3yx"; + url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp38-cp38-macosx_10_14_x86_64.whl"; + sha256 = "1lgpgbasmc1av9njz3i1654qkbw2c99x8c7vb2yslnw63s79j774"; }; mac_py_39_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp39-cp39-macosx_10_14_x86_64.whl"; - sha256 = "0qsmlrf8h2gxkimniyrz9bniaqpdsd92pficmsrq30k8rkz2bwjj"; + url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp39-cp39-macosx_10_14_x86_64.whl"; + sha256 = "07dd3srqx78aq7w0g6k1x6l7zphwhm29lv9ai3gyqszi99cpn5pr"; }; mac_py_310_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.8.0-cp310-cp310-macosx_10_14_x86_64.whl"; - sha256 = "0lnwbvil6c6ai10lcaj9ay9pya207s9g204273msjalm1hpbmhvq"; + url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.0-cp310-cp310-macosx_10_14_x86_64.whl"; + sha256 = "14fz1id9clcbcrq4y8i1ij1nrk6dz36cqxb88ilip0jj36vfy991"; }; } diff --git a/pkgs/development/python-modules/tensorflow/prefetcher.sh b/pkgs/development/python-modules/tensorflow/prefetcher.sh index 3edc671582710..e4904b46d4f31 100755 --- a/pkgs/development/python-modules/tensorflow/prefetcher.sh +++ b/pkgs/development/python-modules/tensorflow/prefetcher.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -version="2.8.0" +version="2.9.0" bucket="https://storage.googleapis.com/tensorflow" @@ -8,14 +8,14 @@ bucket="https://storage.googleapis.com/tensorflow" # on the following page: # https://www.tensorflow.org/install/pip?lang=python3#package-location url_and_key_list=( -"linux_py_37_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp37-cp37m-manylinux2010_x86_64.whl" -"linux_py_38_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp38-cp38-manylinux2010_x86_64.whl" -"linux_py_39_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp39-cp39-manylinux2010_x86_64.whl" -"linux_py_310_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp310-cp310-manylinux2010_x86_64.whl" -"linux_py_37_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp37-cp37m-manylinux2010_x86_64.whl" -"linux_py_38_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp38-cp38-manylinux2010_x86_64.whl" -"linux_py_39_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp39-cp39-manylinux2010_x86_64.whl" -"linux_py_310_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp310-cp310-manylinux2010_x86_64.whl" +"linux_py_37_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_38_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_39_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_310_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_37_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_38_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_39_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_310_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" "mac_py_37_cpu $bucket/mac/cpu/tensorflow-${version}-cp37-cp37m-macosx_10_14_x86_64.whl" "mac_py_38_cpu $bucket/mac/cpu/tensorflow-${version}-cp38-cp38-macosx_10_14_x86_64.whl" "mac_py_39_cpu $bucket/mac/cpu/tensorflow-${version}-cp39-cp39-macosx_10_14_x86_64.whl" diff --git a/pkgs/development/python-modules/tubeup/default.nix b/pkgs/development/python-modules/tubeup/default.nix index 6eca48a2add42..c86f0298d3bcb 100644 --- a/pkgs/development/python-modules/tubeup/default.nix +++ b/pkgs/development/python-modules/tubeup/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "tubeup"; - version = "0.0.31"; + version = "0.0.32"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "sha256-hoVmkBrXc2AN5K/vZpxby1U7huhXbfFCiy+2Njt+2Lk="; + sha256 = "sha256-YWBp6qXz4hNTBzywBGTXDQSzbWfoEEvJLQL5wy8DQ1g="; }; postPatch = '' diff --git a/pkgs/development/python-modules/types-requests/default.nix b/pkgs/development/python-modules/types-requests/default.nix index 4af9b4a42ab36..b5b52a730fcdb 100644 --- a/pkgs/development/python-modules/types-requests/default.nix +++ b/pkgs/development/python-modules/types-requests/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "types-requests"; - version = "2.27.30"; + version = "2.27.31"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-yo18xUnD0Q28s8acG1Pj/9EnAInBABplwenhAX615wQ="; + sha256 = "sha256-b6uXuZ/qUrnHtGak3ZPga7MlvH50IEdeh4MQJqjdNcw="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/waitress/default.nix b/pkgs/development/python-modules/waitress/default.nix index e2cbe59ab2864..898b1093159d8 100644 --- a/pkgs/development/python-modules/waitress/default.nix +++ b/pkgs/development/python-modules/waitress/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "waitress"; - version = "2.1.1"; + version = "2.1.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-4uYFds8UoVOdp597fuHnmnHmTzZqC0fbVKFelx9XuxY="; + sha256 = "780a4082c5fbc0fde6a2fcfe5e26e6efc1e8f425730863c04085769781f51eba"; }; doCheck = false; diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 25a7778b7602f..79bb3a2b49ce7 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -32,14 +32,14 @@ with py.pkgs; buildPythonApplication rec { pname = "checkov"; - version = "2.0.1223"; + version = "2.0.1226"; format = "setuptools"; src = fetchFromGitHub { owner = "bridgecrewio"; repo = pname; rev = version; - hash = "sha256-/5HJucSOQyfX0Og3fCGhuegye79huw4LPlNkzgCO+qM="; + hash = "sha256-hAHIrf1oZMPpciKTUiM+EuP4TDtb0lYI7hlZXWkIyV4="; }; nativeBuildInputs = with py.pkgs; [ diff --git a/pkgs/development/tools/analysis/radare2/default.nix b/pkgs/development/tools/analysis/radare2/default.nix index e344f3f7874da..737034b0d2683 100644 --- a/pkgs/development/tools/analysis/radare2/default.nix +++ b/pkgs/development/tools/analysis/radare2/default.nix @@ -110,7 +110,6 @@ stdenv.mkDerivation rec { ]; meta = with lib; { - broken = stdenv.isDarwin; description = "unix-like reverse engineering framework and commandline tools"; homepage = "https://radare.org/"; license = licenses.gpl2Plus; diff --git a/pkgs/development/tools/appthreat-depscan/default.nix b/pkgs/development/tools/appthreat-depscan/default.nix index 63c7ae751ed3f..0481c8a5be0eb 100644 --- a/pkgs/development/tools/appthreat-depscan/default.nix +++ b/pkgs/development/tools/appthreat-depscan/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonApplication rec { pname = "appthreat-depscan"; - version = "2.1.6"; + version = "2.1.7"; src = fetchFromGitHub { owner = "AppThreat"; repo = "dep-scan"; rev = "refs/tags/v${version}"; - hash = "sha256-r0+USVnMLLGVMBV1gcCGECj8JG0FrHmMEynZKkSzYhY="; + hash = "sha256-hudPySVFewKrXI5FAYBCPTkjI4W7/kmnNwhnjxMhkrw="; }; propagatedBuildInputs = with python3.pkgs; [ diff --git a/pkgs/development/tools/continuous-integration/dagger/default.nix b/pkgs/development/tools/continuous-integration/dagger/default.nix index 3e4ad1f2e4393..86e4525212afc 100644 --- a/pkgs/development/tools/continuous-integration/dagger/default.nix +++ b/pkgs/development/tools/continuous-integration/dagger/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "dagger"; - version = "0.2.19"; + version = "0.2.20"; src = fetchFromGitHub { owner = "dagger"; repo = "dagger"; rev = "v${version}"; - sha256 = "sha256-ZhMvVTfzqXr6miOrqYqMzH4suY2+RIYCH3fK08dsUmA="; + sha256 = "sha256-TlysP5xf8LJoB9MU/sdQIM6yMfsaI8SP+drRlfG+tQ4="; }; vendorSha256 = "sha256-pE6g5z4rOQlqmI9LZQXoI6fRmSTXDv5H8Y+pNXVIcOU="; diff --git a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix index 039c54cf9df10..d5e4edb2abfe8 100644 --- a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix @@ -1,7 +1,7 @@ { lib, buildGoModule, fetchFromGitLab, fetchurl }: let - version = "15.0.0"; + version = "15.1.0"; in buildGoModule rec { inherit version; @@ -14,13 +14,13 @@ buildGoModule rec { "-X ${commonPackagePath}.REVISION=v${version}" ]; - vendorSha256 = "0ag3pmcrxksgikdcvl9rv2s3kn7l0dj41pf2m9dq0g2a1j45nydn"; + vendorSha256 = "sha256-5MzhDBCsgcACzImnfvetr3Z6SO+fHozChIhvZG0JwBc="; src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-runner"; rev = "v${version}"; - sha256 = "1s7jqhrwy5wl0db37d3pms499mmy7msx4ch46w5qa25nfbxcr07c"; + sha256 = "sha256-G6V0l9kzbpl9XEYiiVBYjY7xOHemtOrb1xyB1HjhhTc="; }; patches = [ diff --git a/pkgs/development/tools/misc/act/default.nix b/pkgs/development/tools/misc/act/default.nix index 10fc62fdeffa2..934f417b07455 100644 --- a/pkgs/development/tools/misc/act/default.nix +++ b/pkgs/development/tools/misc/act/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "act"; - version = "0.2.26"; + version = "0.2.28"; src = fetchFromGitHub { owner = "nektos"; repo = pname; rev = "v${version}"; - sha256 = "sha256-DBiBJf4hEjn/sJXjAvsiARWz66sDBIz0hFEdCgS8D4g="; + sha256 = "sha256-wHBdmNFi//0nAgqRjTJYE3H+06HrW9l+xLVB97/XrnY="; }; - vendorSha256 = "sha256-5RvFdtEZEQBWvkUKIcV/A+tCSy9V9DJj4HujGQgTxq0="; + vendorSha256 = "sha256-bWNDBoLGiV/eSUW/AE/yzvJN7NYCnT1GjzP3VmDVAg8="; doCheck = false; diff --git a/pkgs/development/tools/misc/clojure-lsp/default.nix b/pkgs/development/tools/misc/clojure-lsp/default.nix index 0d878ffe90691..78bee76efdcf9 100644 --- a/pkgs/development/tools/misc/clojure-lsp/default.nix +++ b/pkgs/development/tools/misc/clojure-lsp/default.nix @@ -2,18 +2,18 @@ buildGraalvmNativeImage rec { pname = "clojure-lsp"; - version = "2022.05.31-17.35.50"; + version = "2022.06.22-14.09.50"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "sha256-turIdgW1gr+b4rjCTet9demJvtaSdw3INbWgXetngLM="; + sha256 = "sha256-QMzjoxcEbzOZKh3nN+kMwjp5NfARBFiVnZ/1B3yzVK0="; }; jar = fetchurl { url = "https://github.com/clojure-lsp/clojure-lsp/releases/download/${version}/clojure-lsp-standalone.jar"; - sha256 = "e67140bca87347ab639c40504c897c36307ed64278bb764db41a32627582bd71"; + sha256 = "ff400595723af878f5d6edfed78d403eb1ce18bd439d4bb0eb8eccf3d20a2b51"; }; extraNativeImageBuildArgs = [ diff --git a/pkgs/development/tools/misc/elfinfo/default.nix b/pkgs/development/tools/misc/elfinfo/default.nix index e3ee51c58fdc6..b9a6dc0c39b4f 100644 --- a/pkgs/development/tools/misc/elfinfo/default.nix +++ b/pkgs/development/tools/misc/elfinfo/default.nix @@ -1,20 +1,25 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +}: -buildGoPackage rec { +buildGoModule rec { pname = "elfinfo"; version = "1.1.0"; - goPackagePath = "github.com/xyproto/elfinfo"; src = fetchFromGitHub { - rev = version; owner = "xyproto"; repo = "elfinfo"; + rev = version; sha256 = "1n8bg0rcq9fqa6rdnk6x9ngvm59hcayblkpjv9j5myn2vmm6fv8m"; }; + vendorSha256 = null; + meta = with lib; { description = "Small utility for showing information about ELF files"; homepage = "https://elfinfo.roboticoverlords.org/"; + changelog = "https://github.com/xyproto/elfinfo/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ dtzWill ]; }; diff --git a/pkgs/development/tools/misc/hydra/eval.patch b/pkgs/development/tools/misc/hydra/eval.patch deleted file mode 100644 index 0be856ee75706..0000000000000 --- a/pkgs/development/tools/misc/hydra/eval.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/src/hydra-eval-jobs/Makefile.am b/src/hydra-eval-jobs/Makefile.am -index 7a4e9c91..90742a30 100644 ---- a/src/hydra-eval-jobs/Makefile.am -+++ b/src/hydra-eval-jobs/Makefile.am -@@ -1,5 +1,5 @@ - bin_PROGRAMS = hydra-eval-jobs - - hydra_eval_jobs_SOURCES = hydra-eval-jobs.cc --hydra_eval_jobs_LDADD = $(NIX_LIBS) -+hydra_eval_jobs_LDADD = $(NIX_LIBS) -lnixcmd - hydra_eval_jobs_CXXFLAGS = $(NIX_CFLAGS) -I ../libhydra diff --git a/pkgs/development/tools/misc/hydra/unstable.nix b/pkgs/development/tools/misc/hydra/unstable.nix index 709af8f44855a..db21e94d738a4 100644 --- a/pkgs/development/tools/misc/hydra/unstable.nix +++ b/pkgs/development/tools/misc/hydra/unstable.nix @@ -126,16 +126,22 @@ let in stdenv.mkDerivation rec { pname = "hydra"; - version = "2022-05-03"; + version = "2022-06-16"; src = fetchFromGitHub { owner = "NixOS"; repo = "hydra"; - rev = "7c133a98f8e689cdc13f8a1adaaa9cd75d039a35"; - sha256 = "sha256-LqBLIXYssvDoSp2Hf2+vDDB9O8VSF48HAGwL8pI2WZY="; + rev = "fb26435fe9a54f13143e69a545b8f3cecffaed96"; + sha256 = "sha256-kmgN7D7tUC3Ki70D+rdS19PW/lrANlU3tc8gu5gsld0="; }; - patches = [ ./eval.patch ]; + patches = [ + # https://github.com/NixOS/hydra/pull/1215: scmdiff: Hardcode --git-dir + (fetchpatch { + url = "https://github.com/NixOS/hydra/commit/b6ea85a601ddac9cb0716d8cb4d446439fa0778f.patch"; + sha256 = "sha256-QHjwLYQucdkBs6OsFI8kWo5ugkPXXlTgdbGFxKBHAHo="; + }) + ]; buildInputs = [ diff --git a/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix b/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix index 7eef0ce66299f..107241896edc6 100644 --- a/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix +++ b/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix @@ -12,29 +12,30 @@ rustPlatform.buildRustPackage rec { pname = "cargo-bisect-rustc"; - version = "0.6.0"; + version = "0.6.3"; src = fetchFromGitHub { owner = "rust-lang"; repo = pname; rev = "v${version}"; - hash = "sha256-LEmILWVU6hbh2FmdnQVV1Ob2MQvj+/lCr1hdRoTIOkI="; + hash = "sha256-TRcHeA4pOzODyzkQCGkdAWy3Bt2ltrOcpCMDu6n4k3k="; }; patches = let - patchelfPatch = runCommand "0001-dynamically-patchelf-binaries.patch" { - CC = stdenv.cc; - patchelf = patchelf; - libPath = "$ORIGIN/../lib:${lib.makeLibraryPath [ zlib ]}"; - } - '' - export dynamicLinker=$(cat $CC/nix-support/dynamic-linker) - substitute ${./0001-dynamically-patchelf-binaries.patch} $out \ - --subst-var patchelf \ - --subst-var dynamicLinker \ - --subst-var libPath - ''; + patchelfPatch = runCommand "0001-dynamically-patchelf-binaries.patch" + { + CC = stdenv.cc; + patchelf = patchelf; + libPath = "$ORIGIN/../lib:${lib.makeLibraryPath [ zlib ]}"; + } + '' + export dynamicLinker=$(cat $CC/nix-support/dynamic-linker) + substitute ${./0001-dynamically-patchelf-binaries.patch} $out \ + --subst-var patchelf \ + --subst-var dynamicLinker \ + --subst-var libPath + ''; in lib.optionals stdenv.isLinux [ patchelfPatch ]; @@ -45,7 +46,7 @@ rustPlatform.buildRustPackage rec { Security ]; - cargoSha256 = "Ls51DQ0yScRhpkuEInCfR45+/WeaUoG935w4BJvwSRk="; + cargoSha256 = "sha256-3I5V/JOxxy1+Cwkq9tuHMgHQ0eCfzAViJ4Gl+l8RHlE="; meta = with lib; { description = "Bisects rustc, either nightlies or CI artifacts"; diff --git a/pkgs/development/tools/tabnine/default.nix b/pkgs/development/tools/tabnine/default.nix index 1209f371a42f4..49377bd001c6b 100644 --- a/pkgs/development/tools/tabnine/default.nix +++ b/pkgs/development/tools/tabnine/default.nix @@ -1,19 +1,19 @@ { stdenv, lib, fetchurl, unzip }: let # You can check the latest version with `curl -sS https://update.tabnine.com/bundles/version` - version = "4.0.60"; + version = "4.4.40"; supportedPlatforms = { "x86_64-linux" = { name = "x86_64-unknown-linux-musl"; - sha256 = "sha256-v5UxRMDDQxpqIKMe9mYMXcpWiacdXzFfaQ6bgab/WmQ="; + sha256 = "sha256-goPPGU4oZWBD/C15rbbX5YMqua16A4MdLhBoC4JxaCI="; }; "x86_64-darwin" = { name = "x86_64-apple-darwin"; - sha256 = "sha256-vFMMzMatuu1TY6dnBXycv0HxvkOj4Axfx8p0VW0hOic="; + sha256 = "sha256-CgYHQ91U6K3+kMyOSSia2B7IncR5u0eq9h3EZiBsRdU="; }; "aarch64-darwin" = { name = "aarch64-apple-darwin"; - sha256 = "sha256-DUeDQLtvSY7W2nG60UunluCSO0ijJP2CYxpRIZA4LTE="; + sha256 = "sha256-JwX3TdKYmLQO3mWb15Ds/60VAAurGxqfJlMCQqy2pxg="; }; }; platform = diff --git a/pkgs/development/tools/tradcpp/default.nix b/pkgs/development/tools/tradcpp/default.nix index c184cee91ca51..7d2606eba84e9 100644 --- a/pkgs/development/tools/tradcpp/default.nix +++ b/pkgs/development/tools/tradcpp/default.nix @@ -9,8 +9,9 @@ stdenv.mkDerivation rec { sha256 = "1h2bwxwc13rz3g2236l89hm47f72hn3m4h7wjir3j532kq0m68bc"; }; + strictDeps = true; # tradcpp only comes with BSD-make Makefile; the patch adds configure support - buildInputs = [ autoconf ]; + nativeBuildInputs = [ autoconf ]; preConfigure = "autoconf"; patches = [ ./tradcpp-configure.patch diff --git a/pkgs/development/tools/vultr/default.nix b/pkgs/development/tools/vultr/default.nix index 2f1d6618d3fee..8a584ce669cbf 100644 --- a/pkgs/development/tools/vultr/default.nix +++ b/pkgs/development/tools/vultr/default.nix @@ -1,9 +1,11 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +}: -buildGoPackage rec { +buildGoModule rec { pname = "vultr"; version = "2.0.3"; - goPackagePath = "github.com/JamesClonk/vultr"; src = fetchFromGitHub { owner = "JamesClonk"; @@ -12,10 +14,16 @@ buildGoPackage rec { sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro="; }; - meta = { - description = "A command line tool for Vultr services, a provider for cloud virtual private servers"; - homepage = "https://github.com/JamesClonk/vultr"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.zauberpony ]; + vendorSha256 = null; + + # There are not test files + doCheck = false; + + meta = with lib; { + description = "Vultr CLI and API client library"; + homepage = "https://jamesclonk.github.io/vultr"; + changelog = "https://github.com/JamesClonk/vultr/releases/tag/${src.rev}"; + license = licenses.mit; + maintainers = with maintainers; [ zauberpony ]; }; } diff --git a/pkgs/development/tools/yq-go/default.nix b/pkgs/development/tools/yq-go/default.nix index 71135ede5b222..bd0abce2282ff 100644 --- a/pkgs/development/tools/yq-go/default.nix +++ b/pkgs/development/tools/yq-go/default.nix @@ -16,10 +16,10 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; postInstall = '' - for shell in bash fish zsh; do - $out/bin/yq shell-completion $shell > yq.$shell - installShellCompletion yq.$shell - done + installShellCompletion --cmd yq \ + --bash <($out/bin/yq shell-completion bash) \ + --fish <($out/bin/yq shell-completion fish) \ + --zsh <($out/bin/yq shell-completion zsh) ''; passthru.tests = { @@ -32,8 +32,8 @@ buildGoModule rec { meta = with lib; { description = "Portable command-line YAML processor"; homepage = "https://mikefarah.gitbook.io/yq/"; - license = [ licenses.mit ]; - maintainers = [ maintainers.lewo ]; mainProgram = "yq"; + license = [ licenses.mit ]; + maintainers = with maintainers; [ lewo SuperSandro2000 ]; }; } diff --git a/pkgs/games/unvanquished/default.nix b/pkgs/games/unvanquished/default.nix index ca6af48bbb318..8b0ff1ca989d5 100644 --- a/pkgs/games/unvanquished/default.nix +++ b/pkgs/games/unvanquished/default.nix @@ -2,6 +2,7 @@ , stdenv , fetchzip , fetchFromGitHub +, fetchpatch , SDL2 , buildFHSUserEnv , cmake @@ -139,6 +140,24 @@ in stdenv.mkDerivation rec { chmod +w -R daemon/external_deps/linux64-${binary-deps-version}/ ''; + patches = [ + (fetchpatch { + name = "fix-sdl-eventqueue-part1.patch"; + url = "https://github.com/DaemonEngine/Daemon/commit/3a978c485f2a7e02c0bc5aeed2c7c4378026cb33.patch"; + sha256 = "sha256-wVDscGf5zOOmivItNK913l0cfNFR6RpApewrxbmfG8s="; + stripLen = 1; + extraPrefix = "daemon/"; + }) + (fetchpatch { + name = "fix-sdl-eventqueue-part2.patch"; + url = "https://github.com/DaemonEngine/Daemon/commit/54f98909c8871a57efb40263b215b81f22010b22.patch"; + sha256 = "sha256-9qlyJnUEyZgFaclpXthKHm3qq+cW4E4LMOpLukcwBCU="; + stripLen = 1; + extraPrefix = "daemon/"; + excludes = [ "*/CMakeLists.txt" ]; + }) + ]; + nativeBuildInputs = [ cmake unvanquished-binary-deps diff --git a/pkgs/os-specific/linux/ax99100/default.nix b/pkgs/os-specific/linux/ax99100/default.nix new file mode 100644 index 0000000000000..9167b4e5f89db --- /dev/null +++ b/pkgs/os-specific/linux/ax99100/default.nix @@ -0,0 +1,29 @@ +{ kernel, stdenv, kmod, lib, fetchzip }: +stdenv.mkDerivation +{ + pname = "ax99100"; + version = "1.8.0"; + nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies; + src = fetchzip { + url = "https://www.asix.com.tw/en/support/download/file/1229"; + sha256 = "1rbp1m01qr6b3nbr72vpbw89pjh8mddc60im78z2yjd951xkbcjh"; + extension = "tar.bz2"; + }; + + makeFlags = [ "KDIR='${kernel.dev}/lib/modules/${kernel.modDirVersion}/build'" ]; + + installPhase = '' + mkdir -p $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/tty/serial + cp ax99100.ko $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/tty/serial + ''; + + meta = { + description = "ASIX AX99100 Serial and Parralel Port driver"; + homepage = "https://www.asix.com.tw/en/product/Interface/PCIe_Bridge/AX99100"; + # According to the source code in the tarball, the license is gpl2. + license = lib.licenses.gpl2; + platforms = lib.platforms.linux; + # currently, the build fails with kernels newer than 5.17 + broken = lib.versionAtLeast kernel.version "5.18.0"; + }; +} diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 471fb825180b1..5f0d5d3809913 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -41,7 +41,8 @@ let (whenBetween "5.2" "5.18" yes) ]; DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT = whenAtLeast "5.18" yes; - DEBUG_INFO_BTF = whenAtLeast "5.2" (option yes); + # Disabled on 32-bit platforms, fails to build on 5.15+ with `Failed to parse base BTF 'vmlinux': -22` + DEBUG_INFO_BTF = whenAtLeast "5.2" (option (if stdenv.hostPlatform.is32bit && (versionAtLeast version "5.15") then no else yes)); BPF_LSM = whenAtLeast "5.7" (option yes); DEBUG_KERNEL = yes; DEBUG_DEVRES = no; diff --git a/pkgs/os-specific/linux/kernel/linux-5.15.nix b/pkgs/os-specific/linux/kernel/linux-5.15.nix index 62aefff81f5a4..225fe27a15f26 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.15.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.15.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args: +{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args: with lib; @@ -11,8 +11,6 @@ buildLinux (args // rec { # branchVersion needs to be x.y extraMeta.branch = versions.majorMinor version; - extraMeta.broken = stdenv.isi686; - src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; sha256 = "1700js21yimx8rz4bsglszry564l2ycmmcr36rdqspzbmlx5w8wb"; diff --git a/pkgs/pkgs-lib/formats.nix b/pkgs/pkgs-lib/formats.nix index fc52128a7e999..cdcbd3663422a 100644 --- a/pkgs/pkgs-lib/formats.nix +++ b/pkgs/pkgs-lib/formats.nix @@ -50,25 +50,25 @@ rec { }; in valueType; - generate = name: value: pkgs.runCommand name { - nativeBuildInputs = [ pkgs.jq ]; + generate = name: value: pkgs.callPackage ({ runCommand, jq }: runCommand name { + nativeBuildInputs = [ jq ]; value = builtins.toJSON value; passAsFile = [ "value" ]; } '' jq . "$valuePath"> $out - ''; + '') {}; }; yaml = {}: { - generate = name: value: pkgs.runCommand name { - nativeBuildInputs = [ pkgs.remarshal ]; - value = builtins.toJSON value; - passAsFile = [ "value" ]; - } '' - json2yaml "$valuePath" "$out" - ''; + generate = name: value: pkgs.callPackage ({ runCommand, remarshal }: runCommand name { + nativeBuildInputs = [ remarshal ]; + value = builtins.toJSON value; + passAsFile = [ "value" ]; + } '' + json2yaml "$valuePath" "$out" + '') {}; type = with lib.types; let valueType = nullOr (oneOf [ @@ -161,13 +161,13 @@ rec { }; in valueType; - generate = name: value: pkgs.runCommand name { - nativeBuildInputs = [ pkgs.remarshal ]; + generate = name: value: pkgs.callPackage ({ runCommand, remarshal }: runCommand name { + nativeBuildInputs = [ remarshal ]; value = builtins.toJSON value; passAsFile = [ "value" ]; } '' json2toml "$valuePath" "$out" - ''; + '') {}; }; diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 4acf3aa87ad70..467c628c5666c 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2022.6.6"; + version = "2022.6.7"; components = { "abode" = ps: with ps; [ abodepy diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index fbfa29ff4bf19..b1b731642b8c2 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -176,7 +176,7 @@ let extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs); # Don't forget to run parse-requirements.py after updating - hassVersion = "2022.6.6"; + hassVersion = "2022.6.7"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -194,7 +194,7 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = version; - hash = "sha256-scwj3VrSoFk/pSVzfwvGFM5fRci3+7iqr7TAwLantFQ="; + hash = "sha256-RR0CsPOzOdWRPSgmKGl3egrPXS1CDI+ODWZeLkVCSGQ="; }; # leave this in, so users don't have to constantly update their downstream patch handling diff --git a/pkgs/servers/http/envoy/default.nix b/pkgs/servers/http/envoy/default.nix index 974d00149177a..1cd6e0c785efa 100644 --- a/pkgs/servers/http/envoy/default.nix +++ b/pkgs/servers/http/envoy/default.nix @@ -23,8 +23,8 @@ let # However, the version string is more useful for end-users. # These are contained in a attrset of their own to make it obvious that # people should update both. - version = "1.21.1"; - rev = "af50070ee60866874b0a9383daf9364e884ded22"; + version = "1.21.4"; + rev = "782ba5e5ab9476770378ec9f1901803e0d38ac41"; }; in buildBazelPackage rec { @@ -35,7 +35,7 @@ buildBazelPackage rec { owner = "envoyproxy"; repo = "envoy"; inherit (srcVer) rev; - hash = "sha256:11mm72zmb479ss585jzqzhklyyqmdadnvr91ghzvjxc0j2a1hrr4"; + hash = "sha256-SthKDMQs5yNU0iouAPVsDeCPKcsBXmO9ebDwu58UQRs="; postFetch = '' chmod -R +w $out @@ -85,8 +85,8 @@ buildBazelPackage rec { fetchAttrs = { sha256 = { - x86_64-linux = "sha256-23Z6SbKnbah/NCrdMrXhrNFFASd/8xRH3fSyIE++heA="; - aarch64-linux = "sha256-dMOu0HYUIUJ+XEtctjaZZ1jGGQq+cHbay8+KwR5XqP0="; + x86_64-linux = "sha256-/SA+WFHcMjk6iLwuEmuBIzy3pMhw7TThIEx292dv6IE="; + aarch64-linux = "sha256-0XdeirdIP7+nKy8zZbr2uHN2RZ4ZFOJt9i/+Ow1s/W4="; }.${stdenv.system} or (throw "unsupported system ${stdenv.system}"); dontUseCmakeConfigure = true; dontUseGnConfigure = true; diff --git a/pkgs/servers/irc/ergochat/default.nix b/pkgs/servers/irc/ergochat/default.nix index 57f79ff916c3e..cbcc0cfaad214 100644 --- a/pkgs/servers/irc/ergochat/default.nix +++ b/pkgs/servers/irc/ergochat/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "ergo"; - version = "2.9.1"; + version = "2.10.0"; src = fetchFromGitHub { owner = "ergochat"; repo = "ergo"; rev = "v${version}"; - sha256 = "sha256-RxsmkTfHymferS/FRW0sLnstKfvGXkW6cEb/JbeS4lc="; + sha256 = "sha256-SydseZSEuFhbaU4OMnT8zFLbRfmeKwXsZZeDh8mbZco="; }; vendorSha256 = null; diff --git a/pkgs/servers/metabase/default.nix b/pkgs/servers/metabase/default.nix index a6d2d88f7a220..9ec8ddf47d6e0 100644 --- a/pkgs/servers/metabase/default.nix +++ b/pkgs/servers/metabase/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "metabase"; - version = "0.42.1"; + version = "0.43.1"; src = fetchurl { url = "https://downloads.metabase.com/v${version}/metabase.jar"; - hash = "sha256-PmcVVAS/5mDhmOSoFvkZeYkbvFD/KOcgVYuScwD4Olg="; + hash = "sha256-WGbIsmCWsSxgE7Ktr539qTt/o5cJrYi0yu3ZkfbxOV0="; }; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/servers/nextcloud/default.nix b/pkgs/servers/nextcloud/default.nix index 94d69ad81dc26..a666c3fee358e 100644 --- a/pkgs/servers/nextcloud/default.nix +++ b/pkgs/servers/nextcloud/default.nix @@ -46,13 +46,13 @@ in { ''; nextcloud23 = generic { - version = "23.0.5"; - sha256 = "3cf51a795f8439e5d34f0a521d939cefafbae38450cce64c6673016984195f29"; + version = "23.0.6"; + sha256 = "34fbc3a6c16a623f57971b8c4df7c5e62b3650728edec7d05ec116b295040548"; }; nextcloud24 = generic { - version = "24.0.1"; - sha256 = "d32a8f6c4722a45cb67de7018163cfafcfa22a871fbac0f623c3875fa4304e5a"; + version = "24.0.2"; + sha256 = "30d6cac1265dff221836bec46a937dcafd7e7d52ee59b939841750b514e5033d"; }; # tip: get she sha with: diff --git a/pkgs/servers/peertube/default.nix b/pkgs/servers/peertube/default.nix index 558c21c6cd153..1a8253d51d4ab 100644 --- a/pkgs/servers/peertube/default.nix +++ b/pkgs/servers/peertube/default.nix @@ -6,18 +6,18 @@ let if stdenv.hostPlatform.system == "x86_64-linux" then "linux-x64" else throw "Unsupported architecture: ${stdenv.hostPlatform.system}"; - version = "4.1.1"; + version = "4.2.0"; source = fetchFromGitHub { owner = "Chocobozzz"; repo = "PeerTube"; rev = "v${version}"; - sha256 = "sha256-yBRontvkcVU3BNUIB6WfH2a5blU9u3CNyHrou16h42s="; + sha256 = "sha256-U/QJqYw1fFmUvtPDZ1VcYe1+clLj/I0Lkhhu8+FuK2U="; }; yarnOfflineCacheServer = fetchYarnDeps { yarnLock = "${source}/yarn.lock"; - sha256 = "sha256-L1Nr6sGjYVm42OyeFOQeQ6WEXjmNkngWilBtfQJ6bPE="; + sha256 = "sha256-7fYQ4YS92XbzeI7nwpQfI2reDp6EiDgncK5YGSWzHF0="; }; yarnOfflineCacheTools = fetchYarnDeps { @@ -27,7 +27,7 @@ let yarnOfflineCacheClient = fetchYarnDeps { yarnLock = "${source}/client/yarn.lock"; - sha256 = "sha256-cBa0lNq9JsYi34EJzl0pPbDXSYL9a8g6MmiL6Ge65ms="; + sha256 = "sha256-6Snx1OwEndGrkMZbAEsoNRUQnZcwH+pwSDZW8igCzXA="; }; bcrypt_version = "5.0.1"; diff --git a/pkgs/servers/rt/default.nix b/pkgs/servers/rt/default.nix index 2b5188f743ad5..a113c25f396cd 100644 --- a/pkgs/servers/rt/default.nix +++ b/pkgs/servers/rt/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "rt"; - version = "5.0.1"; + version = "5.0.2"; src = fetchFromGitHub { repo = pname; rev = "${pname}-${version}"; owner = "bestpractical"; - sha256 = "1qqh6w094x7dljz001va802v4s6mixs9lkhs2cs47lf5ph3vwq2q"; + sha256 = "1qdvbsmdynjw2v0clnmhdmrky7w4dsiysv92n7d7jdbawnicqahn"; }; patches = [ @@ -88,6 +88,7 @@ stdenv.mkDerivation rec { MozillaCA NetCIDR NetIP + ParallelForkManager PathDispatcher PerlIOeol Plack diff --git a/pkgs/servers/web-apps/jirafeau/default.nix b/pkgs/servers/web-apps/jirafeau/default.nix index 6091eb498208d..8001e58049704 100644 --- a/pkgs/servers/web-apps/jirafeau/default.nix +++ b/pkgs/servers/web-apps/jirafeau/default.nix @@ -8,13 +8,13 @@ let in stdenv.mkDerivation rec { pname = "jirafeau"; - version = "4.3.0"; + version = "4.4.0"; src = fetchFromGitLab { owner = "mojo42"; repo = "Jirafeau"; rev = version; - hash = "sha256-9v6rtxViXsolx5AKSp2HxcFyU1XJWFSiqzTBl+dQBD4="; + hash = "sha256-jJ2r8XTtAzawTVo2A2pDwy7Z6KHeyBkgXXaCPY0w/rg="; }; installPhase = '' diff --git a/pkgs/shells/zsh/oh-my-zsh/default.nix b/pkgs/shells/zsh/oh-my-zsh/default.nix index 2b2126f2d29b7..8d73c63f67aed 100644 --- a/pkgs/shells/zsh/oh-my-zsh/default.nix +++ b/pkgs/shells/zsh/oh-my-zsh/default.nix @@ -5,15 +5,15 @@ , git, nix, nixfmt, jq, coreutils, gnused, curl, cacert, bash }: stdenv.mkDerivation rec { - version = "2022-06-15"; + version = "2022-06-19"; pname = "oh-my-zsh"; - rev = "8168ec0174e7e3212be20ecc74810155772abff1"; + rev = "4c82a2eedf0c43d47601ffa8b0303ed1326fab8f"; src = fetchFromGitHub { inherit rev; owner = "ohmyzsh"; repo = "ohmyzsh"; - sha256 = "KbxVZ/sHwZEm8EzCR8ZOJdhiYnRyMLuUetBRxuj5izU="; + sha256 = "evFMOZUVpF8Qv3os+hx8Z7nC216sZclxO1g9ZaO//QU="; }; strictDeps = true; diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index 5f1a22cee06f3..f8a858a4b52de 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -124,7 +124,7 @@ let # InstallCheck phase , doInstallCheck ? config.doCheckByDefault or false -, # TODO(@Ericson2314): Make always true and remove +, # TODO(@Ericson2314): Make always true and remove / resolve #178468 strictDeps ? if config.strictDepsByDefault then true else stdenv.hostPlatform != stdenv.buildPlatform , enableParallelBuilding ? config.enableParallelBuildingByDefault diff --git a/pkgs/tools/admin/aws-sso-cli/default.nix b/pkgs/tools/admin/aws-sso-cli/default.nix new file mode 100644 index 0000000000000..96ee8959dba8a --- /dev/null +++ b/pkgs/tools/admin/aws-sso-cli/default.nix @@ -0,0 +1,25 @@ +{ buildGoModule, fetchFromGitHub, lib }: + buildGoModule rec { + pname = "aws-sso-cli"; + version = "1.9.2"; + + src = fetchFromGitHub { + owner = "synfinatic"; + repo = pname; + rev = "v${version}"; + sha256 = "9/dZfRmFAyE5NEMmuiVsRvwgqQrTNhXkTR9N0d3zgfk="; + }; + vendorSha256 = "BlSCLvlrKiubMtfFSZ5ppMmL2ZhJcBXxJfeRgMADYB4="; + + postInstall = '' + mv $out/bin/cmd $out/bin/aws-sso + ''; + + meta = with lib; { + homepage = "https://github.com/synfinatic/aws-sso-cli"; + description = "AWS SSO CLI is a secure replacement for using the aws configure sso wizard"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ devusb ]; + mainProgram = "aws-sso"; + }; +} diff --git a/pkgs/tools/admin/salt/0001-Fix-Jinja2-3.1.0.patch b/pkgs/tools/admin/salt/0001-Fix-Jinja2-3.1.0.patch deleted file mode 100644 index bdcc82c708dfa..0000000000000 --- a/pkgs/tools/admin/salt/0001-Fix-Jinja2-3.1.0.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 0a763a13ef55964395dff60283ececc16f957792 Mon Sep 17 00:00:00 2001 -From: Derek Kulinski <d@kulinski.us> -Date: Sun, 8 May 2022 01:30:39 -0700 -Subject: [PATCH] Fix Jinja2 3.1.0 - ---- - salt/utils/jinja.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/salt/utils/jinja.py b/salt/utils/jinja.py -index 0cb70bf64a..322c2f7f46 100644 ---- a/salt/utils/jinja.py -+++ b/salt/utils/jinja.py -@@ -25,10 +25,11 @@ import salt.utils.json - import salt.utils.stringutils - import salt.utils.url - import salt.utils.yaml --from jinja2 import BaseLoader, Markup, TemplateNotFound, nodes -+from jinja2 import BaseLoader, TemplateNotFound, nodes - from jinja2.environment import TemplateModule - from jinja2.exceptions import TemplateRuntimeError - from jinja2.ext import Extension -+from markupsafe import Markup - from salt.exceptions import TemplateError - from salt.utils.decorators.jinja import jinja_filter, jinja_global, jinja_test - from salt.utils.odict import OrderedDict -@@ -706,7 +707,7 @@ def method_call(obj, f_name, *f_args, **f_kwargs): - return getattr(obj, f_name, lambda *args, **kwargs: None)(*f_args, **f_kwargs) - - --@jinja2.contextfunction -+@jinja2.pass_context - def show_full_context(ctx): - return salt.utils.data.simple_types_filter( - {key: value for key, value in ctx.items()} --- -2.35.1 - diff --git a/pkgs/tools/admin/salt/default.nix b/pkgs/tools/admin/salt/default.nix index b59bc46e9c2be..bac3bca4cc6b5 100644 --- a/pkgs/tools/admin/salt/default.nix +++ b/pkgs/tools/admin/salt/default.nix @@ -8,11 +8,11 @@ python3.pkgs.buildPythonApplication rec { pname = "salt"; - version = "3004.1"; + version = "3004.2"; src = python3.pkgs.fetchPypi { inherit pname version; - hash = "sha256-fzRKJDJkik8HjapazMaNzf/hCVzqE+wh5QQTVg8Ewpg="; + hash = "sha256-L6ZE9iANTja1WEbLNytuZ7bKD77AaX8djXPncbZl7XA="; }; propagatedBuildInputs = with python3.pkgs; [ @@ -29,9 +29,6 @@ python3.pkgs.buildPythonApplication rec { patches = [ ./fix-libcrypto-loading.patch - - # Bug in 3004.1: https://github.com/saltstack/salt/pull/61856 - ./0001-Fix-Jinja2-3.1.0.patch ]; postPatch = '' diff --git a/pkgs/tools/audio/liquidsoap/full.nix b/pkgs/tools/audio/liquidsoap/full.nix index 73e9bf51636e2..b390c943cd2a7 100644 --- a/pkgs/tools/audio/liquidsoap/full.nix +++ b/pkgs/tools/audio/liquidsoap/full.nix @@ -7,14 +7,14 @@ let pname = "liquidsoap"; - version = "2.0.5"; + version = "2.0.6"; in stdenv.mkDerivation { inherit pname version; src = fetchurl { url = "https://github.com/savonet/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2"; - sha256 = "sha256-+BHRAnO2sKK504EhXc6LPabnOzcOAAHmtmqVNQ8OeZU="; + sha256 = "sha256-1wD9BApbDA/ovzZoniay+jciP/V2C8EoGQehd5N8PPQ="; }; postFixup = '' diff --git a/pkgs/tools/audio/mpd-discord-rpc/default.nix b/pkgs/tools/audio/mpd-discord-rpc/default.nix index 1565ac040c3b8..cbaeb9e01145c 100644 --- a/pkgs/tools/audio/mpd-discord-rpc/default.nix +++ b/pkgs/tools/audio/mpd-discord-rpc/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "mpd-discord-rpc"; - version = "1.5.1"; + version = "1.5.2"; src = fetchFromGitHub { owner = "JakeStanger"; repo = pname; rev = "v${version}"; - sha256 = "sha256-jwsfUepGJ7IB1H6Er1EszYkkYIOSyuFvTX7NF9UhhGo="; + sha256 = "sha256-/QWIoP6KcrI8cYTh3x2lQz7nPSvzb1zRWg8TFoYY9vE="; }; - cargoSha256 = "sha256-4MUfjXWDZmfsUzvWo8I2fgzm4jOfX1ZgHYqUmxXJ/BU="; + cargoSha256 = "sha256-46PS1+ud7GYuMOJMp93Hf7+nlngvgL67zedaF44TcYY="; nativeBuildInputs = [ pkg-config ]; diff --git a/pkgs/tools/filesystems/catcli/default.nix b/pkgs/tools/filesystems/catcli/default.nix index 540c4ba6c5f96..dbce4cb7c8c18 100644 --- a/pkgs/tools/filesystems/catcli/default.nix +++ b/pkgs/tools/filesystems/catcli/default.nix @@ -7,13 +7,13 @@ buildPythonApplication rec { pname = "catcli"; - version = "0.8.0"; + version = "0.8.1"; src = fetchFromGitHub { owner = "deadc0de6"; repo = pname; - rev = "v${version}"; - sha256 = "1hkgf692h3akdxiwhzm3vqibh1ps661qllilf55nyk109cx79gna"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-fnnioUMZZZOydpZixiTOHAL2fSA6TOE4AO9Gff5SDxY="; }; propagatedBuildInputs = [ docopt anytree ]; diff --git a/pkgs/tools/graphics/wallutils/default.nix b/pkgs/tools/graphics/wallutils/default.nix index d7c37bb2742b7..a10f0673fc2f6 100644 --- a/pkgs/tools/graphics/wallutils/default.nix +++ b/pkgs/tools/graphics/wallutils/default.nix @@ -5,13 +5,13 @@ buildGoPackage rec { pname = "wallutils"; - version = "5.10.0"; + version = "5.11.0"; src = fetchFromGitHub { owner = "xyproto"; repo = "wallutils"; rev = version; - sha256 = "1phlkpy8kg4ai2xmachpbbxvl8fga9hqqbad2a2121yl60709l1k"; + sha256 = "sha256-5yx6++uciCoT+gcqGnag9V1eYdfwHIQ8WrsuGU4A51E="; }; goPackagePath = "github.com/xyproto/wallutils"; diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix index d07b7a716b428..dc7a92c4bef0d 100644 --- a/pkgs/tools/misc/broot/default.nix +++ b/pkgs/tools/misc/broot/default.nix @@ -15,14 +15,14 @@ rustPlatform.buildRustPackage rec { pname = "broot"; - version = "1.13.1"; + version = "1.13.3"; src = fetchCrate { inherit pname version; - sha256 = "sha256-mAa6AT8z+U2d6BSqYwnlwqQG7GEF8CgcdZweLBC+Wws="; + sha256 = "sha256-OiBmgXGyxEIS7rkRmJbEZdoWPk27j+QD5I+mqJSSxH0="; }; - cargoHash = "sha256-y5RRNy+9NPuiD3e62hYQGNQ9tkre9sQ1oCRG1AlcVos="; + cargoHash = "sha256-qc68n8bxKuzqnhwS+d33hC4PWZJG1UQMytQUGyJd1bc="; nativeBuildInputs = [ installShellFiles diff --git a/pkgs/tools/misc/direnv/default.nix b/pkgs/tools/misc/direnv/default.nix index f2901917b6b4e..534e77bd24394 100644 --- a/pkgs/tools/misc/direnv/default.nix +++ b/pkgs/tools/misc/direnv/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "direnv"; - version = "2.32.0"; + version = "2.32.1"; src = fetchFromGitHub { owner = "direnv"; repo = "direnv"; rev = "v${version}"; - sha256 = "sha256-VPFN1W49FDzCblmTEq9UR2+j7wL5YIRxwpy6nlxBLfk="; + sha256 = "sha256-xweCJtGp+id2ledK5ddoXoKJp57KUvwHuqhrIo8ch8Q="; }; - vendorSha256 = "sha256-gFGGnnR1UNT4MYC411X8NwIqVJZqhnmUlVR+XAnrKY8="; + vendorSha256 = "sha256-u/LukIOYRudFYOrrlZTMtDAlM3+WjoSBiueR7aySSVU="; # we have no bash at the moment for windows BASH_PATH = diff --git a/pkgs/tools/misc/dsq/default.nix b/pkgs/tools/misc/dsq/default.nix index 72cc82282e3af..1d6dde3c3cffa 100644 --- a/pkgs/tools/misc/dsq/default.nix +++ b/pkgs/tools/misc/dsq/default.nix @@ -9,42 +9,36 @@ , python3 , curl , jq +, p7zip , dsq }: buildGoModule rec { pname = "dsq"; - version = "0.16.0"; + version = "0.20.1"; src = fetchFromGitHub { owner = "multiprocessio"; repo = "dsq"; rev = version; - hash = "sha256-emBLYiNOHYp3XsaY172DDtIdquj3U3U/Q6bogC3rvFQ="; + hash = "sha256-zTrIs6Q/+PW6CKCx1L8VaXhc1ZAqbb+Od+LJNjPCOTs="; }; - vendorSha256 = "sha256-ZZDZ3FWgOpRJB+X1hrlP8Hh1n3l7jUd39H5MDz88wOs="; + vendorSha256 = "sha256-bLaBBWChK2RKXd/rX9m9UfHu8zt0j8TOm5S2M02U91A="; ldflags = [ "-X" "main.Version=${version}" ]; - checkInputs = [ python3 curl jq ]; + checkInputs = [ python3 curl jq p7zip ]; - preCheck = - let - taxiCsv = fetchurl { - url = "https://s3.amazonaws.com/nyc-tlc/trip+data/yellow_tripdata_2021-04.csv"; - hash = "sha256-CXJPraOYAy5tViDcBi9gxI/rJ3ZXqOa/nJ/d+aREV+M="; - }; - in - '' - substituteInPlace scripts/test.py \ - --replace '${taxiCsv.url}' file://${taxiCsv} \ - --replace 'dsq latest' 'dsq ${version}' - ''; + preCheck = '' + substituteInPlace scripts/test.py \ + --replace 'dsq latest' 'dsq ${version}' + ''; checkPhase = '' runHook preCheck + 7z e testdata/taxi.csv.7z cp "$GOPATH/bin/dsq" . python3 scripts/test.py diff --git a/pkgs/tools/misc/hyperledger-fabric/default.nix b/pkgs/tools/misc/hyperledger-fabric/default.nix index c2c48bfa7d80d..ba3c9495a43f1 100644 --- a/pkgs/tools/misc/hyperledger-fabric/default.nix +++ b/pkgs/tools/misc/hyperledger-fabric/default.nix @@ -1,35 +1,55 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +}: -buildGoPackage rec { +buildGoModule rec { pname = "hyperledger-fabric"; - version = "1.3.0"; - - goPackagePath = "github.com/hyperledger/fabric"; - - # taken from https://github.com/hyperledger/fabric/blob/v1.3.0/Makefile#L108 - subPackages = [ - "common/tools/configtxgen" - "common/tools/configtxlator" - "common/tools/cryptogen" - "common/tools/idemixgen" - "cmd/discover" - "peer" - "orderer" - ]; + version = "2.4.3"; + commit = "9711fb5d0c16297584f5c53123f589110828736f"; src = fetchFromGitHub { owner = "hyperledger"; repo = "fabric"; rev = "v${version}"; - sha256 = "08qrrxzgkqg9v7n3y8f2vggyqx9j65wisxi17hrabz5mzaq299xs"; + sha256 = "sha256-gXVahzpuIUWAHq4gJ1rbq943zIuWrl/ojDMQDFfI14I="; }; - doCheck = true; + vendorSha256 = null; + + postPatch = '' + # Broken + rm cmd/peer/main_test.go + ''; + + subPackages = [ + "cmd/configtxgen" + "cmd/configtxlator" + "cmd/cryptogen" + "cmd/discover" + "cmd/ledgerutil" + "cmd/orderer" + "cmd/osnadmin" + "cmd/peer" + ]; + + ldflags = lib.mapAttrsToList + (n: v: "github.com/hyperledger/fabric/common/metadata.${n}=${v}") { + Version = version; + CommitSha = commit; + }; meta = with lib; { - description = "An implementation of blockchain technology, leveraging familiar and proven technologies"; + description = "High-performance, secure, permissioned blockchain network"; + longDescription = '' + Hyperledger Fabric is an enterprise-grade permissioned distributed ledger + framework for developing solutions and applications. Its modular and + versatile design satisfies a broad range of industry use cases. It offers + a unique approach to consensus that enables performance at scale while + preserving privacy. + ''; homepage = "https://wiki.hyperledger.org/display/fabric"; license = licenses.asl20; - maintainers = [ maintainers.marsam ]; + maintainers = with maintainers; [ marsam ]; }; } diff --git a/pkgs/tools/misc/moreutils/default.nix b/pkgs/tools/misc/moreutils/default.nix index d64b690b7636c..1f002136ad022 100644 --- a/pkgs/tools/misc/moreutils/default.nix +++ b/pkgs/tools/misc/moreutils/default.nix @@ -1,4 +1,15 @@ -{ lib, stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perlPackages, makeWrapper, darwin }: +{ lib +, stdenv +, fetchgit +, libxml2 +, libxslt +, docbook-xsl +, docbook_xml_dtd_44 +, perlPackages +, makeWrapper +, perl # for pod2man +, darwin +}: with lib; stdenv.mkDerivation rec { @@ -15,9 +26,9 @@ stdenv.mkDerivation rec { substituteInPlace Makefile --replace /usr/share/xml/docbook/stylesheet/docbook-xsl ${docbook-xsl}/xml/xsl/docbook ''; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ] - ++ optional stdenv.isDarwin darwin.cctools; + strictDeps = true; + nativeBuildInputs = [ makeWrapper perl libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]; + buildInputs = optional stdenv.isDarwin darwin.cctools; propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ]; diff --git a/pkgs/tools/misc/yt-dlp/default.nix b/pkgs/tools/misc/yt-dlp/default.nix index 0eab77c5ab655..28f9021cb1c05 100644 --- a/pkgs/tools/misc/yt-dlp/default.nix +++ b/pkgs/tools/misc/yt-dlp/default.nix @@ -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.05.18"; + version = "2022.6.22.1"; src = fetchPypi { inherit pname; version = builtins.replaceStrings [ ".0" ] [ "." ] version; - sha256 = "sha256-OntZ0vtLOc6LqOC5xaN/4g5WJPRqI0a0rmarEyDjUTQ="; + sha256 = "sha256-7kAancx+koWxTxMinD3O/fOH5Zf09Pdz2rMmqv47gww="; }; propagatedBuildInputs = [ brotli certifi mutagen pycryptodomex websockets ]; diff --git a/pkgs/tools/networking/boundary/default.nix b/pkgs/tools/networking/boundary/default.nix index f653159c34d76..4a20273153b64 100644 --- a/pkgs/tools/networking/boundary/default.nix +++ b/pkgs/tools/networking/boundary/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "boundary"; - version = "0.8.1"; + version = "0.9.0"; src = let @@ -15,10 +15,10 @@ stdenv.mkDerivation rec { aarch64-darwin = "darwin_arm64"; }; sha256 = selectSystem { - x86_64-linux = "sha256-JvWzDdslO1S/nVsIwvFAEhLo/kkHIE1AVwoI980LV4Y="; - aarch64-linux = "sha256-IwD7iazbh94c9CZfFsg5t39D8oVWgpfXP1H0/GsTe3Y="; - x86_64-darwin = "sha256-SkNSZVdbR6KW/vChDdvHMP+fGQp+mPVxKpEHb7BR4+4="; - aarch64-darwin = "sha256-Mx9YhMk5eBgtDiYWPq7jfhrM3TjH0VCUE1QXycz5Cfc="; + x86_64-linux = "sha256-+Ewk+tLLwp8xszDS3RadeAOpS261wSG5NC8Gk2OwHiY="; + aarch64-linux = "sha256-knEI3a4xL+kAllNColEXBCKhnWoM3Fcso3cwFGaA1fQ="; + x86_64-darwin = "sha256-jPdW3ovcb5yhQHJGUEBB2hou2og4tMIGtr5V+W6vNlc="; + aarch64-darwin = "sha256-8Fx6lQUHna5J8M67wSzpRmAGZlZbQdpMxgSa6/07g/Y="; }; in fetchzip { diff --git a/pkgs/tools/security/nuclei/default.nix b/pkgs/tools/security/nuclei/default.nix index 8487d8a260509..0019c82bfbe69 100644 --- a/pkgs/tools/security/nuclei/default.nix +++ b/pkgs/tools/security/nuclei/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "nuclei"; - version = "2.7.2"; + version = "2.7.3"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "v${version}"; - sha256 = "sha256-knpsoDVDGxG85YiD7pc+XDV7BgCSpNRFRuN+qM3Gv/U="; + sha256 = "sha256-E0oEB7N1+XyyoGrIgR7IECyKFRV5oDiEwZncVbq5urs="; }; - vendorSha256 = "sha256-e17QpSXttso1crvBj0vrfuJliIDcXoXJzWt87ulSZXQ="; + vendorSha256 = "sha256-oqM/rOaqL/6un9J9OEconmobvzUwmuz0Hi+C7CR8Yak="; modRoot = "./v2"; subPackages = [ diff --git a/pkgs/tools/security/prs/default.nix b/pkgs/tools/security/prs/default.nix index 5a020dde9cc43..2a901a599d490 100644 --- a/pkgs/tools/security/prs/default.nix +++ b/pkgs/tools/security/prs/default.nix @@ -14,16 +14,16 @@ rustPlatform.buildRustPackage rec { pname = "prs"; - version = "0.3.2"; + version = "0.3.4"; src = fetchFromGitLab { owner = "timvisee"; repo = "prs"; rev = "v${version}"; - sha256 = "sha256-90Ed/mafACSJvH+DjCbdXs3eeyT+pGflRzDD9l3b0/s="; + hash = "sha256-dfyTaWwV2hNZPZfvM+AqqR1zbChjT6Y/TEkQPEXRtGA="; }; - cargoSha256 = "sha256-5teiF8s11Ml8UtbVn6fXur2OQzE52JZnsgyDihbEFTQ="; + cargoHash = "sha256-yf46le0jG4EXo60kGKc0GwSO5vl4Dw0gmYJ4yr+TFdE="; postPatch = '' # The GPGME backend is recommended diff --git a/pkgs/tools/system/colorls/Gemfile.lock b/pkgs/tools/system/colorls/Gemfile.lock index e9cd8cbf766d4..29f4e6bd87da8 100644 --- a/pkgs/tools/system/colorls/Gemfile.lock +++ b/pkgs/tools/system/colorls/Gemfile.lock @@ -1,17 +1,21 @@ GEM remote: https://rubygems.org/ specs: + addressable (2.8.0) + public_suffix (>= 2.0.2, < 5.0) clocale (0.0.4) - colorls (1.4.3) + colorls (1.4.6) + addressable (~> 2.7) clocale (~> 0) filesize (~> 0) manpages (~> 0) rainbow (>= 2.2, < 4.0) - unicode-display_width (~> 1.7) + unicode-display_width (>= 1.7, < 3.0) filesize (0.2.0) manpages (0.6.1) - rainbow (3.0.0) - unicode-display_width (1.7.0) + public_suffix (4.0.7) + rainbow (3.1.1) + unicode-display_width (2.1.0) PLATFORMS ruby @@ -20,4 +24,4 @@ DEPENDENCIES colorls BUNDLED WITH - 2.1.4 + 2.3.9 diff --git a/pkgs/tools/system/colorls/gemset.nix b/pkgs/tools/system/colorls/gemset.nix index b978a4762acc6..ca9db9cb250de 100644 --- a/pkgs/tools/system/colorls/gemset.nix +++ b/pkgs/tools/system/colorls/gemset.nix @@ -1,4 +1,15 @@ { + addressable = { + dependencies = ["public_suffix"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "022r3m9wdxljpbya69y2i3h9g3dhhfaqzidf95m6qjzms792jvgp"; + type = "gem"; + }; + version = "2.8.0"; + }; clocale = { groups = ["default"]; platforms = []; @@ -10,15 +21,15 @@ version = "0.0.4"; }; colorls = { - dependencies = ["clocale" "filesize" "manpages" "rainbow" "unicode-display_width"]; + dependencies = ["addressable" "clocale" "filesize" "manpages" "rainbow" "unicode-display_width"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1w9d99qzgxw8wwa4z1vkdnr70fppx2g9shma6dz3ihjhajj2xvmq"; + sha256 = "16r9c61lamjiig4rxfx1rs0bagqq8lbz88vf1250zkvq4fdk93p9"; type = "gem"; }; - version = "1.4.3"; + version = "1.4.6"; }; filesize = { groups = ["default"]; @@ -40,24 +51,34 @@ }; version = "0.6.1"; }; + public_suffix = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1f3knlwfwm05sfbaihrxm4g772b79032q14c16q4b38z8bi63qcb"; + type = "gem"; + }; + version = "4.0.7"; + }; rainbow = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0bb2fpjspydr6x0s8pn1pqkzmxszvkfapv0p4627mywl7ky4zkhk"; + sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503"; type = "gem"; }; - version = "3.0.0"; + version = "3.1.1"; }; unicode-display_width = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "06i3id27s60141x6fdnjn5rar1cywdwy64ilc59cz937303q3mna"; + sha256 = "0csjm9shhfik0ci9mgimb7hf3xgh7nx45rkd9rzgdz6vkwr8rzxn"; type = "gem"; }; - version = "1.7.0"; + version = "2.1.0"; }; } diff --git a/pkgs/tools/system/openipmi/default.nix b/pkgs/tools/system/openipmi/default.nix index 7e54a5549b714..8a8ac04f3accc 100644 --- a/pkgs/tools/system/openipmi/default.nix +++ b/pkgs/tools/system/openipmi/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, popt, ncurses, python3, readline, lib }: +{ stdenv, fetchurl, popt, ncurses, python39, readline, lib }: stdenv.mkDerivation rec { pname = "OpenIPMI"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-9tD9TAp0sF+AkHIp0LJw9UyiMpS8wRl5+LjRJ2Z4aUU="; }; - buildInputs = [ ncurses popt python3 readline ]; + buildInputs = [ ncurses popt python39 readline ]; outputs = [ "out" "lib" "dev" "man" ]; diff --git a/pkgs/tools/system/tre-command/default.nix b/pkgs/tools/system/tre-command/default.nix index 8e8d5c1205164..f79c1625fbf25 100644 --- a/pkgs/tools/system/tre-command/default.nix +++ b/pkgs/tools/system/tre-command/default.nix @@ -2,23 +2,28 @@ rustPlatform.buildRustPackage rec { pname = "tre-command"; - version = "0.3.6"; + version = "0.4.0"; src = fetchFromGitHub { owner = "dduan"; repo = "tre"; rev = "v${version}"; - sha256 = "1r84xzv3p0ml3wac2j7j5fkm7i93v2xvadb8f8al5wi57q39irj7"; + sha256 = "sha256-JlkONhXMWLzxAf3SYoLkSvXw4bFYBnsCyyj0TUsezwg="; }; - cargoSha256 = "1f7yhnbgccqmz8hpc1xdv97j53far6d5p5gqvq6xxaqq9irf9bgj"; + cargoSha256 = "sha256-b3fScJMG/CIkMrahbELLQp1otmT5En+p8kQsip05SOc="; nativeBuildInputs = [ installShellFiles ]; preFixup = '' installManPage manual/tre.1 + installShellCompletion scripts/completion/tre.{bash,fish} + installShellCompletion --zsh scripts/completion/_tre ''; + # this test requires package to be in a git repo to succeed + checkFlags = "--skip respect_git_ignore"; + meta = with lib; { description = "Tree command, improved"; homepage = "https://github.com/dduan/tre"; diff --git a/pkgs/tools/typesetting/htmldoc/default.nix b/pkgs/tools/typesetting/htmldoc/default.nix index d4cd1478ac46d..37b0b42d23e5c 100644 --- a/pkgs/tools/typesetting/htmldoc/default.nix +++ b/pkgs/tools/typesetting/htmldoc/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "htmldoc"; - version = "1.9.15"; + version = "1.9.16"; src = fetchFromGitHub { owner = "michaelrsweet"; repo = "htmldoc"; rev = "v${version}"; - sha256 = "sha256-WNsYJacZBYoZ8Bxj+InQ9ePvelqhU5y9nY7aikUNxEk="; + sha256 = "117cj5sfzl18gan53ld8lxb0wycizcp9jcakcs3nsvnss99rw3a6"; }; nativeBuildInputs = [ pkg-config ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 47dbc24c37276..40ba78f49082e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -997,7 +997,9 @@ with pkgs; acpica-tools = callPackage ../tools/system/acpica-tools { }; - act = callPackage ../development/tools/misc/act { }; + act = callPackage ../development/tools/misc/act { + buildGoModule = buildGo118Module; + }; actdiag = with python3.pkgs; toPythonApplication actdiag; @@ -1933,6 +1935,8 @@ with pkgs; aws-sam-cli = callPackage ../development/tools/aws-sam-cli { }; + aws-sso-cli = callPackage ../tools/admin/aws-sso-cli { }; + aws-vault = callPackage ../tools/admin/aws-vault { }; aws-workspaces = callPackage ../applications/networking/remote/aws-workspaces { }; @@ -7061,6 +7065,8 @@ with pkgs; hotspot = libsForQt5.callPackage ../development/tools/analysis/hotspot { }; + hpccm = with python3Packages; toPythonApplication hpccm; + hping = callPackage ../tools/networking/hping { }; hqplayer-desktop = libsForQt5.callPackage ../applications/audio/hqplayer-desktop { }; @@ -18023,7 +18029,7 @@ with pkgs; hwloc = callPackage ../development/libraries/hwloc {}; - hydra_unstable = callPackage ../development/tools/misc/hydra/unstable.nix { nix = nixVersions.nix_2_8; }; + hydra_unstable = callPackage ../development/tools/misc/hydra/unstable.nix { nix = nixVersions.nix_2_9; }; hydra-cli = callPackage ../development/tools/misc/hydra-cli { }; @@ -21861,7 +21867,9 @@ with pkgs; gn = gn1924; }; - ergochat = callPackage ../servers/irc/ergochat { }; + ergochat = callPackage ../servers/irc/ergochat { + buildGoModule = buildGo118Module; + }; etcd = etcd_3_3; etcd_3_3 = callPackage ../servers/etcd/3.3.nix { }; @@ -26755,7 +26763,7 @@ with pkgs; fragments = callPackage ../applications/networking/p2p/fragments { }; freecad = libsForQt5.callPackage ../applications/graphics/freecad { - boost = python3Packages.boost169; + boost = python3Packages.boost; inherit (python3Packages) GitPython matplotlib @@ -33599,7 +33607,9 @@ with pkgs; verifast = callPackage ../applications/science/logic/verifast {}; - veriT = callPackage ../applications/science/logic/verit {}; + veriT = callPackage ../applications/science/logic/verit { + stdenv = gccStdenv; + }; why3 = callPackage ../applications/science/logic/why3 { }; diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 232843edf47a7..fe8969b43add3 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -282,6 +282,8 @@ in { apfs = callPackage ../os-specific/linux/apfs { }; + ax99100 = callPackage ../os-specific/linux/ax99100 {}; + batman_adv = callPackage ../os-specific/linux/batman-adv {}; bbswitch = callPackage ../os-specific/linux/bbswitch {}; @@ -571,7 +573,7 @@ in { }); packageAliases = { - linux_default = if stdenv.hostPlatform.is32bit then packages.linux_5_10 else packages.linux_5_15; + linux_default = packages.linux_5_15; # Update this when adding the newest kernel major version! linux_latest = packages.linux_5_18; linux_mptcp = packages.linux_mptcp_95; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 94347ea4e8c60..df9b8bf3315b4 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -182,6 +182,7 @@ let meta = { description = "Perl extension to generate and test check digits"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "checkdigits.pl"; }; }; @@ -307,16 +308,16 @@ let }; asa = buildPerlPackage { - pname = "asa"; - version = "1.04"; - src = fetchurl { - url = "mirror://cpan/authors/id/E/ET/ETHER/asa-1.04.tar.gz"; - sha256 = "0pk783s1h2f45zbmm6a62yfgy71w4sqh8ppgs4cyxfikwxs3p0z5"; - }; - meta = { - description = "Lets your class/object say it works like something else"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "asa"; + version = "1.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/E/ET/ETHER/asa-1.04.tar.gz"; + sha256 = "0pk783s1h2f45zbmm6a62yfgy71w4sqh8ppgs4cyxfikwxs3p0z5"; + }; + meta = { + description = "Lets your class/object say it works like something else"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; AlienSDL = buildPerlModule { @@ -476,6 +477,9 @@ let }; propagatedBuildInputs = [ AnyEvent commonsense ]; meta = { + description = "Quickly ping a large number of hosts"; + license = with lib.licenses; [ artistic1 gpl2Plus ]; + mainProgram = "fastping"; }; }; @@ -672,16 +676,17 @@ let postInstall = '' mkdir -p $out/share/bash-completion/completions mv $out/bin/clusterssh_bash_completion.dist \ - $out/share/bash-completion/completions/clusterssh_bash_completion + $out/share/bash-completion/completions/clusterssh_bash_completion substituteInPlace $out/share/bash-completion/completions/clusterssh_bash_completion \ - --replace '/bin/true' '${pkgs.coreutils}/bin/true' \ - --replace 'grep' '${pkgs.gnugrep}/bin/grep' \ - --replace 'sed' '${pkgs.gnused}/bin/sed' + --replace '/bin/true' '${pkgs.coreutils}/bin/true' \ + --replace 'grep' '${pkgs.gnugrep}/bin/grep' \ + --replace 'sed' '${pkgs.gnused}/bin/sed' ''; meta = { + homepage = "https://github.com/duncs/clusterssh/wiki"; description = "A container for functions of the ClusterSSH programs"; license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/duncs/clusterssh/wiki"; + mainProgram = "cssh"; }; }; @@ -715,16 +720,17 @@ let }; AppFatPacker = buildPerlPackage { - pname = "App-FatPacker"; - version = "0.010008"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MS/MSTROUT/App-FatPacker-0.010008.tar.gz"; - sha256 = "1kzcbpsf1p7ww45d9fl2w0nfn5jj5pz0r0c649c1lrj5r1nv778j"; - }; - meta = { - description = "pack your dependencies onto your script file"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "App-FatPacker"; + version = "0.010008"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MS/MSTROUT/App-FatPacker-0.010008.tar.gz"; + sha256 = "1kzcbpsf1p7ww45d9fl2w0nfn5jj5pz0r0c649c1lrj5r1nv778j"; + }; + meta = { + description = "pack your dependencies onto your script file"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "fatpack"; + }; }; Appcpanminus = buildPerlPackage { @@ -747,6 +753,7 @@ let homepage = "https://github.com/miyagawa/cpanminus"; description = "Get, unpack, build and install modules from CPAN"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "cpanm"; }; }; @@ -768,6 +775,7 @@ let description = "A fast CPAN module installer"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.zakame ]; + mainProgram = "cpm"; }; }; @@ -805,6 +813,7 @@ let homepage = "https://www.chordpro.org"; description = "A lyrics and chords formatting program"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "chordpro"; }; }; @@ -836,22 +845,23 @@ let meta = { description = "Manage perl installations in your $HOME"; license = lib.licenses.mit; + mainProgram = "perlbrew"; }; }; ArchiveAnyLite = buildPerlPackage { - pname = "Archive-Any-Lite"; - version = "0.11"; - src = fetchurl { - url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Archive-Any-Lite-0.11.tar.gz"; - sha256 = "0w2i50fd81ip674zmnrb15nadw162fdpiw4rampbd94k74jqih8m"; - }; - propagatedBuildInputs = [ ArchiveZip ]; - buildInputs = [ ExtUtilsMakeMakerCPANfile TestUseAllModules ]; - meta = { - description = "simple CPAN package extractor"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Archive-Any-Lite"; + version = "0.11"; + src = fetchurl { + url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Archive-Any-Lite-0.11.tar.gz"; + sha256 = "0w2i50fd81ip674zmnrb15nadw162fdpiw4rampbd94k74jqih8m"; + }; + propagatedBuildInputs = [ ArchiveZip ]; + buildInputs = [ ExtUtilsMakeMakerCPANfile TestUseAllModules ]; + meta = { + description = "simple CPAN package extractor"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; AppSqitch = buildPerlModule { @@ -868,6 +878,7 @@ let homepage = "https://sqitch.org/"; description = "Sane database change management"; license = lib.licenses.mit; + mainProgram = "sqitch"; }; }; @@ -887,6 +898,7 @@ let license = lib.licenses.mit; homepage = "https://github.com/nferraz/st"; maintainers = [ maintainers.eelco ]; + mainProgram = "st"; }; }; @@ -919,17 +931,17 @@ let }; ArrayDiff = buildPerlPackage { - pname = "Array-Diff"; - version = "0.09"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/Array-Diff-0.09.tar.gz"; - sha256 = "0xsh8k312spzl90xds075qprcaz4r0b93g1bgi9l3rv1k0p3j1l0"; - }; - propagatedBuildInputs = [ AlgorithmDiff ClassAccessor ]; - meta = { - description = "Find the differences between two arrays"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Array-Diff"; + version = "0.09"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/Array-Diff-0.09.tar.gz"; + sha256 = "0xsh8k312spzl90xds075qprcaz4r0b93g1bgi9l3rv1k0p3j1l0"; + }; + propagatedBuildInputs = [ AlgorithmDiff ClassAccessor ]; + meta = { + description = "Find the differences between two arrays"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ArrayFIFO = buildPerlPackage { @@ -985,6 +997,7 @@ let description = "Module for manipulations of cpio archives"; # See https://rt.cpan.org/Public/Bug/Display.html?id=43597#txn-569710 license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "cpio-filter"; }; }; @@ -1011,20 +1024,21 @@ let meta = { description = "Manipulates TAR archives"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "ptar"; }; }; ArchiveTarWrapper = buildPerlPackage { - pname = "Archive-Tar-Wrapper"; - version = "0.38"; - src = fetchurl { - url = "mirror://cpan/authors/id/A/AR/ARFREITAS/Archive-Tar-Wrapper-0.38.tar.gz"; - sha256 = "0ymknznhk5ky7f835l0l5wfkx8kl0vfm0hvhijvgyp5rm3dd1wqr"; - }; - propagatedBuildInputs = [ FileWhich IPCRun LogLog4perl ]; - meta = { - description = "API wrapper around the 'tar' utility"; - }; + pname = "Archive-Tar-Wrapper"; + version = "0.38"; + src = fetchurl { + url = "mirror://cpan/authors/id/A/AR/ARFREITAS/Archive-Tar-Wrapper-0.38.tar.gz"; + sha256 = "0ymknznhk5ky7f835l0l5wfkx8kl0vfm0hvhijvgyp5rm3dd1wqr"; + }; + propagatedBuildInputs = [ FileWhich IPCRun LogLog4perl ]; + meta = { + description = "API wrapper around the 'tar' utility"; + }; }; ArchiveZip = buildPerlPackage { @@ -1038,6 +1052,7 @@ let meta = { description = "Provide an interface to ZIP archive files"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "crc32"; }; }; @@ -1173,6 +1188,7 @@ let meta = { description = "Generate Tickets (Signed HTTP Cookies) for mod_auth_pubtkt protected websites"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "mod_auth_pubtkt.pl"; }; }; @@ -1284,17 +1300,17 @@ let }; AuthenSimplePasswd = buildPerlModule { - pname = "Authen-Simple-Passwd"; - version = "0.6"; - src = fetchurl { - url = "mirror://cpan/authors/id/C/CH/CHANSEN/Authen-Simple-Passwd-0.6.tar.gz"; - sha256 = "1ckl2ry9r5nb1rcn1ik2l5b5pp1i3g4bmllsmzb0zpwy4lvbqmfg"; - }; - propagatedBuildInputs = [ AuthenSimple ]; - meta = { - description = "Simple Passwd authentication"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Authen-Simple-Passwd"; + version = "0.6"; + src = fetchurl { + url = "mirror://cpan/authors/id/C/CH/CHANSEN/Authen-Simple-Passwd-0.6.tar.gz"; + sha256 = "1ckl2ry9r5nb1rcn1ik2l5b5pp1i3g4bmllsmzb0zpwy4lvbqmfg"; + }; + propagatedBuildInputs = [ AuthenSimple ]; + meta = { + description = "Simple Passwd authentication"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; autobox = buildPerlPackage { @@ -1338,6 +1354,7 @@ let homepage = "http://www.aarontrevena.co.uk/opensource/autodia/"; license = lib.licenses.gpl2Plus; + mainProgram = "autodia.pl"; }; buildInputs = [ DBI ]; }; @@ -1387,6 +1404,7 @@ let homepage = "https://github.com/rurban/perl-compiler"; description = "Perl compiler"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "perlcc"; }; doCheck = false; /* test fails */ }; @@ -1554,6 +1572,7 @@ let homepage = "https://metacpan.org/release/Bot-Training"; description = "Plain text training material for bots like Hailo and AI::MegaHAL"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "bot-training"; }; }; @@ -1637,18 +1656,18 @@ let }; BUtils = buildPerlPackage { - pname = "B-Utils"; - version = "0.27"; - src = fetchurl { - url = "mirror://cpan/authors/id/E/ET/ETHER/B-Utils-0.27.tar.gz"; - sha256 = "1spzhmk3z6c4blmra3kn84nq20fira2b3vjg86m0j085lgv56zzr"; - }; - propagatedBuildInputs = [ TaskWeaken ]; - buildInputs = [ ExtUtilsDepends ]; - meta = { - description = "Helper functions for op tree manipulation"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "B-Utils"; + version = "0.27"; + src = fetchurl { + url = "mirror://cpan/authors/id/E/ET/ETHER/B-Utils-0.27.tar.gz"; + sha256 = "1spzhmk3z6c4blmra3kn84nq20fira2b3vjg86m0j085lgv56zzr"; + }; + propagatedBuildInputs = [ TaskWeaken ]; + buildInputs = [ ExtUtilsDepends ]; + meta = { + description = "Helper functions for op tree manipulation"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; BusinessHours = buildPerlPackage { @@ -1887,15 +1906,15 @@ let }; capitalization = buildPerlPackage { - pname = "capitalization"; - version = "0.03"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/capitalization-0.03.tar.gz"; - sha256 = "0g7fpckydzxsf8mjkfbyj0pv42dzym4hwbizqahnh7wlfbaicdgi"; - }; - propagatedBuildInputs = [ DevelSymdump ]; - meta = { - }; + pname = "capitalization"; + version = "0.03"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/capitalization-0.03.tar.gz"; + sha256 = "0g7fpckydzxsf8mjkfbyj0pv42dzym4hwbizqahnh7wlfbaicdgi"; + }; + propagatedBuildInputs = [ DevelSymdump ]; + meta = { + }; }; CanaryStability = buildPerlPackage { @@ -1997,6 +2016,7 @@ let homepage = "https://github.com/perl-carton/carton"; description = "Perl module dependency manager (aka Bundler for Perl)"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "carton"; }; }; @@ -2203,6 +2223,7 @@ let homepage = "http://wiki.catalystframework.org/wiki/"; description = "The Catalyst Framework Runtime"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "catalyst.pl"; }; }; @@ -2630,6 +2651,7 @@ let description = "a data toolkit"; license = with lib.licenses; [ artistic1 gpl1Plus ]; homepage = "https://github.com/LibreCat/Catmandu"; + mainProgram = "catmandu"; }; }; @@ -2644,6 +2666,7 @@ let description = "Get the CDDB info for an audio cd"; license = lib.licenses.artistic1; maintainers = [ maintainers.endgame ]; + mainProgram = "cddb.pl"; }; }; @@ -2677,19 +2700,19 @@ let }; CGICompile = buildPerlModule { - pname = "CGI-Compile"; - version = "0.25"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RK/RKITOVER/CGI-Compile-0.25.tar.gz"; - sha256 = "198f94r9xjxgn0hvwy5f93xfa8jlw7d9v3v8z7qbh7mxvzp78jzl"; - }; - propagatedBuildInputs = [ Filepushd SubName ]; - buildInputs = [ CGI CaptureTiny ModuleBuildTiny SubIdentify Switch TestNoWarnings TestRequires TryTiny ]; - meta = { - description = "Compile .cgi scripts to a code reference like ModPerl::Registry"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/miyagawa/CGI-Compile"; - }; + pname = "CGI-Compile"; + version = "0.25"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RK/RKITOVER/CGI-Compile-0.25.tar.gz"; + sha256 = "198f94r9xjxgn0hvwy5f93xfa8jlw7d9v3v8z7qbh7mxvzp78jzl"; + }; + propagatedBuildInputs = [ Filepushd SubName ]; + buildInputs = [ CGI CaptureTiny ModuleBuildTiny SubIdentify Switch TestNoWarnings TestRequires TryTiny ]; + meta = { + description = "Compile .cgi scripts to a code reference like ModPerl::Registry"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/miyagawa/CGI-Compile"; + }; }; CGICookieXS = buildPerlPackage { @@ -3005,6 +3028,11 @@ let url = "mirror://cpan/authors/id/M/MS/MSCHLUE/Class-Classgen-classgen-3.03.tar.gz"; sha256 = "9b65d41b991538992e816b32cc4fa9b4a4a0bb3e9c10e7eebeff82658dbbc8f6"; }; + meta = { + description = "Simplifies creation, manipulation and usage of complex objects."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "classgen"; + }; }; ClassContainer = buildPerlModule { @@ -3224,17 +3252,17 @@ let }; ClassTiny = buildPerlPackage { - pname = "Class-Tiny"; - version = "1.008"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DA/DAGOLDEN/Class-Tiny-1.008.tar.gz"; - sha256 = "05anh4hn8va46xwbdx7rqxnhb8i1lingb614lywzr89gj5iql1gf"; - }; - meta = { - description = "Minimalist class construction"; - license = with lib.licenses; [ asl20 ]; - homepage = "https://github.com/dagolden/Class-Tiny"; - }; + pname = "Class-Tiny"; + version = "1.008"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DA/DAGOLDEN/Class-Tiny-1.008.tar.gz"; + sha256 = "05anh4hn8va46xwbdx7rqxnhb8i1lingb614lywzr89gj5iql1gf"; + }; + meta = { + description = "Minimalist class construction"; + license = with lib.licenses; [ asl20 ]; + homepage = "https://github.com/dagolden/Class-Tiny"; + }; }; ClassLoad = buildPerlPackage { @@ -3413,58 +3441,59 @@ let }; CloneChoose = buildPerlPackage { - pname = "Clone-Choose"; - version = "0.010"; - src = fetchurl { - url = "mirror://cpan/authors/id/H/HE/HERMES/Clone-Choose-0.010.tar.gz"; - sha256 = "0cin2bjn5z8xhm9v4j7pwlkx88jnvz8al0njdjwyvs6fb0glh8sn"; - }; - buildInputs = [ Clone ClonePP TestWithoutModule ]; - meta = { - description = "Choose appropriate clone utility"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Clone-Choose"; + version = "0.010"; + src = fetchurl { + url = "mirror://cpan/authors/id/H/HE/HERMES/Clone-Choose-0.010.tar.gz"; + sha256 = "0cin2bjn5z8xhm9v4j7pwlkx88jnvz8al0njdjwyvs6fb0glh8sn"; + }; + buildInputs = [ Clone ClonePP TestWithoutModule ]; + meta = { + description = "Choose appropriate clone utility"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ClonePP = buildPerlPackage { - pname = "Clone-PP"; - version = "1.08"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/Clone-PP-1.08.tar.gz"; - sha256 = "0y7m25fksiavzg4xj4cm9zkz8rmnk4iqy7lm01m4nmyqlna3082p"; - }; - meta = { - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Clone-PP"; + version = "1.08"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/Clone-PP-1.08.tar.gz"; + sha256 = "0y7m25fksiavzg4xj4cm9zkz8rmnk4iqy7lm01m4nmyqlna3082p"; + }; + meta = { + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; CodeTidyAll = buildPerlPackage { - pname = "Code-TidyAll"; - version = "0.78"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DR/DROLSKY/Code-TidyAll-0.78.tar.gz"; - sha256 = "1dmr6zkgcnc6cam204f00g5yly46cplbn9k45ginw02rv10vnpij"; - }; - propagatedBuildInputs = [ CaptureTiny ConfigINI FileWhich Filepushd IPCRun3 IPCSystemSimple ListCompare ListSomeUtils LogAny Moo ScopeGuard SpecioLibraryPathTiny TextDiff TimeDate TimeDurationParse ]; - buildInputs = [ TestClass TestClassMost TestDeep TestDifferences TestException TestFatal TestMost TestWarn TestWarnings librelative ]; - meta = { - description = "Engine for tidyall, your all-in-one code tidier and validator"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Code-TidyAll"; + version = "0.78"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DR/DROLSKY/Code-TidyAll-0.78.tar.gz"; + sha256 = "1dmr6zkgcnc6cam204f00g5yly46cplbn9k45ginw02rv10vnpij"; + }; + propagatedBuildInputs = [ CaptureTiny ConfigINI FileWhich Filepushd IPCRun3 IPCSystemSimple ListCompare ListSomeUtils LogAny Moo ScopeGuard SpecioLibraryPathTiny TextDiff TimeDate TimeDurationParse ]; + buildInputs = [ TestClass TestClassMost TestDeep TestDifferences TestException TestFatal TestMost TestWarn TestWarnings librelative ]; + meta = { + description = "Engine for tidyall, your all-in-one code tidier and validator"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "tidyall"; + }; }; CodeTidyAllPluginPerlAlignMooseAttributes = buildPerlPackage { - pname = "Code-TidyAll-Plugin-Perl-AlignMooseAttributes"; - version = "0.01"; - src = fetchurl { - url = "mirror://cpan/authors/id/J/JS/JSWARTZ/Code-TidyAll-Plugin-Perl-AlignMooseAttributes-0.01.tar.gz"; - sha256 = "1r8w5kfm17j1dyrrsjhwww423zzdzhx1i3d3brl32wzhasgf47cd"; - }; - propagatedBuildInputs = [ CodeTidyAll TextAligner ]; - meta = { - description = "TidyAll plugin to sort and align Moose-style attributes"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Code-TidyAll-Plugin-Perl-AlignMooseAttributes"; + version = "0.01"; + src = fetchurl { + url = "mirror://cpan/authors/id/J/JS/JSWARTZ/Code-TidyAll-Plugin-Perl-AlignMooseAttributes-0.01.tar.gz"; + sha256 = "1r8w5kfm17j1dyrrsjhwww423zzdzhx1i3d3brl32wzhasgf47cd"; + }; + propagatedBuildInputs = [ CodeTidyAll TextAligner ]; + meta = { + description = "TidyAll plugin to sort and align Moose-style attributes"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ColorLibrary = buildPerlPackage { @@ -3525,7 +3554,7 @@ let }; }; - CompressLZF = buildPerlPackage rec { + CompressLZF = buildPerlPackage rec { pname = "Compress-LZF"; version = "3.8"; src = fetchurl { @@ -3696,19 +3725,19 @@ let }; ConfigIdentity = buildPerlPackage { - pname = "Config-Identity"; - version = "0.0019"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DA/DAGOLDEN/Config-Identity-0.0019.tar.gz"; - sha256 = "1a0jx12pxwpbnkww4xg4lav8j6ls89hrdimhj4a697k56zdhnli9"; - }; - propagatedBuildInputs = [ FileHomeDir IPCRun ]; - buildInputs = [ TestDeep ]; - meta = { - description = "Load (and optionally decrypt via GnuPG) user/pass identity information "; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/dagolden/Config-Identity"; - }; + pname = "Config-Identity"; + version = "0.0019"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DA/DAGOLDEN/Config-Identity-0.0019.tar.gz"; + sha256 = "1a0jx12pxwpbnkww4xg4lav8j6ls89hrdimhj4a697k56zdhnli9"; + }; + propagatedBuildInputs = [ FileHomeDir IPCRun ]; + buildInputs = [ TestDeep ]; + meta = { + description = "Load (and optionally decrypt via GnuPG) user/pass identity information "; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/dagolden/Config-Identity"; + }; }; ConfigIniFiles = buildPerlPackage { @@ -3847,6 +3876,7 @@ let meta = { description = "Simple, versioned access to configuration data"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "cfgver"; }; }; @@ -3871,18 +3901,18 @@ let }; ConstFast = buildPerlModule { - pname = "Const-Fast"; - version = "0.014"; - src = fetchurl { - url = "mirror://cpan/authors/id/L/LE/LEONT/Const-Fast-0.014.tar.gz"; - sha256 = "1nwlldgrx86yn7y6a53cqgvzm2ircsvxg1addahlcy6510x9a1gq"; - }; - propagatedBuildInputs = [ SubExporterProgressive ]; - buildInputs = [ ModuleBuildTiny TestFatal ]; - meta = { - description = "Facility for creating read-only scalars, arrays, and hashes"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Const-Fast"; + version = "0.014"; + src = fetchurl { + url = "mirror://cpan/authors/id/L/LE/LEONT/Const-Fast-0.014.tar.gz"; + sha256 = "1nwlldgrx86yn7y6a53cqgvzm2ircsvxg1addahlcy6510x9a1gq"; + }; + propagatedBuildInputs = [ SubExporterProgressive ]; + buildInputs = [ ModuleBuildTiny TestFatal ]; + meta = { + description = "Facility for creating read-only scalars, arrays, and hashes"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ConvertASCIIArmour = buildPerlPackage { @@ -3976,16 +4006,16 @@ let }; curry = buildPerlPackage { - pname = "curry"; - version = "1.001000"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MS/MSTROUT/curry-1.001000.tar.gz"; - sha256 = "1m2n3w67cskh8ic6vf6ik0fmap9zma875kr5rhyznr1041wn064b"; - }; - meta = { - description = "Create automatic curried method call closures for any class or object"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "curry"; + version = "1.001000"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MS/MSTROUT/curry-1.001000.tar.gz"; + sha256 = "1m2n3w67cskh8ic6vf6ik0fmap9zma875kr5rhyznr1041wn064b"; + }; + meta = { + description = "Create automatic curried method call closures for any class or object"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; constant-defer = buildPerlPackage { @@ -4034,16 +4064,16 @@ let }; Coro = buildPerlPackage { - pname = "Coro"; - version = "6.57"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/ML/MLEHMANN/Coro-6.57.tar.gz"; - sha256 = "1ihl2zaiafr2k5jzj46j44j8vxqs23fqcsahypmi23jl6f0f8a0r"; - }; - propagatedBuildInputs = [ AnyEvent Guard commonsense ]; - buildInputs = [ CanaryStability ]; - meta = { - }; + pname = "Coro"; + version = "6.57"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/ML/MLEHMANN/Coro-6.57.tar.gz"; + sha256 = "1ihl2zaiafr2k5jzj46j44j8vxqs23fqcsahypmi23jl6f0f8a0r"; + }; + propagatedBuildInputs = [ AnyEvent Guard commonsense ]; + buildInputs = [ CanaryStability ]; + meta = { + }; }; CoroEV = buildPerlPackage rec { @@ -4064,18 +4094,19 @@ let }; Corona = buildPerlPackage { - pname = "Corona"; - version = "0.1004"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Corona-0.1004.tar.gz"; - sha256 = "0g5gpma3998rn61qfjv5csv2nrdi4sc84ipkb4k6synyhfgd3xgz"; - }; - propagatedBuildInputs = [ NetServerCoro Plack ]; - buildInputs = [ TestSharedFork TestTCP ]; - meta = { - description = "Coro based PSGI web server"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Corona"; + version = "0.1004"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Corona-0.1004.tar.gz"; + sha256 = "0g5gpma3998rn61qfjv5csv2nrdi4sc84ipkb4k6synyhfgd3xgz"; + }; + propagatedBuildInputs = [ NetServerCoro Plack ]; + buildInputs = [ TestSharedFork TestTCP ]; + meta = { + description = "Coro based PSGI web server"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "corona"; + }; }; CPAN = buildPerlPackage { @@ -4089,6 +4120,7 @@ let meta = { description = "Query, download and build perl modules from CPAN sites"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "cpan"; }; }; @@ -4110,6 +4142,7 @@ let description = "Create a minimal mirror of CPAN"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.sgo ]; + mainProgram = "minicpan"; }; }; @@ -4123,6 +4156,7 @@ let meta = { description = "CPanel fork of JSON::XS, fast and correct serializing"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "cpanel_json_xs"; }; }; @@ -4153,6 +4187,7 @@ let meta = { description = "Read and write Changes files"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "tidy_changelog"; }; }; @@ -4186,16 +4221,16 @@ let }; CPANDistnameInfo = buildPerlPackage { - pname = "CPAN-DistnameInfo"; - version = "0.12"; - src = fetchurl { - url = "mirror://cpan/authors/id/G/GB/GBARR/CPAN-DistnameInfo-0.12.tar.gz"; - sha256 = "0d94kx596w7k328cvq4y96z1gz12hdhn3z1mklkbrb7fyzlzn91g"; - }; - meta = { - description = "Extract distribution name and version from a distribution filename"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "CPAN-DistnameInfo"; + version = "0.12"; + src = fetchurl { + url = "mirror://cpan/authors/id/G/GB/GBARR/CPAN-DistnameInfo-0.12.tar.gz"; + sha256 = "0d94kx596w7k328cvq4y96z1gz12hdhn3z1mklkbrb7fyzlzn91g"; + }; + meta = { + description = "Extract distribution name and version from a distribution filename"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; CPANMetaCheck = buildPerlPackage { @@ -4238,6 +4273,7 @@ let homepage = "https://github.com/jib/cpanplus-devel"; description = "Ameliorated interface to the CPAN"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "cpanp"; }; }; @@ -4253,6 +4289,7 @@ let homepage = "https://github.com/rjbs/cpan-uploader"; description = "Upload things to the CPAN"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "cpan-upload"; }; }; @@ -4536,6 +4573,7 @@ let meta = { description = "Interface to /dev/random and /dev/urandom"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "makerandom"; }; }; @@ -4725,6 +4763,7 @@ let description = "Pure-Perl OpenPGP implementation"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.sgo ]; + mainProgram = "pgplet"; }; doCheck = false; /* test fails with 'No random source available!' */ }; @@ -4756,17 +4795,17 @@ let }; CryptOpenSSLGuess = buildPerlPackage { - pname = "Crypt-OpenSSL-Guess"; - version = "0.11"; - src = fetchurl { - url = "mirror://cpan/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-0.11.tar.gz"; - sha256 = "0rvi9l4ljcbhwwvspq019nfq2h2v746dk355h2nwnlmqikiihsxa"; - }; - meta = { - description = "Guess OpenSSL include path"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/akiym/Crypt-OpenSSL-Guess"; - }; + pname = "Crypt-OpenSSL-Guess"; + version = "0.11"; + src = fetchurl { + url = "mirror://cpan/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-0.11.tar.gz"; + sha256 = "0rvi9l4ljcbhwwvspq019nfq2h2v746dk355h2nwnlmqikiihsxa"; + }; + meta = { + description = "Guess OpenSSL include path"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/akiym/Crypt-OpenSSL-Guess"; + }; }; CryptOpenSSLRandom = buildPerlPackage { @@ -5064,6 +5103,7 @@ let meta = { description = "Dump with recursive encoding"; license = lib.licenses.artistic2; + mainProgram = "edumper"; }; }; @@ -5139,6 +5179,7 @@ let meta = { description = "Hexadecimal Dumper"; maintainers = with maintainers; [ AndersonTorres ]; + mainProgram = "hexdump"; }; }; @@ -5773,6 +5814,7 @@ let meta = { description = "Create machine readable date/time with natural parsing logic"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "dateparse"; }; }; @@ -5964,32 +6006,32 @@ let }; DevelCheckBin = buildPerlPackage { - pname = "Devel-CheckBin"; - version = "0.04"; - src = fetchurl { - url = "mirror://cpan/authors/id/T/TO/TOKUHIROM/Devel-CheckBin-0.04.tar.gz"; - sha256 = "1r735yzgvsxkj4m6ks34xva5m21cfzp9qiis2d4ivv99kjskszqm"; - }; - meta = { - description = "check that a command is available"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/tokuhirom/Devel-CheckBin"; - }; + pname = "Devel-CheckBin"; + version = "0.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/T/TO/TOKUHIROM/Devel-CheckBin-0.04.tar.gz"; + sha256 = "1r735yzgvsxkj4m6ks34xva5m21cfzp9qiis2d4ivv99kjskszqm"; + }; + meta = { + description = "check that a command is available"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/tokuhirom/Devel-CheckBin"; + }; }; DevelCheckCompiler = buildPerlModule { - pname = "Devel-CheckCompiler"; - version = "0.07"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/SY/SYOHEX/Devel-CheckCompiler-0.07.tar.gz"; - sha256 = "1db973a4dbyknjxq608hywil5ai6vplnayshqxrd7m5qnjbpd2vn"; - }; - buildInputs = [ ModuleBuildTiny ]; - meta = { - description = "Check the compiler's availability"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/tokuhirom/Devel-CheckCompiler"; - }; + pname = "Devel-CheckCompiler"; + version = "0.07"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/SY/SYOHEX/Devel-CheckCompiler-0.07.tar.gz"; + sha256 = "1db973a4dbyknjxq608hywil5ai6vplnayshqxrd7m5qnjbpd2vn"; + }; + buildInputs = [ ModuleBuildTiny ]; + meta = { + description = "Check the compiler's availability"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/tokuhirom/Devel-CheckCompiler"; + }; }; DevelChecklib = buildPerlPackage { @@ -6038,6 +6080,7 @@ let homepage = "https://github.com/bingos/devel-patchperl"; description = "Patch perl source a la Devel::PPPort's buildperl.pl"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "patchperl"; }; }; @@ -6381,6 +6424,7 @@ let homepage = "https://metacpan.org/pod/DBIx::Class"; description = "Extensible and flexible object <-> relational mapper"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "dbicadmin"; }; }; @@ -6501,6 +6545,7 @@ let meta = { description = "Create a DBIx::Class::Schema based on a database"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "dbicdump"; }; }; @@ -6680,16 +6725,16 @@ let }; DevelGlobalPhase = buildPerlPackage { - pname = "Devel-GlobalPhase"; - version = "0.003003"; - src = fetchurl { - url = "mirror://cpan/authors/id/H/HA/HAARG/Devel-GlobalPhase-0.003003.tar.gz"; - sha256 = "1x9jzy3l7gwikj57swzl94qsq03j9na9h1m69azzs7d7ghph58wd"; - }; - meta = { - description = "Detect perl's global phase on older perls."; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Devel-GlobalPhase"; + version = "0.003003"; + src = fetchurl { + url = "mirror://cpan/authors/id/H/HA/HAARG/Devel-GlobalPhase-0.003003.tar.gz"; + sha256 = "1x9jzy3l7gwikj57swzl94qsq03j9na9h1m69azzs7d7ghph58wd"; + }; + meta = { + description = "Detect perl's global phase on older perls."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; DevelHide = buildPerlPackage { @@ -6722,18 +6767,18 @@ let }; DevelOverloadInfo = buildPerlPackage { - pname = "Devel-OverloadInfo"; - version = "0.005"; - src = fetchurl { - url = "mirror://cpan/authors/id/I/IL/ILMARI/Devel-OverloadInfo-0.005.tar.gz"; - sha256 = "1rx6g8pyhi7lx6z130b7vlf8syzrq92w9ky8mpw4d6bwlkzy5zcb"; - }; - propagatedBuildInputs = [ MROCompat PackageStash SubIdentify ]; - buildInputs = [ TestFatal ]; - meta = { - description = "introspect overloaded operators"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Devel-OverloadInfo"; + version = "0.005"; + src = fetchurl { + url = "mirror://cpan/authors/id/I/IL/ILMARI/Devel-OverloadInfo-0.005.tar.gz"; + sha256 = "1rx6g8pyhi7lx6z130b7vlf8syzrq92w9ky8mpw4d6bwlkzy5zcb"; + }; + propagatedBuildInputs = [ MROCompat PackageStash SubIdentify ]; + buildInputs = [ TestFatal ]; + meta = { + description = "introspect overloaded operators"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; DevelPartialDump = buildPerlPackage { @@ -6925,6 +6970,7 @@ let description = "Perl extension for SHA-3"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.sgo ]; + mainProgram = "sha3sum"; }; }; @@ -7016,6 +7062,7 @@ let homepage = "http://dzil.org/"; description = "Distribution builder; installer not included!"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "dzil"; }; doCheck = false; }; @@ -7222,19 +7269,19 @@ let }; DistZillaPluginTestNoTabs = buildPerlModule { - pname = "Dist-Zilla-Plugin-Test-NoTabs"; - version = "0.15"; - src = fetchurl { - url = "mirror://cpan/authors/id/E/ET/ETHER/Dist-Zilla-Plugin-Test-NoTabs-0.15.tar.gz"; - sha256 = "196hchmn8y591533v3p7kl75nlhpaygbfdiw2iqbnab9j510qq8v"; - }; - propagatedBuildInputs = [ DistZilla ]; - buildInputs = [ ModuleBuildTiny TestDeep TestNoTabs TestRequires ]; - meta = { - description = "Author tests that ensure hard tabs are not used"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/karenetheridge/Dist-Zilla-Plugin-Test-NoTabs"; - }; + pname = "Dist-Zilla-Plugin-Test-NoTabs"; + version = "0.15"; + src = fetchurl { + url = "mirror://cpan/authors/id/E/ET/ETHER/Dist-Zilla-Plugin-Test-NoTabs-0.15.tar.gz"; + sha256 = "196hchmn8y591533v3p7kl75nlhpaygbfdiw2iqbnab9j510qq8v"; + }; + propagatedBuildInputs = [ DistZilla ]; + buildInputs = [ ModuleBuildTiny TestDeep TestNoTabs TestRequires ]; + meta = { + description = "Author tests that ensure hard tabs are not used"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/karenetheridge/Dist-Zilla-Plugin-Test-NoTabs"; + }; }; DistZillaPluginTestPerlCritic = buildPerlModule { @@ -7259,7 +7306,7 @@ let url = "mirror://cpan/authors/id/R/RW/RWSTAUNER/Dist-Zilla-Plugin-Test-Pod-LinkCheck-1.004.tar.gz"; sha256 = "325d236da0940388d2aa86ec5c1326516b4ad45adef8e7a4f83bb91d5ee15490"; }; -# buildInputs = [ TestPodLinkCheck ]; + # buildInputs = [ TestPodLinkCheck ]; propagatedBuildInputs = [ DistZilla ]; meta = { homepage = "https://github.com/rwstauner/Dist-Zilla-Plugin-Test-Pod-LinkCheck"; @@ -7330,19 +7377,19 @@ let }; DistZillaRoleFileWatcher = buildPerlModule { - pname = "Dist-Zilla-Role-FileWatcher"; - version = "0.006"; - src = fetchurl { - url = "mirror://cpan/authors/id/E/ET/ETHER/Dist-Zilla-Role-FileWatcher-0.006.tar.gz"; - sha256 = "15jfpr257xxp27gz156npgpj7kh2dchzgfmvzivi5bvdb2wl8fpy"; - }; - propagatedBuildInputs = [ DistZilla SafeIsa ]; - buildInputs = [ ModuleBuildTiny TestDeep TestFatal ]; - meta = { - description = "Receive notification when something changes a file's contents"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/karenetheridge/Dist-Zilla-Role-FileWatcher"; - }; + pname = "Dist-Zilla-Role-FileWatcher"; + version = "0.006"; + src = fetchurl { + url = "mirror://cpan/authors/id/E/ET/ETHER/Dist-Zilla-Role-FileWatcher-0.006.tar.gz"; + sha256 = "15jfpr257xxp27gz156npgpj7kh2dchzgfmvzivi5bvdb2wl8fpy"; + }; + propagatedBuildInputs = [ DistZilla SafeIsa ]; + buildInputs = [ ModuleBuildTiny TestDeep TestFatal ]; + meta = { + description = "Receive notification when something changes a file's contents"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/karenetheridge/Dist-Zilla-Role-FileWatcher"; + }; }; Dotenv = buildPerlPackage { @@ -7372,6 +7419,7 @@ let description = "More reliable benchmarking with the least amount of thinking"; license = with lib.licenses; [ artistic1 gpl1Plus ]; homepage = "https://github.com/briandfoy/dumbbench"; + mainProgram = "dumbbench"; }; }; @@ -7419,16 +7467,16 @@ let }; EmailAddressXS = buildPerlPackage { - pname = "Email-Address-XS"; - version = "1.04"; - src = fetchurl { - url = "mirror://cpan/authors/id/P/PA/PALI/Email-Address-XS-1.04.tar.gz"; - sha256 = "0gjrrl81z3sfwavgx5kwjd87gj44mlnbbqsm3dgdv1xllw26spwr"; - }; - meta = { - description = "Parse and format RFC 2822 email addresses and groups"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Email-Address-XS"; + version = "1.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/P/PA/PALI/Email-Address-XS-1.04.tar.gz"; + sha256 = "0gjrrl81z3sfwavgx5kwjd87gj44mlnbbqsm3dgdv1xllw26spwr"; + }; + meta = { + description = "Parse and format RFC 2822 email addresses and groups"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; EmailDateFormat = buildPerlPackage { @@ -7563,6 +7611,7 @@ let description = "A .MSG to mbox converter"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = with maintainers; [ peterhoeg ]; + mainProgram = "msgconvert"; }; }; @@ -7655,6 +7704,7 @@ let meta = { description = "Character encodings in Perl"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "piconv"; }; }; @@ -7748,17 +7798,17 @@ let }; EncodeNewlines = buildPerlPackage { - pname = "Encode-Newlines"; - version = "0.05"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/Encode-Newlines-0.05.tar.gz"; - sha256 = "1gipd3wnma28w5gjbzycfkpi6chksy14lhxkp4hwizf8r351zcrl"; - }; - meta = { - description = "Normalize line ending sequences"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/neilb/Encode-Newlines"; - }; + pname = "Encode-Newlines"; + version = "0.05"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/Encode-Newlines-0.05.tar.gz"; + sha256 = "1gipd3wnma28w5gjbzycfkpi6chksy14lhxkp4hwizf8r351zcrl"; + }; + meta = { + description = "Normalize line ending sequences"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/neilb/Encode-Newlines"; + }; }; EncodePunycode = buildPerlPackage { @@ -7809,6 +7859,11 @@ let url = "mirror://cpan/authors/id/D/DS/DSB/Env-Path-0.19.tar.gz"; sha256 = "1qhmj15a66h90pjl2dgnxsb9jj3b1r5mpvnr87cafcl8g69z0jr4"; }; + meta = { + description = "Advanced operations on path variables"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "envpath"; + }; }; EnvSanctify = buildPerlPackage { @@ -7871,9 +7926,9 @@ let }; propagatedBuildInputs = [ ArchiveZip ]; meta = { - homepage = "http://jmcnamara.github.com/excel-writer-xlsx/"; description = "Create a new file in the Excel 2007+ XLSX format"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "extract_vba"; }; }; @@ -8146,21 +8201,22 @@ let meta = { description = "Create a module Makefile"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "instmodsh"; }; }; ExtUtilsMakeMakerCPANfile = buildPerlPackage { - pname = "ExtUtils-MakeMaker-CPANfile"; - version = "0.09"; - src = fetchurl { - url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/ExtUtils-MakeMaker-CPANfile-0.09.tar.gz"; - sha256 = "0xg2z100vjhcndwaz9m3mmi90rb8h5pggpvlj1b0i8dhsh3pc1rc"; - }; - propagatedBuildInputs = [ ModuleCPANfile ]; - meta = { - description = "cpanfile support for EUMM"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "ExtUtils-MakeMaker-CPANfile"; + version = "0.09"; + src = fetchurl { + url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/ExtUtils-MakeMaker-CPANfile-0.09.tar.gz"; + sha256 = "0xg2z100vjhcndwaz9m3mmi90rb8h5pggpvlj1b0i8dhsh3pc1rc"; + }; + propagatedBuildInputs = [ ModuleCPANfile ]; + meta = { + description = "cpanfile support for EUMM"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ExtUtilsPkgConfig = buildPerlPackage { @@ -8232,6 +8288,11 @@ let sha256 = "1zx84f93lkymqz7qa4d63gzlnhnkxm5i3gvsrwkvvqr9cxjasxli"; }; buildInputs = [ TestBase TestDifferences ]; + meta = { + description = "XS++ is just a thin layer over plain XS"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "xspp"; + }; }; FatalException = buildPerlModule { @@ -8258,17 +8319,17 @@ let }; FCGIClient = buildPerlModule { - pname = "FCGI-Client"; - version = "0.09"; - src = fetchurl { - url = "mirror://cpan/authors/id/T/TO/TOKUHIROM/FCGI-Client-0.09.tar.gz"; - sha256 = "1s11casbv0jmkcl5dk8i2vhfy1nc8rg43d3bg923zassrq4wndym"; - }; - propagatedBuildInputs = [ Moo TypeTiny ]; - meta = { - description = "client library for fastcgi protocol"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "FCGI-Client"; + version = "0.09"; + src = fetchurl { + url = "mirror://cpan/authors/id/T/TO/TOKUHIROM/FCGI-Client-0.09.tar.gz"; + sha256 = "1s11casbv0jmkcl5dk8i2vhfy1nc8rg43d3bg923zassrq4wndym"; + }; + propagatedBuildInputs = [ Moo TypeTiny ]; + meta = { + description = "client library for fastcgi protocol"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; buildInputs = [ ModuleBuildTiny ]; }; @@ -8419,18 +8480,18 @@ let }; FileCopyRecursiveReduced = buildPerlPackage { - pname = "File-Copy-Recursive-Reduced"; - version = "0.006"; - src = fetchurl { - url = "mirror://cpan/authors/id/J/JK/JKEENAN/File-Copy-Recursive-Reduced-0.006.tar.gz"; - sha256 = "0b3yf33bahaf4ipfqipn8y5z4296k3vgzzsqbhh5ahwzls9zj676"; - }; - buildInputs = [ CaptureTiny PathTiny ]; - meta = { - description = "Recursive copying of files and directories within Perl 5 toolchain"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "http://thenceforward.net/perl/modules/File-Copy-Recursive-Reduced/"; - }; + pname = "File-Copy-Recursive-Reduced"; + version = "0.006"; + src = fetchurl { + url = "mirror://cpan/authors/id/J/JK/JKEENAN/File-Copy-Recursive-Reduced-0.006.tar.gz"; + sha256 = "0b3yf33bahaf4ipfqipn8y5z4296k3vgzzsqbhh5ahwzls9zj676"; + }; + buildInputs = [ CaptureTiny PathTiny ]; + meta = { + description = "Recursive copying of files and directories within Perl 5 toolchain"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "http://thenceforward.net/perl/modules/File-Copy-Recursive-Reduced/"; + }; }; FileCountLines = buildPerlPackage { @@ -8498,6 +8559,7 @@ let homepage = "https://www.shlomifish.org/open-source/projects/File-Find-Object/"; description = "Alternative interface to File::Find::Object"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "findorule"; }; }; @@ -8509,6 +8571,11 @@ let sha256 = "1znachnhmi1w5pdqx8dzgfa892jb7x8ivrdy4pzjj7zb6g61cvvy"; }; propagatedBuildInputs = [ NumberCompare TextGlob ]; + meta = { + description = "File::Find::Rule is a friendlier interface to File::Find"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "findrule"; + }; }; FileFindRulePerl = buildPerlPackage { @@ -8887,6 +8954,7 @@ let meta = { description = "Estimate file space usage (similar to `du`)"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "fdu"; }; }; @@ -9018,16 +9086,16 @@ let }; FileZglob = buildPerlPackage { - pname = "File-Zglob"; - version = "0.11"; - src = fetchurl { - url = "mirror://cpan/authors/id/T/TO/TOKUHIROM/File-Zglob-0.11.tar.gz"; - sha256 = "16v61rn0yimpv5kp6b20z2f1c93n5kpsyjvr0gq4w2dc43gfvc8w"; - }; - meta = { - description = "Extended globs."; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "File-Zglob"; + version = "0.11"; + src = fetchurl { + url = "mirror://cpan/authors/id/T/TO/TOKUHIROM/File-Zglob-0.11.tar.gz"; + sha256 = "16v61rn0yimpv5kp6b20z2f1c93n5kpsyjvr0gq4w2dc43gfvc8w"; + }; + meta = { + description = "Extended globs."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; Filter = buildPerlPackage { @@ -9207,6 +9275,7 @@ let meta = { description = "Verify solutions for solitaire games"; license = lib.licenses.mit; + mainProgram = "verify-solitaire-solution"; }; }; @@ -9224,6 +9293,12 @@ let hardeningDisable = [ "format" ]; makeMakerFlags = "--lib_png_path=${pkgs.libpng.out} --lib_jpeg_path=${pkgs.libjpeg.out} --lib_zlib_path=${pkgs.zlib.out} --lib_ft_path=${pkgs.freetype.out} --lib_fontconfig_path=${pkgs.fontconfig.lib} --lib_xpm_path=${pkgs.xorg.libXpm.out}"; + + meta = { + description = "Interface to Gd Graphics Library"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "bdf2gdfont.pl"; + }; }; GDGraph = buildPerlPackage { @@ -9291,6 +9366,7 @@ let meta = { description = "Perl API for MaxMind's GeoIP2 web services and databases"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "web-service-request"; }; }; @@ -9368,9 +9444,10 @@ let shortenPerlShebang $out/bin/git-autofixup ''; meta = { - maintainers = [ maintainers.DamienCassou ]; description = "Create fixup commits for topic branches"; license = lib.licenses.artistic2; + maintainers = [ maintainers.DamienCassou ]; + mainProgram = "git-autofixup"; }; }; @@ -9532,14 +9609,18 @@ let }; buildInputs = [ pkgs.gnupg1orig ]; doCheck = false; + meta = { + description = "Perl interface to the GNU Privacy Guard"; + mainProgram = "gpgmailtunl"; + }; }; GnuPGInterface = buildPerlPackage { pname = "GnuPG-Interface"; - version = "1.00"; + version = "1.02"; src = fetchurl { - url = "mirror://cpan/authors/id/J/JE/JESSE/GnuPG-Interface-1.00.tar.gz"; - sha256 = "97e9c809491a061b2e99fb4e50c7bf74eb42e1deb11c64b081b21b4dbe6aec2f"; + url = "mirror://cpan/authors/id/B/BP/BPS/GnuPG-Interface-1.02.tar.gz"; + sha256 = "c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6"; }; buildInputs = [ pkgs.which pkgs.gnupg1compat ]; propagatedBuildInputs = [ MooXHandlesVia MooXlate ]; @@ -9620,6 +9701,7 @@ let meta = { description = "Simple interface to Google Protocol Buffers"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "protoc-perl"; }; }; @@ -9922,6 +10004,7 @@ let homepage = "https://github.com/hailo/hailo"; description = "A pluggable Markov engine analogous to MegaHAL"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "hailo"; }; }; @@ -10082,6 +10165,7 @@ let meta = { description = "Cleans up HTML code for web browsers, not humans"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "htmlclean"; }; }; @@ -10121,6 +10205,9 @@ let }; propagatedBuildInputs = [ HTMLParser TermVT102Boundless ]; meta = { + description = "Mark up ANSI sequences as HTML"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "ansi2html"; }; }; @@ -10212,18 +10299,18 @@ let }; HTMLFormFuMultiForm = buildPerlPackage { - pname = "HTML-FormFu-MultiForm"; - version = "1.03"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NI/NIGELM/HTML-FormFu-MultiForm-1.03.tar.gz"; - sha256 = "17qm94hwhn6jyhd2am4gqxq7yrlhv3jv0ayx17df95mqdgbhrw1n"; - }; - propagatedBuildInputs = [ CryptCBC CryptDES HTMLFormFu ]; - meta = { - description = "Handle multi-page/stage forms with FormFu"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/FormFu/HTML-FormFu-MultiForm"; - }; + pname = "HTML-FormFu-MultiForm"; + version = "1.03"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NI/NIGELM/HTML-FormFu-MultiForm-1.03.tar.gz"; + sha256 = "17qm94hwhn6jyhd2am4gqxq7yrlhv3jv0ayx17df95mqdgbhrw1n"; + }; + propagatedBuildInputs = [ CryptCBC CryptDES HTMLFormFu ]; + meta = { + description = "Handle multi-page/stage forms with FormFu"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/FormFu/HTML-FormFu-MultiForm"; + }; }; HTMLFormHandler = buildPerlPackage { @@ -10437,6 +10524,11 @@ let sed -i "s#/usr/lib#${pkgs.tidyp}/lib#" Makefile.PL ''; buildInputs = [ TestException ]; + meta = { + description = "HTML::Tidy is an HTML checker in a handy dandy object"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "webtidy"; + }; }; HTMLTiny = buildPerlPackage { @@ -10474,6 +10566,7 @@ let meta = { description = "Work with HTML in a DOM-like tree structure"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "htmltree"; }; }; @@ -10594,19 +10687,19 @@ let }; HTTPEntityParser = buildPerlModule { - pname = "HTTP-Entity-Parser"; - version = "0.25"; - src = fetchurl { - url = "mirror://cpan/authors/id/K/KA/KAZEBURO/HTTP-Entity-Parser-0.25.tar.gz"; - sha256 = "0fpchgj6jgxmjkmljjnrpmyj9anz85rjvs2fq3c7rld3rgcd131s"; - }; - propagatedBuildInputs = [ HTTPMultiPartParser HashMultiValue JSONMaybeXS StreamBuffered WWWFormUrlEncoded ]; - buildInputs = [ HTTPMessage ModuleBuildTiny ]; - meta = { - description = "PSGI compliant HTTP Entity Parser"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/kazeburo/HTTP-Entity-Parser"; - }; + pname = "HTTP-Entity-Parser"; + version = "0.25"; + src = fetchurl { + url = "mirror://cpan/authors/id/K/KA/KAZEBURO/HTTP-Entity-Parser-0.25.tar.gz"; + sha256 = "0fpchgj6jgxmjkmljjnrpmyj9anz85rjvs2fq3c7rld3rgcd131s"; + }; + propagatedBuildInputs = [ HTTPMultiPartParser HashMultiValue JSONMaybeXS StreamBuffered WWWFormUrlEncoded ]; + buildInputs = [ HTTPMessage ModuleBuildTiny ]; + meta = { + description = "PSGI compliant HTTP Entity Parser"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/kazeburo/HTTP-Entity-Parser"; + }; }; HTTPDAV = buildPerlPackage { @@ -10618,6 +10711,8 @@ let }; meta = { description = "WebDAV client library."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "dave"; }; propagatedBuildInputs = [ XMLDOM ]; }; @@ -10692,17 +10787,17 @@ let }; HTTPMultiPartParser = buildPerlPackage { - pname = "HTTP-MultiPartParser"; - version = "0.02"; - src = fetchurl { - url = "mirror://cpan/authors/id/C/CH/CHANSEN/HTTP-MultiPartParser-0.02.tar.gz"; - sha256 = "04hbs0b1lzv2c8dqfcc9qjm5akh25fn40903is36zlalkwaxmpay"; - }; - buildInputs = [ TestDeep ]; - meta = { - description = "HTTP MultiPart Parser"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "HTTP-MultiPartParser"; + version = "0.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/C/CH/CHANSEN/HTTP-MultiPartParser-0.02.tar.gz"; + sha256 = "04hbs0b1lzv2c8dqfcc9qjm5akh25fn40903is36zlalkwaxmpay"; + }; + buildInputs = [ TestDeep ]; + meta = { + description = "HTTP MultiPart Parser"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; HTTPNegotiate = buildPerlPackage { @@ -10810,18 +10905,18 @@ let }; HTTPServerSimplePSGI = buildPerlPackage { - pname = "HTTP-Server-Simple-PSGI"; - version = "0.16"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Server-Simple-PSGI-0.16.tar.gz"; - sha256 = "1fhx2glycd66m4l4m1gja81ixq8nh4r5g9wjhhkrffq4af2cnz2z"; - }; - propagatedBuildInputs = [ HTTPServerSimple ]; - meta = { - description = "PSGI handler for HTTP::Server::Simple"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/miyagawa/HTTP-Server-Simple-PSGI"; - }; + pname = "HTTP-Server-Simple-PSGI"; + version = "0.16"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Server-Simple-PSGI-0.16.tar.gz"; + sha256 = "1fhx2glycd66m4l4m1gja81ixq8nh4r5g9wjhhkrffq4af2cnz2z"; + }; + propagatedBuildInputs = [ HTTPServerSimple ]; + meta = { + description = "PSGI handler for HTTP::Server::Simple"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/miyagawa/HTTP-Server-Simple-PSGI"; + }; }; HTTPTinyCache = buildPerlPackage { @@ -10879,6 +10974,7 @@ let meta = { description = "Perl interface to the C library \"libpng\""; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pnginspect"; broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/staging-next/perl534Packages.ImagePNGLibpng.x86_64-darwin }; }; @@ -10970,6 +11066,7 @@ let meta = { description = "Read the dimensions of an image in several popular formats"; license = with lib.licenses; [ artistic1 lgpl21Plus ]; + mainProgram = "imgsize"; }; }; @@ -10993,6 +11090,7 @@ let meta = { description = "Read an image with tesseract ocr and get output"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "ocr"; }; }; @@ -11063,6 +11161,7 @@ let meta = { description = "Asynchronous/Advanced Input/Output"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "treescan"; }; }; @@ -11149,6 +11248,7 @@ let meta = { description = "IO Interface to compressed data files/buffers"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "streamzip"; }; # Same as CompressRawZlib doCheck = false && !stdenv.isDarwin; @@ -11178,15 +11278,15 @@ let }; IOHandleUtil = buildPerlModule { - pname = "IO-Handle-Util"; - version = "0.02"; - src = fetchurl { - url = "mirror://cpan/authors/id/E/ET/ETHER/IO-Handle-Util-0.02.tar.gz"; - sha256 = "1vncvsx53iiw1yy3drlk44hzx2pk5cial0h74djf9i6s2flndfcd"; - }; - propagatedBuildInputs = [ IOString SubExporter asa ]; - meta = { - }; + pname = "IO-Handle-Util"; + version = "0.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/E/ET/ETHER/IO-Handle-Util-0.02.tar.gz"; + sha256 = "1vncvsx53iiw1yy3drlk44hzx2pk5cial0h74djf9i6s2flndfcd"; + }; + propagatedBuildInputs = [ IOString SubExporter asa ]; + meta = { + }; buildInputs = [ ModuleBuildTiny TestSimple13 ]; }; @@ -11242,6 +11342,10 @@ let sha256 = "15dimh3i61y6kybhbap91kwh9837xfww072rh95h7j40sb1did5w"; }; propagatedBuildInputs = [ pkgs.more FileWhich TermReadKey ]; # `more` used in tests + meta = { + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "tp"; + }; }; IOPty = buildPerlModule { @@ -11429,6 +11533,7 @@ let meta = { description = "Fast lookup of country codes from IP addresses"; license = lib.licenses.mit; + mainProgram = "ip2cc"; }; }; @@ -11539,8 +11644,6 @@ let description = "A tool to read, write and edit EXIF meta information"; homepage = "https://exiftool.org/"; - mainProgram = "exiftool"; - longDescription = '' ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide @@ -11554,8 +11657,8 @@ let ''; license = with licenses; [ gpl1Plus /* or */ artistic2 ]; - maintainers = [ maintainers.kiloreux ]; + mainProgram = "exiftool"; }; }; @@ -11658,17 +11761,17 @@ let }; JavaScriptValueEscape = buildPerlModule { - pname = "JavaScript-Value-Escape"; - version = "0.07"; - src = fetchurl { - url = "mirror://cpan/authors/id/K/KA/KAZEBURO/JavaScript-Value-Escape-0.07.tar.gz"; - sha256 = "1p5365lvnax8kbcfrj169lx05af3i3qi5wg5x9mizqgd10vxmjws"; - }; - meta = { - description = "Avoid XSS with JavaScript value interpolation"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/kazeburo/JavaScript-Value-Escape"; - }; + pname = "JavaScript-Value-Escape"; + version = "0.07"; + src = fetchurl { + url = "mirror://cpan/authors/id/K/KA/KAZEBURO/JavaScript-Value-Escape-0.07.tar.gz"; + sha256 = "1p5365lvnax8kbcfrj169lx05af3i3qi5wg5x9mizqgd10vxmjws"; + }; + meta = { + description = "Avoid XSS with JavaScript value interpolation"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/kazeburo/JavaScript-Value-Escape"; + }; }; JSON = buildPerlPackage { @@ -11741,6 +11844,7 @@ let meta = { description = "JSON::XS compatible pure-Perl module"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "json_pp"; }; }; @@ -11767,6 +11871,7 @@ let meta = { description = "Read JSON into a Perl variable"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "validjson"; }; }; @@ -11787,7 +11892,7 @@ let }; }; - JSONWebToken = buildPerlModule { + JSONWebToken = buildPerlModule { pname = "JSON-WebToken"; version = "0.10"; src = fetchurl { @@ -11812,6 +11917,11 @@ let }; propagatedBuildInputs = [ TypesSerialiser ]; buildInputs = [ CanaryStability ]; + meta = { + description = "JSON serialising/deserialising, done correctly and fast"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "json_xs"; + }; }; JSONXSVersionOneAndTwo = buildPerlPackage { @@ -11874,6 +11984,7 @@ let homepage = "https://dlmf.nist.gov/LaTeXML/"; license = lib.licenses.publicDomain; maintainers = with maintainers; [ xworld21 ]; + mainProgram = "latexml"; }; passthru = { tlType = "run"; @@ -12001,17 +12112,17 @@ let }; librelative = buildPerlPackage { - pname = "lib-relative"; - version = "1.000"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DB/DBOOK/lib-relative-1.000.tar.gz"; - sha256 = "1mvcdl87d3kyrdx4y6x79k3n5qdd1x5m1hp8lwjxvgfqbw0cgq6z"; - }; - meta = { - description = "Add paths relative to the current file to @INC"; - license = with lib.licenses; [ artistic2 ]; - homepage = "https://github.com/Grinnz/lib-relative"; - }; + pname = "lib-relative"; + version = "1.000"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DB/DBOOK/lib-relative-1.000.tar.gz"; + sha256 = "1mvcdl87d3kyrdx4y6x79k3n5qdd1x5m1hp8lwjxvgfqbw0cgq6z"; + }; + meta = { + description = "Add paths relative to the current file to @INC"; + license = with lib.licenses; [ artistic2 ]; + homepage = "https://github.com/Grinnz/lib-relative"; + }; }; libxml_perl = buildPerlPackage { @@ -12124,17 +12235,17 @@ let }; LinguaPTStemmer = buildPerlPackage { - pname = "Lingua-PT-Stemmer"; - version = "0.02"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/Lingua-PT-Stemmer-0.02.tar.gz"; - sha256 = "17c48sfbgwd2ivlgf59sr6jdhwa3aim8750f8pyzz7xpi8gz0var"; - }; - meta = { - description = "Portuguese language stemming"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/neilb/Lingua-PT-Stemmer"; - }; + pname = "Lingua-PT-Stemmer"; + version = "0.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/Lingua-PT-Stemmer-0.02.tar.gz"; + sha256 = "17c48sfbgwd2ivlgf59sr6jdhwa3aim8750f8pyzz7xpi8gz0var"; + }; + meta = { + description = "Portuguese language stemming"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/neilb/Lingua-PT-Stemmer"; + }; }; LinguaStem = buildPerlModule { @@ -12149,50 +12260,50 @@ let }; LinguaStemFr = buildPerlPackage { - pname = "Lingua-Stem-Fr"; - version = "0.02"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/SD/SDP/Lingua-Stem-Fr-0.02.tar.gz"; - sha256 = "0vyrspwzaqjxm5mqshf4wvwa3938mkajd1918d9ii2l9m2rn8kwx"; - }; - meta = { - }; + pname = "Lingua-Stem-Fr"; + version = "0.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/SD/SDP/Lingua-Stem-Fr-0.02.tar.gz"; + sha256 = "0vyrspwzaqjxm5mqshf4wvwa3938mkajd1918d9ii2l9m2rn8kwx"; + }; + meta = { + }; }; LinguaStemIt = buildPerlPackage { - pname = "Lingua-Stem-It"; - version = "0.02"; - src = fetchurl { - url = "mirror://cpan/authors/id/A/AC/ACALPINI/Lingua-Stem-It-0.02.tar.gz"; - sha256 = "1207r183s5hlh4mfwa6p46vzm0dhvrs2dnss5s41a0gyfkxp7riq"; - }; - meta = { - }; + pname = "Lingua-Stem-It"; + version = "0.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/A/AC/ACALPINI/Lingua-Stem-It-0.02.tar.gz"; + sha256 = "1207r183s5hlh4mfwa6p46vzm0dhvrs2dnss5s41a0gyfkxp7riq"; + }; + meta = { + }; }; LinguaStemRu = buildPerlPackage { - pname = "Lingua-Stem-Ru"; - version = "0.04"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/Lingua-Stem-Ru-0.04.tar.gz"; - sha256 = "0a2jmdz7jn32qj5hyiw5kbv8fvlpmws8i00a6xcbkzb48yvwww0j"; - }; - meta = { - description = "Porter's stemming algorithm for Russian (KOI8-R only)"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/neilb/Lingua-Stem-Ru"; - }; + pname = "Lingua-Stem-Ru"; + version = "0.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/Lingua-Stem-Ru-0.04.tar.gz"; + sha256 = "0a2jmdz7jn32qj5hyiw5kbv8fvlpmws8i00a6xcbkzb48yvwww0j"; + }; + meta = { + description = "Porter's stemming algorithm for Russian (KOI8-R only)"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/neilb/Lingua-Stem-Ru"; + }; }; LinguaStemSnowballDa = buildPerlPackage { - pname = "Lingua-Stem-Snowball-Da"; - version = "1.01"; - src = fetchurl { - url = "mirror://cpan/authors/id/C/CI/CINE/Lingua-Stem-Snowball-Da-1.01.tar.gz"; - sha256 = "0mm0m7glm1s6i9f6a78jslw6wh573208arxhq93yriqmw17bwf9f"; - }; - meta = { - }; + pname = "Lingua-Stem-Snowball-Da"; + version = "1.01"; + src = fetchurl { + url = "mirror://cpan/authors/id/C/CI/CINE/Lingua-Stem-Snowball-Da-1.01.tar.gz"; + sha256 = "0mm0m7glm1s6i9f6a78jslw6wh573208arxhq93yriqmw17bwf9f"; + }; + meta = { + }; }; LinguaTranslit = buildPerlPackage { @@ -12203,6 +12314,11 @@ let sha256 = "113f91d8fc2c630437153a49fb7a52b023af8f6278ed96c070b1f60824b8eae1"; }; doCheck = false; + meta = { + description = "Transliterates text between writing systems"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "translit"; + }; }; LinkEmbedder = buildPerlPackage { @@ -12370,19 +12486,19 @@ let }; ListMoreUtilsXS = buildPerlPackage { - pname = "List-MoreUtils-XS"; - version = "0.430"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RE/REHSACK/List-MoreUtils-XS-0.430.tar.gz"; - sha256 = "0hmjkhmk1qlzbg8skq7g1zral07k1x0fk4w2fpcfr7hpgkaldkp8"; - }; - preConfigure = '' - export LD=$CC - ''; - meta = { - description = "Provide the stuff missing in List::Util in XS"; - license = with lib.licenses; [ asl20 ]; - }; + pname = "List-MoreUtils-XS"; + version = "0.430"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RE/REHSACK/List-MoreUtils-XS-0.430.tar.gz"; + sha256 = "0hmjkhmk1qlzbg8skq7g1zral07k1x0fk4w2fpcfr7hpgkaldkp8"; + }; + preConfigure = '' + export LD=$CC + ''; + meta = { + description = "Provide the stuff missing in List::Util in XS"; + license = with lib.licenses; [ asl20 ]; + }; }; ListSomeUtils = buildPerlPackage { @@ -12450,18 +12566,18 @@ let }; LocaleMOFile = buildPerlPackage { - pname = "Locale-MO-File"; - version = "0.09"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-MO-File-0.09.tar.gz"; - sha256 = "0gsaaqimsh5bdhns2v67j1nvb178hx2536lxmr971cwxy31ns0wp"; - }; - propagatedBuildInputs = [ ConstFast MooXStrictConstructor MooXTypesMooseLike ParamsValidate namespaceautoclean ]; - buildInputs = [ TestDifferences TestException TestHexDifferences TestNoWarnings ]; - meta = { - description = "Locale::MO::File - Write or read gettext MO files."; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Locale-MO-File"; + version = "0.09"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-MO-File-0.09.tar.gz"; + sha256 = "0gsaaqimsh5bdhns2v67j1nvb178hx2536lxmr971cwxy31ns0wp"; + }; + propagatedBuildInputs = [ ConstFast MooXStrictConstructor MooXTypesMooseLike ParamsValidate namespaceautoclean ]; + buildInputs = [ TestDifferences TestException TestHexDifferences TestNoWarnings ]; + meta = { + description = "Locale::MO::File - Write or read gettext MO files."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; LocaleMaketextFuzzy = buildPerlPackage { @@ -12487,6 +12603,7 @@ let meta = { description = "Use other catalog formats in Maketext"; license = "mit"; + mainProgram = "xgettext.pl"; }; }; @@ -12517,78 +12634,78 @@ let }; LocaleTextDomainOO = buildPerlPackage { - pname = "Locale-TextDomain-OO"; - version = "1.036"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-TextDomain-OO-1.036.tar.gz"; - sha256 = "0f0fajq4k1sgyywsb7qypsf6xa1sxjx4agm8l8z2284nm3hq65xm"; - }; - propagatedBuildInputs = [ ClassLoad Clone JSON LocaleMOFile LocalePO LocaleTextDomainOOUtil LocaleUtilsPlaceholderBabelFish LocaleUtilsPlaceholderMaketext LocaleUtilsPlaceholderNamed MooXSingleton PathTiny TieSub ]; - buildInputs = [ TestDifferences TestException TestNoWarnings ]; - meta = { - description = "Locale::TextDomain::OO - Perl OO Interface to Uniforum Message Translation"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Locale-TextDomain-OO"; + version = "1.036"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-TextDomain-OO-1.036.tar.gz"; + sha256 = "0f0fajq4k1sgyywsb7qypsf6xa1sxjx4agm8l8z2284nm3hq65xm"; + }; + propagatedBuildInputs = [ ClassLoad Clone JSON LocaleMOFile LocalePO LocaleTextDomainOOUtil LocaleUtilsPlaceholderBabelFish LocaleUtilsPlaceholderMaketext LocaleUtilsPlaceholderNamed MooXSingleton PathTiny TieSub ]; + buildInputs = [ TestDifferences TestException TestNoWarnings ]; + meta = { + description = "Locale::TextDomain::OO - Perl OO Interface to Uniforum Message Translation"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; LocaleTextDomainOOUtil = buildPerlPackage { - pname = "Locale-TextDomain-OO-Util"; - version = "4.002"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-TextDomain-OO-Util-4.002.tar.gz"; - sha256 = "1826pl11vr9p7zv7vqs7kcd8y5218086l90dw8lw0xzdcmzs0prw"; - }; - propagatedBuildInputs = [ namespaceautoclean ]; - buildInputs = [ TestDifferences TestException TestNoWarnings ]; - meta = { - description = "Locale::TextDomain::OO::Util - Lexicon utils"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Locale-TextDomain-OO-Util"; + version = "4.002"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-TextDomain-OO-Util-4.002.tar.gz"; + sha256 = "1826pl11vr9p7zv7vqs7kcd8y5218086l90dw8lw0xzdcmzs0prw"; + }; + propagatedBuildInputs = [ namespaceautoclean ]; + buildInputs = [ TestDifferences TestException TestNoWarnings ]; + meta = { + description = "Locale::TextDomain::OO::Util - Lexicon utils"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; LocaleUtilsPlaceholderBabelFish = buildPerlPackage { - pname = "Locale-Utils-PlaceholderBabelFish"; - version = "0.006"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-Utils-PlaceholderBabelFish-0.006.tar.gz"; - sha256 = "1k54njj8xz19c8bjb0iln1mnfq55j3pvbff7samyrab3k59h071f"; - }; - propagatedBuildInputs = [ HTMLParser MooXStrictConstructor MooXTypesMooseLike namespaceautoclean ]; - buildInputs = [ TestDifferences TestException TestNoWarnings ]; - meta = { - description = "Locale::Utils::PlaceholderBabelFish - Utils to expand BabelFish palaceholders"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Locale-Utils-PlaceholderBabelFish"; + version = "0.006"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-Utils-PlaceholderBabelFish-0.006.tar.gz"; + sha256 = "1k54njj8xz19c8bjb0iln1mnfq55j3pvbff7samyrab3k59h071f"; + }; + propagatedBuildInputs = [ HTMLParser MooXStrictConstructor MooXTypesMooseLike namespaceautoclean ]; + buildInputs = [ TestDifferences TestException TestNoWarnings ]; + meta = { + description = "Locale::Utils::PlaceholderBabelFish - Utils to expand BabelFish palaceholders"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; LocaleUtilsPlaceholderMaketext = buildPerlPackage { - pname = "Locale-Utils-PlaceholderMaketext"; - version = "1.005"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-Utils-PlaceholderMaketext-1.005.tar.gz"; - sha256 = "1srlbp8sfnzhndgh9s4d8bglpzw0vb8gnab9r8r8sggkv15n0a2h"; - }; - propagatedBuildInputs = [ MooXStrictConstructor MooXTypesMooseLike namespaceautoclean ]; - buildInputs = [ TestDifferences TestException TestNoWarnings ]; - meta = { - description = "Locale::Utils::PlaceholderMaketext - Utils to expand maketext placeholders"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Locale-Utils-PlaceholderMaketext"; + version = "1.005"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-Utils-PlaceholderMaketext-1.005.tar.gz"; + sha256 = "1srlbp8sfnzhndgh9s4d8bglpzw0vb8gnab9r8r8sggkv15n0a2h"; + }; + propagatedBuildInputs = [ MooXStrictConstructor MooXTypesMooseLike namespaceautoclean ]; + buildInputs = [ TestDifferences TestException TestNoWarnings ]; + meta = { + description = "Locale::Utils::PlaceholderMaketext - Utils to expand maketext placeholders"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; LocaleUtilsPlaceholderNamed = buildPerlPackage { - pname = "Locale-Utils-PlaceholderNamed"; - version = "1.004"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-Utils-PlaceholderNamed-1.004.tar.gz"; - sha256 = "1gd68lm5w5c6ndcilx91rn84zviqyrk3fx92jjx5khxm76i8xmvg"; - }; - propagatedBuildInputs = [ MooXStrictConstructor MooXTypesMooseLike namespaceautoclean ]; - buildInputs = [ TestDifferences TestException TestNoWarnings ]; - meta = { - description = "Locale::Utils::PlaceholderNamed - Utils to expand named placeholders"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Locale-Utils-PlaceholderNamed"; + version = "1.004"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Locale-Utils-PlaceholderNamed-1.004.tar.gz"; + sha256 = "1gd68lm5w5c6ndcilx91rn84zviqyrk3fx92jjx5khxm76i8xmvg"; + }; + propagatedBuildInputs = [ MooXStrictConstructor MooXTypesMooseLike namespaceautoclean ]; + buildInputs = [ TestDifferences TestException TestNoWarnings ]; + meta = { + description = "Locale::Utils::PlaceholderNamed - Utils to expand named placeholders"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; locallib = buildPerlPackage { @@ -12749,17 +12866,17 @@ let }; LogMessageSimple = buildPerlPackage { - pname = "Log-Message-Simple"; - version = "0.10"; - src = fetchurl { - url = "mirror://cpan/authors/id/B/BI/BINGOS/Log-Message-Simple-0.10.tar.gz"; - sha256 = "15nxi935nfrf8dkdrgvcrf2qlai4pbz03yj8sja0n9mcq2jd24ma"; - }; - propagatedBuildInputs = [ LogMessage ]; - meta = { - description = "Simplified interface to Log::Message"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Log-Message-Simple"; + version = "0.10"; + src = fetchurl { + url = "mirror://cpan/authors/id/B/BI/BINGOS/Log-Message-Simple-0.10.tar.gz"; + sha256 = "15nxi935nfrf8dkdrgvcrf2qlai4pbz03yj8sja0n9mcq2jd24ma"; + }; + propagatedBuildInputs = [ LogMessage ]; + meta = { + description = "Simplified interface to Log::Message"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; LogTrace = buildPerlPackage { @@ -12772,17 +12889,17 @@ let }; MCE = buildPerlPackage { - pname = "MCE"; - version = "1.874"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MA/MARIOROY/MCE-1.874.tar.gz"; - sha256 = "1l6khsmwzfr88xb81kdvmdskxgz3pm4yz2ybxkbml4bmhh0y62fq"; - }; - meta = { - description = "Many-Core Engine for Perl providing parallel processing capabilities"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/marioroy/mce-perl"; - }; + pname = "MCE"; + version = "1.874"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MA/MARIOROY/MCE-1.874.tar.gz"; + sha256 = "1l6khsmwzfr88xb81kdvmdskxgz3pm4yz2ybxkbml4bmhh0y62fq"; + }; + meta = { + description = "Many-Core Engine for Perl providing parallel processing capabilities"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/marioroy/mce-perl"; + }; }; LogLog4perl = buildPerlPackage { @@ -12796,6 +12913,7 @@ let homepage = "https://mschilli.github.io/log4perl/"; description = "Log4j implementation for Perl"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "l4p-tmpl"; }; }; @@ -12958,17 +13076,17 @@ let }; LWPProtocolhttp10 = buildPerlPackage { - pname = "LWP-Protocol-http10"; - version = "6.03"; - src = fetchurl { - url = "mirror://cpan/authors/id/G/GA/GAAS/LWP-Protocol-http10-6.03.tar.gz"; - sha256 = "1lxq40qfwfai9ryhzhsdnycc4189c8kfl43rf7qq34fmz48skzzk"; - }; - propagatedBuildInputs = [ LWP ]; - meta = { - description = "Legacy HTTP/1.0 support for LWP"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "LWP-Protocol-http10"; + version = "6.03"; + src = fetchurl { + url = "mirror://cpan/authors/id/G/GA/GAAS/LWP-Protocol-http10-6.03.tar.gz"; + sha256 = "1lxq40qfwfai9ryhzhsdnycc4189c8kfl43rf7qq34fmz48skzzk"; + }; + propagatedBuildInputs = [ LWP ]; + meta = { + description = "Legacy HTTP/1.0 support for LWP"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; LWPUserAgentCached = buildPerlPackage { @@ -13049,12 +13167,13 @@ let url = "mirror://cpan/authors/id/W/WY/WYANT/Mac-Pasteboard-0.011.tar.gz"; sha256 = "1a82pacp6pph3y2agdihzr4vc0phx85mq5am9czc81g8n484b35x"; }; + buildInputs = [ pkgs.darwin.apple_sdk.frameworks.ApplicationServices ]; meta = with lib; { description = "Manipulate Mac OS X pasteboards"; license = with licenses; [ artistic1 gpl1Plus ]; platforms = platforms.darwin; + mainProgram = "pbtool"; }; - buildInputs = [ pkgs.darwin.apple_sdk.frameworks.ApplicationServices ]; }; MailAuthenticationResults = buildPerlPackage { @@ -13112,17 +13231,17 @@ let }; MailMessage = buildPerlPackage { - pname = "Mail-Message"; - version = "3.010"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MA/MARKOV/Mail-Message-3.010.tar.gz"; - sha256 = "04wblxrkcjwn7hw6vkvf307lbpc9blj1glqmm59q3642wcd4nhaq"; - }; - propagatedBuildInputs = [ IOStringy MIMETypes MailTools URI UserIdentity ]; - meta = { - description = "Processing MIME messages"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Mail-Message"; + version = "3.010"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MA/MARKOV/Mail-Message-3.010.tar.gz"; + sha256 = "04wblxrkcjwn7hw6vkvf307lbpc9blj1glqmm59q3642wcd4nhaq"; + }; + propagatedBuildInputs = [ IOStringy MIMETypes MailTools URI UserIdentity ]; + meta = { + description = "Processing MIME messages"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MailDKIM = buildPerlPackage { @@ -13222,6 +13341,7 @@ let meta = { description = "An object-oriented implementation of Sender Policy Framework"; license = lib.licenses.bsd3; + mainProgram = "spfquery"; }; }; @@ -13241,17 +13361,17 @@ let }; MailTransport = buildPerlPackage { - pname = "Mail-Transport"; - version = "3.005"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MA/MARKOV/Mail-Transport-3.005.tar.gz"; - sha256 = "18wna71iyrgn63l7samacvnx2a5ydpcffkg313c8a4jwf0zvkp6h"; - }; - propagatedBuildInputs = [ MailMessage ]; - meta = { - description = "Email message exchange"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Mail-Transport"; + version = "3.005"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MA/MARKOV/Mail-Transport-3.005.tar.gz"; + sha256 = "18wna71iyrgn63l7samacvnx2a5ydpcffkg313c8a4jwf0zvkp6h"; + }; + propagatedBuildInputs = [ MailMessage ]; + meta = { + description = "Email message exchange"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MathBase85 = buildPerlPackage { @@ -13311,6 +13431,7 @@ let meta = { description = "Human-readable unit-aware calculator"; license = with lib.licenses; [ artistic1 gpl2 ]; + mainProgram = "ucalc"; }; }; @@ -13342,16 +13463,16 @@ let }; MathBigIntLite = buildPerlPackage { - pname = "Math-BigInt-Lite"; - version = "0.19"; - src = fetchurl { - url = "mirror://cpan/authors/id/P/PJ/PJACKLAM/Math-BigInt-Lite-0.19.tar.gz"; - sha256 = "06hm4vgihxr7m4jrq558phnnxy4am6ifba447j0h4p6jym5h7xih"; - }; - propagatedBuildInputs = [ MathBigInt ]; - meta = { - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Math-BigInt-Lite"; + version = "0.19"; + src = fetchurl { + url = "mirror://cpan/authors/id/P/PJ/PJACKLAM/Math-BigInt-Lite-0.19.tar.gz"; + sha256 = "06hm4vgihxr7m4jrq558phnnxy4am6ifba447j0h4p6jym5h7xih"; + }; + propagatedBuildInputs = [ MathBigInt ]; + meta = { + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MathClipper = buildPerlModule { @@ -13689,17 +13810,17 @@ let }; MemoizeExpireLRU = buildPerlPackage { - pname = "Memoize-ExpireLRU"; - version = "0.56"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/Memoize-ExpireLRU-0.56.tar.gz"; - sha256 = "1xnp3jqabl4il5kfadlqimbxhzsbm7gpwrgw0m5s5fdsrc0n70zf"; - }; - meta = { - description = "Expiry plug-in for Memoize that adds LRU cache expiration"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/neilb/Memoize-ExpireLRU"; - }; + pname = "Memoize-ExpireLRU"; + version = "0.56"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/Memoize-ExpireLRU-0.56.tar.gz"; + sha256 = "1xnp3jqabl4il5kfadlqimbxhzsbm7gpwrgw0m5s5fdsrc0n70zf"; + }; + meta = { + description = "Expiry plug-in for Memoize that adds LRU cache expiration"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/neilb/Memoize-ExpireLRU"; + }; }; Menlo = buildPerlPackage { @@ -13757,7 +13878,7 @@ let # Most tests are online, so we only include offline tests postPatch = '' substituteInPlace Makefile.PL \ - --replace '"t/*.t t/api/*.t"' \ + --replace '"t/*.t t/api/*.t"' \ '"t/00-report-prereqs.t t/api/_get.t t/api/_get_or_search.t t/api/_search.t t/entity.t t/request.t t/resultset.t"' ''; @@ -13819,6 +13940,7 @@ let homepage = "https://www.mhonarc.org/"; description = "A mail-to-HTML converter"; maintainers = with maintainers; [ lovek323 ]; + mainProgram = "mhonarc"; license = licenses.gpl2; }; }; @@ -13845,6 +13967,10 @@ let }; outputs = [ "out" ]; buildInputs = [ ProcWaitStat ]; + meta = { + description = "Construct and optionally mail MIME messages"; + license = lib.licenses.gpl2Plus; + }; }; MIMEEncWords = buildPerlPackage { @@ -14001,30 +14127,31 @@ let MNI-Perllib = callPackage ../development/perl-modules/MNI {}; Mo = buildPerlPackage { - pname = "Mo"; - version = "0.40"; - src = fetchurl { - url = "mirror://cpan/authors/id/T/TI/TINITA/Mo-0.40.tar.gz"; - sha256 = "1fff81awg9agfawf3wxx0gpf6vgav8w920rmxsbjg30z75943lli"; - }; - meta = { - description = "Micro Objects. Mo is less."; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/ingydotnet/mo-pm"; - }; + pname = "Mo"; + version = "0.40"; + src = fetchurl { + url = "mirror://cpan/authors/id/T/TI/TINITA/Mo-0.40.tar.gz"; + sha256 = "1fff81awg9agfawf3wxx0gpf6vgav8w920rmxsbjg30z75943lli"; + }; + meta = { + description = "Micro Objects. Mo is less."; + homepage = "https://github.com/ingydotnet/mo-pm"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "mo-inline"; + }; }; MockConfig = buildPerlPackage { - pname = "Mock-Config"; - version = "0.03"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RU/RURBAN/Mock-Config-0.03.tar.gz"; - sha256 = "06q0xkg5cwdwafzmb9rkaa305ddv7vli9gpm6n9jnkyaaxbk9f55"; - }; - meta = { - description = "temporarily set Config or XSConfig values"; - license = with lib.licenses; [ artistic1 gpl1Plus artistic2 ]; - }; + pname = "Mock-Config"; + version = "0.03"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RU/RURBAN/Mock-Config-0.03.tar.gz"; + sha256 = "06q0xkg5cwdwafzmb9rkaa305ddv7vli9gpm6n9jnkyaaxbk9f55"; + }; + meta = { + description = "temporarily set Config or XSConfig values"; + license = with lib.licenses; [ artistic1 gpl1Plus artistic2 ]; + }; }; ModernPerl = buildPerlPackage { @@ -14069,6 +14196,7 @@ let meta = { description = "Build and install Perl modules"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "config_data"; }; }; @@ -14190,49 +14318,49 @@ let }; ModuleCPANTSAnalyse = buildPerlPackage { - pname = "Module-CPANTS-Analyse"; - version = "1.01"; - src = fetchurl { - url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Module-CPANTS-Analyse-1.01.tar.gz"; - sha256 = "0jf83v9ylw7s9i2zv0l1v11gafp3k4389asc52r6s6q5s2j0p6dx"; - }; - propagatedBuildInputs = [ ArchiveAnyLite ArrayDiff DataBinary FileFindObject PerlPrereqScannerNotQuiteLite SoftwareLicense ]; - buildInputs = [ ExtUtilsMakeMakerCPANfile TestFailWarnings ]; - meta = { - description = "Generate Kwalitee ratings for a distribution"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://cpants.cpanauthors.org"; - }; + pname = "Module-CPANTS-Analyse"; + version = "1.01"; + src = fetchurl { + url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Module-CPANTS-Analyse-1.01.tar.gz"; + sha256 = "0jf83v9ylw7s9i2zv0l1v11gafp3k4389asc52r6s6q5s2j0p6dx"; + }; + propagatedBuildInputs = [ ArchiveAnyLite ArrayDiff DataBinary FileFindObject PerlPrereqScannerNotQuiteLite SoftwareLicense ]; + buildInputs = [ ExtUtilsMakeMakerCPANfile TestFailWarnings ]; + meta = { + description = "Generate Kwalitee ratings for a distribution"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://cpants.cpanauthors.org"; + }; }; ModuleCPANfile = buildPerlPackage { - pname = "Module-CPANfile"; - version = "1.1004"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Module-CPANfile-1.1004.tar.gz"; - sha256 = "08a9a5mybf0llwlfvk7n0q7az6lrrzgzwc3432mcwbb4k8pbxvw8"; - }; - meta = { - description = "Parse cpanfile"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/miyagawa/cpanfile"; - }; + pname = "Module-CPANfile"; + version = "1.1004"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Module-CPANfile-1.1004.tar.gz"; + sha256 = "08a9a5mybf0llwlfvk7n0q7az6lrrzgzwc3432mcwbb4k8pbxvw8"; + }; + meta = { + description = "Parse cpanfile"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/miyagawa/cpanfile"; + }; buildInputs = [ Filepushd ]; }; ModuleExtractUse = buildPerlModule { - pname = "Module-ExtractUse"; - version = "0.343"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DO/DOMM/Module-ExtractUse-0.343.tar.gz"; - sha256 = "00hcggwnqk953s4zbvkcabd5mfidg60hawlqsw6146in91dlclj8"; - }; - propagatedBuildInputs = [ ParseRecDescent PodStrip ]; - buildInputs = [ TestDeep TestNoWarnings ]; - meta = { - description = "Find out what modules are used"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Module-ExtractUse"; + version = "0.343"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DO/DOMM/Module-ExtractUse-0.343.tar.gz"; + sha256 = "00hcggwnqk953s4zbvkcabd5mfidg60hawlqsw6146in91dlclj8"; + }; + propagatedBuildInputs = [ ParseRecDescent PodStrip ]; + buildInputs = [ TestDeep TestNoWarnings ]; + meta = { + description = "Find out what modules are used"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ModuleFind = buildPerlPackage { @@ -14274,6 +14402,7 @@ let meta = { description = "Information about Perl modules"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "module_info"; }; propagatedBuildInputs = [ BUtils ]; }; @@ -14413,6 +14542,7 @@ let homepage = "https://github.com/neilbowers/Module-Path"; description = "Get the full path to a locally installed module"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "mpath"; }; }; @@ -14497,6 +14627,7 @@ let meta = { description = "Recursively scan Perl code for dependencies"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "scandeps.pl"; }; }; @@ -14511,6 +14642,7 @@ let meta = { description = "Module signature file manipulation"; license = lib.licenses.cc0; + mainProgram = "cpansign"; }; }; @@ -14524,6 +14656,7 @@ let meta = { description = "Module name tools and transformations"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pm_which"; }; }; @@ -14583,6 +14716,7 @@ let meta = { description = "Embed a Perl interpreter in the Apache HTTP server"; license = lib.licenses.asl20; + mainProgram = "mp2bug"; }; passthru.tests = nixosTests.mod_perl; @@ -14600,6 +14734,7 @@ let description = "Real-time web framework"; license = lib.licenses.artistic2; maintainers = with maintainers; [ thoughtpolice sgo ]; + mainProgram = "mojo"; }; }; @@ -14964,6 +15099,7 @@ let description = "A postmodern object system for Perl 5"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.eelco ]; + mainProgram = "moose-outdated"; }; }; @@ -14983,77 +15119,77 @@ let }; MooXLocalePassthrough = buildPerlPackage { - pname = "MooX-Locale-Passthrough"; - version = "0.001"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Locale-Passthrough-0.001.tar.gz"; - sha256 = "04h5xhqdvydd4xk9ckb6a79chn0ygf915ix55vg1snmba9z841bs"; - }; - propagatedBuildInputs = [ Moo ]; - meta = { - description = "provide API used in translator modules without translating"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "MooX-Locale-Passthrough"; + version = "0.001"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Locale-Passthrough-0.001.tar.gz"; + sha256 = "04h5xhqdvydd4xk9ckb6a79chn0ygf915ix55vg1snmba9z841bs"; + }; + propagatedBuildInputs = [ Moo ]; + meta = { + description = "provide API used in translator modules without translating"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MooXLocaleTextDomainOO = buildPerlPackage { - pname = "MooX-Locale-TextDomain-OO"; - version = "0.001"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Locale-TextDomain-OO-0.001.tar.gz"; - sha256 = "0g8pwj45ccqrzvs9cqyhw29nm68vai1vj46ad39rajnqzp7m53jv"; - }; - propagatedBuildInputs = [ LocaleTextDomainOO MooXLocalePassthrough ]; - meta = { - description = "provide API used in translator modules without translating"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "MooX-Locale-TextDomain-OO"; + version = "0.001"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Locale-TextDomain-OO-0.001.tar.gz"; + sha256 = "0g8pwj45ccqrzvs9cqyhw29nm68vai1vj46ad39rajnqzp7m53jv"; + }; + propagatedBuildInputs = [ LocaleTextDomainOO MooXLocalePassthrough ]; + meta = { + description = "provide API used in translator modules without translating"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MooXOptions = buildPerlPackage { - pname = "MooX-Options"; - version = "4.103"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Options-4.103.tar.gz"; - sha256 = "0v9j0wxx4f6z6lrmdqf2k084b2c2f2jbvh86pwib0vgjz1sdbyad"; - }; - propagatedBuildInputs = [ GetoptLongDescriptive MROCompat MooXLocalePassthrough PathClass UnicodeLineBreak strictures ]; - buildInputs = [ Mo MooXCmd MooXLocaleTextDomainOO Moose TestTrap ]; - preCheck = "rm t/16-namespace_clean.t"; # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942275 - meta = { - description = "Explicit Options eXtension for Object Class"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "MooX-Options"; + version = "4.103"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Options-4.103.tar.gz"; + sha256 = "0v9j0wxx4f6z6lrmdqf2k084b2c2f2jbvh86pwib0vgjz1sdbyad"; + }; + propagatedBuildInputs = [ GetoptLongDescriptive MROCompat MooXLocalePassthrough PathClass UnicodeLineBreak strictures ]; + buildInputs = [ Mo MooXCmd MooXLocaleTextDomainOO Moose TestTrap ]; + preCheck = "rm t/16-namespace_clean.t"; # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942275 + meta = { + description = "Explicit Options eXtension for Object Class"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MooXSingleton = buildPerlModule { - pname = "MooX-Singleton"; - version = "1.20"; - src = fetchurl { - url = "mirror://cpan/authors/id/A/AJ/AJGB/MooX-Singleton-1.20.tar.gz"; - sha256 = "03i1wfag279ldjjkwi9gvpfs8fgi05my47icq5ggi66yzxpn5mzp"; - }; - propagatedBuildInputs = [ RoleTiny ]; - buildInputs = [ Moo ]; - meta = { - description = "turn your Moo class into singleton"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "MooX-Singleton"; + version = "1.20"; + src = fetchurl { + url = "mirror://cpan/authors/id/A/AJ/AJGB/MooX-Singleton-1.20.tar.gz"; + sha256 = "03i1wfag279ldjjkwi9gvpfs8fgi05my47icq5ggi66yzxpn5mzp"; + }; + propagatedBuildInputs = [ RoleTiny ]; + buildInputs = [ Moo ]; + meta = { + description = "turn your Moo class into singleton"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MooXStrictConstructor = buildPerlPackage { - pname = "MooX-StrictConstructor"; - version = "0.011"; - src = fetchurl { - url = "mirror://cpan/authors/id/H/HA/HARTZELL/MooX-StrictConstructor-0.011.tar.gz"; - sha256 = "1qjkqrmzgz7lxhv14klsv0v9v6blf8js86d47ah24kpw5y12yf6s"; - }; - propagatedBuildInputs = [ Moo strictures ]; - buildInputs = [ TestFatal ]; - meta = { - description = "Make your Moo-based object constructors blow up on unknown attributes."; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "MooX-StrictConstructor"; + version = "0.011"; + src = fetchurl { + url = "mirror://cpan/authors/id/H/HA/HARTZELL/MooX-StrictConstructor-0.011.tar.gz"; + sha256 = "1qjkqrmzgz7lxhv14klsv0v9v6blf8js86d47ah24kpw5y12yf6s"; + }; + propagatedBuildInputs = [ Moo strictures ]; + buildInputs = [ TestFatal ]; + meta = { + description = "Make your Moo-based object constructors blow up on unknown attributes."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MooXTypesMooseLike = buildPerlPackage { @@ -15201,18 +15337,18 @@ let }; MooXCmd = buildPerlPackage { - pname = "MooX-Cmd"; - version = "0.017"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Cmd-0.017.tar.gz"; - sha256 = "1xbhmq07v9z371ygkyghva9aryhc22kwbzn5qwkp72c0ma6z4gwl"; - }; - propagatedBuildInputs = [ ListMoreUtils ModulePluggable Moo PackageStash ParamsUtil RegexpCommon ]; - buildInputs = [ CaptureTiny ]; - meta = { - description = "Giving an easy Moo style way to make command organized CLI apps"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "MooX-Cmd"; + version = "0.017"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RE/REHSACK/MooX-Cmd-0.017.tar.gz"; + sha256 = "1xbhmq07v9z371ygkyghva9aryhc22kwbzn5qwkp72c0ma6z4gwl"; + }; + propagatedBuildInputs = [ ListMoreUtils ModulePluggable Moo PackageStash ParamsUtil RegexpCommon ]; + buildInputs = [ CaptureTiny ]; + meta = { + description = "Giving an easy Moo style way to make command organized CLI apps"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; MooXlate = buildPerlPackage { @@ -15627,6 +15763,7 @@ let homepage = "https://github.com/moose/MooseX-Runnable"; description = "Tag a class as a runnable application"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "mx-run"; }; }; @@ -16040,6 +16177,7 @@ let description = "Generates a database upgrade instruction set"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.sgo ]; + mainProgram = "mysqldiff"; }; }; @@ -16167,6 +16305,7 @@ let meta = { description = "Use the Amazon S3 - Simple Storage Service"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "s3cl"; }; }; @@ -16313,10 +16452,10 @@ let propagatedBuildInputs = [ XMLTwig ]; # https://gitlab.com/berrange/perl-net-dbus/-/merge_requests/19 - patches = (fetchpatch { + patches = fetchpatch { url = "https://gitlab.com/berrange/perl-net-dbus/-/commit/6bac8f188fb06e5e5edd27aee672d66b7c28caa4.patch"; sha256 = "19nf4xn9xhyd0sd2az9iliqldjj0k6ah2dmkyqyvq4rp2d9k5jgb"; - }); + }; postPatch = '' substituteInPlace Makefile.PL --replace pkg-config $PKG_CONFIG @@ -16345,17 +16484,17 @@ let }; NetDNSResolverMock = buildPerlPackage { - pname = "Net-DNS-Resolver-Mock"; - version = "1.20200215"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MB/MBRADSHAW/Net-DNS-Resolver-Mock-1.20200215.tar.gz"; - sha256 = "1rv745c16l3m3w6xx2hjmmgzkdklmzm9imdfiddmdr9hwm8g3xxy"; - }; - propagatedBuildInputs = [ NetDNS ]; - meta = { - description = "Mock a DNS Resolver object for testing"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Net-DNS-Resolver-Mock"; + version = "1.20200215"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MB/MBRADSHAW/Net-DNS-Resolver-Mock-1.20200215.tar.gz"; + sha256 = "1rv745c16l3m3w6xx2hjmmgzkdklmzm9imdfiddmdr9hwm8g3xxy"; + }; + propagatedBuildInputs = [ NetDNS ]; + meta = { + description = "Mock a DNS Resolver object for testing"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; buildInputs = [ TestException ]; }; @@ -16373,17 +16512,17 @@ let }; NetFastCGI = buildPerlPackage { - pname = "Net-FastCGI"; - version = "0.14"; - src = fetchurl { - url = "mirror://cpan/authors/id/C/CH/CHANSEN/Net-FastCGI-0.14.tar.gz"; - sha256 = "0sjrnlzci21sci5m52zz0x9bf889j67i6vnhrjlypsfm9w5914qi"; - }; - buildInputs = [ TestException TestHexString ]; - meta = { - description = "FastCGI Toolkit"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Net-FastCGI"; + version = "0.14"; + src = fetchurl { + url = "mirror://cpan/authors/id/C/CH/CHANSEN/Net-FastCGI-0.14.tar.gz"; + sha256 = "0sjrnlzci21sci5m52zz0x9bf889j67i6vnhrjlypsfm9w5914qi"; + }; + buildInputs = [ TestException TestHexString ]; + meta = { + description = "FastCGI Toolkit"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; NetFrame = buildPerlModule { @@ -16526,6 +16665,9 @@ let sha256 = "1zk3591822dg187sgkwjjvg18qmvkn3yib1c34mq8z5i617xwi9q"; }; meta = { + description = "Perl extension for manipulating IPv4 addresses"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "ipv4calc"; }; }; @@ -16691,6 +16833,8 @@ let doCheck = false; # seems to hang waiting for connections meta = { description = "Extensible, general Perl server engine"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "net-server"; }; }; @@ -16712,35 +16856,35 @@ let }; NetServerCoro = buildPerlPackage { - pname = "Net-Server-Coro"; - version = "1.3"; - src = fetchurl { - url = "mirror://cpan/authors/id/A/AL/ALEXMV/Net-Server-Coro-1.3.tar.gz"; - sha256 = "11pvfxsi0q37kd17z597wb8r9dv3r96fiagq57kc746k1lmp06hy"; - }; - propagatedBuildInputs = [ Coro NetServer ]; - meta = { - description = "A co-operative multithreaded server using Coro"; - license = with lib.licenses; [ mit ]; - }; + pname = "Net-Server-Coro"; + version = "1.3"; + src = fetchurl { + url = "mirror://cpan/authors/id/A/AL/ALEXMV/Net-Server-Coro-1.3.tar.gz"; + sha256 = "11pvfxsi0q37kd17z597wb8r9dv3r96fiagq57kc746k1lmp06hy"; + }; + propagatedBuildInputs = [ Coro NetServer ]; + meta = { + description = "A co-operative multithreaded server using Coro"; + license = with lib.licenses; [ mit ]; + }; }; NetServerSSPrefork = buildPerlPackage { - pname = "Net-Server-SS-PreFork"; - version = "0.06pre"; - src = fetchFromGitHub { - owner = "kazuho"; - repo = "p5-Net-Server-SS-PreFork"; - rev = "5fccc0c270e25c65ef634304630af74b48807d21"; - sha256 = "0z02labw0dd76sdf301bhrmgnsjds0ddsg22138g8ys4az49bxx6"; - }; - checkInputs = [ HTTPMessage LWP TestSharedFork HTTPServerSimple TestTCP TestUNIXSock ]; - buildInputs = [ ModuleInstall ]; - propagatedBuildInputs = [ NetServer ServerStarter ]; - meta = { - description = "A hot-deployable variant of Net::Server::PreFork"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Net-Server-SS-PreFork"; + version = "0.06pre"; + src = fetchFromGitHub { + owner = "kazuho"; + repo = "p5-Net-Server-SS-PreFork"; + rev = "5fccc0c270e25c65ef634304630af74b48807d21"; + sha256 = "0z02labw0dd76sdf301bhrmgnsjds0ddsg22138g8ys4az49bxx6"; + }; + checkInputs = [ HTTPMessage LWP TestSharedFork HTTPServerSimple TestTCP TestUNIXSock ]; + buildInputs = [ ModuleInstall ]; + propagatedBuildInputs = [ NetServer ServerStarter ]; + meta = { + description = "A hot-deployable variant of Net::Server::PreFork"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; NetSMTPSSL = buildPerlPackage { @@ -16781,6 +16925,11 @@ let sha256 = "0hdpn1cw52x8cw24m9ayzpf4rwarm0khygn1sv3wvwxkrg0pphql"; }; doCheck = false; # The test suite fails, see https://rt.cpan.org/Public/Bug/Display.html?id=85799 + meta = { + description = "Object oriented interface to SNMP"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "snmpkey"; + }; }; NetSNPP = buildPerlPackage rec { @@ -16862,6 +17011,7 @@ let meta = { description = "Sends statistics to the stats daemon over UDP"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "benchmark.pl"; }; }; @@ -16972,16 +17122,16 @@ let }; NumberMisc = buildPerlModule { - pname = "Number-Misc"; - version = "1.2"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIKO/Number-Misc-1.2.tar.gz"; - sha256 = "1n4ivj4ydplanwbxn3jbsfyfcl91ngn2d0addzqrq1hac26bdfbp"; - }; - meta = { - description = "Number::Misc - handy utilities for numbers"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Number-Misc"; + version = "1.2"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIKO/Number-Misc-1.2.tar.gz"; + sha256 = "1n4ivj4ydplanwbxn3jbsfyfcl91ngn2d0addzqrq1hac26bdfbp"; + }; + meta = { + description = "Number::Misc - handy utilities for numbers"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; NumberPhone = buildPerlPackage { @@ -17298,6 +17448,7 @@ let meta = { description = "Routines for manipulating stashes"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "package-stash-conflicts"; }; }; @@ -17418,18 +17569,18 @@ let }; ParamsValidationCompiler = buildPerlPackage { - pname = "Params-ValidationCompiler"; - version = "0.30"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-0.30.tar.gz"; - sha256 = "1jqn1l4m4i341g14kmjsf3a1kn7vv6z89cix0xjjgr1v70iywnyw"; - }; - propagatedBuildInputs = [ EvalClosure ExceptionClass ]; - buildInputs = [ Specio Test2PluginNoWarnings Test2Suite TestWithoutModule ]; - meta = { - description = "Build an optimized subroutine parameter validator once, use it forever"; - license = with lib.licenses; [ artistic2 ]; - }; + pname = "Params-ValidationCompiler"; + version = "0.30"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-0.30.tar.gz"; + sha256 = "1jqn1l4m4i341g14kmjsf3a1kn7vv6z89cix0xjjgr1v70iywnyw"; + }; + propagatedBuildInputs = [ EvalClosure ExceptionClass ]; + buildInputs = [ Specio Test2PluginNoWarnings Test2Suite TestWithoutModule ]; + meta = { + description = "Build an optimized subroutine parameter validator once, use it forever"; + license = with lib.licenses; [ artistic2 ]; + }; }; Paranoid = buildPerlPackage { @@ -17465,19 +17616,20 @@ let }; PAUSEPermissions = buildPerlPackage { - pname = "PAUSE-Permissions"; - version = "0.17"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/PAUSE-Permissions-0.17.tar.gz"; - sha256 = "021ink414w4mdk6rd54cc1f23kfqg0zk4njx4ngr0bw3wc6r4kks"; - }; - propagatedBuildInputs = [ FileHomeDir HTTPDate MooXOptions TimeDurationParse ]; - buildInputs = [ PathTiny ]; - meta = { - description = "interface to PAUSE's module permissions file (06perms.txt)"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/neilb/PAUSE-Permissions"; - }; + pname = "PAUSE-Permissions"; + version = "0.17"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/PAUSE-Permissions-0.17.tar.gz"; + sha256 = "021ink414w4mdk6rd54cc1f23kfqg0zk4njx4ngr0bw3wc6r4kks"; + }; + propagatedBuildInputs = [ FileHomeDir HTTPDate MooXOptions TimeDurationParse ]; + buildInputs = [ PathTiny ]; + meta = { + description = "interface to PAUSE's module permissions file (06perms.txt)"; + homepage = "https://github.com/neilb/PAUSE-Permissions"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pause-permissions"; + }; }; Parent = buildPerlPackage { @@ -17518,18 +17670,18 @@ let }; ParseLocalDistribution = buildPerlPackage { - pname = "Parse-LocalDistribution"; - version = "0.19"; - src = fetchurl { - url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Parse-LocalDistribution-0.19.tar.gz"; - sha256 = "17p92nj4k3acrqqjnln1j5x8hbra9jkx5hdcybrq37ld9qnc62vb"; - }; - propagatedBuildInputs = [ ParsePMFile ]; - buildInputs = [ ExtUtilsMakeMakerCPANfile TestUseAllModules ]; - meta = { - description = "parses local .pm files as PAUSE does"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Parse-LocalDistribution"; + version = "0.19"; + src = fetchurl { + url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Parse-LocalDistribution-0.19.tar.gz"; + sha256 = "17p92nj4k3acrqqjnln1j5x8hbra9jkx5hdcybrq37ld9qnc62vb"; + }; + propagatedBuildInputs = [ ParsePMFile ]; + buildInputs = [ ExtUtilsMakeMakerCPANfile TestUseAllModules ]; + meta = { + description = "parses local .pm files as PAUSE does"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ParsePlainConfig = buildPerlPackage { @@ -17548,17 +17700,17 @@ let }; ParsePMFile = buildPerlPackage { - pname = "Parse-PMFile"; - version = "0.43"; - src = fetchurl { - url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Parse-PMFile-0.43.tar.gz"; - sha256 = "08q6j1lw5l49yhzx8gm4zal7zp1gk58iacpda86cyf27403yhqdy"; - }; - buildInputs = [ ExtUtilsMakeMakerCPANfile ]; - meta = { - description = "parses .pm file as PAUSE does"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Parse-PMFile"; + version = "0.43"; + src = fetchurl { + url = "mirror://cpan/authors/id/I/IS/ISHIGAKI/Parse-PMFile-0.43.tar.gz"; + sha256 = "08q6j1lw5l49yhzx8gm4zal7zp1gk58iacpda86cyf27403yhqdy"; + }; + buildInputs = [ ExtUtilsMakeMakerCPANfile ]; + meta = { + description = "parses .pm file as PAUSE does"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; ParseRecDescent = buildPerlModule { @@ -17607,6 +17759,7 @@ let meta = { description = "Perl extension for generating and using LALR parsers"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "yapp"; }; }; @@ -17795,6 +17948,7 @@ let homepage = "http://pdl.perl.org/"; description = "Perl Data Language"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pdl2"; platforms = lib.platforms.linux; }; }; @@ -17849,14 +18003,15 @@ let buildInputs = [ TestDeep ]; nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; propagatedBuildInputs = [ BKeywords ConfigTiny FileWhich ListMoreUtils ModulePluggable PPIxQuoteLike PPIxRegexp PPIxUtilities PerlTidy PodSpell StringFormat ]; + postInstall = lib.optionalString stdenv.isDarwin '' + shortenPerlShebang $out/bin/perlcritic + ''; meta = { homepage = "http://perlcritic.com"; description = "Critique Perl source code for best-practices"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "perlcritic"; }; - postInstall = lib.optionalString stdenv.isDarwin '' - shortenPerlShebang $out/bin/perlcritic - ''; }; PerlCriticCommunity = buildPerlModule { @@ -18063,6 +18218,7 @@ let meta = { description = "Indent and reformat perl scripts"; license = lib.licenses.gpl2Plus; + mainProgram = "perltidy"; }; }; @@ -18095,6 +18251,7 @@ let description = "Pure-Perl Core-Only replacement for pkg-config"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = teams.deshaw.members; + mainProgram = "ppkg-config"; }; }; @@ -18111,54 +18268,55 @@ let homepage = "https://github.com/plack/Plack"; description = "Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "plackup"; }; }; PlackAppProxy = buildPerlPackage { - pname = "Plack-App-Proxy"; - version = "0.29"; - src = fetchurl { - url = "mirror://cpan/authors/id/L/LE/LEEDO/Plack-App-Proxy-0.29.tar.gz"; - sha256 = "03x6yb6ykz1ms90jp1s0pq19yplf7wswljvhzqkr16jannfrmah4"; - }; - propagatedBuildInputs = [ AnyEventHTTP LWP Plack ]; - buildInputs = [ TestRequires TestSharedFork TestTCP ]; - meta = { - description = "proxy requests"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Plack-App-Proxy"; + version = "0.29"; + src = fetchurl { + url = "mirror://cpan/authors/id/L/LE/LEEDO/Plack-App-Proxy-0.29.tar.gz"; + sha256 = "03x6yb6ykz1ms90jp1s0pq19yplf7wswljvhzqkr16jannfrmah4"; + }; + propagatedBuildInputs = [ AnyEventHTTP LWP Plack ]; + buildInputs = [ TestRequires TestSharedFork TestTCP ]; + meta = { + description = "proxy requests"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; PlackMiddlewareAuthDigest = buildPerlModule { - pname = "Plack-Middleware-Auth-Digest"; - version = "0.05"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Auth-Digest-0.05.tar.gz"; - sha256 = "1sqm23kfsl3ac4060zcclc3r86x1vxzhsgvgzg6mxk9njj93zgcs"; - }; - propagatedBuildInputs = [ DigestHMAC Plack ]; - buildInputs = [ LWP ModuleBuildTiny TestSharedFork TestTCP ]; - meta = { - description = "Digest authentication"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/miyagawa/Plack-Middleware-Auth-Digest"; - }; + pname = "Plack-Middleware-Auth-Digest"; + version = "0.05"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Auth-Digest-0.05.tar.gz"; + sha256 = "1sqm23kfsl3ac4060zcclc3r86x1vxzhsgvgzg6mxk9njj93zgcs"; + }; + propagatedBuildInputs = [ DigestHMAC Plack ]; + buildInputs = [ LWP ModuleBuildTiny TestSharedFork TestTCP ]; + meta = { + description = "Digest authentication"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/miyagawa/Plack-Middleware-Auth-Digest"; + }; }; PlackMiddlewareConsoleLogger = buildPerlModule { - pname = "Plack-Middleware-ConsoleLogger"; - version = "0.05"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Plack-Middleware-ConsoleLogger-0.05.tar.gz"; - sha256 = "1ngvhwdw9ll4cwnvf0i89ppa9pbyiwng6iba04scrqjda353lrsm"; - }; - propagatedBuildInputs = [ JavaScriptValueEscape Plack ]; - buildInputs = [ ModuleBuildTiny TestRequires ]; - meta = { - description = "Write logs to Firebug or Webkit Inspector"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/miyagawa/Plack-Middleware-ConsoleLogger"; - }; + pname = "Plack-Middleware-ConsoleLogger"; + version = "0.05"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Plack-Middleware-ConsoleLogger-0.05.tar.gz"; + sha256 = "1ngvhwdw9ll4cwnvf0i89ppa9pbyiwng6iba04scrqjda353lrsm"; + }; + propagatedBuildInputs = [ JavaScriptValueEscape Plack ]; + buildInputs = [ ModuleBuildTiny TestRequires ]; + meta = { + description = "Write logs to Firebug or Webkit Inspector"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/miyagawa/Plack-Middleware-ConsoleLogger"; + }; }; PlackMiddlewareDebug = buildPerlModule { @@ -18178,18 +18336,18 @@ let }; PlackMiddlewareDeflater = buildPerlPackage { - pname = "Plack-Middleware-Deflater"; - version = "0.12"; - src = fetchurl { - url = "mirror://cpan/authors/id/K/KA/KAZEBURO/Plack-Middleware-Deflater-0.12.tar.gz"; - sha256 = "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"; - }; - propagatedBuildInputs = [ Plack ]; - buildInputs = [ TestRequires TestSharedFork TestTCP ]; - meta = { - description = "Compress response body with Gzip or Deflate"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Plack-Middleware-Deflater"; + version = "0.12"; + src = fetchurl { + url = "mirror://cpan/authors/id/K/KA/KAZEBURO/Plack-Middleware-Deflater-0.12.tar.gz"; + sha256 = "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"; + }; + propagatedBuildInputs = [ Plack ]; + buildInputs = [ TestRequires TestSharedFork TestTCP ]; + meta = { + description = "Compress response body with Gzip or Deflate"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; PlackMiddlewareFixMissingBodyInRedirect = buildPerlPackage { @@ -18208,17 +18366,17 @@ let }; PlackMiddlewareHeader = buildPerlPackage { - pname = "Plack-Middleware-Header"; - version = "0.04"; - src = fetchurl { - url = "mirror://cpan/authors/id/C/CH/CHIBA/Plack-Middleware-Header-0.04.tar.gz"; - sha256 = "0pjxxbnilphn38s3mmv0fmg9q2hm4z02ngp2a1lxblzjfbzvkdjy"; - }; - propagatedBuildInputs = [ Plack ]; - meta = { - description = "modify HTTP response headers"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Plack-Middleware-Header"; + version = "0.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/C/CH/CHIBA/Plack-Middleware-Header-0.04.tar.gz"; + sha256 = "0pjxxbnilphn38s3mmv0fmg9q2hm4z02ngp2a1lxblzjfbzvkdjy"; + }; + propagatedBuildInputs = [ Plack ]; + meta = { + description = "modify HTTP response headers"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; PlackMiddlewareMethodOverride = buildPerlPackage { @@ -18265,19 +18423,19 @@ let }; PlackMiddlewareSession = buildPerlModule { - pname = "Plack-Middleware-Session"; - version = "0.33"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Session-0.33.tar.gz"; - sha256 = "1vm4a66civdzh7xvl5hy5wn1w8j1vndppwyz8ndh9n4as74s5yag"; - }; - propagatedBuildInputs = [ DigestHMAC Plack ]; - buildInputs = [ HTTPCookies LWP ModuleBuildTiny TestFatal TestRequires TestSharedFork TestTCP ]; - meta = { - description = "Middleware for session management"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/plack/Plack-Middleware-Session"; - }; + pname = "Plack-Middleware-Session"; + version = "0.33"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Session-0.33.tar.gz"; + sha256 = "1vm4a66civdzh7xvl5hy5wn1w8j1vndppwyz8ndh9n4as74s5yag"; + }; + propagatedBuildInputs = [ DigestHMAC Plack ]; + buildInputs = [ HTTPCookies LWP ModuleBuildTiny TestFatal TestRequires TestSharedFork TestTCP ]; + meta = { + description = "Middleware for session management"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/plack/Plack-Middleware-Session"; + }; }; PlackTestExternalServer = buildPerlPackage { @@ -18313,6 +18471,7 @@ let description = "Perl Language Server"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.artturin ]; + mainProgram = "pls"; }; }; @@ -18330,6 +18489,7 @@ let homepage = "http://user42.tuxfamily.org/pod-minimumversion/index.html"; description = "Determine minimum Perl version of POD directives"; license = lib.licenses.free; + mainProgram = "pod-minimumversion"; }; }; @@ -18375,9 +18535,10 @@ let sha256 = "0yx4wsljfmdzsiv0ni98x6lw975cm82ahngbwqvzv60wx5pwkl5y"; }; meta = { - maintainers = teams.deshaw.members; description = "Reusable tests for POE::Loop authors"; license = lib.licenses.artistic2; + maintainers = teams.deshaw.members; + mainProgram = "poe-gen-tests"; }; }; @@ -18467,6 +18628,9 @@ let sha256 = "91b6a5aeb841b1c313498c78fad08e37d17595702dc6205b5ad38ef69949b7ee"; }; meta = { + description = "Provides a generic interface to running background processes"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "timed-process"; }; }; @@ -18664,6 +18828,7 @@ let homepage = "https://github.com/neilbowers/Perl-MinimumVersion"; description = "Find a minimum required version of perl for Perl code"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "perlver"; }; }; @@ -18679,6 +18844,7 @@ let homepage = "https://github.com/rjbs/Perl-PrereqScanner"; description = "A tool to scan your Perl code for its prerequisites"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "scan-perl-prereqs"; }; }; @@ -18694,6 +18860,7 @@ let meta = { description = "a tool to scan your Perl code for its prerequisites"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "scan-perl-prereqs-nqlite"; }; }; @@ -18708,6 +18875,7 @@ let meta = { description = "Parse and manipulate Perl version strings"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "perl-reversion"; }; }; @@ -18722,6 +18890,7 @@ let meta = { description = "An abstract, tree-based interface to perl POD documents"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "paf"; }; }; @@ -18732,6 +18901,11 @@ let url = "mirror://cpan/authors/id/M/MA/MAREKR/Pod-Checker-1.74.tar.gz"; sha256 = "12559997r7wbhhs0p6cdxdzv7rzviv0nx1hq0dby8q481apn489f"; }; + meta = { + description = "Check POD documents for syntax errors"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "podchecker"; + }; }; PodCoverage = buildPerlPackage { @@ -18742,6 +18916,11 @@ let sha256 = "01xifj83dv492lxixijmg6va02rf3ydlxly0a9slmx22r6qa1drh"; }; propagatedBuildInputs = [ DevelSymdump PodParser ]; + meta = { + description = "Checks if the documentation of a module is comprehensive"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pod_cover"; + }; }; PodCoverageTrustPod = buildPerlPackage { @@ -18816,6 +18995,7 @@ let meta = { description = "Modules for parsing/translating POD format documents"; license = lib.licenses.artistic1; + mainProgram = "podselect"; }; }; @@ -18831,6 +19011,7 @@ let homepage = "https://github.com/neilb/Pod-POM"; description = "POD Object Model"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pom2"; }; }; @@ -18860,6 +19041,7 @@ let homepage = "https://github.com/ktat/Pod-Section"; description = "Select specified section from Module's POD"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "podsection"; }; }; @@ -18875,6 +19057,7 @@ let homepage = "https://github.com/timj/perl-Pod-LaTeX/tree/master"; description = "Convert Pod data to formatted Latex"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pod2latex"; }; }; @@ -18933,6 +19116,7 @@ let meta = { description = "Look up Perl documentation in Pod format"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "perldoc"; }; }; @@ -18962,23 +19146,25 @@ let homepage = "https://github.com/rwstauner/Pod-Markdown"; description = "Convert POD to Markdown"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pod2markdown"; }; propagatedBuildInputs = [ URI ]; }; PodMarkdownGithub = buildPerlPackage { - pname = "Pod-Markdown-Github"; - version = "0.04"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MINIMAL/Pod-Markdown-Github-0.04.tar.gz"; - sha256 = "04y67c50hpf1vb9cwsza3fbj4rshdqa47vi3zcj4kkjckh02yzmk"; - }; - propagatedBuildInputs = [ PodMarkdown ]; - buildInputs = [ TestDifferences ]; - meta = { - description = "Convert POD to Github's specific markdown"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Pod-Markdown-Github"; + version = "0.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MINIMAL/Pod-Markdown-Github-0.04.tar.gz"; + sha256 = "04y67c50hpf1vb9cwsza3fbj4rshdqa47vi3zcj4kkjckh02yzmk"; + }; + propagatedBuildInputs = [ PodMarkdown ]; + buildInputs = [ TestDifferences ]; + meta = { + description = "Convert POD to Github's specific markdown"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "pod2github"; + }; }; PodSimple = buildPerlPackage { @@ -18999,34 +19185,40 @@ let }; propagatedBuildInputs = [ ClassTiny FileShareDir LinguaENInflect PathTiny PodParser ]; buildInputs = [ FileShareDirInstall TestDeep ]; + meta = { + description = "A formatter for spellchecking Pod"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "podspell"; + }; }; PodStrip = buildPerlModule { - pname = "Pod-Strip"; - version = "1.02"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DO/DOMM/Pod-Strip-1.02.tar.gz"; - sha256 = "1zsjfw2cjq1bd3ppl67fdvrx46vj9lina0c3cv9qgk5clzvaq3fq"; - }; - meta = { - description = "Remove POD from Perl code"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Pod-Strip"; + version = "1.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DO/DOMM/Pod-Strip-1.02.tar.gz"; + sha256 = "1zsjfw2cjq1bd3ppl67fdvrx46vj9lina0c3cv9qgk5clzvaq3fq"; + }; + meta = { + description = "Remove POD from Perl code"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; PodTidy = buildPerlModule { - pname = "Pod-Tidy"; - version = "0.10"; - src = fetchurl { - url = "mirror://cpan/authors/id/J/JH/JHOBLITT/Pod-Tidy-0.10.tar.gz"; - sha256 = "1gcxjplgksnc5iggi8dzbkbkcryii5wjhypd7fs3kmbwx91y2vl8"; - }; - propagatedBuildInputs = [ EncodeNewlines IOString PodWrap TextGlob ]; - buildInputs = [ TestCmd ]; - meta = { - description = "a reformatting Pod Processor"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Pod-Tidy"; + version = "0.10"; + src = fetchurl { + url = "mirror://cpan/authors/id/J/JH/JHOBLITT/Pod-Tidy-0.10.tar.gz"; + sha256 = "1gcxjplgksnc5iggi8dzbkbkcryii5wjhypd7fs3kmbwx91y2vl8"; + }; + propagatedBuildInputs = [ EncodeNewlines IOString PodWrap TextGlob ]; + buildInputs = [ TestCmd ]; + meta = { + description = "a reformatting Pod Processor"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "podtidy"; + }; }; PodWeaver = buildPerlPackage { @@ -19046,16 +19238,17 @@ let }; PodWrap = buildPerlModule { - pname = "Pod-Wrap"; - version = "0.01"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NU/NUFFIN/Pod-Wrap-0.01.tar.gz"; - sha256 = "0qwb5hp26f85xnb3zivf8ccfdplabiyl5sd53c6wgdgvzzicpjjh"; - }; - propagatedBuildInputs = [ PodParser ]; - meta = { - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Pod-Wrap"; + version = "0.01"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NU/NUFFIN/Pod-Wrap-0.01.tar.gz"; + sha256 = "0qwb5hp26f85xnb3zivf8ccfdplabiyl5sd53c6wgdgvzzicpjjh"; + }; + propagatedBuildInputs = [ PodParser ]; + meta = { + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "podwrap"; + }; }; ProbePerl = buildPerlPackage { @@ -19113,6 +19306,7 @@ let homepage = "https://github.com/creaktive/rainbarf"; description = "CPU/RAM/battery stats chart bar for tmux (and GNU screen)"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "rainbarf"; }; }; @@ -19344,6 +19538,11 @@ let }; propagatedBuildInputs = [ XMLParser ]; doCheck = false; + meta = { + description = "An implementation of XML-RPC"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "make_method"; + }; }; ReturnValue = buildPerlPackage { @@ -19627,6 +19826,7 @@ let meta = with lib; { description = "Linux/POSIX emulation of Win32::SerialPort functions."; license = with licenses; [ artistic1 gpl1Plus ]; + mainProgram = "modemtest"; }; }; @@ -19642,6 +19842,7 @@ let homepage = "https://github.com/kazuho/p5-Server-Starter"; description = "A superdaemon for hot-deploying server programs"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "start_server"; }; }; @@ -19732,6 +19933,11 @@ let url = "mirror://cpan/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz"; sha256 = "1gdjf3mcz2bxir0l9iljxiz6qqqg3a9gg23y5wjg538w552r432m"; }; + meta = { + description = "Library for parsing the output from SGMLS and NSGMLS parsers"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "sgmlspl.pl"; + }; }; SignalMask = buildPerlPackage { @@ -19749,29 +19955,31 @@ let }; SnowballNorwegian = buildPerlModule { - pname = "Snowball-Norwegian"; - version = "1.2"; - src = fetchurl { - url = "mirror://cpan/authors/id/A/AS/ASKSH/Snowball-Norwegian-1.2.tar.gz"; - sha256 = "0675v45bbsh7vr7kpf36xs2q79g02iq1kmfw22h20xdk4rzqvkqx"; - }; - meta = { - description = "Porters stemming algorithm for norwegian."; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Snowball-Norwegian"; + version = "1.2"; + src = fetchurl { + url = "mirror://cpan/authors/id/A/AS/ASKSH/Snowball-Norwegian-1.2.tar.gz"; + sha256 = "0675v45bbsh7vr7kpf36xs2q79g02iq1kmfw22h20xdk4rzqvkqx"; + }; + meta = { + description = "Porters stemming algorithm for norwegian."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "stemmer-no.pl"; + }; }; SnowballSwedish = buildPerlModule { - pname = "Snowball-Swedish"; - version = "1.2"; - src = fetchurl { - url = "mirror://cpan/authors/id/A/AS/ASKSH/Snowball-Swedish-1.2.tar.gz"; - sha256 = "0agwc12jk5kmabnpsplw3wf4ii5w1zb159cpin44x3srb0sr5apg"; - }; - meta = { - description = "Porters stemming algorithm for swedish."; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Snowball-Swedish"; + version = "1.2"; + src = fetchurl { + url = "mirror://cpan/authors/id/A/AS/ASKSH/Snowball-Swedish-1.2.tar.gz"; + sha256 = "0agwc12jk5kmabnpsplw3wf4ii5w1zb159cpin44x3srb0sr5apg"; + }; + meta = { + description = "Porters stemming algorithm for swedish."; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "stemmer-se.pl"; + }; }; SOAPLite = buildPerlPackage { @@ -19822,19 +20030,19 @@ let }; SoftwareLicenseCCpack = buildPerlPackage { - pname = "Software-License-CCpack"; - version = "1.11"; - src = fetchurl { - url = "mirror://cpan/authors/id/B/BB/BBYRD/Software-License-CCpack-1.11.tar.gz"; - sha256 = "1cakbn7am8mhalwas5h33l7c6avdqpg42z478p6rav11pim5qksr"; - }; - propagatedBuildInputs = [ SoftwareLicense ]; - buildInputs = [ TestCheckDeps ]; - meta = { - description = "Software::License pack for Creative Commons' licenses"; - license = with lib.licenses; [ lgpl3Plus ]; - homepage = "https://github.com/SineSwiper/Software-License-CCpack"; - }; + pname = "Software-License-CCpack"; + version = "1.11"; + src = fetchurl { + url = "mirror://cpan/authors/id/B/BB/BBYRD/Software-License-CCpack-1.11.tar.gz"; + sha256 = "1cakbn7am8mhalwas5h33l7c6avdqpg42z478p6rav11pim5qksr"; + }; + propagatedBuildInputs = [ SoftwareLicense ]; + buildInputs = [ TestCheckDeps ]; + meta = { + description = "Software::License pack for Creative Commons' licenses"; + license = with lib.licenses; [ lgpl3Plus ]; + homepage = "https://github.com/SineSwiper/Software-License-CCpack"; + }; }; SortKey = buildPerlPackage { @@ -19860,33 +20068,33 @@ let }; Specio = buildPerlPackage { - pname = "Specio"; - version = "0.46"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DR/DROLSKY/Specio-0.46.tar.gz"; - sha256 = "15lmxffbzj1gq7n9m80a3ka8nqxmmk3p4azp33y6wv872shjmx0b"; - }; - propagatedBuildInputs = [ DevelStackTrace EvalClosure MROCompat ModuleRuntime RoleTiny SubQuote TryTiny ]; - buildInputs = [ TestFatal TestNeeds ]; - meta = { - description = "Type constraints and coercions for Perl"; - license = with lib.licenses; [ artistic2 ]; - }; + pname = "Specio"; + version = "0.46"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DR/DROLSKY/Specio-0.46.tar.gz"; + sha256 = "15lmxffbzj1gq7n9m80a3ka8nqxmmk3p4azp33y6wv872shjmx0b"; + }; + propagatedBuildInputs = [ DevelStackTrace EvalClosure MROCompat ModuleRuntime RoleTiny SubQuote TryTiny ]; + buildInputs = [ TestFatal TestNeeds ]; + meta = { + description = "Type constraints and coercions for Perl"; + license = with lib.licenses; [ artistic2 ]; + }; }; SpecioLibraryPathTiny = buildPerlPackage { - pname = "Specio-Library-Path-Tiny"; - version = "0.04"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DR/DROLSKY/Specio-Library-Path-Tiny-0.04.tar.gz"; - sha256 = "0cyfx8gigsgisdwynjamh8jkpad23sr8v6a98hq285zmibm16s7g"; - }; - propagatedBuildInputs = [ PathTiny Specio ]; - buildInputs = [ Filepushd TestFatal ]; - meta = { - description = "Path::Tiny types and coercions for Specio"; - license = with lib.licenses; [ asl20 ]; - }; + pname = "Specio-Library-Path-Tiny"; + version = "0.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DR/DROLSKY/Specio-Library-Path-Tiny-0.04.tar.gz"; + sha256 = "0cyfx8gigsgisdwynjamh8jkpad23sr8v6a98hq285zmibm16s7g"; + }; + propagatedBuildInputs = [ PathTiny Specio ]; + buildInputs = [ Filepushd TestFatal ]; + meta = { + description = "Path::Tiny types and coercions for Specio"; + license = with lib.licenses; [ asl20 ]; + }; }; Spiffy = buildPerlPackage { @@ -19939,6 +20147,7 @@ let meta = { description = "Write to a cross platform Excel binary file"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "chartex"; }; }; @@ -19992,6 +20201,11 @@ let }; buildInputs = [ TestException ]; propagatedBuildInputs = [ ClassAccessor ListMoreUtils RegexpCommon SQLTokenizer ]; + meta = { + description = "Split any SQL code into atomic statements"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "sql-split"; + }; }; SQLStatement = buildPerlPackage { @@ -20038,6 +20252,7 @@ let meta = { description = "SQL DDL transformations and more"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "sqlt"; }; }; @@ -20100,6 +20315,7 @@ let homepage = "https://github.com/miyagawa/Starman"; description = "High-performance preforking PSGI/Plack web server"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "starman"; }; }; @@ -20363,6 +20579,11 @@ let url = "mirror://cpan/authors/id/C/CG/CGRAU/String-MkPasswd-0.05.tar.gz"; sha256 = "15lvcc8c9hp6mg3jx02wd3b85aphn8yl5db62q3pam04c0sgh42k"; }; + meta = { + description = "Random password generator"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "mkpasswd.pl"; + }; }; StringRandom = buildPerlModule { @@ -20398,7 +20619,9 @@ let doCheck = !stdenv.isDarwin; meta = { # http://cpansearch.perl.org/src/ROSCH/String-ShellQuote-1.04/README + description = "Quote strings for passing through the shell"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "shell-quote"; }; }; @@ -20744,6 +20967,7 @@ let homepage = "https://github.com/ingydotnet/swim-pm"; description = "See What I Mean?!"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "swin"; }; }; @@ -21199,7 +21423,7 @@ let buildInputs = [ CGI TestLeakTrace ]; }; - TemplateGD = buildPerlPackage { + TemplateGD = buildPerlPackage { pname = "Template-GD"; version = "2.66"; src = fetchurl { @@ -21321,6 +21545,7 @@ let homepage = "https://sourceforge.net/projects/perl-trg/"; description = "Perl extension for the GNU Readline/History Library"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "perlsh"; }; }; @@ -21435,17 +21660,17 @@ let }; TermUI = buildPerlPackage { - pname = "Term-UI"; - version = "0.46"; - src = fetchurl { - url = "mirror://cpan/authors/id/B/BI/BINGOS/Term-UI-0.46.tar.gz"; - sha256 = "19p92za5cx1v7g57pg993amprcvm1az3pp7y9g5b1aplsy06r54i"; - }; - propagatedBuildInputs = [ LogMessageSimple ]; - meta = { - description = "User interfaces via Term::ReadLine made easy"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Term-UI"; + version = "0.46"; + src = fetchurl { + url = "mirror://cpan/authors/id/B/BI/BINGOS/Term-UI-0.46.tar.gz"; + sha256 = "19p92za5cx1v7g57pg993amprcvm1az3pp7y9g5b1aplsy06r54i"; + }; + propagatedBuildInputs = [ LogMessageSimple ]; + meta = { + description = "User interfaces via Term::ReadLine made easy"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TermVT102 = buildPerlPackage { @@ -21500,6 +21725,7 @@ let meta = { description = "A new and improved test harness with better Test2 integration"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "yath"; broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/staging-next/perl534Packages.Test2Harness.x86_64-darwin }; }; @@ -21518,7 +21744,7 @@ let }; }; - Test2PluginUUID = buildPerlPackage { + Test2PluginUUID = buildPerlPackage { pname = "Test2-Plugin-UUID"; version = "0.002001"; src = fetchurl { @@ -21534,17 +21760,17 @@ let }; Test2PluginNoWarnings = buildPerlPackage { - pname = "Test2-Plugin-NoWarnings"; - version = "0.09"; - src = fetchurl { - url = "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-0.09.tar.gz"; - sha256 = "0x7vy9r5gyxqg3qy966frj8ywkckkv7mc83xy4mkdvrf0h0dhgdy"; - }; - buildInputs = [ IPCRun3 Test2Suite ]; - meta = { - description = "Fail if tests warn"; - license = with lib.licenses; [ artistic2 ]; - }; + pname = "Test2-Plugin-NoWarnings"; + version = "0.09"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-0.09.tar.gz"; + sha256 = "0x7vy9r5gyxqg3qy966frj8ywkckkv7mc83xy4mkdvrf0h0dhgdy"; + }; + buildInputs = [ IPCRun3 Test2Suite ]; + meta = { + description = "Fail if tests warn"; + license = with lib.licenses; [ artistic2 ]; + }; propagatedBuildInputs = [ TestSimple13 ]; }; @@ -21563,19 +21789,19 @@ let }; TestAbortable = buildPerlPackage { - pname = "Test-Abortable"; - version = "0.002"; - src = fetchurl { - url = "mirror://cpan/authors/id/R/RJ/RJBS/Test-Abortable-0.002.tar.gz"; - sha256 = "0v97y31j56f4mxw0vxyjbdprq4951h4wcdh4acnfm63np7wvg44p"; - }; - propagatedBuildInputs = [ SubExporter ]; - buildInputs = [ TestNeeds ]; - meta = { - description = "subtests that you can die your way out of ... but survive"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/rjbs/Test-Abortable"; - }; + pname = "Test-Abortable"; + version = "0.002"; + src = fetchurl { + url = "mirror://cpan/authors/id/R/RJ/RJBS/Test-Abortable-0.002.tar.gz"; + sha256 = "0v97y31j56f4mxw0vxyjbdprq4951h4wcdh4acnfm63np7wvg44p"; + }; + propagatedBuildInputs = [ SubExporter ]; + buildInputs = [ TestNeeds ]; + meta = { + description = "subtests that you can die your way out of ... but survive"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/rjbs/Test-Abortable"; + }; }; TestAssert = buildPerlModule { @@ -21671,17 +21897,17 @@ let }; TestClassMost = buildPerlModule { - pname = "Test-Class-Most"; - version = "0.08"; - src = fetchurl { - url = "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-0.08.tar.gz"; - sha256 = "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33"; - }; - buildInputs = [ TestClass TestDeep TestDifferences TestException TestMost TestWarn ]; - meta = { - description = "Test Classes the easy way"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Test-Class-Most"; + version = "0.08"; + src = fetchurl { + url = "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-0.08.tar.gz"; + sha256 = "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33"; + }; + buildInputs = [ TestClass TestDeep TestDifferences TestException TestMost TestWarn ]; + meta = { + description = "Test Classes the easy way"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TestCleanNamespaces = buildPerlPackage { @@ -21701,18 +21927,18 @@ let }; TestCmd = buildPerlPackage { - pname = "Test-Cmd"; - version = "1.09"; - src = fetchurl { - url = "mirror://cpan/authors/id/N/NE/NEILB/Test-Cmd-1.09.tar.gz"; - sha256 = "114nfafwfxxn7kig265b7lg0znb5ybvc282sjjwf14g7vpn20cyg"; - }; - doCheck = false; /* test fails */ - meta = { - description = "Perl module for portable testing of commands and scripts"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/neilb/Test-Cmd"; - }; + pname = "Test-Cmd"; + version = "1.09"; + src = fetchurl { + url = "mirror://cpan/authors/id/N/NE/NEILB/Test-Cmd-1.09.tar.gz"; + sha256 = "114nfafwfxxn7kig265b7lg0znb5ybvc282sjjwf14g7vpn20cyg"; + }; + doCheck = false; /* test fails */ + meta = { + description = "Perl module for portable testing of commands and scripts"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/neilb/Test-Cmd"; + }; }; TestCommand = buildPerlModule { @@ -21757,17 +21983,17 @@ let }; TestCPANMetaJSON = buildPerlPackage { - pname = "Test-CPAN-Meta-JSON"; - version = "0.16"; - src = fetchurl { - url = "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz"; - sha256 = "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37"; - }; - propagatedBuildInputs = [ JSON ]; - meta = { - description = "Validate your CPAN META.json files"; - license = with lib.licenses; [ artistic2 ]; - }; + pname = "Test-CPAN-Meta-JSON"; + version = "0.16"; + src = fetchurl { + url = "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz"; + sha256 = "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37"; + }; + propagatedBuildInputs = [ JSON ]; + meta = { + description = "Validate your CPAN META.json files"; + license = with lib.licenses; [ artistic2 ]; + }; }; TestDataSplit = buildPerlModule { @@ -22037,29 +22263,29 @@ let }; TestHexDifferences = buildPerlPackage { - pname = "Test-HexDifferences"; - version = "1.001"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Test-HexDifferences-1.001.tar.gz"; - sha256 = "18lh6shpfx567gjikrid4hixydgv1hi3mycl20qzq2j2vpn4afd6"; - }; - propagatedBuildInputs = [ SubExporter TextDiff ]; - buildInputs = [ TestDifferences TestNoWarnings ]; - meta = { - }; + pname = "Test-HexDifferences"; + version = "1.001"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Test-HexDifferences-1.001.tar.gz"; + sha256 = "18lh6shpfx567gjikrid4hixydgv1hi3mycl20qzq2j2vpn4afd6"; + }; + propagatedBuildInputs = [ SubExporter TextDiff ]; + buildInputs = [ TestDifferences TestNoWarnings ]; + meta = { + }; }; TestHexString = buildPerlModule { - pname = "Test-HexString"; - version = "0.03"; - src = fetchurl { - url = "mirror://cpan/authors/id/P/PE/PEVANS/Test-HexString-0.03.tar.gz"; - sha256 = "0h1zl2l1ljlcxsn0xvin9dwiymnhyhnfnxgzg3f9899g37f4qk3x"; - }; - meta = { - description = "test binary strings with hex dump diagnostics"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Test-HexString"; + version = "0.03"; + src = fetchurl { + url = "mirror://cpan/authors/id/P/PE/PEVANS/Test-HexString-0.03.tar.gz"; + sha256 = "0h1zl2l1ljlcxsn0xvin9dwiymnhyhnfnxgzg3f9899g37f4qk3x"; + }; + meta = { + description = "test binary strings with hex dump diagnostics"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TestIdentity = buildPerlModule { @@ -22100,19 +22326,20 @@ let }; TestKwalitee = buildPerlPackage { - pname = "Test-Kwalitee"; - version = "1.28"; - src = fetchurl { - url = "mirror://cpan/authors/id/E/ET/ETHER/Test-Kwalitee-1.28.tar.gz"; - sha256 = "18s3c8qfr3kmmyxmsn5la2zgbdsgpnkmscnl68i7fnavfpfnqlxl"; - }; - propagatedBuildInputs = [ ModuleCPANTSAnalyse ]; - buildInputs = [ CPANMetaCheck TestDeep TestWarnings ]; - meta = { - description = "Test the Kwalitee of a distribution before you release it"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/karenetheridge/Test-Kwalitee"; - }; + pname = "Test-Kwalitee"; + version = "1.28"; + src = fetchurl { + url = "mirror://cpan/authors/id/E/ET/ETHER/Test-Kwalitee-1.28.tar.gz"; + sha256 = "18s3c8qfr3kmmyxmsn5la2zgbdsgpnkmscnl68i7fnavfpfnqlxl"; + }; + propagatedBuildInputs = [ ModuleCPANTSAnalyse ]; + buildInputs = [ CPANMetaCheck TestDeep TestWarnings ]; + meta = { + description = "Test the Kwalitee of a distribution before you release it"; + homepage = "https://github.com/karenetheridge/Test-Kwalitee"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "kwalitee-metrics"; + }; }; TestLWPUserAgent = buildPerlPackage { @@ -22302,18 +22529,18 @@ let }; TestMockTimeHiRes = buildPerlModule { - pname = "Test-MockTime-HiRes"; - version = "0.08"; - src = fetchurl { - url = "mirror://cpan/authors/id/T/TA/TARAO/Test-MockTime-HiRes-0.08.tar.gz"; - sha256 = "1hfykcjrls6ywgbd49w29c7apj3nq4wlyx7jzpd2glwmz2pgfjaz"; - }; - buildInputs = [ AnyEvent ModuleBuildTiny TestClass TestMockTime TestRequires ]; - meta = { - description = "Replaces actual time with simulated high resolution time"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/tarao/perl5-Test-MockTime-HiRes"; - }; + pname = "Test-MockTime-HiRes"; + version = "0.08"; + src = fetchurl { + url = "mirror://cpan/authors/id/T/TA/TARAO/Test-MockTime-HiRes-0.08.tar.gz"; + sha256 = "1hfykcjrls6ywgbd49w29c7apj3nq4wlyx7jzpd2glwmz2pgfjaz"; + }; + buildInputs = [ AnyEvent ModuleBuildTiny TestClass TestMockTime TestRequires ]; + meta = { + description = "Replaces actual time with simulated high resolution time"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/tarao/perl5-Test-MockTime-HiRes"; + }; }; TestMojibake = buildPerlPackage { @@ -22327,20 +22554,21 @@ let homepage = "https://github.com/creaktive/Test-Mojibake"; description = "Check your source for encoding misbehavior"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "scan_mojibake"; }; }; TestMoreUTF8 = buildPerlPackage { - pname = "Test-More-UTF8"; - version = "0.05"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MO/MONS/Test-More-UTF8-0.05.tar.gz"; - sha256 = "016fs77lmw8xxrcnapvp6wq4hjwgsdfi3l9ylpxgxkcpdarw9wdr"; - }; - meta = { - description = "Enhancing Test::More for UTF8-based projects"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Test-More-UTF8"; + version = "0.05"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MO/MONS/Test-More-UTF8-0.05.tar.gz"; + sha256 = "016fs77lmw8xxrcnapvp6wq4hjwgsdfi3l9ylpxgxkcpdarw9wdr"; + }; + meta = { + description = "Enhancing Test::More for UTF8-based projects"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TestMost = buildPerlPackage { @@ -22434,18 +22662,18 @@ let }; TestPAUSEPermissions = buildPerlPackage { - pname = "Test-PAUSE-Permissions"; - version = "0.07"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/SK/SKAJI/Test-PAUSE-Permissions-0.07.tar.gz"; - sha256 = "0gh7f67g1y30yggmwj1pq6xgrx3cfjibj2378nl3gilvyaxw2w2m"; - }; - propagatedBuildInputs = [ ConfigIdentity PAUSEPermissions ParseLocalDistribution ]; - buildInputs = [ ExtUtilsMakeMakerCPANfile TestUseAllModules ]; - meta = { - description = "tests module permissions in your distribution"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Test-PAUSE-Permissions"; + version = "0.07"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/SK/SKAJI/Test-PAUSE-Permissions-0.07.tar.gz"; + sha256 = "0gh7f67g1y30yggmwj1pq6xgrx3cfjibj2378nl3gilvyaxw2w2m"; + }; + propagatedBuildInputs = [ ConfigIdentity PAUSEPermissions ParseLocalDistribution ]; + buildInputs = [ ExtUtilsMakeMakerCPANfile TestUseAllModules ]; + meta = { + description = "tests module permissions in your distribution"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TestPerlCritic = buildPerlModule { @@ -22579,16 +22807,16 @@ let }; TestRequiresInternet = buildPerlPackage { - pname = "Test-RequiresInternet"; - version = "0.05"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-0.05.tar.gz"; - sha256 = "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"; - }; - meta = { - description = "Easily test network connectivity"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Test-RequiresInternet"; + version = "0.05"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-0.05.tar.gz"; + sha256 = "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"; + }; + meta = { + description = "Easily test network connectivity"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TestRoo = buildPerlPackage { @@ -22649,8 +22877,9 @@ let homepage = "http://web-cpan.berlios.de/modules/Test-Run/"; description = "Analyze tests from the command line using Test::Run"; license = lib.licenses.mit; + mainProgram = "runprove"; }; - }; + }; TestRunPluginAlternateInterpreters = buildPerlModule { pname = "Test-Run-Plugin-AlternateInterpreters"; @@ -22929,16 +23158,16 @@ let }; TestToolbox = buildPerlModule { - pname = "Test-Toolbox"; - version = "0.4"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIKO/Test-Toolbox-0.4.tar.gz"; - sha256 = "1hxx9rhvncvn7wvzhzx4sk00w0xq2scgspfhhyqwjnm1yg3va820"; - }; - meta = { - description = "Test::Toolbox - tools for testing"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Test-Toolbox"; + version = "0.4"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIKO/Test-Toolbox-0.4.tar.gz"; + sha256 = "1hxx9rhvncvn7wvzhzx4sk00w0xq2scgspfhhyqwjnm1yg3va820"; + }; + meta = { + description = "Test::Toolbox - tools for testing"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TestTrailingSpace = buildPerlModule { @@ -23086,6 +23315,11 @@ let sha256 = "0pwrrnwi1qaiy3c5522vy0kzncxc9g02r4b056wqqaa69w1hsc0z"; }; buildInputs = [ TestBase ]; + meta = { + description = "Testing Module for YAML Implementations"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "test-yaml"; + }; }; TextAligner = buildPerlModule { @@ -23284,14 +23518,14 @@ let }; TextGerman = buildPerlPackage { - pname = "Text-German"; - version = "0.06"; - src = fetchurl { - url = "mirror://cpan/authors/id/U/UL/ULPFR/Text-German-0.06.tar.gz"; - sha256 = "1p87pgap99lw0nv62i3ghvsi7yg90lhn8vsa3yqp75rd04clybcj"; - }; - meta = { - }; + pname = "Text-German"; + version = "0.06"; + src = fetchurl { + url = "mirror://cpan/authors/id/U/UL/ULPFR/Text-German-0.06.tar.gz"; + sha256 = "1p87pgap99lw0nv62i3ghvsi7yg90lhn8vsa3yqp75rd04clybcj"; + }; + meta = { + }; }; TextGlob = buildPerlPackage { @@ -23397,6 +23631,7 @@ let description = "Generate random Latin looking text"; license = with lib.licenses; [ artistic1 gpl1Plus ]; maintainers = [ maintainers.sgo ]; + mainProgram = "lorem"; }; }; @@ -23425,6 +23660,11 @@ let postInstall = '' shortenPerlShebang $out/bin/Markdown.pl ''; + meta = { + description = "Convert Markdown syntax to (X)HTML"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "Markdown.pl"; + }; }; TextMarkdownHoedown = buildPerlModule { @@ -23483,6 +23723,7 @@ let meta = { description = "Convert MultiMarkdown syntax to (X)HTML"; license = lib.licenses.bsd3; + mainProgram = "MultiMarkdown.pl"; }; }; @@ -24027,18 +24268,18 @@ let }; TieSub = buildPerlPackage { - pname = "Tie-Sub"; - version = "1.001"; - src = fetchurl { - url = "mirror://cpan/authors/id/S/ST/STEFFENW/Tie-Sub-1.001.tar.gz"; - sha256 = "1cgiyj85hhw2m4x2iv4zgaj3hzf3fghircpcfqmjndni4r4a0wgg"; - }; - propagatedBuildInputs = [ ParamsValidate ]; - buildInputs = [ ModuleBuild TestDifferences TestException TestNoWarnings ]; - meta = { - description = "Tie::Sub - Tying a subroutine, function or method to a hash"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "Tie-Sub"; + version = "1.001"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/ST/STEFFENW/Tie-Sub-1.001.tar.gz"; + sha256 = "1cgiyj85hhw2m4x2iv4zgaj3hzf3fghircpcfqmjndni4r4a0wgg"; + }; + propagatedBuildInputs = [ ParamsValidate ]; + buildInputs = [ ModuleBuild TestDifferences TestException TestNoWarnings ]; + meta = { + description = "Tie::Sub - Tying a subroutine, function or method to a hash"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; TieToObject = buildPerlPackage { @@ -24299,19 +24540,20 @@ let }; Twiggy = buildPerlPackage { - pname = "Twiggy"; - version = "0.1025"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Twiggy-0.1025.tar.gz"; - sha256 = "1a57knbwync7rlzhsz1kdc0sd380xnaccwgiy1qwj5d87abdynnp"; - }; - propagatedBuildInputs = [ AnyEvent Plack ]; - buildInputs = [ TestRequires TestSharedFork TestTCP ]; - meta = { - description = "AnyEvent HTTP server for PSGI (like Thin)"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/miyagawa/Twiggy"; - }; + pname = "Twiggy"; + version = "0.1025"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/Twiggy-0.1025.tar.gz"; + sha256 = "1a57knbwync7rlzhsz1kdc0sd380xnaccwgiy1qwj5d87abdynnp"; + }; + propagatedBuildInputs = [ AnyEvent Plack ]; + buildInputs = [ TestRequires TestSharedFork TestTCP ]; + meta = { + description = "AnyEvent HTTP server for PSGI (like Thin)"; + homepage = "https://github.com/miyagawa/Twiggy"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "twiggy"; + }; }; TypeTiny = buildPerlPackage { @@ -24344,15 +24586,15 @@ let }; TypesSerialiser = buildPerlPackage { - pname = "Types-Serialiser"; - version = "1.01"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz"; - sha256 = "104a7292pwwg57rswpkiaq1cgj7hcsrpf818azcy7l0l14xigizq"; - }; - propagatedBuildInputs = [ commonsense ]; - meta = { - }; + pname = "Types-Serialiser"; + version = "1.01"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz"; + sha256 = "104a7292pwwg57rswpkiaq1cgj7hcsrpf818azcy7l0l14xigizq"; + }; + propagatedBuildInputs = [ commonsense ]; + meta = { + }; }; UNIVERSALcan = buildPerlPackage { @@ -24522,6 +24764,7 @@ let meta = { description = "Find URIs in arbitrary text"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "urifind"; }; }; @@ -24551,16 +24794,16 @@ let }; UserIdentity = buildPerlPackage { - pname = "User-Identity"; - version = "1.00"; - src = fetchurl { - url = "mirror://cpan/authors/id/M/MA/MARKOV/User-Identity-1.00.tar.gz"; - sha256 = "0jlzishg33848qvl5x7nsrnlpnx7lfg5hr4m1qrjddzy3hkv86cj"; - }; - meta = { - description = "Collect information about a user"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "User-Identity"; + version = "1.00"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MA/MARKOV/User-Identity-1.00.tar.gz"; + sha256 = "0jlzishg33848qvl5x7nsrnlpnx7lfg5hr4m1qrjddzy3hkv86cj"; + }; + meta = { + description = "Collect information about a user"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; URIIMAP = buildPerlPackage { @@ -24729,9 +24972,10 @@ let }; outputs = [ "out" ]; meta = { - maintainers = [ maintainers.chreekat ]; description = "Edit a directory in $EDITOR"; license = with lib.licenses; [ gpl1 ]; + maintainers = [ maintainers.chreekat ]; + mainProgram = "vidir"; }; }; @@ -24776,6 +25020,7 @@ let homepage = "https://validator.w3.org/checklink"; description = "A tool to check links and anchors in Web pages or full Web sites"; license = lib.licenses.w3c; + mainProgram = "checklink"; }; }; @@ -24799,17 +25044,17 @@ let }; WWWFormUrlEncoded = buildPerlModule { - pname = "WWW-Form-UrlEncoded"; - version = "0.26"; - src = fetchurl { - url = "mirror://cpan/authors/id/K/KA/KAZEBURO/WWW-Form-UrlEncoded-0.26.tar.gz"; - sha256 = "1x4h5m5fkwaa0gbn6zp9mjrhr3r989w8wyrjxiii3dqm3xghnj60"; - }; - meta = { - description = "parser and builder for application/x-www-form-urlencoded"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - homepage = "https://github.com/kazeburo/WWW-Form-UrlEncoded"; - }; + pname = "WWW-Form-UrlEncoded"; + version = "0.26"; + src = fetchurl { + url = "mirror://cpan/authors/id/K/KA/KAZEBURO/WWW-Form-UrlEncoded-0.26.tar.gz"; + sha256 = "1x4h5m5fkwaa0gbn6zp9mjrhr3r989w8wyrjxiii3dqm3xghnj60"; + }; + meta = { + description = "parser and builder for application/x-www-form-urlencoded"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + homepage = "https://github.com/kazeburo/WWW-Form-UrlEncoded"; + }; }; WWWMechanize = buildPerlPackage { @@ -24825,6 +25070,7 @@ let homepage = "https://github.com/libwww-perl/WWW-Mechanize"; description = "Handy web browsing in a Perl object"; license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "mech-dump"; }; buildInputs = [ CGI HTTPServerSimple PathTiny TestDeep TestFatal TestOutput TestWarnings ]; }; @@ -25124,6 +25370,11 @@ let postInstall = lib.optionalString stdenv.isDarwin '' shortenPerlShebang $out/bin/xmlsort ''; + meta = { + description = "SAX filter for sorting elements in XML"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "xmlsort"; + }; }; XMLGrove = buildPerlPackage { @@ -25153,6 +25404,7 @@ let propagatedBuildInputs = [ libxml_perl ]; meta = { description = "Yet another Perl SAX XML Writer"; + mainProgram = "xmlpretty"; }; }; @@ -25258,6 +25510,7 @@ let meta = { description = "Modules for parsing and evaluating XPath statements"; license = lib.licenses.artistic2; + mainProgram = "xpath"; }; }; @@ -25356,19 +25609,19 @@ let }; XMLSAXExpat = buildPerlPackage { - pname = "XML-SAX-Expat"; - version = "0.51"; - src = fetchurl { - url = "mirror://cpan/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.51.tar.gz"; - sha256 = "0gy8h2bvvvlxychwsb99ikdh5cqpk6sqc073jk2b4zffs09n40ac"; - }; - propagatedBuildInputs = [ XMLParser XMLSAX ]; - # Avoid creating perllocal.pod, which contains a timestamp - installTargets = [ "pure_install" ]; - meta = { - description = "SAX Driver for Expat"; - license = with lib.licenses; [ artistic1 gpl1Plus ]; - }; + pname = "XML-SAX-Expat"; + version = "0.51"; + src = fetchurl { + url = "mirror://cpan/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.51.tar.gz"; + sha256 = "0gy8h2bvvvlxychwsb99ikdh5cqpk6sqc073jk2b4zffs09n40ac"; + }; + propagatedBuildInputs = [ XMLParser XMLSAX ]; + # Avoid creating perllocal.pod, which contains a timestamp + installTargets = [ "pure_install" ]; + meta = { + description = "SAX Driver for Expat"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; }; XMLSAXWriter = buildPerlPackage { @@ -25447,6 +25700,11 @@ let ''; propagatedBuildInputs = [ XMLParser ]; doCheck = false; # requires lots of extra packages + meta = { + description = "A Perl module for processing huge XML documents in tree mode"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + mainProgram = "xml_grep"; + }; }; XMLValidatorSchema = buildPerlPackage { diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1692b130b44c9..8970a1324ac41 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -617,6 +617,8 @@ in { archinfo = callPackage ../development/python-modules/archinfo { }; + archspec = callPackage ../development/python-modules/archspec { }; + area = callPackage ../development/python-modules/area { }; arelle = callPackage ../development/python-modules/arelle { @@ -1354,11 +1356,6 @@ in { enablePython = true; }); - boost169 = toPythonModule (pkgs.boost169.override { - inherit (self) python numpy; - enablePython = true; - }); - boschshcpy = callPackage ../development/python-modules/boschshcpy { }; boost-histogram = callPackage ../development/python-modules/boost-histogram { @@ -4017,6 +4014,8 @@ in { hpack = callPackage ../development/python-modules/hpack { }; + hpccm = callPackage ../development/python-modules/hpccm { }; + hsaudiotag3k = callPackage ../development/python-modules/hsaudiotag3k { }; hsluv = callPackage ../development/python-modules/hsluv { }; @@ -10010,6 +10009,8 @@ in { sphinx-autobuild = callPackage ../development/python-modules/sphinx-autobuild { }; + sphinx-basic-ng = callPackage ../development/python-modules/sphinx-basic-ng { }; + sphinx-copybutton = callPackage ../development/python-modules/sphinx-copybutton { }; sphinx-inline-tabs = callPackage ../development/python-modules/sphinx-inline-tabs { }; |