Merge master into staging-next

authored by github-actions[bot] and committed by GitHub df7d0b3f ad41e043

+278 -207
+47 -15
nixos/lib/qemu-common.nix
··· 4 let 5 zeroPad = n: 6 lib.optionalString (n < 16) "0" + 7 - (if n > 255 8 - then throw "Can't have more than 255 nets or nodes!" 9 - else lib.toHexString n); 10 in 11 12 rec { 13 qemuNicMac = net: machine: "52:54:00:12:${zeroPad net}:${zeroPad machine}"; 14 15 qemuNICFlags = nic: net: machine: 16 - [ "-device virtio-net-pci,netdev=vlan${toString nic},mac=${qemuNicMac net machine}" 17 ''-netdev vde,id=vlan${toString nic},sock="$QEMU_VDE_SOCKET_${toString net}"'' 18 ]; 19 20 - qemuSerialDevice = if pkgs.stdenv.hostPlatform.isx86 || pkgs.stdenv.hostPlatform.isRiscV then "ttyS0" 21 - else if (with pkgs.stdenv.hostPlatform; isAarch || isPower) then "ttyAMA0" 22 - else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'"; 23 24 - qemuBinary = qemuPkg: { 25 - x86_64-linux = "${qemuPkg}/bin/qemu-kvm -cpu max"; 26 - armv7l-linux = "${qemuPkg}/bin/qemu-system-arm -machine virt,accel=kvm:tcg -cpu max"; 27 - aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -machine virt,gic-version=max,accel=kvm:tcg -cpu max"; 28 - powerpc64le-linux = "${qemuPkg}/bin/qemu-system-ppc64 -machine powernv"; 29 - powerpc64-linux = "${qemuPkg}/bin/qemu-system-ppc64 -machine powernv"; 30 - x86_64-darwin = "${qemuPkg}/bin/qemu-kvm -cpu max"; 31 - }.${pkgs.stdenv.hostPlatform.system} or "${qemuPkg}/bin/qemu-kvm"; 32 }
··· 4 let 5 zeroPad = n: 6 lib.optionalString (n < 16) "0" + 7 + (if n > 255 8 + then throw "Can't have more than 255 nets or nodes!" 9 + else lib.toHexString n); 10 in 11 12 rec { 13 qemuNicMac = net: machine: "52:54:00:12:${zeroPad net}:${zeroPad machine}"; 14 15 qemuNICFlags = nic: net: machine: 16 + [ 17 + "-device virtio-net-pci,netdev=vlan${toString nic},mac=${qemuNicMac net machine}" 18 ''-netdev vde,id=vlan${toString nic},sock="$QEMU_VDE_SOCKET_${toString net}"'' 19 ]; 20 21 + qemuSerialDevice = 22 + if pkgs.stdenv.hostPlatform.isx86 || pkgs.stdenv.hostPlatform.isRiscV then "ttyS0" 23 + else if (with pkgs.stdenv.hostPlatform; isAarch || isPower) then "ttyAMA0" 24 + else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'"; 25 + 26 + qemuBinary = qemuPkg: 27 + let 28 + hostStdenv = qemuPkg.stdenv; 29 + hostSystem = hostStdenv.system; 30 + guestSystem = pkgs.stdenv.hostPlatform.system; 31 32 + linuxHostGuestMatrix = { 33 + x86_64-linux = "${qemuPkg}/bin/qemu-kvm -cpu max"; 34 + armv7l-linux = "${qemuPkg}/bin/qemu-system-arm -machine virt,accel=kvm:tcg -cpu max"; 35 + aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -machine virt,gic-version=max,accel=kvm:tcg -cpu max"; 36 + powerpc64le-linux = "${qemuPkg}/bin/qemu-system-ppc64 -machine powernv"; 37 + powerpc64-linux = "${qemuPkg}/bin/qemu-system-ppc64 -machine powernv"; 38 + x86_64-darwin = "${qemuPkg}/bin/qemu-kvm -cpu max"; 39 + }; 40 + otherHostGuestMatrix = { 41 + aarch64-darwin = { 42 + aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -machine virt,gic-version=2,accel=hvf:tcg -cpu max"; 43 + }; 44 + x86_64-darwin = { 45 + x86_64-linux = "${qemuPkg}/bin/qemu-system-x86_64 -machine type=q35,accel=hvf:tcg -cpu max"; 46 + }; 47 + }; 48 + 49 + throwUnsupportedHostSystem = 50 + let 51 + supportedSystems = [ "linux" ] ++ (lib.attrNames otherHostGuestMatrix); 52 + in 53 + throw "Unsupported host system ${hostSystem}, supported: ${lib.concatStringsSep ", " supportedSystems}"; 54 + throwUnsupportedGuestSystem = guestMap: 55 + throw "Unsupported guest system ${guestSystem} for host ${hostSystem}, supported: ${lib.concatStringsSep ", " (lib.attrNames guestMap)}"; 56 + in 57 + if hostStdenv.isLinux then 58 + linuxHostGuestMatrix.${guestSystem} or "${qemuPkg}/bin/qemu-kvm" 59 + else 60 + let 61 + guestMap = (otherHostGuestMatrix.${hostSystem} or throwUnsupportedHostSystem); 62 + in 63 + (guestMap.${guestSystem} or (throwUnsupportedGuestSystem guestMap)); 64 }
+1 -1
nixos/modules/services/networking/kea.nix
··· 298 ]; 299 300 serviceConfig = { 301 - ExecStart = "${package}/bin/kea-ctrl-agent -c /etc/kea/ctrl-agent.conf ${lib.escapeShellArgs cfg.dhcp4.extraArgs}"; 302 KillMode = "process"; 303 Restart = "on-failure"; 304 } // commonServiceConfig;
··· 298 ]; 299 300 serviceConfig = { 301 + ExecStart = "${package}/bin/kea-ctrl-agent -c /etc/kea/ctrl-agent.conf ${lib.escapeShellArgs cfg.ctrl-agent.extraArgs}"; 302 KillMode = "process"; 303 Restart = "on-failure"; 304 } // commonServiceConfig;
+19 -4
nixos/modules/virtualisation/qemu-vm.nix
··· 102 # Shell script to start the VM. 103 startVM = 104 '' 105 - #! ${pkgs.runtimeShell} 106 107 set -e 108 ··· 574 description = "Primary IP address used in /etc/hosts."; 575 }; 576 577 virtualisation.qemu = { 578 package = 579 mkOption { 580 type = types.package; 581 - default = pkgs.qemu_kvm; 582 example = "pkgs.qemu_test"; 583 description = lib.mdDoc "QEMU package to use."; 584 }; ··· 1075 1076 services.qemuGuest.enable = cfg.qemu.guestAgent.enable; 1077 1078 - system.build.vm = pkgs.runCommand "nixos-vm" { 1079 preferLocalBuild = true; 1080 meta.mainProgram = "run-${config.system.name}-vm"; 1081 } 1082 '' 1083 mkdir -p $out/bin 1084 ln -s ${config.system.build.toplevel} $out/system 1085 - ln -s ${pkgs.writeScript "run-nixos-vm" startVM} $out/bin/run-${config.system.name}-vm 1086 ''; 1087 1088 # When building a regular system configuration, override whatever
··· 102 # Shell script to start the VM. 103 startVM = 104 '' 105 + #! ${cfg.host.pkgs.runtimeShell} 106 + 107 + export PATH=${makeBinPath [ cfg.host.pkgs.coreutils ]}''${PATH:+:}$PATH 108 109 set -e 110 ··· 576 description = "Primary IP address used in /etc/hosts."; 577 }; 578 579 + virtualisation.host.pkgs = mkOption { 580 + type = options.nixpkgs.pkgs.type; 581 + default = pkgs; 582 + defaultText = "pkgs"; 583 + example = literalExpression '' 584 + import pkgs.path { system = "x86_64-darwin"; } 585 + ''; 586 + description = '' 587 + pkgs set to use for the host-specific packages of the vm runner. 588 + Changing this to e.g. a Darwin package set allows running NixOS VMs on Darwin. 589 + ''; 590 + }; 591 + 592 virtualisation.qemu = { 593 package = 594 mkOption { 595 type = types.package; 596 + default = cfg.host.pkgs.qemu_kvm; 597 example = "pkgs.qemu_test"; 598 description = lib.mdDoc "QEMU package to use."; 599 }; ··· 1090 1091 services.qemuGuest.enable = cfg.qemu.guestAgent.enable; 1092 1093 + system.build.vm = cfg.host.pkgs.runCommand "nixos-vm" { 1094 preferLocalBuild = true; 1095 meta.mainProgram = "run-${config.system.name}-vm"; 1096 } 1097 '' 1098 mkdir -p $out/bin 1099 ln -s ${config.system.build.toplevel} $out/system 1100 + ln -s ${cfg.host.pkgs.writeScript "run-nixos-vm" startVM} $out/bin/run-${config.system.name}-vm 1101 ''; 1102 1103 # When building a regular system configuration, override whatever
+17 -2
pkgs/applications/audio/psst/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform, alsa-lib, atk, cairo, dbus, gdk-pixbuf, glib, gtk3, pango, pkg-config }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "psst"; 5 version = "unstable-2022-05-19"; ··· 29 ]; 30 31 postInstall = '' 32 - install -Dm444 psst-gui/assets/logo_512.png $out/share/icons/${pname}.png 33 ''; 34 35 meta = with lib; {
··· 1 + { lib, fetchFromGitHub, rustPlatform, alsa-lib, atk, cairo, dbus, gdk-pixbuf, glib, gtk3, pango, pkg-config, makeDesktopItem }: 2 3 + let 4 + desktopItem = makeDesktopItem { 5 + name = "Psst"; 6 + exec = "psst-gui"; 7 + comment = "Fast and multi-platform Spotify client with native GUI"; 8 + desktopName = "Psst"; 9 + type = "Application"; 10 + categories = [ "Audio" "AudioVideo" ]; 11 + icon = "psst"; 12 + terminal = false; 13 + }; 14 + in 15 rustPlatform.buildRustPackage rec { 16 pname = "psst"; 17 version = "unstable-2022-05-19"; ··· 41 ]; 42 43 postInstall = '' 44 + mkdir -pv $out/share/icons/hicolor/512x512/apps 45 + install -Dm444 psst-gui/assets/logo_512.png $out/share/icons/hicolor/512x512/apps/${pname}.png 46 + mkdir -pv $out/share/applications 47 + ln -s ${desktopItem}/share/applications/* $out/share/applications 48 ''; 49 50 meta = with lib; {
+3 -3
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 32 } 33 }, 34 "dev": { 35 - "version": "106.0.5245.0", 36 - "sha256": "1hpp5gcajmjf2wvgrnsrfwl879gj8w8b6asn79raqj1qf2pa7wxg", 37 - "sha256bin64": "1d4v2mwpbn3h533lkh8270hmj71ag9ivh7ns03qifsqsl9jv4zdv", 38 "deps": { 39 "gn": { 40 "version": "2022-08-11",
··· 32 } 33 }, 34 "dev": { 35 + "version": "106.0.5249.12", 36 + "sha256": "0brqn9rs3z3fdsnzjq2mr4p5c6d5fjllhfjfg39z3zmijcmd7f5y", 37 + "sha256bin64": "1giay4nfcyczzcgrrdxrizd4pkiy7hqqc4ni6jg4rnbalh72p78n", 38 "deps": { 39 "gn": { 40 "version": "2022-08-11",
+2 -2
pkgs/applications/networking/cluster/terragrunt/default.nix
··· 2 3 buildGoModule rec { 4 pname = "terragrunt"; 5 - version = "0.38.8"; 6 7 src = fetchFromGitHub { 8 owner = "gruntwork-io"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-iTKENFFST7nTsMe7KULGc/WnKrHSXRTWPm2DT5LJC00="; 12 }; 13 14 vendorSha256 = "sha256-CqImT90jFFLi6XR7jfzFKwhnCHK6B+aM+Ba/L+G3bEg=";
··· 2 3 buildGoModule rec { 4 pname = "terragrunt"; 5 + version = "0.38.9"; 6 7 src = fetchFromGitHub { 8 owner = "gruntwork-io"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-rfAVgnFAxEguFuY+Gfe/T0NcsD6LmPSquxuTR0bRqXQ="; 12 }; 13 14 vendorSha256 = "sha256-CqImT90jFFLi6XR7jfzFKwhnCHK6B+aM+Ba/L+G3bEg=";
+2 -2
pkgs/applications/networking/cluster/werf/default.nix
··· 11 12 buildGoModule rec { 13 pname = "werf"; 14 - version = "1.2.165"; 15 16 src = fetchFromGitHub { 17 owner = "werf"; 18 repo = "werf"; 19 rev = "v${version}"; 20 - sha256 = "sha256-YL3hdWUmt6v58ObnVNhILtM/DSqNlFcaODhNxzPyF0o="; 21 }; 22 23 vendorSha256 = "sha256-E5yDk48O7zze8QTeLQ999QmB8XLkpKNZ8JQ2wVRMGCU=";
··· 11 12 buildGoModule rec { 13 pname = "werf"; 14 + version = "1.2.166"; 15 16 src = fetchFromGitHub { 17 owner = "werf"; 18 repo = "werf"; 19 rev = "v${version}"; 20 + sha256 = "sha256-8LBGdjcnZTejH+lRo0im+czJJHOfhpmEB4DXM/qugYs="; 21 }; 22 23 vendorSha256 = "sha256-E5yDk48O7zze8QTeLQ999QmB8XLkpKNZ8JQ2wVRMGCU=";
+6 -6
pkgs/applications/version-management/gitlab/data.json
··· 1 { 2 - "version": "15.3.1", 3 - "repo_hash": "sha256-WSo1yh/stYzbNWS1XOO4wf4Jg4vvfGn3ugje1kMTtiA=", 4 - "yarn_hash": "1cmz4815vfrgnh6khnx1hi0nnkz5xcrx8cqd9dxyd66pzwlyllx0", 5 "owner": "gitlab-org", 6 "repo": "gitlab", 7 - "rev": "v15.3.1-ee", 8 "passthru": { 9 - "GITALY_SERVER_VERSION": "15.3.1", 10 "GITLAB_PAGES_VERSION": "1.62.0", 11 "GITLAB_SHELL_VERSION": "14.10.0", 12 - "GITLAB_WORKHORSE_VERSION": "15.3.1" 13 }, 14 "vendored_gems": [ 15 "devise-pbkdf2-encryptable",
··· 1 { 2 + "version": "15.3.2", 3 + "repo_hash": "sha256-MZ8sDfJh2sw+Tu5LPcH5JjznTSwfDj/3vmaGC+K8ZeY=", 4 + "yarn_hash": "1s2xai0q16xhp3q68hf9mxh1v429h4n5qy1iizdi7a5cmg3p3ldq", 5 "owner": "gitlab-org", 6 "repo": "gitlab", 7 + "rev": "v15.3.2-ee", 8 "passthru": { 9 + "GITALY_SERVER_VERSION": "15.3.2", 10 "GITLAB_PAGES_VERSION": "1.62.0", 11 "GITLAB_SHELL_VERSION": "14.10.0", 12 + "GITLAB_WORKHORSE_VERSION": "15.3.2" 13 }, 14 "vendored_gems": [ 15 "devise-pbkdf2-encryptable",
+2 -2
pkgs/applications/version-management/gitlab/gitaly/default.nix
··· 11 gemdir = ./.; 12 }; 13 14 - version = "15.3.1"; 15 package_version = "v${lib.versions.major version}"; 16 gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; 17 ··· 22 owner = "gitlab-org"; 23 repo = "gitaly"; 24 rev = "v${version}"; 25 - sha256 = "sha256-g2w75eTjRUsKc2A0rue4Ei45nXrM0NjQk0LhRuhdUXQ="; 26 }; 27 28 vendorSha256 = "sha256-aPCcTS5zflpjzb2L/oDOQotdL8cFsgKPa8b+lhCpbag=";
··· 11 gemdir = ./.; 12 }; 13 14 + version = "15.3.2"; 15 package_version = "v${lib.versions.major version}"; 16 gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; 17 ··· 22 owner = "gitlab-org"; 23 repo = "gitaly"; 24 rev = "v${version}"; 25 + sha256 = "sha256-7OAB+oHY7OBCZ4rjiS+qQIPtpYRFS8xqOkUjgWj+Qp8="; 26 }; 27 28 vendorSha256 = "sha256-aPCcTS5zflpjzb2L/oDOQotdL8cFsgKPa8b+lhCpbag=";
+1 -1
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 - version = "15.3.1"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 + version = "15.3.2"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
+1 -1
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
··· 533 # JSON 534 gem 'json', '~> 2.5.1' 535 gem 'json_schemer', '~> 0.2.18' 536 - gem 'oj', '~> 3.13.20' 537 gem 'multi_json', '~> 1.14.1' 538 gem 'yajl-ruby', '~> 1.4.3', require: 'yajl' 539
··· 533 # JSON 534 gem 'json', '~> 2.5.1' 535 gem 'json_schemer', '~> 0.2.18' 536 + gem 'oj', '~> 3.13.21' 537 gem 'multi_json', '~> 1.14.1' 538 gem 'yajl-ruby', '~> 1.4.3', require: 'yajl' 539
+2 -2
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
··· 887 plist (~> 3.1) 888 train-core 889 wmi-lite (~> 1.0) 890 - oj (3.13.20) 891 omniauth (1.9.1) 892 hashie (>= 3.4.6) 893 rack (>= 1.6.2, < 3) ··· 1651 oauth2 (~> 2.0) 1652 octokit (~> 4.15) 1653 ohai (~> 16.10) 1654 - oj (~> 3.13.20) 1655 omniauth (~> 1.8) 1656 omniauth-alicloud (~> 1.0.1) 1657 omniauth-atlassian-oauth2 (~> 0.2.0)
··· 887 plist (~> 3.1) 888 train-core 889 wmi-lite (~> 1.0) 890 + oj (3.13.21) 891 omniauth (1.9.1) 892 hashie (>= 3.4.6) 893 rack (>= 1.6.2, < 3) ··· 1651 oauth2 (~> 2.0) 1652 octokit (~> 4.15) 1653 ohai (~> 16.10) 1654 + oj (~> 3.13.21) 1655 omniauth (~> 1.8) 1656 omniauth-alicloud (~> 1.0.1) 1657 omniauth-atlassian-oauth2 (~> 0.2.0)
+2 -2
pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
··· 3505 platforms = []; 3506 source = { 3507 remotes = ["https://rubygems.org"]; 3508 - sha256 = "1iiavwlx9k3v9vyj2pswnc88vmn60prrg8dnsrpg4iglh40da64m"; 3509 type = "gem"; 3510 }; 3511 - version = "3.13.20"; 3512 }; 3513 omniauth = { 3514 dependencies = ["hashie" "rack"];
··· 3505 platforms = []; 3506 source = { 3507 remotes = ["https://rubygems.org"]; 3508 + sha256 = "0ihfnl0maszdq821h6mivr8xickjab6ccyncnm5rn2vgrj6imwxf"; 3509 type = "gem"; 3510 }; 3511 + version = "3.13.21"; 3512 }; 3513 omniauth = { 3514 dependencies = ["hashie" "rack"];
+15 -7
pkgs/applications/version-management/gource/default.nix
··· 1 - { lib, stdenv, fetchurl, SDL2, ftgl, pkg-config, libpng, libjpeg, pcre 2 - , SDL2_image, freetype, glew, libGLU, libGL, boost, glm 3 }: 4 5 stdenv.mkDerivation rec { 6 - version = "0.51"; 7 pname = "gource"; 8 9 src = fetchurl { 10 url = "https://github.com/acaudwell/Gource/releases/download/${pname}-${version}/${pname}-${version}.tar.gz"; 11 - sha256 = "16p7b1x4r0915w883lp374jcdqqja37fnb7m8vnsfnl2n64gi8qr"; 12 }; 13 14 nativeBuildInputs = [ pkg-config ]; 15 buildInputs = [ 16 - glew SDL2 ftgl libpng libjpeg pcre SDL2_image libGLU libGL 17 - boost glm freetype 18 ]; 19 20 - configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]; 21 22 enableParallelBuilding = true; 23
··· 1 + { lib, stdenv, fetchurl, SDL2, ftgl, pkg-config, libpng, libjpeg, pcre2 2 + , SDL2_image, freetype, glew, libGLU, libGL, boost, glm, tinyxml 3 }: 4 5 stdenv.mkDerivation rec { 6 pname = "gource"; 7 + version = "0.53"; 8 9 src = fetchurl { 10 url = "https://github.com/acaudwell/Gource/releases/download/${pname}-${version}/${pname}-${version}.tar.gz"; 11 + hash = "sha256-PV9kwcaBL2RMMgy8mphY35e8YDb8Hl9gPKRrFbjdcjc="; 12 }; 13 14 + postPatch = '' 15 + # remove bundled library 16 + rm -r src/tinyxml 17 + ''; 18 + 19 nativeBuildInputs = [ pkg-config ]; 20 buildInputs = [ 21 + glew SDL2 ftgl libpng libjpeg pcre2 SDL2_image libGLU libGL 22 + boost glm freetype tinyxml 23 ]; 24 25 + configureFlags = [ 26 + "--with-boost-libdir=${boost.out}/lib" 27 + "--with-tinyxml" 28 + ]; 29 30 enableParallelBuilding = true; 31
+1 -1
pkgs/development/compilers/elm/packages/lamdera.nix
··· 31 ''; 32 33 meta = with lib; { 34 - homepage = https://lamdera.com; 35 license = licenses.unfree; 36 description = "A delightful platform for full-stack web apps"; 37 platforms = [ "x86_64-linux" ];
··· 31 ''; 32 33 meta = with lib; { 34 + homepage = "https://lamdera.com"; 35 license = licenses.unfree; 36 description = "A delightful platform for full-stack web apps"; 37 platforms = [ "x86_64-linux" ];
+2 -2
pkgs/development/libraries/libcouchbase/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libcouchbase"; 5 - version = "3.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "couchbase"; 9 repo = "libcouchbase"; 10 rev = version; 11 - sha256 = "sha256-Fyx8qGojlWMlDCnuG+Ks2L2/Kf94GC+/0YiV3JjZgS8="; 12 }; 13 14 cmakeFlags = [ "-DLCB_NO_MOCK=ON" ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libcouchbase"; 5 + version = "3.3.2"; 6 7 src = fetchFromGitHub { 8 owner = "couchbase"; 9 repo = "libcouchbase"; 10 rev = version; 11 + sha256 = "sha256-nGZHAp2ajGHNHjfKTAQrQSlBmyufzP9V8/vRO6S8Ui0="; 12 }; 13 14 cmakeFlags = [ "-DLCB_NO_MOCK=ON" ];
+2 -2
pkgs/development/libraries/webkitgtk/default.nix
··· 67 68 stdenv.mkDerivation rec { 69 pname = "webkitgtk"; 70 - version = "2.36.6"; 71 72 outputs = [ "out" "dev" ]; 73 ··· 75 76 src = fetchurl { 77 url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz"; 78 - sha256 = "sha256-EZO8ghlGM2d28N+l4NylZR8eVxV+2hLaRyHSRB8kpho="; 79 }; 80 81 patches = lib.optionals stdenv.isLinux [
··· 67 68 stdenv.mkDerivation rec { 69 pname = "webkitgtk"; 70 + version = "2.36.7"; 71 72 outputs = [ "out" "dev" ]; 73 ··· 75 76 src = fetchurl { 77 url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz"; 78 + sha256 = "sha256-DCYM8rMvBIHQF2cN/tG2HlVJZ80GcZVgbJ+etf5zF0M="; 79 }; 80 81 patches = lib.optionals stdenv.isLinux [
+3 -5
pkgs/development/ocaml-modules/lwt_log/default.nix
··· 2 3 buildDunePackage rec { 4 pname = "lwt_log"; 5 - version = "1.1.1"; 6 - 7 - useDune2 = true; 8 9 - minimumOCamlVersion = "4.02"; 10 11 src = fetchFromGitHub { 12 owner = "aantron"; 13 repo = pname; 14 rev = version; 15 - sha256 = "1n12i1rmn9cjn6p8yr6qn5dwbrwvym7ckr7bla04a1xnq8qlcyj7"; 16 }; 17 18 propagatedBuildInputs = [ lwt ];
··· 2 3 buildDunePackage rec { 4 pname = "lwt_log"; 5 + version = "1.1.2"; 6 7 + minimalOCamlVersion = "4.03"; 8 9 src = fetchFromGitHub { 10 owner = "aantron"; 11 repo = pname; 12 rev = version; 13 + sha256 = "sha256-ODTD3KceEnrEzD01CeuNg4BNKOtKZEpYaDIB+RIte1U="; 14 }; 15 16 propagatedBuildInputs = [ lwt ];
+5 -5
pkgs/development/ocaml-modules/torch/default.nix
··· 12 , ppx_sexp_conv 13 , sexplib 14 , stdio 15 - , pytorch 16 }: 17 18 buildDunePackage rec { ··· 37 ctypes 38 npy 39 ocaml-compiler-libs 40 - pytorch 41 - pytorch.dev 42 ppx_custom_printf 43 ppx_expect 44 ppx_sexp_conv 45 sexplib 46 stdio 47 ]; 48 49 - preBuild = "export LIBTORCH=${pytorch.dev}/"; 50 51 doCheck = !stdenv.isAarch64; 52 checkPhase = "dune runtest"; ··· 56 description = "Ocaml bindings to Pytorch"; 57 maintainers = [ maintainers.bcdarwin ]; 58 license = licenses.asl20; 59 - broken = lib.versionAtLeast pytorch.version "1.11"; 60 }; 61 }
··· 12 , ppx_sexp_conv 13 , sexplib 14 , stdio 15 + , torch 16 }: 17 18 buildDunePackage rec { ··· 37 ctypes 38 npy 39 ocaml-compiler-libs 40 ppx_custom_printf 41 ppx_expect 42 ppx_sexp_conv 43 sexplib 44 stdio 45 + torch 46 + torch.dev 47 ]; 48 49 + preBuild = "export LIBTORCH=${torch.dev}/"; 50 51 doCheck = !stdenv.isAarch64; 52 checkPhase = "dune runtest"; ··· 56 description = "Ocaml bindings to Pytorch"; 57 maintainers = [ maintainers.bcdarwin ]; 58 license = licenses.asl20; 59 + broken = lib.versionAtLeast torch.version "1.11"; 60 }; 61 }
+2 -2
pkgs/development/python-modules/boxx/default.nix
··· 12 , fn 13 , pyopengl 14 , seaborn 15 - , pytorch 16 , pythonOlder 17 , torchvision 18 }: ··· 43 44 checkInputs = [ 45 xvfb-run 46 - pytorch 47 torchvision 48 ]; 49
··· 12 , fn 13 , pyopengl 14 , seaborn 15 + , torch 16 , pythonOlder 17 , torchvision 18 }: ··· 43 44 checkInputs = [ 45 xvfb-run 46 + torch 47 torchvision 48 ]; 49
+2 -2
pkgs/development/python-modules/coqui-trainer/default.nix
··· 6 7 , coqpit 8 , fsspec 9 - , pytorch-bin 10 , tensorboardx 11 , protobuf 12 ··· 33 propagatedBuildInputs = [ 34 coqpit 35 fsspec 36 - pytorch-bin 37 soundfile 38 tensorboardx 39 protobuf
··· 6 7 , coqpit 8 , fsspec 9 + , torch-bin 10 , tensorboardx 11 , protobuf 12 ··· 33 propagatedBuildInputs = [ 34 coqpit 35 fsspec 36 + torch-bin 37 soundfile 38 tensorboardx 39 protobuf
+2 -2
pkgs/development/python-modules/deepwave/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , pytorch 5 , ninja 6 , scipy 7 , which ··· 48 export HOME=$(mktemp -d) 49 ''; 50 51 - propagatedBuildInputs = [ pytorch pybind11 ]; 52 53 checkInputs = [ 54 which
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , torch 5 , ninja 6 , scipy 7 , which ··· 48 export HOME=$(mktemp -d) 49 ''; 50 51 + propagatedBuildInputs = [ torch pybind11 ]; 52 53 checkInputs = [ 54 which
+2 -2
pkgs/development/python-modules/elegy/default.nix
··· 8 , lib 9 , poetry 10 , pytestCheckHook 11 - , pytorch 12 , pyyaml 13 , sh 14 , tables ··· 66 67 checkInputs = [ 68 pytestCheckHook 69 - pytorch 70 sh 71 tensorflow 72 ];
··· 8 , lib 9 , poetry 10 , pytestCheckHook 11 + , torch 12 , pyyaml 13 , sh 14 , tables ··· 66 67 checkInputs = [ 68 pytestCheckHook 69 + torch 70 sh 71 tensorflow 72 ];
+2 -2
pkgs/development/python-modules/ezyrb/default.nix
··· 8 , scipy 9 , matplotlib 10 , scikit-learn 11 - , pytorch 12 , pytestCheckHook 13 }: 14 ··· 32 scipy 33 matplotlib 34 scikit-learn 35 - pytorch 36 ]; 37 38 checkInputs = [
··· 8 , scipy 9 , matplotlib 10 , scikit-learn 11 + , torch 12 , pytestCheckHook 13 }: 14 ··· 32 scipy 33 matplotlib 34 scikit-learn 35 + torch 36 ]; 37 38 checkInputs = [
+2 -2
pkgs/development/python-modules/functorch/default.nix
··· 5 , ninja 6 , pytestCheckHook 7 , python 8 - , pytorch 9 , pybind11 10 , which 11 }: ··· 26 # `setup.py` imports `torch.utils.cpp_extension`. 27 nativeBuildInputs = [ 28 ninja 29 - pytorch 30 which 31 ]; 32
··· 5 , ninja 6 , pytestCheckHook 7 , python 8 + , torch 9 , pybind11 10 , which 11 }: ··· 26 # `setup.py` imports `torch.utils.cpp_extension`. 27 nativeBuildInputs = [ 28 ninja 29 + torch 30 which 31 ]; 32
+2 -2
pkgs/development/python-modules/ignite/default.nix
··· 8 , matplotlib 9 , mock 10 , packaging 11 - , pytorch 12 , scikit-learn 13 , tqdm 14 }: ··· 25 }; 26 27 checkInputs = [ pytestCheckHook matplotlib mock pytest-xdist torchvision ]; 28 - propagatedBuildInputs = [ packaging pytorch scikit-learn tqdm ]; 29 30 # runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite. 31 doCheck = pythonOlder "3.9";
··· 8 , matplotlib 9 , mock 10 , packaging 11 + , torch 12 , scikit-learn 13 , tqdm 14 }: ··· 25 }; 26 27 checkInputs = [ pytestCheckHook matplotlib mock pytest-xdist torchvision ]; 28 + propagatedBuildInputs = [ packaging torch scikit-learn tqdm ]; 29 30 # runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite. 31 doCheck = pythonOlder "3.9";
+2 -2
pkgs/development/python-modules/monai/default.nix
··· 6 , ignite 7 , numpy 8 , pybind11 9 - , pytorch 10 , which 11 }: 12 ··· 33 34 nativeBuildInputs = [ ninja which ]; 35 buildInputs = [ pybind11 ]; 36 - propagatedBuildInputs = [ numpy pytorch ignite ]; 37 38 BUILD_MONAI = 1; 39
··· 6 , ignite 7 , numpy 8 , pybind11 9 + , torch 10 , which 11 }: 12 ··· 33 34 nativeBuildInputs = [ ninja which ]; 35 buildInputs = [ pybind11 ]; 36 + propagatedBuildInputs = [ numpy torch ignite ]; 37 38 BUILD_MONAI = 1; 39
-1
pkgs/development/python-modules/py-deprecate/default.nix
··· 3 , fetchFromGitHub 4 , pytestCheckHook 5 , scikit-learn 6 - , pytorch 7 }: 8 9 let
··· 3 , fetchFromGitHub 4 , pytestCheckHook 5 , scikit-learn 6 }: 7 8 let
+2 -2
pkgs/development/python-modules/pydata-sphinx-theme/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "pydata-sphinx-theme"; 13 - version = "0.9.0"; 14 15 format = "wheel"; 16 ··· 21 dist = "py3"; 22 python = "py3"; 23 pname = "pydata_sphinx_theme"; 24 - sha256 = "sha256-sitEKm1kN+Xq8KHwVxaf/LMeqp8Qvn1UgaEl5zXHHBI="; 25 }; 26 27 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "pydata-sphinx-theme"; 13 + version = "0.10.1"; 14 15 format = "wheel"; 16 ··· 21 dist = "py3"; 22 python = "py3"; 23 pname = "pydata_sphinx_theme"; 24 + sha256 = "sha256-RzH5N8f0L1Fukn1Svgo1ara5AWmK74MxsJfmxP2BAPQ="; 25 }; 26 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pymanopt/default.nix
··· 3 , buildPythonPackage 4 , numpy 5 , scipy 6 - , pytorch 7 , autograd 8 , nose2 9 , matplotlib ··· 21 sha256 = "sha256-dqyduExNgXIbEFlgkckaPfhLFSVLqPgwAOyBUdowwiQ="; 22 }; 23 24 - propagatedBuildInputs = [ numpy scipy pytorch ]; 25 checkInputs = [ nose2 autograd matplotlib tensorflow ]; 26 27 checkPhase = ''
··· 3 , buildPythonPackage 4 , numpy 5 , scipy 6 + , torch 7 , autograd 8 , nose2 9 , matplotlib ··· 21 sha256 = "sha256-dqyduExNgXIbEFlgkckaPfhLFSVLqPgwAOyBUdowwiQ="; 22 }; 23 24 + propagatedBuildInputs = [ numpy scipy torch ]; 25 checkInputs = [ nose2 autograd matplotlib tensorflow ]; 26 27 checkPhase = ''
+2 -2
pkgs/development/python-modules/pyro-ppl/default.nix
··· 10 , pillow 11 , pyro-api 12 , pythonOlder 13 - , pytorch 14 , scikit-learn 15 , seaborn 16 , torchvision ··· 32 33 propagatedBuildInputs = [ 34 pyro-api 35 - pytorch 36 networkx 37 opt-einsum 38 tqdm
··· 10 , pillow 11 , pyro-api 12 , pythonOlder 13 + , torch 14 , scikit-learn 15 , seaborn 16 , torchvision ··· 32 33 propagatedBuildInputs = [ 34 pyro-api 35 + torch 36 networkx 37 opt-einsum 38 tqdm
+2 -2
pkgs/development/python-modules/pytorch-lightning/default.nix
··· 6 , fsspec 7 , packaging 8 , pytestCheckHook 9 - , pytorch 10 , pyyaml 11 , tensorboard 12 , torchmetrics ··· 29 packaging 30 future 31 fsspec 32 - pytorch 33 pyyaml 34 tensorboard 35 torchmetrics
··· 6 , fsspec 7 , packaging 8 , pytestCheckHook 9 + , torch 10 , pyyaml 11 , tensorboard 12 , torchmetrics ··· 29 packaging 30 future 31 fsspec 32 + torch 33 pyyaml 34 tensorboard 35 torchmetrics
+2 -2
pkgs/development/python-modules/pytorch-metric-learning/default.nix
··· 5 , numpy 6 , scikit-learn 7 , pytestCheckHook 8 - , pytorch 9 , torchvision 10 , tqdm 11 , faiss ··· 26 27 propagatedBuildInputs = [ 28 numpy 29 - pytorch 30 scikit-learn 31 torchvision 32 tqdm
··· 5 , numpy 6 , scikit-learn 7 , pytestCheckHook 8 + , torch 9 , torchvision 10 , tqdm 11 , faiss ··· 26 27 propagatedBuildInputs = [ 28 numpy 29 + torch 30 scikit-learn 31 torchvision 32 tqdm
+2 -2
pkgs/development/python-modules/pytorch-pfn-extras/default.nix
··· 5 , onnx 6 , packaging 7 , pytestCheckHook 8 - , pytorch 9 , torchvision 10 , typing-extensions 11 }: ··· 21 sha256 = "sha256-w4WSEgNLdVLDnKS4kzJBK9BkrrGzbk2aCIhk4HCM/Bk="; 22 }; 23 24 - propagatedBuildInputs = [ numpy packaging pytorch typing-extensions ]; 25 26 checkInputs = [ onnx pytestCheckHook torchvision ]; 27
··· 5 , onnx 6 , packaging 7 , pytestCheckHook 8 + , torch 9 , torchvision 10 , typing-extensions 11 }: ··· 21 sha256 = "sha256-w4WSEgNLdVLDnKS4kzJBK9BkrrGzbk2aCIhk4HCM/Bk="; 22 }; 23 24 + propagatedBuildInputs = [ numpy packaging torch typing-extensions ]; 25 26 checkInputs = [ onnx pytestCheckHook torchvision ]; 27
+2 -2
pkgs/development/python-modules/pytorch/bin.nix pkgs/development/python-modules/torch/bin.nix
··· 24 in buildPythonPackage { 25 inherit version; 26 27 - pname = "pytorch"; 28 - # Don't forget to update pytorch to the same version. 29 30 format = "wheel"; 31
··· 24 in buildPythonPackage { 25 inherit version; 26 27 + pname = "torch"; 28 + # Don't forget to update torch to the same version. 29 30 format = "wheel"; 31
+1 -1
pkgs/development/python-modules/pytorch/binary-hashes.nix pkgs/development/python-modules/torch/binary-hashes.nix
··· 1 - # Warning: use the same CUDA version as pytorch-bin. 2 # 3 # Precompiled wheels can be found at: 4 # https://download.pytorch.org/whl/torch_stable.html
··· 1 + # Warning: use the same CUDA version as torch-bin. 2 # 3 # Precompiled wheels can be found at: 4 # https://download.pytorch.org/whl/torch_stable.html
pkgs/development/python-modules/pytorch/breakpad-sigstksz.patch pkgs/development/python-modules/torch/breakpad-sigstksz.patch
+2 -2
pkgs/development/python-modules/pytorch/default.nix pkgs/development/python-modules/torch/default.nix
··· 120 "LD_LIBRARY_PATH=${cudaStub}\${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH "; 121 122 in buildPythonPackage rec { 123 - pname = "pytorch"; 124 - # Don't forget to update pytorch-bin to the same version. 125 version = "1.11.0"; 126 format = "setuptools"; 127
··· 120 "LD_LIBRARY_PATH=${cudaStub}\${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH "; 121 122 in buildPythonPackage rec { 123 + pname = "torch"; 124 + # Don't forget to update torch-bin to the same version. 125 version = "1.11.0"; 126 format = "setuptools"; 127
pkgs/development/python-modules/pytorch/prefetch.sh pkgs/development/python-modules/torch/prefetch.sh
pkgs/development/python-modules/pytorch/pthreadpool-disable-gcd.diff pkgs/development/python-modules/torch/pthreadpool-disable-gcd.diff
+2 -2
pkgs/development/python-modules/pywick/default.nix
··· 8 , pandas 9 , pillow 10 , six 11 - , pytorch 12 , torchvision 13 , tqdm 14 , lib ··· 28 }; 29 30 propagatedBuildInputs = [ 31 - h5py hickle numpy pandas pillow six pytorch torchvision tqdm 32 ]; 33 34 checkInputs = [ pytest ];
··· 8 , pandas 9 , pillow 10 , six 11 + , torch 12 , torchvision 13 , tqdm 14 , lib ··· 28 }; 29 30 propagatedBuildInputs = [ 31 + h5py hickle numpy pandas pillow six torch torchvision tqdm 32 ]; 33 34 checkInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/qiskit-machine-learning/default.nix
··· 13 , sparse 14 # Optional inputs 15 , withTorch ? true 16 - , pytorch 17 # Check Inputs 18 , pytestCheckHook 19 , ddt ··· 41 qiskit-terra 42 scikit-learn 43 sparse 44 - ] ++ lib.optional withTorch pytorch; 45 46 doCheck = false; # TODO: enable. Tests fail on unstable due to some multithreading issue? 47 checkInputs = [
··· 13 , sparse 14 # Optional inputs 15 , withTorch ? true 16 + , torch 17 # Check Inputs 18 , pytestCheckHook 19 , ddt ··· 41 qiskit-terra 42 scikit-learn 43 sparse 44 + ] ++ lib.optional withTorch torch; 45 46 doCheck = false; # TODO: enable. Tests fail on unstable due to some multithreading issue? 47 checkInputs = [
+2 -2
pkgs/development/python-modules/rising/default.nix
··· 6 , pytest-cov 7 , dill 8 , numpy 9 - , pytorch 10 , threadpoolctl 11 , tqdm 12 }: ··· 24 sha256 = "15wYWToXRae1cMpHWbJwzAp0THx6ED9ixQgL+n1v9PI="; 25 }; 26 27 - propagatedBuildInputs = [ numpy pytorch threadpoolctl tqdm ]; 28 checkInputs = [ dill pytest-cov pytestCheckHook ]; 29 30 disabledTests = [ "test_affine" ]; # deprecated division operator '/'
··· 6 , pytest-cov 7 , dill 8 , numpy 9 + , torch 10 , threadpoolctl 11 , tqdm 12 }: ··· 24 sha256 = "15wYWToXRae1cMpHWbJwzAp0THx6ED9ixQgL+n1v9PI="; 25 }; 26 27 + propagatedBuildInputs = [ numpy torch threadpoolctl tqdm ]; 28 checkInputs = [ dill pytest-cov pytestCheckHook ]; 29 30 disabledTests = [ "test_affine" ]; # deprecated division operator '/'
+2 -2
pkgs/development/python-modules/skorch/default.nix
··· 7 , flaky 8 , numpy 9 , pandas 10 - , pytorch 11 , scikit-learn 12 , scipy 13 , tabulate ··· 23 sha256 = "b35cb4e50045742f0ffcfad33044af691d5d36b50212573753a804483a947ca9"; 24 }; 25 26 - propagatedBuildInputs = [ numpy pytorch scikit-learn scipy tabulate tqdm ]; 27 checkInputs = [ pytest pytest-cov flaky pandas pytestCheckHook ]; 28 29 disabledTests = [
··· 7 , flaky 8 , numpy 9 , pandas 10 + , torch 11 , scikit-learn 12 , scipy 13 , tabulate ··· 23 sha256 = "b35cb4e50045742f0ffcfad33044af691d5d36b50212573753a804483a947ca9"; 24 }; 25 26 + propagatedBuildInputs = [ numpy torch scikit-learn scipy tabulate tqdm ]; 27 checkInputs = [ pytest pytest-cov flaky pandas pytestCheckHook ]; 28 29 disabledTests = [
+2 -2
pkgs/development/python-modules/slicer/default.nix
··· 4 , isPy27 5 , pytestCheckHook 6 , pandas 7 - , pytorch 8 , scipy 9 }: 10 ··· 18 sha256 = "f5d5f7b45f98d155b9c0ba6554fa9770c6b26d5793a3e77a1030fb56910ebeec"; 19 }; 20 21 - checkInputs = [ pytestCheckHook pandas pytorch scipy ]; 22 23 disabledTests = [ 24 # IndexError: too many indices for array
··· 4 , isPy27 5 , pytestCheckHook 6 , pandas 7 + , torch 8 , scipy 9 }: 10 ··· 18 sha256 = "f5d5f7b45f98d155b9c0ba6554fa9770c6b26d5793a3e77a1030fb56910ebeec"; 19 }; 20 21 + checkInputs = [ pytestCheckHook pandas torch scipy ]; 22 23 disabledTests = [ 24 # IndexError: too many indices for array
+2 -2
pkgs/development/python-modules/spacy-transformers/default.nix
··· 3 , fetchPypi 4 , buildPythonPackage 5 , dataclasses 6 - , pytorch 7 , pythonOlder 8 , spacy 9 , spacy-alignments ··· 24 }; 25 26 propagatedBuildInputs = [ 27 - pytorch 28 spacy 29 spacy-alignments 30 srsly
··· 3 , fetchPypi 4 , buildPythonPackage 5 , dataclasses 6 + , torch 7 , pythonOlder 8 , spacy 9 , spacy-alignments ··· 24 }; 25 26 propagatedBuildInputs = [ 27 + torch 28 spacy 29 spacy-alignments 30 srsly
+2 -2
pkgs/development/python-modules/stanza/default.nix
··· 7 , protobuf 8 , requests 9 , six 10 - , pytorch 11 , tqdm 12 }: 13 ··· 30 protobuf 31 requests 32 six 33 - pytorch 34 tqdm 35 ]; 36
··· 7 , protobuf 8 , requests 9 , six 10 + , torch 11 , tqdm 12 }: 13 ··· 30 protobuf 31 requests 32 six 33 + torch 34 tqdm 35 ]; 36
+2 -2
pkgs/development/python-modules/tensorboardx/default.nix
··· 10 , pillow 11 , protobuf3_8 12 , pytestCheckHook 13 - , pytorch 14 , six 15 , soundfile 16 , tensorboard ··· 55 moto 56 pillow 57 pytestCheckHook 58 - pytorch 59 tensorboard 60 torchvision 61 ];
··· 10 , pillow 11 , protobuf3_8 12 , pytestCheckHook 13 + , torch 14 , six 15 , soundfile 16 , tensorboard ··· 55 moto 56 pillow 57 pytestCheckHook 58 + torch 59 tensorboard 60 torchvision 61 ];
+2 -2
pkgs/development/python-modules/test-tube/default.nix
··· 7 , imageio 8 , numpy 9 , pandas 10 - , pytorch 11 , tensorboard 12 }: 13 ··· 33 imageio 34 numpy 35 pandas 36 - pytorch 37 tensorboard 38 ]; 39
··· 7 , imageio 8 , numpy 9 , pandas 10 + , torch 11 , tensorboard 12 }: 13 ··· 33 imageio 34 numpy 35 pandas 36 + torch 37 tensorboard 38 ]; 39
+2 -2
pkgs/development/python-modules/torch-tb-profiler/default.nix
··· 3 , lib 4 , pandas 5 , pytestCheckHook 6 - , pytorch 7 , tensorboard 8 , torchvision 9 }: ··· 27 28 propagatedBuildInputs = [ pandas tensorboard ]; 29 30 - checkInputs = [ pytestCheckHook pytorch torchvision ]; 31 32 disabledTests = [ 33 # Tests that attempt to access the filesystem in naughty ways.
··· 3 , lib 4 , pandas 5 , pytestCheckHook 6 + , torch 7 , tensorboard 8 , torchvision 9 }: ··· 27 28 propagatedBuildInputs = [ pandas tensorboard ]; 29 30 + checkInputs = [ pytestCheckHook torch torchvision ]; 31 32 disabledTests = [ 33 # Tests that attempt to access the filesystem in naughty ways.
+3 -3
pkgs/development/python-modules/torchaudio/bin.nix
··· 7 , isPy39 8 , isPy310 9 , python 10 - , pytorch-bin 11 , pythonOlder 12 , pythonAtLeast 13 }: ··· 26 disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 27 28 propagatedBuildInputs = [ 29 - pytorch-bin 30 ]; 31 32 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`. ··· 38 # Note: after patchelf'ing, libcudart can still not be found. However, this should 39 # not be an issue, because PyTorch is loaded before torchvision and brings 40 # in the necessary symbols. 41 - patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}:${pytorch-bin}/${python.sitePackages}/torch/lib:" \ 42 "$out/${python.sitePackages}/torchaudio/_torchaudio.so" 43 ''; 44
··· 7 , isPy39 8 , isPy310 9 , python 10 + , torch-bin 11 , pythonOlder 12 , pythonAtLeast 13 }: ··· 26 disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 27 28 propagatedBuildInputs = [ 29 + torch-bin 30 ]; 31 32 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`. ··· 38 # Note: after patchelf'ing, libcudart can still not be found. However, this should 39 # not be an issue, because PyTorch is loaded before torchvision and brings 40 # in the necessary symbols. 41 + patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}:${torch-bin}/${python.sitePackages}/torch/lib:" \ 42 "$out/${python.sitePackages}/torchaudio/_torchaudio.so" 43 ''; 44
+1 -1
pkgs/development/python-modules/torchaudio/binary-hashes.nix
··· 1 - # Warning: Need to update at the same time as pytorch-bin 2 # 3 # Precompiled wheels can be found at: 4 # https://download.pytorch.org/whl/torch_stable.html
··· 1 + # Warning: Need to update at the same time as torch-bin 2 # 3 # Precompiled wheels can be found at: 4 # https://download.pytorch.org/whl/torch_stable.html
+2 -2
pkgs/development/python-modules/torchgpipe/default.nix
··· 4 , isPy27 5 , pytest-runner 6 , pytestCheckHook 7 - , pytorch 8 }: 9 10 buildPythonPackage rec { ··· 20 sha256 = "0ki0njhmz1i3pkpr3y6h6ac7p5qh1kih06mknc2s18mfw34f2l55"; 21 }; 22 23 - propagatedBuildInputs = [ pytorch ]; 24 25 checkInputs = [ pytest-runner pytestCheckHook ]; 26 disabledTests = [
··· 4 , isPy27 5 , pytest-runner 6 , pytestCheckHook 7 + , torch 8 }: 9 10 buildPythonPackage rec { ··· 20 sha256 = "0ki0njhmz1i3pkpr3y6h6ac7p5qh1kih06mknc2s18mfw34f2l55"; 21 }; 22 23 + propagatedBuildInputs = [ torch ]; 24 25 checkInputs = [ pytest-runner pytestCheckHook ]; 26 disabledTests = [
+2 -2
pkgs/development/python-modules/torchinfo/default.nix
··· 3 , fetchFromGitHub 4 , pytestCheckHook 5 , pythonOlder 6 - , pytorch 7 , torchvision 8 }: 9 ··· 22 }; 23 24 propagatedBuildInputs = [ 25 - pytorch 26 torchvision 27 ]; 28
··· 3 , fetchFromGitHub 4 , pytestCheckHook 5 , pythonOlder 6 + , torch 7 , torchvision 8 }: 9 ··· 22 }; 23 24 propagatedBuildInputs = [ 25 + torch 26 torchvision 27 ]; 28
+2 -2
pkgs/development/python-modules/torchmetrics/default.nix
··· 7 , packaging 8 , psutil 9 , py-deprecate 10 - , pytorch 11 , pytestCheckHook 12 , torchmetrics 13 , pytorch-lightning ··· 34 35 # Let the user bring their own instance 36 buildInputs = [ 37 - pytorch 38 ]; 39 40 checkInputs = [
··· 7 , packaging 8 , psutil 9 , py-deprecate 10 + , torch 11 , pytestCheckHook 12 , torchmetrics 13 , pytorch-lightning ··· 34 35 # Let the user bring their own instance 36 buildInputs = [ 37 + torch 38 ]; 39 40 checkInputs = [
+3 -3
pkgs/development/python-modules/torchvision/bin.nix
··· 9 , patchelf 10 , pillow 11 , python 12 - , pytorch-bin 13 }: 14 15 let ··· 34 35 propagatedBuildInputs = [ 36 pillow 37 - pytorch-bin 38 ]; 39 40 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`. ··· 48 # Note: after patchelf'ing, libcudart can still not be found. However, this should 49 # not be an issue, because PyTorch is loaded before torchvision and brings 50 # in the necessary symbols. 51 - patchelf --set-rpath "${rpath}:${pytorch-bin}/${python.sitePackages}/torch/lib:" \ 52 "$out/${python.sitePackages}/torchvision/_C.so" 53 ''; 54
··· 9 , patchelf 10 , pillow 11 , python 12 + , torch-bin 13 }: 14 15 let ··· 34 35 propagatedBuildInputs = [ 36 pillow 37 + torch-bin 38 ]; 39 40 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`. ··· 48 # Note: after patchelf'ing, libcudart can still not be found. However, this should 49 # not be an issue, because PyTorch is loaded before torchvision and brings 50 # in the necessary symbols. 51 + patchelf --set-rpath "${rpath}:${torch-bin}/${python.sitePackages}/torch/lib:" \ 52 "$out/${python.sitePackages}/torchvision/_C.so" 53 ''; 54
+1 -1
pkgs/development/python-modules/torchvision/binary-hashes.nix
··· 1 - # Warning: use the same CUDA version as pytorch-bin. 2 # 3 # Precompiled wheels can be found at: 4 # https://download.pytorch.org/whl/torch_stable.html
··· 1 + # Warning: use the same CUDA version as torch-bin. 2 # 3 # Precompiled wheels can be found at: 4 # https://download.pytorch.org/whl/torch_stable.html
+5 -5
pkgs/development/python-modules/torchvision/default.nix
··· 9 , numpy 10 , scipy 11 , pillow 12 - , pytorch 13 , pytest 14 - , cudaSupport ? pytorch.cudaSupport or false # by default uses the value from pytorch 15 }: 16 17 let 18 - inherit (pytorch.cudaPackages) cudatoolkit cudnn; 19 20 cudatoolkit_joined = symlinkJoin { 21 name = "${cudatoolkit.name}-unsplit"; 22 paths = [ cudatoolkit.out cudatoolkit.lib ]; 23 }; 24 - cudaArchStr = lib.optionalString cudaSupport lib.strings.concatStringsSep ";" pytorch.cudaArchList; 25 in buildPythonPackage rec { 26 pname = "torchvision"; 27 version = "0.13.0"; ··· 42 buildInputs = [ libjpeg_turbo libpng ] 43 ++ lib.optionals cudaSupport [ cudnn ]; 44 45 - propagatedBuildInputs = [ numpy pillow pytorch scipy ]; 46 47 preBuild = lib.optionalString cudaSupport '' 48 export TORCH_CUDA_ARCH_LIST="${cudaArchStr}"
··· 9 , numpy 10 , scipy 11 , pillow 12 + , torch 13 , pytest 14 + , cudaSupport ? torch.cudaSupport or false # by default uses the value from torch 15 }: 16 17 let 18 + inherit (torch.cudaPackages) cudatoolkit cudnn; 19 20 cudatoolkit_joined = symlinkJoin { 21 name = "${cudatoolkit.name}-unsplit"; 22 paths = [ cudatoolkit.out cudatoolkit.lib ]; 23 }; 24 + cudaArchStr = lib.optionalString cudaSupport lib.strings.concatStringsSep ";" torch.cudaArchList; 25 in buildPythonPackage rec { 26 pname = "torchvision"; 27 version = "0.13.0"; ··· 42 buildInputs = [ libjpeg_turbo libpng ] 43 ++ lib.optionals cudaSupport [ cudnn ]; 44 45 + propagatedBuildInputs = [ numpy pillow torch scipy ]; 46 47 preBuild = lib.optionalString cudaSupport '' 48 export TORCH_CUDA_ARCH_LIST="${cudaArchStr}"
+2 -2
pkgs/development/python-modules/towncrier/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "towncrier"; 16 - version = "21.9.0"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - sha256 = "sha256-nLb0XBbhoe7J0OdlEWXnvmDNCrgdE6XJbKl6SYrof0g="; 21 }; 22 23 propagatedBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "towncrier"; 16 + version = "22.8.0"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + sha256 = "sha256-fTg5sDOFm0X7Vd+Ct0z9cCQxkzwMyfKHpafqPgXQQss="; 21 }; 22 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/transformers/default.nix
··· 17 , scikit-learn 18 , pillow 19 , pyyaml 20 - , pytorch 21 , tokenizers 22 , tqdm 23 }: ··· 67 # tf2onnx 68 ]; 69 torch = [ 70 - pytorch 71 ]; 72 tokenizers = [ 73 tokenizers
··· 17 , scikit-learn 18 , pillow 19 , pyyaml 20 + , torch 21 , tokenizers 22 , tqdm 23 }: ··· 67 # tf2onnx 68 ]; 69 torch = [ 70 + torch 71 ]; 72 tokenizers = [ 73 tokenizers
+2 -2
pkgs/development/python-modules/unicrypto/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "unicrypto"; 11 - version = "0.0.8"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-BIf53ZAJwybulTGnlBKuGK1nNCWhyADWSUe5b96wTN8="; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "unicrypto"; 11 + version = "0.0.9"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-nV3YWK1a1gj6UkmHsX6IVdZNbSRQygyhFjj02S/GyAs="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/wandb/default.nix
··· 25 , pytestCheckHook 26 , python-dateutil 27 , pythonOlder 28 - , pytorch 29 , pyyaml 30 , requests 31 , scikit-learn ··· 94 pytest-mock 95 pytest-xdist 96 pytestCheckHook 97 - pytorch 98 scikit-learn 99 tqdm 100 ];
··· 25 , pytestCheckHook 26 , python-dateutil 27 , pythonOlder 28 + , torch 29 , pyyaml 30 , requests 31 , scikit-learn ··· 94 pytest-mock 95 pytest-xdist 96 pytestCheckHook 97 + torch 98 scikit-learn 99 tqdm 100 ];
+3 -3
pkgs/development/tools/frugal/default.nix
··· 2 3 buildGoModule rec { 4 pname = "frugal"; 5 - version = "3.16.1"; 6 7 src = fetchFromGitHub { 8 owner = "Workiva"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-u8+4wBadgyzw1XfZChmI/K2nkSoRZ0Yp+Q8V7NrDQ3E="; 12 }; 13 14 subPackages = [ "." ]; 15 16 - vendorSha256 = "sha256-QtF2MdZCO6CsoRD25yaQ6h8n/j/9fHogJaVZNQ2RbDs="; 17 18 meta = with lib; { 19 description = "Thrift improved";
··· 2 3 buildGoModule rec { 4 pname = "frugal"; 5 + version = "3.16.2"; 6 7 src = fetchFromGitHub { 8 owner = "Workiva"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-zZ4CueyDugaOY62KCyTcbF2QVvp0N8pI/ChmQSscn1w="; 12 }; 13 14 subPackages = [ "." ]; 15 16 + vendorSha256 = "sha256-0pPSEYPGluuRsDuTa2wmDPY6PqG3+YeJG6mphf8X96M="; 17 18 meta = with lib; { 19 description = "Thrift improved";
+3 -3
pkgs/development/tools/ginkgo/default.nix
··· 2 3 buildGoModule rec { 4 pname = "ginkgo"; 5 - version = "2.1.4"; 6 7 src = fetchFromGitHub { 8 owner = "onsi"; 9 repo = "ginkgo"; 10 rev = "v${version}"; 11 - sha256 = "sha256-5MVOJingEJojJA79nHJDWwso3eunjox/d+JzX11X46Q="; 12 }; 13 - vendorSha256 = "sha256-RFI87HCw+/4J8YKLZ7Kt7D2PNmwr1qXEiHCCLlBHtPA="; 14 15 # integration tests expect more file changes 16 # types tests are missing CodeLocation
··· 2 3 buildGoModule rec { 4 pname = "ginkgo"; 5 + version = "2.1.5"; 6 7 src = fetchFromGitHub { 8 owner = "onsi"; 9 repo = "ginkgo"; 10 rev = "v${version}"; 11 + sha256 = "sha256-y/GLX6dHQfuH8QVC+A8biGiEhy2XZqzFz7J14zVX/zU="; 12 }; 13 + vendorSha256 = "sha256-QXrRsDaWoPp4mbgS7nV/5c5Z5Ca6PyoDpfrjvtoHK4Q="; 14 15 # integration tests expect more file changes 16 # types tests are missing CodeLocation
+2 -2
pkgs/development/tools/misc/circleci-cli/default.nix
··· 2 3 buildGoModule rec { 4 pname = "circleci-cli"; 5 - version = "0.1.20788"; 6 7 src = fetchFromGitHub { 8 owner = "CircleCI-Public"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-noREDDxy4p7LVvTehzbPPKY5Bt9r/kJii6Q//JiCD0A="; 12 }; 13 14 vendorSha256 = "sha256-jrAd1G/NCjXfaJmzOhMjMZfJoGHsQ1bi3HudBM0e8rE=";
··· 2 3 buildGoModule rec { 4 pname = "circleci-cli"; 5 + version = "0.1.20856"; 6 7 src = fetchFromGitHub { 8 owner = "CircleCI-Public"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-lYePUN4z/Oz9UXjxyrkG8jBMRwZopU9Jzw/mMMTs+oo="; 12 }; 13 14 vendorSha256 = "sha256-jrAd1G/NCjXfaJmzOhMjMZfJoGHsQ1bi3HudBM0e8rE=";
+2 -2
pkgs/development/tools/misc/pwndbg/default.nix
··· 22 23 in stdenv.mkDerivation rec { 24 pname = "pwndbg"; 25 - version = "2022.01.05"; 26 format = "other"; 27 28 src = fetchFromGitHub { 29 owner = "pwndbg"; 30 repo = "pwndbg"; 31 rev = version; 32 - sha256 = "sha256-24WWA3wLUxylC8LkukwTOcqbpxpAg8DfrEkI3Ikyzlk="; 33 }; 34 35 nativeBuildInputs = [ makeWrapper ];
··· 22 23 in stdenv.mkDerivation rec { 24 pname = "pwndbg"; 25 + version = "2022.08.30"; 26 format = "other"; 27 28 src = fetchFromGitHub { 29 owner = "pwndbg"; 30 repo = "pwndbg"; 31 rev = version; 32 + sha256 = "sha256-rMdpNJonzbHyTXbnr6MtlVUmfAfLiCHaVSzuQRhtVpE="; 33 }; 34 35 nativeBuildInputs = [ makeWrapper ];
+3 -3
pkgs/os-specific/linux/rtl8189es/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 name = "rtl8189es-${kernel.version}-${version}"; 5 - version = "2022-05-21"; 6 7 src = fetchFromGitHub { 8 owner = "jwrdegoede"; 9 repo = "rtl8189ES_linux"; 10 - rev = "1269e117454069cd47f1822ffa31e29ec19a10da"; 11 - sha256 = "sha256-3d16zu9RxPKO9uAjHNu/+9z++smH1LSXHmrB0FnQt+E="; 12 }; 13 14 nativeBuildInputs = [ bc nukeReferences ] ++ kernel.moduleBuildDependencies;
··· 2 3 stdenv.mkDerivation rec { 4 name = "rtl8189es-${kernel.version}-${version}"; 5 + version = "2022-08-30"; 6 7 src = fetchFromGitHub { 8 owner = "jwrdegoede"; 9 repo = "rtl8189ES_linux"; 10 + rev = "c93cfd712a3acd2ecdeda19a66d269c20f8803f1"; 11 + sha256 = "sha256-bBUxo8lplFwXfsSNf5lz9XCpQ6M0vWelmFoCal95FpI="; 12 }; 13 14 nativeBuildInputs = [ bc nukeReferences ] ++ kernel.moduleBuildDependencies;
+10 -10
pkgs/servers/adguardhome/bins.nix
··· 1 { fetchurl, fetchzip }: 2 { 3 x86_64-darwin = fetchzip { 4 - sha256 = "sha256-SLGzciTzzvW0DTG8v6lNb1IovbOjxBFgFVjNY6MEyKY="; 5 - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.9/AdGuardHome_darwin_amd64.zip"; 6 }; 7 aarch64-darwin = fetchzip { 8 - sha256 = "sha256-d7hnCM7BJuYfSH89jv516uVyKTMueQmVKQxEeTGIDUE="; 9 - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.9/AdGuardHome_darwin_arm64.zip"; 10 }; 11 i686-linux = fetchurl { 12 - sha256 = "sha256-wTmUF6NHWis4dyw/bPjAjvZ0aQ1l1BCDlm6eLu4m/0o="; 13 - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.9/AdGuardHome_linux_386.tar.gz"; 14 }; 15 x86_64-linux = fetchurl { 16 - sha256 = "sha256-Mxe9Gb1ErrZZl3a+0SqC/0ghoeV51X93YxIOs9gM2lY="; 17 - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.9/AdGuardHome_linux_amd64.tar.gz"; 18 }; 19 aarch64-linux = fetchurl { 20 - sha256 = "sha256-SyHuzXAe24Nf0v9Ds3Z+cbXoIVLCJSj243I6B0XWBlM="; 21 - url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.9/AdGuardHome_linux_arm64.tar.gz"; 22 }; 23 }
··· 1 { fetchurl, fetchzip }: 2 { 3 x86_64-darwin = fetchzip { 4 + sha256 = "sha256-QS/GMUXZ3FlBDfgLXEUeqWb4jNDXaRpRlieWjxmMe5U="; 5 + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.11/AdGuardHome_darwin_amd64.zip"; 6 }; 7 aarch64-darwin = fetchzip { 8 + sha256 = "sha256-LQcIlQUbL7fDQQKKEr5HdL87O/dv7sD4ESqAxfeMo28="; 9 + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.11/AdGuardHome_darwin_arm64.zip"; 10 }; 11 i686-linux = fetchurl { 12 + sha256 = "sha256-VIvQ+dhPi+gCGoCwwmnNscFPqfTCNqZdZsMYFYSFCuE="; 13 + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.11/AdGuardHome_linux_386.tar.gz"; 14 }; 15 x86_64-linux = fetchurl { 16 + sha256 = "sha256-aTZ/nfzJBJX7pV/xn/7QwPvK95GY5DIzeNs4O/6UBDw="; 17 + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.11/AdGuardHome_linux_amd64.tar.gz"; 18 }; 19 aarch64-linux = fetchurl { 20 + sha256 = "sha256-aYPMMjI7azFtGUvPy2KnS0o7lTmtsOaOVgIFCWkfNi4="; 21 + url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.11/AdGuardHome_linux_arm64.tar.gz"; 22 }; 23 }
+1 -1
pkgs/servers/adguardhome/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "adguardhome"; 10 - version = "0.107.9"; 11 src = sources.${system} or (throw "Source for ${pname} is not available for ${system}"); 12 13 installPhase = ''
··· 7 8 stdenv.mkDerivation rec { 9 pname = "adguardhome"; 10 + version = "0.107.11"; 11 src = sources.${system} or (throw "Source for ${pname} is not available for ${system}"); 12 13 installPhase = ''
+2 -2
pkgs/servers/minio/default.nix
··· 15 in 16 buildGoModule rec { 17 pname = "minio"; 18 - version = "2022-08-25T07-17-05Z"; 19 20 src = fetchFromGitHub { 21 owner = "minio"; 22 repo = "minio"; 23 rev = "RELEASE.${version}"; 24 - sha256 = "sha256-Rqgac/F1KPa94xg46fqRNAKSilrIMaCphuuf07HuIcY="; 25 }; 26 27 vendorSha256 = "sha256-eAHL8UsRllnZ5frWYxXXYlkvf9QmrcvJHx5wEcbGeM4=";
··· 15 in 16 buildGoModule rec { 17 pname = "minio"; 18 + version = "2022-08-26T19-53-15Z"; 19 20 src = fetchFromGitHub { 21 owner = "minio"; 22 repo = "minio"; 23 rev = "RELEASE.${version}"; 24 + sha256 = "sha256-VZsByVcErl6dts8OlggEFnvA+9ds8ZgQvZkCb53bSac="; 25 }; 26 27 vendorSha256 = "sha256-eAHL8UsRllnZ5frWYxXXYlkvf9QmrcvJHx5wEcbGeM4=";
+4 -5
pkgs/tools/audio/tts/default.nix
··· 32 in 33 python.pkgs.buildPythonApplication rec { 34 pname = "tts"; 35 - version = "0.7.1"; 36 format = "setuptools"; 37 38 src = fetchFromGitHub { 39 owner = "coqui-ai"; 40 repo = "TTS"; 41 rev = "v${version}"; 42 - sha256 = "sha256-ch+711soRfZj1egyaF0+6NrUJtf7JqfZuxQ4eDf1zas="; 43 }; 44 45 postPatch = let 46 relaxedConstraints = [ 47 "cython" 48 "gruut" 49 "librosa" 50 "mecab-python3" 51 "numba" ··· 84 pandas 85 pypinyin 86 pysbd 87 - pytorch-bin 88 pyworld 89 scipy 90 soundfile 91 tensorflow 92 torchaudio-bin 93 tqdm 94 umap-learn ··· 138 ]; 139 140 disabledTestPaths = [ 141 - # Requires network acccess to download models 142 - "tests/aux_tests/test_remove_silence_vad_script.py" 143 # phonemes mismatch between espeak-ng and gruuts phonemizer 144 "tests/text_tests/test_phonemizer.py" 145 # no training, it takes too long
··· 32 in 33 python.pkgs.buildPythonApplication rec { 34 pname = "tts"; 35 + version = "0.8.0"; 36 format = "setuptools"; 37 38 src = fetchFromGitHub { 39 owner = "coqui-ai"; 40 repo = "TTS"; 41 rev = "v${version}"; 42 + sha256 = "sha256-A48L1JGXckSEaZra00ZOBVxcYJMvhpQqzE8nABaP0TY="; 43 }; 44 45 postPatch = let 46 relaxedConstraints = [ 47 "cython" 48 "gruut" 49 + "inflect" 50 "librosa" 51 "mecab-python3" 52 "numba" ··· 85 pandas 86 pypinyin 87 pysbd 88 pyworld 89 scipy 90 soundfile 91 tensorflow 92 + torch-bin 93 torchaudio-bin 94 tqdm 95 umap-learn ··· 139 ]; 140 141 disabledTestPaths = [ 142 # phonemes mismatch between espeak-ng and gruuts phonemizer 143 "tests/text_tests/test_phonemizer.py" 144 # no training, it takes too long
+3 -3
pkgs/tools/misc/chezmoi/default.nix
··· 2 3 buildGoModule rec { 4 pname = "chezmoi"; 5 - version = "2.21.0"; 6 7 src = fetchFromGitHub { 8 owner = "twpayne"; 9 repo = "chezmoi"; 10 rev = "v${version}"; 11 - sha256 = "sha256-93f01YfCold2lUoCjnmIpwUR2pDvJ8Ph+QKEvZLL02Y="; 12 }; 13 14 - vendorSha256 = "sha256-jFXK/VvOyL9JUrMkzAZA++ydPKH0iL+4oH2YD1uh9CQ="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "chezmoi"; 5 + version = "2.21.1"; 6 7 src = fetchFromGitHub { 8 owner = "twpayne"; 9 repo = "chezmoi"; 10 rev = "v${version}"; 11 + sha256 = "sha256-WBshiEohUO58LSRpbwunXfSRvnYtnB8g+1zUZTZtUOg="; 12 }; 13 14 + vendorSha256 = "sha256-KcUe3Wbco+s4Zt3TS6C60AYiCuTAW5qdz+x68UBPALY="; 15 16 doCheck = false; 17
+3 -3
pkgs/tools/misc/goreleaser/default.nix
··· 2 3 buildGoModule rec { 4 pname = "goreleaser"; 5 - version = "1.10.3"; 6 7 src = fetchFromGitHub { 8 owner = "goreleaser"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-+xrjIef8ToN07sfgZt/R5ZfCJ68v9293dSfaOwh1kmI="; 12 }; 13 14 - vendorSha256 = "sha256-sJHq2ZSeCpUXhcF5HZQxIE0Jkutnc/m86NcaDNs7a7A="; 15 16 ldflags = [ 17 "-s"
··· 2 3 buildGoModule rec { 4 pname = "goreleaser"; 5 + version = "1.11.1"; 6 7 src = fetchFromGitHub { 8 owner = "goreleaser"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-3kaoBmq/GXZMSlShgI/ykxnOMn9DrdNAFuUcCGItZW4="; 12 }; 13 14 + vendorSha256 = "sha256-7xySEPmc24yOwUerGoARsKaGIYnIvaJFjcwNvbHG4Ls="; 15 16 ldflags = [ 17 "-s"
+3 -3
pkgs/tools/networking/minio-client/default.nix
··· 2 3 buildGoModule rec { 4 pname = "minio-client"; 5 - version = "2022-08-23T05-45-20Z"; 6 7 src = fetchFromGitHub { 8 owner = "minio"; 9 repo = "mc"; 10 rev = "RELEASE.${version}"; 11 - sha256 = "sha256-ecEoMyTdL1ckKAPPTrXHDbzB5778Jq11yqQ/UJi6yuQ="; 12 }; 13 14 - vendorSha256 = "sha256-pq6tiVrkpf7anYAhkc0y+AB8qhqSPR93HME8AbN/cz0="; 15 16 subPackages = [ "." ]; 17
··· 2 3 buildGoModule rec { 4 pname = "minio-client"; 5 + version = "2022-08-28T20-08-11Z"; 6 7 src = fetchFromGitHub { 8 owner = "minio"; 9 repo = "mc"; 10 rev = "RELEASE.${version}"; 11 + sha256 = "sha256-1Cwvuyy0TRKNnhkpuXdr6ZenDa5pNjsOJA8/sczM22A="; 12 }; 13 14 + vendorSha256 = "sha256-rGIy+qw+n/WCJ/3rviYjz9uffSP/rcJRvPda+Hm1G3s="; 15 16 subPackages = [ "." ]; 17
+3 -3
pkgs/tools/system/systeroid/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "systeroid"; 10 - version = "0.2.0"; 11 12 src = fetchFromGitHub { 13 owner = "orhun"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-o72tjYc+1dBLAIG75Fyt2UubjeK6j/nufjiz3wn2SdI="; 17 }; 18 19 postPatch = '' ··· 21 --replace '"/usr/share/doc/kernel-doc-*/Documentation/*",' '"${linux-doc}/share/doc/linux-doc/*",' 22 ''; 23 24 - cargoSha256 = "sha256-8DGAiPAq+L1aWleeWEl95+hcgT+PHsxdg118U8IDyOA="; 25 26 buildInputs = [ 27 xorg.libxcb
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "systeroid"; 10 + version = "0.2.1"; 11 12 src = fetchFromGitHub { 13 owner = "orhun"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-+OwixA1m0/17auVNJkBv+cVhYrYgLr6Gv4qr4rzd1Xk="; 17 }; 18 19 postPatch = '' ··· 21 --replace '"/usr/share/doc/kernel-doc-*/Documentation/*",' '"${linux-doc}/share/doc/linux-doc/*",' 22 ''; 23 24 + cargoSha256 = "sha256-FM0xX3adPmHBBJuLtTSOfAd71mBRVduMx/eqkJjw9Q0="; 25 26 buildInputs = [ 27 xorg.libxcb
+1 -1
pkgs/top-level/ocaml-packages.nix
··· 1232 tls-mirage = callPackage ../development/ocaml-modules/tls/mirage.nix { }; 1233 1234 torch = callPackage ../development/ocaml-modules/torch { 1235 - inherit (pkgs.python3Packages) pytorch; 1236 }; 1237 1238 ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
··· 1232 tls-mirage = callPackage ../development/ocaml-modules/tls/mirage.nix { }; 1233 1234 torch = callPackage ../development/ocaml-modules/torch { 1235 + inherit (pkgs.python3Packages) torch; 1236 }; 1237 1238 ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
+4
pkgs/top-level/python-aliases.nix
··· 158 python-subunit = subunit; # added 2021-09-10 159 pytest_xdist = pytest-xdist; # added 2021-01-04 160 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21 161 pytwitchapi = twitchapi; # added 2022-03-07 162 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 163 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
··· 158 python-subunit = subunit; # added 2021-09-10 159 pytest_xdist = pytest-xdist; # added 2021-01-04 160 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21 161 + pytorch = torch; # added 2022-09-30 162 + pytorch-bin = torch-bin; # added 2022-09-30 163 + pytorchWithCuda = torchWithCuda; # added 2022-09-30 164 + pytorchWithoutCuda = torchWithoutCuda; # added 2022-09-30 165 pytwitchapi = twitchapi; # added 2022-03-07 166 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 167 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
+17 -16
pkgs/top-level/python-packages.nix
··· 9049 9050 pytools = callPackage ../development/python-modules/pytools { }; 9051 9052 - pytorch = callPackage ../development/python-modules/pytorch { 9053 - cudaSupport = pkgs.config.cudaSupport or false; 9054 - inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices; 9055 - inherit (pkgs.darwin) libobjc; 9056 - }; 9057 - 9058 - pytorch-bin = callPackage ../development/python-modules/pytorch/bin.nix { }; 9059 - 9060 pytorch-lightning = callPackage ../development/python-modules/pytorch-lightning { }; 9061 9062 pytorch-metric-learning = callPackage ../development/python-modules/pytorch-metric-learning { }; 9063 9064 pytorch-pfn-extras = callPackage ../development/python-modules/pytorch-pfn-extras { }; 9065 - 9066 - pytorchWithCuda = self.pytorch.override { 9067 - cudaSupport = true; 9068 - }; 9069 - 9070 - pytorchWithoutCuda = self.pytorch.override { 9071 - cudaSupport = false; 9072 - }; 9073 9074 pytraccar = callPackage ../development/python-modules/pytraccar { }; 9075 ··· 10936 toonapi = callPackage ../development/python-modules/toonapi { }; 10937 10938 toposort = callPackage ../development/python-modules/toposort { }; 10939 10940 torch-tb-profiler = callPackage ../development/python-modules/torch-tb-profiler/default.nix { }; 10941
··· 9049 9050 pytools = callPackage ../development/python-modules/pytools { }; 9051 9052 pytorch-lightning = callPackage ../development/python-modules/pytorch-lightning { }; 9053 9054 pytorch-metric-learning = callPackage ../development/python-modules/pytorch-metric-learning { }; 9055 9056 pytorch-pfn-extras = callPackage ../development/python-modules/pytorch-pfn-extras { }; 9057 9058 pytraccar = callPackage ../development/python-modules/pytraccar { }; 9059 ··· 10920 toonapi = callPackage ../development/python-modules/toonapi { }; 10921 10922 toposort = callPackage ../development/python-modules/toposort { }; 10923 + 10924 + torch = callPackage ../development/python-modules/torch { 10925 + cudaSupport = pkgs.config.cudaSupport or false; 10926 + inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices; 10927 + inherit (pkgs.darwin) libobjc; 10928 + }; 10929 + 10930 + torch-bin = callPackage ../development/python-modules/torch/bin.nix { }; 10931 + 10932 + 10933 + torchWithCuda = self.torch.override { 10934 + cudaSupport = true; 10935 + }; 10936 + 10937 + torchWithoutCuda = self.torch.override { 10938 + cudaSupport = false; 10939 + }; 10940 10941 torch-tb-profiler = callPackage ../development/python-modules/torch-tb-profiler/default.nix { }; 10942
+1 -1
pkgs/top-level/release-cuda.nix
··· 48 python3.pkgs.libgpuarray = linux; 49 python3.pkgs.tensorflowWithCuda = linux; 50 python3.pkgs.pyrealsense2WithCuda = linux; 51 - python3.pkgs.pytorchWithCuda = linux; 52 python3.pkgs.jaxlib = linux; 53 }) // (genAttrs packageSets evalPackageSet)); 54
··· 48 python3.pkgs.libgpuarray = linux; 49 python3.pkgs.tensorflowWithCuda = linux; 50 python3.pkgs.pyrealsense2WithCuda = linux; 51 + python3.pkgs.torchWithCuda = linux; 52 python3.pkgs.jaxlib = linux; 53 }) // (genAttrs packageSets evalPackageSet)); 54