Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
ad713fb8 5ee3e9f4

+662 -381
+6
maintainers/maintainer-list.nix
··· 5029 githubId = 222664; 5030 name = "Matthew Leach"; 5031 }; 5032 hh = { 5033 email = "hh@m-labs.hk"; 5034 github = "HarryMakes";
··· 5029 githubId = 222664; 5030 name = "Matthew Leach"; 5031 }; 5032 + hexchen = { 5033 + email = "nix@lilwit.ch"; 5034 + github = "hexchen"; 5035 + githubId = 41522204; 5036 + name = "hexchen"; 5037 + }; 5038 hh = { 5039 email = "hh@m-labs.hk"; 5040 github = "HarryMakes";
+9
nixos/modules/misc/version.nix
··· 146 "/etc/os-release".source = initrdRelease; 147 "/etc/initrd-release".source = initrdRelease; 148 }; 149 }; 150 151 # uses version info nixpkgs, which requires a full nixpkgs path
··· 146 "/etc/os-release".source = initrdRelease; 147 "/etc/initrd-release".source = initrdRelease; 148 }; 149 + 150 + # We have to use `warnings` because when warning in the default of the option 151 + # the warning would also be shown when building the manual since the manual 152 + # has to evaluate the default. 153 + # 154 + # TODO Remove this and drop the default of the option so people are forced to set it. 155 + # Doing this also means fixing the comment in nixos/modules/testing/test-instrumentation.nix 156 + warnings = lib.optional (options.system.stateVersion.highestPrio == (lib.mkOptionDefault { }).priority) 157 + "system.stateVersion is not set, defaulting to ${config.system.stateVersion}. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion."; 158 }; 159 160 # uses version info nixpkgs, which requires a full nixpkgs path
+1
nixos/modules/services/matrix/matrix-synapse.nix
··· 296 default = if lib.versionAtLeast config.system.stateVersion "22.05" 297 then "${cfg.dataDir}/media_store" 298 else "${cfg.dataDir}/media"; 299 description = '' 300 Directory where uploaded images and attachments are stored. 301 '';
··· 296 default = if lib.versionAtLeast config.system.stateVersion "22.05" 297 then "${cfg.dataDir}/media_store" 298 else "${cfg.dataDir}/media"; 299 + defaultText = "${cfg.dataDir}/media_store for when system.stateVersion is at least 22.05, ${cfg.dataDir}/media when lower than 22.05"; 300 description = '' 301 Directory where uploaded images and attachments are stored. 302 '';
+4 -4
nixos/modules/services/networking/pleroma.nix
··· 1 { config, options, lib, pkgs, stdenv, ... }: 2 let 3 cfg = config.services.pleroma; 4 - cookieFile = "/var/lib/pleroma/.cookie"; 5 in { 6 options = { 7 services.pleroma = with lib; { ··· 9 10 package = mkOption { 11 type = types.package; 12 - default = pkgs.pleroma.override { inherit cookieFile; }; 13 defaultText = literalExpression "pkgs.pleroma"; 14 description = "Pleroma package to use."; 15 }; ··· 101 after = [ "network-online.target" "postgresql.service" ]; 102 wantedBy = [ "multi-user.target" ]; 103 restartTriggers = [ config.environment.etc."/pleroma/config.exs".source ]; 104 serviceConfig = { 105 User = cfg.user; 106 Group = cfg.group; ··· 118 # Better be safe than sorry migration-wise. 119 ExecStartPre = 120 let preScript = pkgs.writers.writeBashBin "pleromaStartPre" '' 121 - if [ ! -f "${cookieFile}" ] || [ ! -s "${cookieFile}" ] 122 then 123 echo "Creating cookie file" 124 - dd if=/dev/urandom bs=1 count=16 | ${pkgs.hexdump}/bin/hexdump -e '16/1 "%02x"' > "${cookieFile}" 125 fi 126 ${cfg.package}/bin/pleroma_ctl migrate 127 '';
··· 1 { config, options, lib, pkgs, stdenv, ... }: 2 let 3 cfg = config.services.pleroma; 4 in { 5 options = { 6 services.pleroma = with lib; { ··· 8 9 package = mkOption { 10 type = types.package; 11 + default = pkgs.pleroma; 12 defaultText = literalExpression "pkgs.pleroma"; 13 description = "Pleroma package to use."; 14 }; ··· 100 after = [ "network-online.target" "postgresql.service" ]; 101 wantedBy = [ "multi-user.target" ]; 102 restartTriggers = [ config.environment.etc."/pleroma/config.exs".source ]; 103 + environment.RELEASE_COOKIE = "/var/lib/pleroma/.cookie"; 104 serviceConfig = { 105 User = cfg.user; 106 Group = cfg.group; ··· 118 # Better be safe than sorry migration-wise. 119 ExecStartPre = 120 let preScript = pkgs.writers.writeBashBin "pleromaStartPre" '' 121 + if [ ! -f /var/lib/pleroma/.cookie ] 122 then 123 echo "Creating cookie file" 124 + dd if=/dev/urandom bs=1 count=16 | hexdump -e '16/1 "%02x"' > /var/lib/pleroma/.cookie 125 fi 126 ${cfg.package}/bin/pleroma_ctl migrate 127 '';
+3
nixos/modules/testing/test-instrumentation.nix
··· 129 # Make sure we use the Guest Agent from the QEMU package for testing 130 # to reduce the closure size required for the tests. 131 services.qemuGuest.package = pkgs.qemu_test.ga; 132 }; 133 134 }
··· 129 # Make sure we use the Guest Agent from the QEMU package for testing 130 # to reduce the closure size required for the tests. 131 services.qemuGuest.package = pkgs.qemu_test.ga; 132 + 133 + # Squelch warning about unset system.stateVersion 134 + system.stateVersion = lib.mkDefault lib.trivial.release; 135 }; 136 137 }
+18 -2
nixos/tests/pleroma.nix
··· 32 # system one. Overriding this pretty bad default behaviour. 33 export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt 34 35 - echo "jamy-password" | toot login_cli -i "pleroma.nixos.test" -e "jamy@nixos.test" 36 echo "Login OK" 37 38 # Send a toot then verify it's part of the public timeline ··· 167 cp key.pem cert.pem $out 168 ''; 169 170 hosts = nodes: '' 171 ${nodes.pleroma.config.networking.primaryIPAddress} pleroma.nixos.test 172 ${nodes.client.config.networking.primaryIPAddress} client.nixos.test ··· 178 security.pki.certificateFiles = [ "${tls-cert}/cert.pem" ]; 179 networking.extraHosts = hosts nodes; 180 environment.systemPackages = with pkgs; [ 181 - toot 182 send-toot 183 ]; 184 };
··· 32 # system one. Overriding this pretty bad default behaviour. 33 export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt 34 35 + export TOOT_LOGIN_CLI_PASSWORD="jamy-password" 36 + toot login_cli -i "pleroma.nixos.test" -e "jamy@nixos.test" 37 echo "Login OK" 38 39 # Send a toot then verify it's part of the public timeline ··· 168 cp key.pem cert.pem $out 169 ''; 170 171 + /* Toot is preventing users from feeding login_cli a password non 172 + interactively. While it makes sense most of the times, it's 173 + preventing us to login in this non-interactive test. This patch 174 + introduce a TOOT_LOGIN_CLI_PASSWORD env variable allowing us to 175 + provide a password to toot login_cli 176 + 177 + If https://github.com/ihabunek/toot/pull/180 gets merged at some 178 + point, feel free to remove this patch. */ 179 + custom-toot = pkgs.toot.overrideAttrs(old:{ 180 + patches = [ (pkgs.fetchpatch { 181 + url = "https://github.com/NinjaTrappeur/toot/commit/b4a4c30f41c0cb7e336714c2c4af9bc9bfa0c9f2.patch"; 182 + sha256 = "sha256-0xxNwjR/fStLjjUUhwzCCfrghRVts+fc+fvVJqVcaFg="; 183 + }) ]; 184 + }); 185 + 186 hosts = nodes: '' 187 ${nodes.pleroma.config.networking.primaryIPAddress} pleroma.nixos.test 188 ${nodes.client.config.networking.primaryIPAddress} client.nixos.test ··· 194 security.pki.certificateFiles = [ "${tls-cert}/cert.pem" ]; 195 networking.extraHosts = hosts nodes; 196 environment.systemPackages = with pkgs; [ 197 + custom-toot 198 send-toot 199 ]; 200 };
+4 -13
pkgs/applications/editors/gnome-latex/default.nix
··· 1 - { lib 2 - , stdenv 3 , fetchurl 4 - , fetchpatch 5 , autoreconfHook 6 , gtk-doc 7 , vala ··· 22 }: 23 24 stdenv.mkDerivation rec { 25 - version = "3.38.0"; 26 pname = "gnome-latex"; 27 28 src = fetchurl { 29 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 - sha256 = "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8"; 31 }; 32 - 33 - patches = [ 34 - # Fix build with latest tepl. 35 - (fetchpatch { 36 - url = "https://gitlab.gnome.org/Archive/gnome-latex/commit/e1b01186f8a4e5d3fee4c9ccfbedd6d098517df9.patch"; 37 - sha256 = "H8cbp5hDZoXytEdKE2D/oYHNKIbEFwxQoEaC4JMfGHY="; 38 - }) 39 - ]; 40 41 nativeBuildInputs = [ 42 pkg-config
··· 1 + { stdenv 2 + , lib 3 , fetchurl 4 , autoreconfHook 5 , gtk-doc 6 , vala ··· 21 }: 22 23 stdenv.mkDerivation rec { 24 + version = "3.40.0"; 25 pname = "gnome-latex"; 26 27 src = fetchurl { 28 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + sha256 = "xad/55vUDjeOooyPRaZjJ/vIzFw7W48PCcAhfufMCpA="; 30 }; 31 32 nativeBuildInputs = [ 33 pkg-config
+12
pkgs/applications/editors/vscode/extensions/default.nix
··· 79 }; 80 }; 81 82 alefragnani.project-manager = buildVscodeMarketplaceExtension { 83 mktplcRef = { 84 name = "project-manager";
··· 79 }; 80 }; 81 82 + alefragnani.bookmarks = buildVscodeMarketplaceExtension { 83 + mktplcRef = { 84 + name = "bookmarks"; 85 + publisher = "alefragnani"; 86 + version = "13.0.1"; 87 + sha256 = "sha256-4IZCPNk7uBqPw/FKT5ypU2QxadQzYfwbGxxT/bUnKdE="; 88 + }; 89 + meta = { 90 + license = lib.licenses.gpl3; 91 + }; 92 + }; 93 + 94 alefragnani.project-manager = buildVscodeMarketplaceExtension { 95 mktplcRef = { 96 name = "project-manager";
+6 -6
pkgs/applications/editors/vscode/vscode.nix
··· 14 archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; 15 16 sha256 = { 17 - x86_64-linux = "1si0r8nww5m3yn3vzw0pk3nykfvxnlwna4pp11bsli4vqj1ym2nz"; 18 - x86_64-darwin = "002rkvc8fa7r9x2dsjhkwzmc1sp5mq998frrw5xd6bym0cp4j76l"; 19 - aarch64-linux = "0w9gjk2a5z8cqlg43jn2r588asymiklm1b28l54gvqp7jawlb0fd"; 20 - aarch64-darwin = "18h2kk6fcdz38xzyn37brbbj4nbrjgzv9xsz7c7iai8d01vh7s33"; 21 - armv7l-linux = "16cs2ald40nh76m3fxxfd233hr687dhwbqdkvjz4s6xxwi0rhvwc"; 22 }.${system}; 23 in 24 callPackage ./generic.nix rec { 25 # Please backport all compatible updates to the stable release. 26 # This is important for the extension ecosystem. 27 - version = "1.66.2"; 28 pname = "vscode"; 29 30 executableName = "code" + lib.optionalString isInsiders "-insiders";
··· 14 archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; 15 16 sha256 = { 17 + x86_64-linux = "0ss7c0dvlgnfqi0snhx73ndzjbw24xz6pcny4v52mrd1kfhcmpvd"; 18 + x86_64-darwin = "0ds5jv5q6k1hzrwhcgkyvx0ls9p1q7zh0fqigpxandx6ysrd7cga"; 19 + aarch64-linux = "12zz02hdhhw19rx9kbi3yd5x81w1vs8vxjrnqqvva8bj0jnwf4iq"; 20 + aarch64-darwin = "07ws2dc2il7ky77j5pxaxqp5cyw0v04jnv98z1494pdmxyn8gf7q"; 21 + armv7l-linux = "0khyzc69rbfz2pnbab9v3as1hdzkzxfg3mxvf6g7ax9npvsrqw92"; 22 }.${system}; 23 in 24 callPackage ./generic.nix rec { 25 # Please backport all compatible updates to the stable release. 26 # This is important for the extension ecosystem. 27 + version = "1.67.0"; 28 pname = "vscode"; 29 30 executableName = "code" + lib.optionalString isInsiders "-insiders";
+2 -2
pkgs/applications/graphics/drawio/default.nix
··· 11 12 stdenv.mkDerivation rec { 13 pname = "drawio"; 14 - version = "17.4.2"; 15 16 src = fetchurl { 17 url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; 18 - sha256 = "294f99d9060bc394490b20d2ddab75ed5c0166d7960850f065eb8897ef31a2e3"; 19 }; 20 21 nativeBuildInputs = [
··· 11 12 stdenv.mkDerivation rec { 13 pname = "drawio"; 14 + version = "18.0.1"; 15 16 src = fetchurl { 17 url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; 18 + sha256 = "4f3893f53e47a3937320676e02337a61c358c684d5cd0b378809b3d7deab0139"; 19 }; 20 21 nativeBuildInputs = [
+6 -4
pkgs/applications/networking/instant-messengers/alfaview/default.nix
··· 1 - { stdenv, lib, fetchurl, dpkg, autoPatchelfHook, makeWrapper 2 , alsa-lib, dbus, fontconfig, freetype, glib, gst_all_1, libGL 3 , libinput, libpulseaudio, libsecret, libtiff, libxkbcommon 4 , mesa, openssl, systemd, xorg }: 5 6 stdenv.mkDerivation rec { 7 pname = "alfaview"; 8 - version = "8.42.0"; 9 10 src = fetchurl { 11 url = "https://production-alfaview-assets.alfaview.com/stable/linux/${pname}_${version}.deb"; 12 - sha256 = "sha256-O440sk6OJUsO+5TuzLxkUELnCfxKd5byoxSD+Rs4h1c="; 13 }; 14 15 nativeBuildInputs = [ 16 dpkg 17 makeWrapper 18 autoPatchelfHook 19 ]; 20 21 buildInputs = [ ··· 25 freetype 26 glib 27 gst_all_1.gst-plugins-bad 28 gst_all_1.gst-plugins-base 29 libGL 30 libinput ··· 72 description = "Video-conferencing application, specialized in virtual online meetings, seminars, training sessions and conferences"; 73 homepage = "https://alfaview.com"; 74 license = licenses.unfree; 75 - maintainers = with maintainers; [ wolfangaukang ]; 76 platforms = [ "x86_64-linux" ]; 77 }; 78 }
··· 1 + { stdenv, lib, fetchurl, dpkg, autoPatchelfHook, makeWrapper, wrapGAppsHook 2 , alsa-lib, dbus, fontconfig, freetype, glib, gst_all_1, libGL 3 , libinput, libpulseaudio, libsecret, libtiff, libxkbcommon 4 , mesa, openssl, systemd, xorg }: 5 6 stdenv.mkDerivation rec { 7 pname = "alfaview"; 8 + version = "8.43.0"; 9 10 src = fetchurl { 11 url = "https://production-alfaview-assets.alfaview.com/stable/linux/${pname}_${version}.deb"; 12 + sha256 = "sha256-Rm1U3gxrToNCigL5AomftSUED7X3i7a6enmFnEzWV4c="; 13 }; 14 15 nativeBuildInputs = [ 16 dpkg 17 makeWrapper 18 autoPatchelfHook 19 + wrapGAppsHook 20 ]; 21 22 buildInputs = [ ··· 26 freetype 27 glib 28 gst_all_1.gst-plugins-bad 29 + gst_all_1.gst-plugins-good 30 gst_all_1.gst-plugins-base 31 libGL 32 libinput ··· 74 description = "Video-conferencing application, specialized in virtual online meetings, seminars, training sessions and conferences"; 75 homepage = "https://alfaview.com"; 76 license = licenses.unfree; 77 + maintainers = with maintainers; [ wolfangaukang hexchen ]; 78 platforms = [ "x86_64-linux" ]; 79 }; 80 }
+3 -3
pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix
··· 3 4 stdenv.mkDerivation rec { 5 pname = "tutanota-desktop"; 6 - version = "3.91.10"; 7 8 src = fetchurl { 9 - url = "https://github.com/tutao/tutanota/releases/download/tutanota-release-${version}/${pname}-${version}-unpacked-linux.tar.gz"; 10 name = "tutanota-desktop-${version}.tar.gz"; 11 - sha256 = "sha256-RlEgpXco0lkkjlJ8FZz4MxYznKLPl1Lxkb5MSmhOTzI="; 12 }; 13 14 nativeBuildInputs = [
··· 3 4 stdenv.mkDerivation rec { 5 pname = "tutanota-desktop"; 6 + version = "3.95.4"; 7 8 src = fetchurl { 9 + url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/${pname}-${version}-unpacked-linux.tar.gz"; 10 name = "tutanota-desktop-${version}.tar.gz"; 11 + sha256 = "0kkkp0nw4fby4663w7g0k2y1sg89pm336slzii1s3n70h8cak3dx"; 12 }; 13 14 nativeBuildInputs = [
+5 -5
pkgs/applications/version-management/gitlab/data.json
··· 1 { 2 - "version": "14.10.1", 3 - "repo_hash": "13868wb0zr862xaxapp8nxh16gjsawklw66rlxx95bhhm3r81nrp", 4 "yarn_hash": "17wxqvig34namf8kvh8bwci3y0f3k2nl4zs99jcvskdad9p45rlc", 5 "owner": "gitlab-org", 6 "repo": "gitlab", 7 - "rev": "v14.10.1-ee", 8 "passthru": { 9 - "GITALY_SERVER_VERSION": "14.10.1", 10 "GITLAB_PAGES_VERSION": "1.56.1", 11 "GITLAB_SHELL_VERSION": "13.25.1", 12 - "GITLAB_WORKHORSE_VERSION": "14.10.1" 13 } 14 }
··· 1 { 2 + "version": "14.10.2", 3 + "repo_hash": "0f7cfc1wrzz4m5yhd6jnp3dqpdy7vbj8bf826zjsi2ss48430bk0", 4 "yarn_hash": "17wxqvig34namf8kvh8bwci3y0f3k2nl4zs99jcvskdad9p45rlc", 5 "owner": "gitlab-org", 6 "repo": "gitlab", 7 + "rev": "v14.10.2-ee", 8 "passthru": { 9 + "GITALY_SERVER_VERSION": "14.10.2", 10 "GITLAB_PAGES_VERSION": "1.56.1", 11 "GITLAB_SHELL_VERSION": "13.25.1", 12 + "GITLAB_WORKHORSE_VERSION": "14.10.2" 13 } 14 }
+2 -2
pkgs/applications/version-management/gitlab/gitaly/default.nix
··· 11 gemdir = ./.; 12 }; 13 14 - version = "14.10.1"; 15 gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; 16 in 17 ··· 23 owner = "gitlab-org"; 24 repo = "gitaly"; 25 rev = "v${version}"; 26 - sha256 = "sha256-4TbCfe41Nea1p0aDqGbF4SskUl5r9LRHKA16DH97jMI="; 27 }; 28 29 vendorSha256 = "sha256-ZL61t+Ii2Ns3TmitiF93exinod54+RCqrbdpU67HeY0=";
··· 11 gemdir = ./.; 12 }; 13 14 + version = "14.10.2"; 15 gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; 16 in 17 ··· 23 owner = "gitlab-org"; 24 repo = "gitaly"; 25 rev = "v${version}"; 26 + sha256 = "sha256-hLTzkW5GDq1AgTwe1pVj6Tiyd0JpJ76ATFu3Q+m9MVg="; 27 }; 28 29 vendorSha256 = "sha256-ZL61t+Ii2Ns3TmitiF93exinod54+RCqrbdpU67HeY0=";
+1 -1
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 - version = "14.10.1"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 + version = "14.10.2"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
+2 -2
pkgs/applications/video/ffmpeg-normalize/default.nix
··· 7 8 buildPythonApplication rec { 9 pname = "ffmpeg-normalize"; 10 - version = "1.22.9"; 11 12 src = fetchPypi { 13 inherit pname version; 14 - sha256 = "sha256-RBrCIDinPXbXKqrrhqVf3rV4rfi+2PttIaYxUKOk7hs="; 15 }; 16 17 propagatedBuildInputs = [ ffmpeg ffmpeg-progress-yield ];
··· 7 8 buildPythonApplication rec { 9 pname = "ffmpeg-normalize"; 10 + version = "1.22.10"; 11 12 src = fetchPypi { 13 inherit pname version; 14 + sha256 = "sha256-F058lCuIxH0lqJlPrWIznu2Ks2w+KXrTnJD7CmYSZFU="; 15 }; 16 17 propagatedBuildInputs = [ ffmpeg ffmpeg-progress-yield ];
+3 -3
pkgs/applications/virtualization/docker/compose.nix
··· 2 3 buildGoModule rec { 4 pname = "docker-compose"; 5 - version = "2.4.1"; 6 7 src = fetchFromGitHub { 8 owner = "docker"; 9 repo = "compose"; 10 rev = "v${version}"; 11 - sha256 = "sha256-6yc+7Fc22b8xN8thRrxxpjdEz19aBYCWxgkh/nra784="; 12 }; 13 14 - vendorSha256 = "sha256-N+paN3zEXzzUFb2JPVIDZYZ0h0iu7naiw4pSVnGsuKQ="; 15 16 ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "docker-compose"; 5 + version = "2.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "docker"; 9 repo = "compose"; 10 rev = "v${version}"; 11 + sha256 = "sha256-gb2XFIzYU1dZh8WPheb4073AOLdfT7CbBD89HxobY9Y="; 12 }; 13 14 + vendorSha256 = "sha256-2pWBMXVnmKE4D7JXaKOqtuCz7nsX2a/58lyLp58OTYI="; 15 16 ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ]; 17
+8 -8
pkgs/applications/virtualization/docker/default.nix
··· 186 export BUILDTIME="1970-01-01T00:00:00Z" 187 source ./scripts/build/.variables 188 export CGO_ENABLED=1 189 - go build -tags pkcs11 --ldflags "$LDFLAGS" github.com/docker/cli/cmd/docker 190 cd - 191 ''; 192 ··· 243 # Get revisions from 244 # https://github.com/moby/moby/tree/${version}/hack/dockerfile/install/* 245 docker_20_10 = callPackage dockerGen rec { 246 - version = "20.10.14"; 247 rev = "v${version}"; 248 - sha256 = "sha256-eDwgqFx4io++SMOjhxMxVzqzcOgOnv6Xe/qmmPCvZts="; 249 moby-src = fetchFromGitHub { 250 owner = "moby"; 251 repo = "moby"; 252 rev = "v${version}"; 253 - sha256 = "sha256-I5oxpFLH789I2Sb29OXDaM4fCbQT/KvPq0DYcAVp0aI="; 254 }; 255 - runcRev = "v1.0.3"; 256 - runcSha256 = "sha256-Tl/JKbIpao+FCjngPzaVkxse50zo3XQ9Mg/AdkblMcI="; 257 - containerdRev = "v1.5.11"; 258 - containerdSha256 = "sha256-YzFtv6DIjImSK0SywxhZrEeEmCnHTceAi3pfwnPubKg="; 259 tiniRev = "v0.19.0"; 260 tiniSha256 = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI="; 261 };
··· 186 export BUILDTIME="1970-01-01T00:00:00Z" 187 source ./scripts/build/.variables 188 export CGO_ENABLED=1 189 + go build -tags pkcs11 --ldflags "$GO_LDFLAGS" github.com/docker/cli/cmd/docker 190 cd - 191 ''; 192 ··· 243 # Get revisions from 244 # https://github.com/moby/moby/tree/${version}/hack/dockerfile/install/* 245 docker_20_10 = callPackage dockerGen rec { 246 + version = "20.10.15"; 247 rev = "v${version}"; 248 + sha256 = "sha256-uzwnXDomho5/Px4Ou/zP8Vedo2J9hVfcaFzM9vWh2Mo="; 249 moby-src = fetchFromGitHub { 250 owner = "moby"; 251 repo = "moby"; 252 rev = "v${version}"; 253 + sha256 = "sha256-+Eds5WI+Ujz/VxkWb1ToaGLk7wROTwWwJYpiZRIxAf0"; 254 }; 255 + runcRev = "v1.1.1"; 256 + runcSha256 = "sha256-6g2km+Y45INo2MTWMFFQFhfF8DAR5Su+YrJS8k3LYBY="; 257 + containerdRev = "v1.6.4"; 258 + containerdSha256 = "sha256-425BcVHCliAHFQqGn6sWH/ahDX3JR6l/sYZWHpgmZW0="; 259 tiniRev = "v0.19.0"; 260 tiniSha256 = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI="; 261 };
+2
pkgs/desktops/gnome/apps/cheese/default.nix
··· 80 pipewire # PipeWire provides a gstreamer plugin for using PipeWire for video 81 ]; 82 83 postPatch = '' 84 chmod +x meson_post_install.py 85 patchShebangs meson_post_install.py
··· 80 pipewire # PipeWire provides a gstreamer plugin for using PipeWire for video 81 ]; 82 83 + NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings"; 84 + 85 postPatch = '' 86 chmod +x meson_post_install.py 87 patchShebangs meson_post_install.py
+2
pkgs/desktops/gnome/apps/gnome-maps/default.nix
··· 69 webkitgtk 70 ]; 71 72 postPatch = '' 73 chmod +x meson_post_install.py # patchShebangs requires executable file 74 patchShebangs meson_post_install.py
··· 69 webkitgtk 70 ]; 71 72 + NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings"; 73 + 74 postPatch = '' 75 chmod +x meson_post_install.py # patchShebangs requires executable file 76 patchShebangs meson_post_install.py
+2
pkgs/desktops/gnome/apps/gnome-music/default.nix
··· 76 gst-plugins-ugly 77 ]); 78 79 pythonPath = with python3.pkgs; [ 80 pycairo 81 dbus-python
··· 76 gst-plugins-ugly 77 ]); 78 79 + NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings"; 80 + 81 pythonPath = with python3.pkgs; [ 82 pycairo 83 dbus-python
+2 -10
pkgs/desktops/gnome/core/gnome-control-center/default.nix
··· 2 , lib 3 , stdenv 4 , substituteAll 5 - , fetchpatch 6 , accountsservice 7 , adwaita-icon-theme 8 , colord ··· 64 65 stdenv.mkDerivation rec { 66 pname = "gnome-control-center"; 67 - version = "42.0"; 68 69 src = fetchurl { 70 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 71 - sha256 = "sha256-BzLvp8QXHOCg7UEGWAtM41pXsQFSwOo20jkTSRN3fto="; 72 }; 73 74 patches = [ ··· 78 gnome_desktop = gnome-desktop; 79 inherit glibc libgnomekbd tzdata; 80 inherit cups networkmanagerapplet; 81 - }) 82 - 83 - # Fix Online Accounts configuration on X11 84 - # https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1272 85 - (fetchpatch { 86 - url = "https://gitlab.gnome.org/GNOME/gnome-control-center/-/commit/7fe322b9cedae313cd9af6f403eab9bfc6027674.patch"; 87 - sha256 = "cv1abqv0Kbfkfu7mZzEaZKXPE85yVBcQbjNHW+8ODFE="; 88 }) 89 ]; 90
··· 2 , lib 3 , stdenv 4 , substituteAll 5 , accountsservice 6 , adwaita-icon-theme 7 , colord ··· 63 64 stdenv.mkDerivation rec { 65 pname = "gnome-control-center"; 66 + version = "42.1"; 67 68 src = fetchurl { 69 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 70 + sha256 = "sha256-+zCv+Q++HSrVYQfW6fX4pKOq82NbvYiSDXW1aLt3Z4U="; 71 }; 72 73 patches = [ ··· 77 gnome_desktop = gnome-desktop; 78 inherit glibc libgnomekbd tzdata; 79 inherit cups networkmanagerapplet; 80 }) 81 ]; 82
+2
pkgs/desktops/gnome/core/gnome-shell/default.nix
··· 175 pythonEnv 176 ]; 177 178 mesonFlags = [ 179 "-Dgtk_doc=true" 180 ];
··· 175 pythonEnv 176 ]; 177 178 + NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings"; 179 + 180 mesonFlags = [ 181 "-Dgtk_doc=true" 182 ];
+2
pkgs/desktops/gnome/core/totem/default.nix
··· 77 xvfb-run 78 ]; 79 80 mesonFlags = [ 81 # TODO: https://github.com/NixOS/nixpkgs/issues/36468 82 "-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
··· 77 xvfb-run 78 ]; 79 80 + NIX_CFLAGS_COMPILE = "-Wno-error=overlength-strings"; 81 + 82 mesonFlags = [ 83 # TODO: https://github.com/NixOS/nixpkgs/issues/36468 84 "-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
+3 -3
pkgs/development/compilers/gcc/11/Added-mcf-thread-model-support-from-mcfgthread.patch
··· 222 +#ifdef __USING_MCFGTHREAD__ 223 + 224 +#include <mcfgthread/gthread.h> 225 - + 226 +extern "C" int 227 - +__cxxabiv1::__cxa_thread_atexit (void (*dtor)(void *), 228 + void *obj, void *dso_handle) 229 + _GLIBCXX_NOTHROW 230 +{ 231 + return ::_MCFCRT_AtThreadExit((void (*)(_MCFCRT_STD intptr_t))dtor, (_MCFCRT_STD intptr_t)obj) ? 0 : -1; 232 + (void)dso_handle; 233 +} 234 - + 235 +#else // __USING_MCFGTHREAD__ 236 + 237 #ifdef _GLIBCXX_THREAD_ATEXIT_WIN32
··· 222 +#ifdef __USING_MCFGTHREAD__ 223 + 224 +#include <mcfgthread/gthread.h> 225 + +namespace __cxxabiv1 { 226 +extern "C" int 227 + +__cxa_thread_atexit (void (_GLIBCXX_CDTOR_CALLABI *dtor)(void *), 228 + void *obj, void *dso_handle) 229 + _GLIBCXX_NOTHROW 230 +{ 231 + return ::_MCFCRT_AtThreadExit((void (*)(_MCFCRT_STD intptr_t))dtor, (_MCFCRT_STD intptr_t)obj) ? 0 : -1; 232 + (void)dso_handle; 233 +} 234 + +} 235 +#else // __USING_MCFGTHREAD__ 236 + 237 #ifdef _GLIBCXX_THREAD_ATEXIT_WIN32
+2 -2
pkgs/development/compilers/vala/default.nix
··· 100 }; 101 102 vala_0_56 = generic { 103 - version = "0.56.0"; 104 - sha256 = "2SvRPFYwkF7rapg9y3AiBNqXMUYMKm5OOfhnmW83EEA="; 105 }; 106 107 vala = vala_0_54;
··· 100 }; 101 102 vala_0_56 = generic { 103 + version = "0.56.1"; 104 + sha256 = "xRi4Hf3agtHN9Yaz+bIyMWLLlr08taLANlDOoCXZH7k="; 105 }; 106 107 vala = vala_0_54;
-40
pkgs/development/interpreters/hy/builder.nix
··· 1 - { lib 2 - , python3Packages 3 - , hyDefinedPythonPackages /* Packages like with python.withPackages */ 4 - , ... 5 - }: 6 - python3Packages.buildPythonApplication rec { 7 - pname = "hy"; 8 - version = "1.0a1"; 9 - 10 - src = python3Packages.fetchPypi { 11 - inherit pname version; 12 - sha256 = "sha256-lCrbvbkeutSNmvvn/eHpTnJwPb5aEH7hWTXYSE+AJmU="; 13 - }; 14 - 15 - checkInputs = with python3Packages; [ flake8 pytest ]; 16 - 17 - propagatedBuildInputs = with python3Packages; [ 18 - appdirs 19 - astor 20 - clint 21 - colorama 22 - fastentrypoints 23 - funcparserlib 24 - rply 25 - pygments 26 - ] ++ (hyDefinedPythonPackages python3Packages); 27 - 28 - # Hy does not include tests in the source distribution from PyPI, so only test executable. 29 - checkPhase = '' 30 - $out/bin/hy --help > /dev/null 31 - ''; 32 - 33 - meta = with lib; { 34 - description = "A LISP dialect embedded in Python"; 35 - homepage = "https://hylang.org/"; 36 - license = licenses.mit; 37 - maintainers = with maintainers; [ nixy mazurel ]; 38 - platforms = platforms.all; 39 - }; 40 - }
···
-15
pkgs/development/interpreters/hy/default.nix
··· 1 - { lib 2 - , callPackage 3 - , hyDefinedPythonPackages ? python-packages: [] /* Packages like with python.withPackages */ 4 - }: 5 - let 6 - withPackages = ( 7 - python-packages: callPackage ./builder.nix { 8 - hyDefinedPythonPackages = python-packages; 9 - } 10 - ); 11 - in 12 - (withPackages hyDefinedPythonPackages) // { 13 - # Export withPackages function for hy customization 14 - inherit withPackages; 15 - }
···
+10 -3
pkgs/development/libraries/amtk/default.nix
··· 1 - { lib, stdenv 2 , fetchurl 3 , gtk3 4 , meson 5 , ninja 6 , pkg-config 7 , gobject-introspection 8 , gnome 9 , dbus 10 , xvfb-run ··· 12 13 stdenv.mkDerivation rec { 14 pname = "amtk"; 15 - version = "5.3.1"; 16 17 src = fetchurl { 18 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 19 - sha256 = "12v3nj1bb7507ndprjggq0hpz8k719b4bwvl8sm43p3ibmn27anm"; 20 }; 21 22 nativeBuildInputs = [ ··· 25 pkg-config 26 dbus 27 gobject-introspection 28 ]; 29 30 buildInputs = [
··· 1 + { stdenv 2 + , lib 3 , fetchurl 4 , gtk3 5 , meson 6 , ninja 7 , pkg-config 8 , gobject-introspection 9 + , gtk-doc 10 + , docbook-xsl-nons 11 , gnome 12 , dbus 13 , xvfb-run ··· 15 16 stdenv.mkDerivation rec { 17 pname = "amtk"; 18 + version = "5.4.0"; 19 + 20 + outputs = [ "out" "dev" "devdoc" ]; 21 22 src = fetchurl { 23 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + sha256 = "g10IUHo96sie91NRzOu0szWv/qNhuIvQ+mZ/QM53enA="; 25 }; 26 27 nativeBuildInputs = [ ··· 30 pkg-config 31 dbus 32 gobject-introspection 33 + gtk-doc 34 + docbook-xsl-nons 35 ]; 36 37 buildInputs = [
+2 -11
pkgs/development/libraries/babl/default.nix
··· 1 { stdenv 2 , lib 3 , fetchurl 4 - , fetchpatch 5 , meson 6 , ninja 7 , pkg-config ··· 12 13 stdenv.mkDerivation rec { 14 pname = "babl"; 15 - version = "0.1.90"; 16 17 outputs = [ "out" "dev" ]; 18 19 - patches = [ 20 - # Fix darwin build 21 - (fetchpatch { 22 - url = "https://gitlab.gnome.org/GNOME/babl/-/commit/33b18e74c9589fd4d5507ab88bd1fb19c15965dd.patch"; 23 - sha256 = "bEjjOjHGTF55o1z31G9GNDqERxn/7vUuWZQYHosSEBQ="; 24 - }) 25 - ]; 26 - 27 src = fetchurl { 28 url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 - sha256 = "sha256-bi67Y283WBWI49AkmbPS9p+axz40omL0KRHX9ZBqkkM="; 30 }; 31 32 nativeBuildInputs = [
··· 1 { stdenv 2 , lib 3 , fetchurl 4 , meson 5 , ninja 6 , pkg-config ··· 11 12 stdenv.mkDerivation rec { 13 pname = "babl"; 14 + version = "0.1.92"; 15 16 outputs = [ "out" "dev" ]; 17 18 src = fetchurl { 19 url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 20 + sha256 = "sha256-9mdzUCiUS2N1rRjxYKZM65P1x9zKqdh1HeNZd3SIosE="; 21 }; 22 23 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/glibmm/2.68.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "glibmm"; 16 - version = "2.72.0"; 17 18 outputs = [ "out" "dev" ]; 19 20 src = fetchurl { 21 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "sha256-eCkkvxNklvOHj9wqCqnvQPDFFeLD4FTK/6XS5SOAxx4="; 23 }; 24 25 nativeBuildInputs = [
··· 13 14 stdenv.mkDerivation rec { 15 pname = "glibmm"; 16 + version = "2.72.1"; 17 18 outputs = [ "out" "dev" ]; 19 20 src = fetchurl { 21 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 + sha256 = "sha256-KnZJooq13FOsTau3bJ9hWZ+8Yokjq2p910v2ddkVXNg="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/glibmm/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "glibmm"; 5 - version = "2.66.3"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "sha256-r7liAkkUhdP0QQLZghmhctotP563j848+5JVm6SW5Jk="; 10 }; 11 12 outputs = [ "out" "dev" ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "glibmm"; 5 + version = "2.66.4"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + sha256 = "sha256-GZrOVoLYGxWh1WVIC0qVBoLy22QCyKpd1yF9ce3/gdU="; 10 }; 11 12 outputs = [ "out" "dev" ];
+2 -2
pkgs/development/libraries/gnome-desktop/default.nix
··· 27 28 stdenv.mkDerivation rec { 29 pname = "gnome-desktop"; 30 - version = "42.0"; 31 32 outputs = [ "out" "dev" "devdoc" ]; 33 34 src = fetchurl { 35 url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major version}/${pname}-${version}.tar.xz"; 36 - sha256 = "sha256-88qik6Xob2zK0Y+BcnPbHGcGHmgNedg5qop1KOW7JtY="; 37 }; 38 39 patches = [
··· 27 28 stdenv.mkDerivation rec { 29 pname = "gnome-desktop"; 30 + version = "42.1"; 31 32 outputs = [ "out" "dev" "devdoc" ]; 33 34 src = fetchurl { 35 url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major version}/${pname}-${version}.tar.xz"; 36 + sha256 = "sha256-JDOrYG0kTDUk3luBIJTbimcPsR7Z/3GAwtAhrh/J/AU="; 37 }; 38 39 patches = [
+2 -2
pkgs/development/libraries/gtkmm/3.x.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "gtkmm"; 5 - version = "3.24.5"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "1ri2msp3cmzi6r65ghwb8gfavfaxv0axpwi3q60nm7v8hvg36qw5"; 10 }; 11 12 outputs = [ "out" "dev" ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "gtkmm"; 5 + version = "3.24.6"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 + sha256 = "Sz4ULpROFjO7oAiQBgXDQak8/XVaf6KgCwXQQTQfEdY="; 10 }; 11 12 outputs = [ "out" "dev" ];
+7 -3
pkgs/development/libraries/tepl/default.nix
··· 9 , gtksourceview4 10 , icu 11 , pkg-config 12 }: 13 14 stdenv.mkDerivation rec { 15 pname = "tepl"; 16 - version = "6.00.0"; 17 18 - outputs = [ "out" "dev" ]; 19 20 src = fetchurl { 21 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "0qvs7s86gqyyrzi0r5fbrj8zczlgv8xhdjswgbgc1afwjnl9fqx8"; 23 }; 24 25 nativeBuildInputs = [ ··· 27 ninja 28 gobject-introspection 29 pkg-config 30 ]; 31 32 buildInputs = [
··· 9 , gtksourceview4 10 , icu 11 , pkg-config 12 + , gtk-doc 13 + , docbook-xsl-nons 14 }: 15 16 stdenv.mkDerivation rec { 17 pname = "tepl"; 18 + version = "6.0.1"; 19 20 + outputs = [ "out" "dev" "devdoc" ]; 21 22 src = fetchurl { 23 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + sha256 = "J08Fa75V8wpq5EQq0i8VfQTTphtWjZC8hRF7txMgIME="; 25 }; 26 27 nativeBuildInputs = [ ··· 29 ninja 30 gobject-introspection 31 pkg-config 32 + gtk-doc 33 + docbook-xsl-nons 34 ]; 35 36 buildInputs = [
+2 -2
pkgs/development/libraries/xdg-desktop-portal/default.nix
··· 27 28 stdenv.mkDerivation rec { 29 pname = "xdg-desktop-portal"; 30 - version = "1.14.3"; 31 32 outputs = [ "out" "installedTests" ]; 33 ··· 35 owner = "flatpak"; 36 repo = pname; 37 rev = version; 38 - sha256 = "CDqTQQ8dOatOxDKR+HiVQgSJKxH6ZstskKdR84U/870="; 39 }; 40 41 nativeBuildInputs = [
··· 27 28 stdenv.mkDerivation rec { 29 pname = "xdg-desktop-portal"; 30 + version = "1.14.4"; 31 32 outputs = [ "out" "installedTests" ]; 33 ··· 35 owner = "flatpak"; 36 repo = pname; 37 rev = version; 38 + sha256 = "///X0inMi9Znuhjn9n0HlVLa5/kFWpKorKS8RY9WeYM="; 39 }; 40 41 nativeBuildInputs = [
+1
pkgs/development/ocaml-modules/janestreet/0.14.nix
··· 313 meta.description = "A library for building dynamic webapps, using Js_of_ocaml"; 314 buildInputs = [ js_of_ocaml-ppx ]; 315 propagatedBuildInputs = [ async_js incr_map incr_select virtual_dom ]; 316 }; 317 318 incr_map = janePackage {
··· 313 meta.description = "A library for building dynamic webapps, using Js_of_ocaml"; 314 buildInputs = [ js_of_ocaml-ppx ]; 315 propagatedBuildInputs = [ async_js incr_map incr_select virtual_dom ]; 316 + patches = [ ./incr_dom_jsoo_4_0.patch ]; 317 }; 318 319 incr_map = janePackage {
+24
pkgs/development/ocaml-modules/janestreet/incr_dom_jsoo_4_0.patch
···
··· 1 + diff --git a/src/js_misc.ml b/src/js_misc.ml 2 + index 65f7b44..bfef103 100644 3 + --- a/src/js_misc.ml 4 + +++ b/src/js_misc.ml 5 + @@ -28,17 +28,11 @@ type rows_or_columns = 6 + [@@deriving sexp, bin_io, variants, compare] 7 + 8 + let innerHeight () = 9 + - Js.Optdef.case 10 + - Dom_html.window##.innerHeight 11 + - (fun () -> Dom_html.document##.documentElement##.clientHeight) 12 + - Fn.id 13 + + Dom_html.window##.innerHeight 14 + ;; 15 + 16 + let innerWidth () = 17 + - Js.Optdef.case 18 + - Dom_html.window##.innerWidth 19 + - (fun () -> Dom_html.document##.documentElement##.clientWidth) 20 + - Fn.id 21 + + Dom_html.window##.innerWidth 22 + ;; 23 + 24 + let element_is_in_viewport (elt : Dom_html.element Js.t) =
+2 -2
pkgs/development/ocaml-modules/ocsigen-toolkit/default.nix
··· 5 stdenv.mkDerivation rec { 6 pname = "ocsigen-toolkit"; 7 name = "ocaml${ocaml.version}-${pname}-${version}"; 8 - version = "3.1.1"; 9 10 propagatedBuildInputs = [ calendar js_of_ocaml-ppx_deriving_json eliom ]; 11 nativeBuildInputs = [ ocaml findlib opaline eliom ]; ··· 25 owner = "ocsigen"; 26 repo = pname; 27 rev = version; 28 - sha256 = "sha256:1fm0vvccmjib9yj5m2760vhzb4z3392swlprp51az53g3vk4q218"; 29 }; 30 31 meta = {
··· 5 stdenv.mkDerivation rec { 6 pname = "ocsigen-toolkit"; 7 name = "ocaml${ocaml.version}-${pname}-${version}"; 8 + version = "3.2.0"; 9 10 propagatedBuildInputs = [ calendar js_of_ocaml-ppx_deriving_json eliom ]; 11 nativeBuildInputs = [ ocaml findlib opaline eliom ]; ··· 25 owner = "ocsigen"; 26 repo = pname; 27 rev = version; 28 + sha256 = "sha256:13n0y8a80bl94la4lnp9dr2x7b8plhm17g9zgf0l6x42g3886pw7"; 29 }; 30 31 meta = {
+2 -2
pkgs/development/python-modules/ailment/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "ailment"; 10 - version = "9.2.1"; 11 format = "pyproject"; 12 13 disabled = pythonOlder "3.6"; ··· 16 owner = "angr"; 17 repo = pname; 18 rev = "v${version}"; 19 - hash = "sha256-F0t4vVxi4KUUtIZc8FJD9+2qf1XA58haFfjmHwAQaWA="; 20 }; 21 22 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "ailment"; 10 + version = "9.2.2"; 11 format = "pyproject"; 12 13 disabled = pythonOlder "3.6"; ··· 16 owner = "angr"; 17 repo = pname; 18 rev = "v${version}"; 19 + hash = "sha256-JJ5wrjXazq0+6f4nccLRYaAgTg0d39REXmPHVchDzaE="; 20 }; 21 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/angr/default.nix
··· 46 47 buildPythonPackage rec { 48 pname = "angr"; 49 - version = "9.2.1"; 50 format = "pyproject"; 51 52 disabled = pythonOlder "3.6"; ··· 55 owner = pname; 56 repo = pname; 57 rev = "v${version}"; 58 - hash = "sha256-7t4NV1udBq3tK7czuKYUsQ+9tLahFM8DlUUBT3d6bco="; 59 }; 60 61 propagatedBuildInputs = [
··· 46 47 buildPythonPackage rec { 48 pname = "angr"; 49 + version = "9.2.2"; 50 format = "pyproject"; 51 52 disabled = pythonOlder "3.6"; ··· 55 owner = pname; 56 repo = pname; 57 rev = "v${version}"; 58 + hash = "sha256-aniLMNKfEqlVkniS2mSCaeXIOc0EC4zOR59kiGTNUWk="; 59 }; 60 61 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/angrop/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "angrop"; 12 - version = "9.2.1"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.6"; ··· 18 owner = "angr"; 19 repo = pname; 20 rev = "v${version}"; 21 - hash = "sha256-VhlsRd5IN8zF6aUU5Ji/ULkdecOpR+egU3vhYpi+KL8="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "angrop"; 12 + version = "9.2.2"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.6"; ··· 18 owner = "angr"; 19 repo = pname; 20 rev = "v${version}"; 21 + hash = "sha256-LCgY/eOtRulnMeYt96ZYI8vPyyM+jxjlkxTd8Cmnfe0="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/archinfo/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "archinfo"; 11 - version = "9.2.1"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.6"; ··· 17 owner = "angr"; 18 repo = pname; 19 rev = "v${version}"; 20 - hash = "sha256-RWdY7tzT5wDVjAn1QIkQm8b5lIo++VzktsYZxn8taeg="; 21 }; 22 23 checkInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "archinfo"; 11 + version = "9.2.2"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.6"; ··· 17 owner = "angr"; 18 repo = pname; 19 rev = "v${version}"; 20 + hash = "sha256-wJEipAlqBsP2tgsRDVDe1ZtiEg1uhpP+1P1VGU7tBBw="; 21 }; 22 23 checkInputs = [
+47
pkgs/development/python-modules/brunt/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchPypi 5 + , aiohttp 6 + , requests 7 + , pytestCheckHook 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "brunt"; 12 + version = "1.2.0"; 13 + 14 + disabled = pythonOlder "3.8"; 15 + 16 + format = "setuptools"; 17 + 18 + src = fetchPypi { 19 + inherit pname version; 20 + sha256 = "e704627dc7b9c0a50c67ae90f1d320b14f99f2b2fc9bf1ef0461b141dcf1bce9"; 21 + }; 22 + 23 + postPatch = '' 24 + sed -i '/--cov/d' setup.cfg 25 + ''; 26 + 27 + propagatedBuildInputs = [ 28 + aiohttp 29 + requests 30 + ]; 31 + 32 + checkInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + # tests require Brunt hardware 37 + doCheck = false; 38 + 39 + pythonImportsCheck = [ "brunt" ]; 40 + 41 + meta = { 42 + description = "Unofficial Python SDK for Brunt"; 43 + homepage = "https://github.com/eavanvalkenburg/brunt-api"; 44 + license = lib.licenses.mit; 45 + maintainers = with lib.maintainers; [ dotlambda ]; 46 + }; 47 + }
+15 -10
pkgs/development/python-modules/ciscoconfparse/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , poetry-core 5 - , passlib 6 - , dnspython 7 - , loguru 8 , toml 9 - , pytestCheckHook 10 }: 11 12 buildPythonPackage rec { 13 pname = "ciscoconfparse"; 14 - version = "1.6.36"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "mpenning"; 19 repo = pname; 20 rev = version; 21 - sha256 = "sha256-nIuuqAxz8eHEQRuH8nfYVQ+vGMmcDcARJLizoI5Mty8="; 22 }; 23 24 postPatch = '' ··· 45 ]; 46 47 disabledTests = [ 48 "test_dns_lookup" 49 "test_reverse_dns_lookup" 50 ]; 51 52 - pythonImportsCheck = [ "ciscoconfparse" ]; 53 54 meta = with lib; { 55 - description = 56 - "Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations"; 57 homepage = "https://github.com/mpenning/ciscoconfparse"; 58 license = licenses.gpl3Only; 59 - maintainers = [ maintainers.astro ]; 60 }; 61 }
··· 1 { lib 2 , buildPythonPackage 3 + , dnspython 4 , fetchFromGitHub 5 + , loguru 6 + , passlib 7 , poetry-core 8 + , pytestCheckHook 9 + , pythonOlder 10 , toml 11 }: 12 13 buildPythonPackage rec { 14 pname = "ciscoconfparse"; 15 + version = "1.6.40"; 16 format = "pyproject"; 17 + 18 + disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "mpenning"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-2j1AlCIwTxIjotZ0fSt1zhsgPfJTqJukZ6KQvh74NJ8="; 25 }; 26 27 postPatch = '' ··· 48 ]; 49 50 disabledTests = [ 51 + # Tests require network access 52 "test_dns_lookup" 53 "test_reverse_dns_lookup" 54 ]; 55 56 + pythonImportsCheck = [ 57 + "ciscoconfparse" 58 + ]; 59 60 meta = with lib; { 61 + description = "Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations"; 62 homepage = "https://github.com/mpenning/ciscoconfparse"; 63 license = licenses.gpl3Only; 64 + maintainers = with maintainers; [ astro ]; 65 }; 66 }
+2 -2
pkgs/development/python-modules/claripy/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "claripy"; 17 - version = "9.2.1"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.6"; ··· 23 owner = "angr"; 24 repo = pname; 25 rev = "v${version}"; 26 - hash = "sha256-pCqhSpZfX3u9vJ8Oy1yyicagBQYK5+jBVCEab0TnGA4="; 27 }; 28 29 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "claripy"; 17 + version = "9.2.2"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.6"; ··· 23 owner = "angr"; 24 repo = pname; 25 rev = "v${version}"; 26 + hash = "sha256-b07WygCR3IhRgyt7u1ipyyK4MM3TNeLW04WoZJ2eQZk="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/cle/default.nix
··· 15 16 let 17 # The binaries are following the argr projects release cycle 18 - version = "9.2.1"; 19 20 # Binary files from https://github.com/angr/binaries (only used for testing and only here) 21 binaries = fetchFromGitHub { ··· 37 owner = "angr"; 38 repo = pname; 39 rev = "v${version}"; 40 - hash = "sha256-OGdnrRFfx2LMMsw6giPC+4izWX603cYbpKHuslj4Gng="; 41 }; 42 43 propagatedBuildInputs = [
··· 15 16 let 17 # The binaries are following the argr projects release cycle 18 + version = "9.2.2"; 19 20 # Binary files from https://github.com/angr/binaries (only used for testing and only here) 21 binaries = fetchFromGitHub { ··· 37 owner = "angr"; 38 repo = pname; 39 rev = "v${version}"; 40 + hash = "sha256-vEnhoVxn/p4CNzfHFM1cKaQ3ESsJx5U4+Lz4/LDCtao="; 41 }; 42 43 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/dnachisel/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "dnachisel"; 18 - version = "3.2.8"; 19 20 src = fetchFromGitHub { 21 owner = "Edinburgh-Genome-Foundry"; 22 repo = "DnaChisel"; 23 - rev = "v${version}"; 24 - sha256 = "17jldscmsq5lwp3pnjlxg56k3vfpr7rj4qbcbzkzhphifrfgm729"; 25 }; 26 27 propagatedBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "dnachisel"; 18 + version = "3.2.9"; 19 20 src = fetchFromGitHub { 21 owner = "Edinburgh-Genome-Foundry"; 22 repo = "DnaChisel"; 23 + rev = "refs/tags/v${version}"; 24 + sha256 = "sha256-Fg0gkI+01xIt8LQmNmRzkzd4AObg/99x34y5NclMtDQ="; 25 }; 26 27 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/flametree/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "flametree"; 13 - version = "0.1.11"; 14 15 src = fetchFromGitHub { 16 owner = "Edinburgh-Genome-Foundry"; 17 repo = "Flametree"; 18 - rev = "v${version}"; 19 - sha256 = "1ynrk1ivl1vjiga0ayl8k89vs5il7i0pf9jz2ycn771c47szwk4x"; 20 }; 21 22 checkInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "flametree"; 13 + version = "0.1.12"; 14 15 src = fetchFromGitHub { 16 owner = "Edinburgh-Genome-Foundry"; 17 repo = "Flametree"; 18 + rev = "refs/tags/v${version}"; 19 + sha256 = "sha256-oyiuhsYouGDKRssKc0aYIoG32H7GS6Bn4RtI7/9N158="; 20 }; 21 22 checkInputs = [
+34 -9
pkgs/development/python-modules/hy/default.nix
··· 4 , colorama 5 , fetchFromGitHub 6 , funcparserlib 7 , pytestCheckHook 8 , pythonOlder 9 , rply 10 }: 11 12 buildPythonPackage rec { 13 pname = "hy"; 14 - version = "1.0a3"; 15 16 - disabled = pythonOlder "3.6"; 17 18 src = fetchFromGitHub { 19 owner = "hylang"; 20 repo = pname; 21 rev = version; 22 - sha256 = "1dqw24rvsps2nab1pbjjm1c81vrs34r4kkk691h3xdyxnv9hb84b"; 23 }; 24 25 propagatedBuildInputs = [ 26 colorama 27 funcparserlib 28 - rply 29 - ] ++ lib.optionals (pythonOlder "3.9") [ 30 astor 31 - ]; 32 33 checkInputs = [ 34 pytestCheckHook ··· 43 44 pythonImportsCheck = [ "hy" ]; 45 46 meta = with lib; { 47 - description = "Python to/from Lisp layer"; 48 - homepage = "https://github.com/hylang/hy"; 49 license = licenses.mit; 50 - maintainers = with maintainers; [ fab ]; 51 }; 52 }
··· 4 , colorama 5 , fetchFromGitHub 6 , funcparserlib 7 + , hy 8 , pytestCheckHook 9 + , python 10 , pythonOlder 11 , rply 12 + , testers 13 + , toPythonApplication 14 + , hyDefinedPythonPackages ? python-packages: [ ] /* Packages like with python.withPackages */ 15 }: 16 17 buildPythonPackage rec { 18 pname = "hy"; 19 + version = "1.0a4"; 20 + format = "setuptools"; 21 22 + disabled = pythonOlder "3.7"; 23 24 src = fetchFromGitHub { 25 owner = "hylang"; 26 repo = pname; 27 rev = version; 28 + sha256 = "sha256-MBzp3jqBg/kH233wcgYYHc+Yg9GuOaBsXIfjFDihD1E="; 29 }; 30 31 + # https://github.com/hylang/hy/blob/1.0a4/get_version.py#L9-L10 32 + HY_VERSION = version; 33 + 34 propagatedBuildInputs = [ 35 colorama 36 funcparserlib 37 + rply # TODO: remove on the next release 38 + ] 39 + ++ lib.optionals (pythonOlder "3.9") [ 40 astor 41 + ] 42 + # for backwards compatibility with removed pkgs/development/interpreters/hy 43 + # See: https://github.com/NixOS/nixpkgs/issues/171428 44 + ++ (hyDefinedPythonPackages python.pkgs); 45 46 checkInputs = [ 47 pytestCheckHook ··· 56 57 pythonImportsCheck = [ "hy" ]; 58 59 + passthru = { 60 + tests.version = testers.testVersion { 61 + package = hy; 62 + command = "hy -v"; 63 + }; 64 + # also for backwards compatibility with removed pkgs/development/interpreters/hy 65 + withPackages = python-packages: (toPythonApplication hy).override { 66 + hyDefinedPythonPackages = python-packages; 67 + }; 68 + }; 69 + 70 meta = with lib; { 71 + description = "A LISP dialect embedded in Python"; 72 + homepage = "https://hylang.org/"; 73 + changelog = "https://github.com/hylang/hy/releases/tag/${version}"; 74 license = licenses.mit; 75 + maintainers = with maintainers; [ fab mazurel nixy thiagokokada ]; 76 }; 77 }
+43
pkgs/development/python-modules/hyrule/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , hy 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "hyrule"; 11 + version = "0.1"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "hylang"; 18 + repo = pname; 19 + rev = version; 20 + sha256 = "sha256-sqS5vOcbln+Vfv/Ji/8rJ4GTQpXIuhgf+MukjV0Kkuw="; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + hy 25 + ]; 26 + 27 + checkInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + # Some tests depends on hy on PATH 32 + preCheck = "PATH=${hy}/bin:$PATH"; 33 + 34 + pythonImportsCheck = [ "hyrule" ]; 35 + 36 + meta = with lib; { 37 + description = "Hyrule is a utility library for the Hy programming language"; 38 + homepage = "https://github.com/hylang/hyrule"; 39 + changelog = "https://github.com/hylang/hylure/releases/tag/${version}"; 40 + license = licenses.mit; 41 + maintainers = with maintainers; [ thiagokokada ]; 42 + }; 43 + }
+2 -1
pkgs/development/python-modules/jupyter-sphinx/default.nix
··· 5 , sphinx 6 , ipywidgets 7 , pythonOlder 8 }: 9 10 buildPythonPackage rec { ··· 17 sha256 = "37fc9408385c45326ac79ca0452fbd7ae2bf0e97842d626d2844d4830e30aaf2"; 18 }; 19 20 - propagatedBuildInputs = [ nbformat sphinx ipywidgets ]; 21 22 doCheck = false; 23
··· 5 , sphinx 6 , ipywidgets 7 , pythonOlder 8 + , nbconvert 9 }: 10 11 buildPythonPackage rec { ··· 18 sha256 = "37fc9408385c45326ac79ca0452fbd7ae2bf0e97842d626d2844d4830e30aaf2"; 19 }; 20 21 + propagatedBuildInputs = [ nbconvert nbformat sphinx ipywidgets ]; 22 23 doCheck = false; 24
+2
pkgs/development/python-modules/jupyter_server/default.nix
··· 10 , jinja2 11 , tornado 12 , pyzmq 13 , ipython_genutils 14 , traitlets 15 , jupyter_core ··· 62 ]; 63 64 checkInputs = [ 65 pytestCheckHook 66 pytest-tornasync 67 requests
··· 10 , jinja2 11 , tornado 12 , pyzmq 13 + , ipykernel 14 , ipython_genutils 15 , traitlets 16 , jupyter_core ··· 63 ]; 64 65 checkInputs = [ 66 + ipykernel 67 pytestCheckHook 68 pytest-tornasync 69 requests
+30 -35
pkgs/development/python-modules/nbconvert/default.nix
··· 1 - { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , pytestCheckHook 5 - , glibcLocales 6 - , entrypoints 7 - , bleach 8 , mistune 9 , nbclient 10 - , jinja2 11 - , pygments 12 - , traitlets 13 - , jupyter_core 14 - , jupyterlab-pygments 15 - , nbformat 16 - , ipykernel 17 , pandocfilters 18 - , tornado 19 - , jupyter-client 20 - , defusedxml 21 , tinycss2 22 - , beautifulsoup4 23 }: 24 25 buildPythonPackage rec { ··· 42 substituteAllInPlace ./nbconvert/exporters/templateexporter.py 43 ''; 44 45 - checkInputs = [ pytestCheckHook glibcLocales ]; 46 - 47 propagatedBuildInputs = [ 48 - entrypoints bleach mistune jinja2 pygments traitlets 49 - jupyter_core nbformat ipykernel pandocfilters tornado jupyter-client 50 - defusedxml tinycss2 beautifulsoup4 51 nbclient 52 - jupyterlab-pygments 53 ]; 54 55 - # disable preprocessor tests for ipython 7 56 - # see issue https://github.com/jupyter/nbconvert/issues/898 57 preCheck = '' 58 - export LC_ALL=en_US.UTF-8 59 - HOME=$(mktemp -d) 60 ''; 61 62 - pytestFlagsArray = [ 63 - "--ignore=nbconvert/preprocessors/tests/test_execute.py" 64 - # can't resolve template paths within sandbox 65 - "--ignore=nbconvert/tests/base.py" 66 - "--ignore=nbconvert/tests/test_nbconvertapp.py" 67 ]; 68 69 70 disabledTests = [ 71 "test_export" 72 - "test_webpdf_without_chromium" 73 - #"test_cell_tag_output" 74 - #"test_convert_from_stdin" 75 - #"test_convert_full_qualified_name" 76 ]; 77 78 # Some of the tests use localhost networking.
··· 1 + { beautifulsoup4 2 + , bleach 3 , buildPythonPackage 4 + , defusedxml 5 , fetchPypi 6 + , ipywidgets 7 + , jinja2 8 + , jupyterlab-pygments 9 + , lib 10 + , markupsafe 11 , mistune 12 , nbclient 13 , pandocfilters 14 + , pyppeteer 15 + , pytestCheckHook 16 , tinycss2 17 }: 18 19 buildPythonPackage rec { ··· 36 substituteAllInPlace ./nbconvert/exporters/templateexporter.py 37 ''; 38 39 propagatedBuildInputs = [ 40 + beautifulsoup4 41 + bleach 42 + defusedxml 43 + jinja2 44 + jupyterlab-pygments 45 + markupsafe 46 + mistune 47 nbclient 48 + pandocfilters 49 + tinycss2 50 ]; 51 52 preCheck = '' 53 + export HOME=$(mktemp -d) 54 ''; 55 56 + checkInputs = [ 57 + ipywidgets 58 + pyppeteer 59 + pytestCheckHook 60 ]; 61 62 + pytestFlagsArray = [ 63 + # DeprecationWarning: Support for bleach <5 will be removed in a future version of nbconvert 64 + "-W ignore::DeprecationWarning" 65 + ]; 66 67 disabledTests = [ 68 + # Attempts network access (Failed to establish a new connection: [Errno -3] Temporary failure in name resolution) 69 "test_export" 70 + "test_webpdf_with_chromium" 71 ]; 72 73 # Some of the tests use localhost networking.
+2 -1
pkgs/development/python-modules/pweave/default.nix
··· 7 , nbconvert 8 , markdown 9 , isPy3k 10 }: 11 12 buildPythonPackage rec { ··· 21 disabled = !isPy3k; 22 23 buildInputs = [ mock pkgs.glibcLocales ]; 24 - propagatedBuildInputs = [ matplotlib nbconvert markdown ]; 25 26 # fails due to trying to run CSS as test 27 doCheck = false;
··· 7 , nbconvert 8 , markdown 9 , isPy3k 10 + , ipykernel 11 }: 12 13 buildPythonPackage rec { ··· 22 disabled = !isPy3k; 23 24 buildInputs = [ mock pkgs.glibcLocales ]; 25 + propagatedBuildInputs = [ ipykernel matplotlib nbconvert markdown ]; 26 27 # fails due to trying to run CSS as test 28 doCheck = false;
+2 -2
pkgs/development/python-modules/pyupgrade/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "pyupgrade"; 11 - version = "2.32.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; ··· 17 owner = "asottile"; 18 repo = pname; 19 rev = "v${version}"; 20 - sha256 = "sha256-VSGi93R8O0LGKFBkWMclje64suOqq/Gf2vE2OHXLP5Q="; 21 }; 22 23 checkInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "pyupgrade"; 11 + version = "2.32.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; ··· 17 owner = "asottile"; 18 repo = pname; 19 rev = "v${version}"; 20 + sha256 = "sha256-fjahaMetgZaH+IzdyaZSkVbasgc0bqQL+1ae0OJriT0="; 21 }; 22 23 checkInputs = [
+2 -2
pkgs/development/python-modules/pyvex/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "pyvex"; 15 - version = "9.2.1"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-b6LZJmAyxklvZxvane19dK/kQfbLPjkk29RydiWMZCY="; 23 }; 24 25 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "pyvex"; 15 + version = "9.2.2"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-jfquDFZylrrtYb3PbDmLDy7wHcvM8H2nIv4dRqRvY2U="; 23 }; 24 25 propagatedBuildInputs = [
+4
pkgs/development/python-modules/scrapy/default.nix
··· 31 buildPythonPackage rec { 32 pname = "scrapy"; 33 version = "2.6.1"; 34 disabled = pythonOlder "3.6"; 35 36 src = fetchPypi { ··· 92 "test_nested_xpath" 93 "test_flavor_detection" 94 # Requires network access 95 "FTPFeedStorageTest" 96 "FeedExportTest" 97 "test_custom_asyncio_loop_enabled_true" ··· 99 "test_custom_loop_asyncio_deferred_signal" 100 "FileFeedStoragePreFeedOptionsTest" # https://github.com/scrapy/scrapy/issues/5157 101 "test_timeout_download_from_spider_nodata_rcvd" 102 # Fails with AssertionError 103 "test_peek_fifo" 104 "test_peek_one_element"
··· 31 buildPythonPackage rec { 32 pname = "scrapy"; 33 version = "2.6.1"; 34 + format = "setuptools"; 35 + 36 disabled = pythonOlder "3.6"; 37 38 src = fetchPypi { ··· 94 "test_nested_xpath" 95 "test_flavor_detection" 96 # Requires network access 97 + "AnonymousFTPTestCase" 98 "FTPFeedStorageTest" 99 "FeedExportTest" 100 "test_custom_asyncio_loop_enabled_true" ··· 102 "test_custom_loop_asyncio_deferred_signal" 103 "FileFeedStoragePreFeedOptionsTest" # https://github.com/scrapy/scrapy/issues/5157 104 "test_timeout_download_from_spider_nodata_rcvd" 105 + "test_timeout_download_from_spider_server_hangs" 106 # Fails with AssertionError 107 "test_peek_fifo" 108 "test_peek_one_element"
+2 -2
pkgs/development/python-modules/stripe/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "stripe"; 10 - version = "2.75.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - hash = "sha256-iAjXsbeX+vZW8FtaJRIB5lR3EEkDUU/dPpLpdHSxLME="; 18 }; 19 20 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "stripe"; 10 + version = "2.76.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-/T/Gk1w7YYmWcZFge2846+SQAFpZC00NQ/vjq6Rd7Kg="; 18 }; 19 20 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/tldextract/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "tldextract"; 17 - version = "3.2.1"; 18 format = "setuptools"; 19 20 - disabled = pythonOlder "3.6"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - sha256 = "sha256-rJMEzfgLCcN+6pZXmeDZrAqhzLZTH65Uiqvgm68aJUk="; 25 }; 26 27 nativeBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "tldextract"; 17 + version = "3.3.0"; 18 format = "setuptools"; 19 20 + disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-rc0kq/Ic40UEF81aAPI7fldVTOiugnM03RK/y7YnTPE="; 25 }; 26 27 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/tweepy/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "tweepy"; 15 - version = "4.8.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; ··· 20 src = fetchFromGitHub { 21 owner = pname; 22 repo = pname; 23 - rev = "v${version}"; 24 - hash = "sha256-RaM2JN2WOHyZY+AxzgQLvhXg6UnevDbSFSR4jFLsYrc="; 25 }; 26 27 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "tweepy"; 15 + version = "4.9.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; ··· 20 src = fetchFromGitHub { 21 owner = pname; 22 repo = pname; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-BMRRunPRDW5J/7KU+pr2Uv9Qa6oHBwkA7tsGa5YdzLw="; 25 }; 26 27 propagatedBuildInputs = [
+9 -2
pkgs/development/python-modules/widgetsnbextension/default.nix
··· 8 buildPythonPackage rec { 9 pname = "widgetsnbextension"; 10 version = "3.6.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 - sha256 = "sha256-6Ep6n8ubrz1XEG4YSnOJqPjrk1v3QaXrnWCqGMwCmoA="; 15 }; 16 17 - propagatedBuildInputs = [ notebook ]; 18 19 # No tests in archive 20 doCheck = false;
··· 8 buildPythonPackage rec { 9 pname = "widgetsnbextension"; 10 version = "3.6.0"; 11 + format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 + hash = "sha256-6Ep6n8ubrz1XEG4YSnOJqPjrk1v3QaXrnWCqGMwCmoA="; 16 }; 17 18 + # setup.py claims to require notebook, but the source doesn't have any imports 19 + # in it. 20 + postPatch = '' 21 + substituteInPlace setup.py --replace "'notebook>=4.4.1'," "" 22 + ''; 23 + 24 + propagatedBuildInputs = [ ]; 25 26 # No tests in archive 27 doCheck = false;
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 32 33 buildPythonApplication rec { 34 pname = "checkov"; 35 - version = "2.0.1110"; 36 37 src = fetchFromGitHub { 38 owner = "bridgecrewio"; 39 repo = pname; 40 rev = version; 41 - hash = "sha256-HtXJGi20SbbOofL8TAZDZ9L3aFVx33Xz+QS/f7NxYFI="; 42 }; 43 44 nativeBuildInputs = with py.pkgs; [
··· 32 33 buildPythonApplication rec { 34 pname = "checkov"; 35 + version = "2.0.1118"; 36 37 src = fetchFromGitHub { 38 owner = "bridgecrewio"; 39 repo = pname; 40 rev = version; 41 + hash = "sha256-8zhCyIHI3Pl5fTqQGSe8l6+7DZQsI6YgyTSCs1BNe94="; 42 }; 43 44 nativeBuildInputs = with py.pkgs; [
+3 -3
pkgs/development/tools/continuous-integration/gitlab-runner/default.nix
··· 1 { lib, buildGoModule, fetchFromGitLab, fetchurl }: 2 3 let 4 - version = "14.10.0"; 5 in 6 buildGoModule rec { 7 inherit version; ··· 20 owner = "gitlab-org"; 21 repo = "gitlab-runner"; 22 rev = "v${version}"; 23 - sha256 = "033b68hwqk5hn2by4hk1z7v6p08d505grl9hrx72p4wpyk18c80l"; 24 }; 25 26 patches = [ ··· 55 license = licenses.mit; 56 homepage = "https://about.gitlab.com/gitlab-ci/"; 57 platforms = platforms.unix ++ platforms.darwin; 58 - maintainers = with maintainers; [ bachp zimbatm globin ]; 59 }; 60 }
··· 1 { lib, buildGoModule, fetchFromGitLab, fetchurl }: 2 3 let 4 + version = "14.10.1"; 5 in 6 buildGoModule rec { 7 inherit version; ··· 20 owner = "gitlab-org"; 21 repo = "gitlab-runner"; 22 rev = "v${version}"; 23 + sha256 = "1ph8byrh8kbg6s3gm5fakqk0ss6995pidgm664z3rwibr0h6m7sm"; 24 }; 25 26 patches = [ ··· 55 license = licenses.mit; 56 homepage = "https://about.gitlab.com/gitlab-ci/"; 57 platforms = platforms.unix ++ platforms.darwin; 58 + maintainers = with maintainers; [ bachp zimbatm globin yayayayaka ]; 59 }; 60 }
+12 -9
pkgs/development/tools/goconvey/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 3 - buildGoPackage rec { 4 pname = "goconvey"; 5 - version = "1.6.3"; 6 7 - goPackagePath = "github.com/smartystreets/goconvey"; 8 excludedPackages = "web/server/watch/integration_testing"; 9 - 10 - goDeps = ./deps.nix; 11 12 src = fetchFromGitHub { 13 owner = "smartystreets"; 14 repo = "goconvey"; 15 - rev = version; 16 - sha256 = "1ph18rkl3ns3fgin5i4j54w5a69grrmf3apcsmnpdn1wlrbs3dxh"; 17 }; 18 19 meta = { 20 description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go"; 21 homepage = "https://github.com/smartystreets/goconvey"; 22 - maintainers = with lib.maintainers; [ vdemeester ]; 23 license = lib.licenses.mit; 24 }; 25 }
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 3 + buildGoModule rec { 4 pname = "goconvey"; 5 + version = "1.7.2"; 6 7 excludedPackages = "web/server/watch/integration_testing"; 8 9 src = fetchFromGitHub { 10 owner = "smartystreets"; 11 repo = "goconvey"; 12 + rev = "v${version}"; 13 + sha256 = "sha256-YT9M9VaLIGUo6pdkaLWLtomcjrDqdnOqwl+C9UwDmT8="; 14 }; 15 16 + vendorSha256 = "sha256-sHyK/4YdNCLCDjxjMKygWAVRnHZ1peYjYRYyEcqoe+E="; 17 + 18 + ldflags = [ "-s" "-w" ]; 19 + 20 + checkFlags = [ "-short" ]; 21 + 22 meta = { 23 description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go"; 24 homepage = "https://github.com/smartystreets/goconvey"; 25 license = lib.licenses.mit; 26 + maintainers = with lib.maintainers; [ vdemeester ]; 27 }; 28 }
-20
pkgs/development/tools/goconvey/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "github.com/jtolds/gls"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://github.com/jtolds/gls"; 7 - rev = "77f18212c9c7edc9bd6a33d383a7b545ce62f064"; 8 - sha256 = "1vm37pvn0k4r6d3m620swwgama63laz8hhj3pyisdhxwam4m2g1h"; 9 - }; 10 - } 11 - { 12 - goPackagePath = "github.com/smartystreets/assertions"; 13 - fetch = { 14 - type = "git"; 15 - url = "https://github.com/smartystreets/assertions"; 16 - rev = "0b37b35ec7434b77e77a4bb29b79677cced992ea"; 17 - sha256 = "1j0adgbykl55rf2945g0n5bmqdsnjcqlx5dcmpfh4chki43hiwg9"; 18 - }; 19 - } 20 - ]
···
+2 -2
pkgs/development/tools/misc/saleae-logic-2/default.nix
··· 1 { lib, fetchurl, makeDesktopItem, appimageTools, gtk3 }: 2 let 3 name = "saleae-logic-2"; 4 - version = "2.3.51"; 5 src = fetchurl { 6 url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage"; 7 - sha256 = "sha256-Z5GPA1cJbQJOjntWXe1uF26e7nJ99+ANoCP57Y/OO5A="; 8 }; 9 desktopItem = makeDesktopItem { 10 inherit name;
··· 1 { lib, fetchurl, makeDesktopItem, appimageTools, gtk3 }: 2 let 3 name = "saleae-logic-2"; 4 + version = "2.3.52"; 5 src = fetchurl { 6 url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage"; 7 + sha256 = "sha256-Z1xDVb1qFPtTi40dZ1CBw6ZqtQbYjuUjeUinBV+wdw8="; 8 }; 9 desktopItem = makeDesktopItem { 10 inherit name;
+2 -2
pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
··· 5 6 buildDunePackage rec { 7 pname = "js_of_ocaml-compiler"; 8 - version = "3.11.0"; 9 useDune2 = true; 10 11 src = fetchurl { 12 url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz"; 13 - sha256 = "sha256:0flws9mw0yjfw4d8d3y3k408mivy2xgky70xk1br3iqs4zksz38m"; 14 }; 15 16 nativeBuildInputs = [ menhir ];
··· 5 6 buildDunePackage rec { 7 pname = "js_of_ocaml-compiler"; 8 + version = "4.0.0"; 9 useDune2 = true; 10 11 src = fetchurl { 12 url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz"; 13 + sha256 = "sha256:0pj9jjrmi0xxrzmygv4b5whsibw1jxy3wgibmws85x5jwlczh0nz"; 14 }; 15 16 nativeBuildInputs = [ menhir ];
+17 -4
pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
··· 1 - { buildDunePackage, js_of_ocaml-compiler 2 , ocamlbuild 3 }: 4 5 - buildDunePackage { 6 pname = "js_of_ocaml-ocamlbuild"; 7 8 - inherit (js_of_ocaml-compiler) version src meta useDune2; 9 10 - minimalOCamlVersion = "4.02"; 11 12 propagatedBuildInputs = [ ocamlbuild ]; 13 }
··· 1 + { lib, buildDunePackage, fetchFromGitHub 2 , ocamlbuild 3 }: 4 5 + buildDunePackage rec { 6 pname = "js_of_ocaml-ocamlbuild"; 7 + version = "4.0.0"; 8 9 + minimalOCamlVersion = "4.02"; 10 11 + src = fetchFromGitHub { 12 + owner = "ocsigen"; 13 + repo = pname; 14 + rev = "852302c8f35b946e2ec275c529a79e46d8749be6"; 15 + sha256 = "sha256:03ayvakvbh4wi4dwcgd7r9y8ka8cv3d59hb81yk2dxyd94bln145"; 16 + }; 17 18 propagatedBuildInputs = [ ocamlbuild ]; 19 + 20 + meta = { 21 + description = "An ocamlbuild plugin to compile to JavaScript"; 22 + license = lib.licenses.lgpl2Only; 23 + maintainers = [ lib.maintainers.vbgl ]; 24 + inherit (src.meta) homepage; 25 + }; 26 }
+12 -4
pkgs/development/tools/perseus-cli/default.nix
··· 1 - { lib, rustPlatform, fetchCrate, makeWrapper, wasm-pack }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "perseus-cli"; 5 - version = "0.3.0"; 6 7 src = fetchCrate { 8 inherit pname version; 9 - sha256 = "sha256-YyQQjuxNUxuo2PFluGyT/CpG22tgjRCfmFKA5MFRgHo="; 10 }; 11 12 - cargoSha256 = "sha256-SKxPsltXFH+ENexn/KDD43hGLSTgvtU9hv9Vdi2oeFA="; 13 14 nativeBuildInputs = [ makeWrapper ]; 15 16 postInstall = '' 17 wrapProgram $out/bin/perseus \
··· 1 + { lib 2 + , stdenv 3 + , rustPlatform 4 + , fetchCrate 5 + , makeWrapper 6 + , wasm-pack 7 + , CoreServices 8 + }: 9 10 rustPlatform.buildRustPackage rec { 11 pname = "perseus-cli"; 12 + version = "0.3.1"; 13 14 src = fetchCrate { 15 inherit pname version; 16 + sha256 = "sha256-IYjLx9/4oWSXa4jhOtGw1GOHmrR7LQ6bWyN5zbOuEFs="; 17 }; 18 19 + cargoSha256 = "sha256-i7MPmO9MoANZLzmR5gsD+v0gyDtFbzhsmE9xOsb88L0="; 20 21 nativeBuildInputs = [ makeWrapper ]; 22 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 23 24 postInstall = '' 25 wrapProgram $out/bin/perseus \
+9 -3
pkgs/os-specific/linux/pax-utils/default.nix
··· 1 - { stdenv, lib, fetchurl, bash }: 2 3 stdenv.mkDerivation rec { 4 pname = "pax-utils"; 5 - version = "1.3.3"; 6 7 src = fetchurl { 8 url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz"; 9 - sha256 = "sha256-7sp/vZi8Zr6tSncADCAl2fF+qCAbhCRYgkBs4AubaxQ="; 10 }; 11 12 strictDeps = true; ··· 14 buildInputs = [ bash ]; 15 16 makeFlags = [ "PREFIX=$(out)" ]; 17 18 meta = with lib; { 19 description = "ELF utils that can check files for security relevant properties";
··· 1 + { stdenv, lib, fetchurl, bash, gitUpdater }: 2 3 stdenv.mkDerivation rec { 4 pname = "pax-utils"; 5 + version = "1.3.4"; 6 7 src = fetchurl { 8 url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz"; 9 + sha256 = "sha256-i67S+cWujgzaG5x1mQhkEBr8ZPrQpGFuEPP/jviRBAs="; 10 }; 11 12 strictDeps = true; ··· 14 buildInputs = [ bash ]; 15 16 makeFlags = [ "PREFIX=$(out)" ]; 17 + 18 + passthru.updateScript = gitUpdater { 19 + inherit pname version; 20 + url = "https://anongit.gentoo.org/git/proj/pax-utils.git"; 21 + rev-prefix = "v"; 22 + }; 23 24 meta = with lib; { 25 description = "ELF utils that can check files for security relevant properties";
+3 -1
pkgs/servers/home-assistant/component-packages.nix
··· 311 "browser" = ps: with ps; [ 312 ]; 313 "brunt" = ps: with ps; [ 314 - ]; # missing inputs: brunt 315 "bsblan" = ps: with ps; [ 316 bsblan 317 ]; ··· 3218 "braviatv" 3219 "broadlink" 3220 "brother" 3221 "bsblan" 3222 "buienradar" 3223 "button"
··· 311 "browser" = ps: with ps; [ 312 ]; 313 "brunt" = ps: with ps; [ 314 + brunt 315 + ]; 316 "bsblan" = ps: with ps; [ 317 bsblan 318 ]; ··· 3219 "braviatv" 3220 "broadlink" 3221 "brother" 3222 + "brunt" 3223 "bsblan" 3224 "buienradar" 3225 "button"
+3 -32
pkgs/servers/pleroma/default.nix
··· 1 { lib, beamPackages 2 , fetchFromGitHub, fetchFromGitLab 3 - , file, cmake, bash 4 , nixosTests, writeText 5 - , cookieFile ? null 6 , ... 7 }: 8 9 beamPackages.mixRelease rec { 10 pname = "pleroma"; 11 - version = "2.4.2"; 12 13 src = fetchFromGitLab { 14 domain = "git.pleroma.social"; 15 owner = "pleroma"; 16 repo = "pleroma"; 17 rev = "v${version}"; 18 - sha256 = "sha256-RcqqNNNCR4cxETUCyjChkpq+cQ1QzNOHHzdqBLtOc6g="; 19 }; 20 - 21 - preFixup = if (cookieFile != null) then '' 22 - # There's no way to use a subprocess to cat the content of the 23 - # file cookie using wrapProgram: it gets escaped (by design) with 24 - # a pair of backticks :( 25 - # We have to come up with our own custom wrapper to do this. 26 - function wrapWithCookie () { 27 - local hidden 28 - hidden="$(dirname "$1")/.$(basename "$1")"-wrapped 29 - while [ -e "$hidden" ]; do 30 - hidden="''${hidden}_" 31 - done 32 - mv "$1" "''${hidden}" 33 - 34 - cat > "$1" << EOF 35 - #!${bash}/bin/bash 36 - export RELEASE_COOKIE="\$(cat "${cookieFile}")" 37 - exec -a "\$0" "''${hidden}" "\$@" 38 - EOF 39 - chmod +x "$1" 40 - } 41 - 42 - for f in "$out"/bin/*; do 43 - if [[ -x "$f" ]]; then 44 - wrapWithCookie "$f" 45 - fi 46 - done 47 - '' else ""; 48 49 mixNixDeps = import ./mix.nix { 50 inherit beamPackages lib;
··· 1 { lib, beamPackages 2 , fetchFromGitHub, fetchFromGitLab 3 + , file, cmake 4 , nixosTests, writeText 5 , ... 6 }: 7 8 beamPackages.mixRelease rec { 9 pname = "pleroma"; 10 + version = "2.4.3"; 11 12 src = fetchFromGitLab { 13 domain = "git.pleroma.social"; 14 owner = "pleroma"; 15 repo = "pleroma"; 16 rev = "v${version}"; 17 + sha256 = "sha256-x8j/2Eot/EEHsedgZntB5MPxlYMNDlFyZtmiMdhcS7U="; 18 }; 19 20 mixNixDeps = import ./mix.nix { 21 inherit beamPackages lib;
+2 -2
pkgs/servers/pleroma/mix.nix
··· 1375 1376 sweet_xml = buildMix rec { 1377 name = "sweet_xml"; 1378 - version = "0.6.6"; 1379 1380 src = fetchHex { 1381 pkg = "${name}"; 1382 version = "${version}"; 1383 - sha256 = "0wrm3wx1c4wg8xj8lx1pg9xdpxhsbbry71l3kwgsizwjz1cc87if"; 1384 }; 1385 1386 beamDeps = [];
··· 1375 1376 sweet_xml = buildMix rec { 1377 name = "sweet_xml"; 1378 + version = "0.7.2"; 1379 1380 src = fetchHex { 1381 pkg = "${name}"; 1382 version = "${version}"; 1383 + sha256 = "sha256-aJTmihIPRUU02ZBF6jMl93QOpxJgvDFfguKXMdVwpug="; 1384 }; 1385 1386 beamDeps = [];
+2
pkgs/test/nixos-functions/default.nix
··· 24 system.nixos = dummyVersioning; 25 boot.loader.grub.enable = false; 26 fileSystems."/".device = "/dev/null"; 27 }).toplevel; 28 29 nixosTest-test = pkgs.nixosTest ({ lib, pkgs, figlet, ... }: { ··· 31 nodes.machine = { pkgs, ... }: { 32 system.nixos = dummyVersioning; 33 environment.systemPackages = [ pkgs.hello figlet ]; 34 }; 35 testScript = '' 36 machine.succeed("hello | figlet >/dev/console")
··· 24 system.nixos = dummyVersioning; 25 boot.loader.grub.enable = false; 26 fileSystems."/".device = "/dev/null"; 27 + system.stateVersion = lib.trivial.release; 28 }).toplevel; 29 30 nixosTest-test = pkgs.nixosTest ({ lib, pkgs, figlet, ... }: { ··· 32 nodes.machine = { pkgs, ... }: { 33 system.nixos = dummyVersioning; 34 environment.systemPackages = [ pkgs.hello figlet ]; 35 + system.stateVersion = lib.trivial.release; 36 }; 37 testScript = '' 38 machine.succeed("hello | figlet >/dev/console")
+2 -2
pkgs/tools/misc/pre-commit/default.nix
··· 13 with python3Packages; 14 buildPythonPackage rec { 15 pname = "pre-commit"; 16 - version = "2.18.1"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.6"; ··· 22 owner = "pre-commit"; 23 repo = "pre-commit"; 24 rev = "v${version}"; 25 - sha256 = "sha256-d/ukUTjNgpqr6IeDJHDaOXQm0EdsX+vq0sVX7HG3gSE="; 26 }; 27 28 patches = [
··· 13 with python3Packages; 14 buildPythonPackage rec { 15 pname = "pre-commit"; 16 + version = "2.19.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.6"; ··· 22 owner = "pre-commit"; 23 repo = "pre-commit"; 24 rev = "v${version}"; 25 + sha256 = "sha256-5YV0FJhHiq/NJFKYvwddIWUQVxKJpnIJLLNmyY0NX4A="; 26 }; 27 28 patches = [
+3 -3
pkgs/tools/networking/aardvark-dns/default.nix
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "aardvark-dns"; 8 - version = "1.0.2"; 9 10 src = fetchFromGitHub { 11 owner = "containers"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-d4YSCVZkNung4frgAeP46E9Ptpnu9y0HwmPRADo4t0U="; 15 }; 16 17 - cargoHash = "sha256-fu7ZopS55IzzeO7uzLx1wVHQ8A1Ff+9f7FagoZPerxk="; 18 19 meta = with lib; { 20 description = "Authoritative dns server for A/AAAA container records";
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "aardvark-dns"; 8 + version = "1.0.3"; 9 10 src = fetchFromGitHub { 11 owner = "containers"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-m2uKTVRonnun+/V69RcPWkkRtDcoaiulMCQz0/CAdCw="; 15 }; 16 17 + cargoHash = "sha256-Z/OZgWlpwcdqns26ojTLPQBVNrwU/i86tZVx19sRUTw="; 18 19 meta = with lib; { 20 description = "Authoritative dns server for A/AAAA container records";
+3 -3
pkgs/tools/networking/netavark/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "netavark"; 10 - version = "1.0.2"; 11 12 src = fetchFromGitHub { 13 owner = "containers"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-2ElEhKit/XysRsUw+dg7SnhDl+Zf+FJb5pIYpq1ALNs="; 17 }; 18 19 - cargoHash = "sha256-w3qz4ygjIvn+Rxd1JEVO6Ax08leuuJvC4Bk7VygbBh4="; 20 21 nativeBuildInputs = [ installShellFiles mandown ]; 22
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "netavark"; 10 + version = "1.0.3"; 11 12 src = fetchFromGitHub { 13 owner = "containers"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-M0jsCwle57YM0RO1hGMju5+8XvHPWc8tJqKWJL/sFsg="; 17 }; 18 19 + cargoHash = "sha256-zTgHjDZdsseUpB5Xqn9yE5T6Tgqx22pQKQLlUtZq+lc="; 20 21 nativeBuildInputs = [ installShellFiles mandown ]; 22
+30 -22
pkgs/tools/networking/networkmanager/sstp/default.nix
··· 1 - { lib, stdenv 2 - , autoreconfHook 3 - , fetchFromGitHub 4 - , fetchpatch 5 , file 6 , glib 7 , gnome 8 , gtk3 9 , intltool 10 , libnma 11 , libsecret 12 , networkmanager 13 , pkg-config 14 , ppp 15 , sstp 16 - , substituteAll 17 - , withGnome ? true }: 18 19 - let 20 pname = "NetworkManager-sstp"; 21 - version = "unstable-2020-04-20"; 22 - in stdenv.mkDerivation { 23 name = "${pname}${if withGnome then "-gnome" else ""}-${version}"; 24 25 - src = fetchFromGitHub { 26 - owner = "enaess"; 27 - repo = "network-manager-sstp"; 28 - rev = "735d8ca078f933e085029f60a737e3cf1d8c29a8"; 29 - sha256 = "0aahfhy2ch951kzj6gnd8p8hv2s5yd5y10wrmj68djhnx2ml8cd3"; 30 }; 31 32 - buildInputs = [ sstp networkmanager glib ppp ] 33 - ++ lib.optionals withGnome [ gtk3 libsecret libnma ]; 34 35 - nativeBuildInputs = [ file intltool autoreconfHook pkg-config ]; 36 37 postPatch = '' 38 sed -i 's#/sbin/pppd#${ppp}/bin/pppd#' src/nm-sstp-service.c 39 sed -i 's#/sbin/sstpc#${sstp}/bin/sstpc#' src/nm-sstp-service.c 40 ''; 41 42 - # glib-2.62 deprecations 43 - NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS"; 44 - 45 - preConfigure = "intltoolize"; 46 configureFlags = [ 47 - "--without-libnm-glib" 48 "--with-gnome=${if withGnome then "yes" else "no"}" 49 "--enable-absolute-paths" 50 ]; 51
··· 1 + { stdenv 2 + , lib 3 + , fetchurl 4 , file 5 , glib 6 , gnome 7 , gtk3 8 + , gtk4 9 , intltool 10 , libnma 11 + , libnma-gtk4 12 , libsecret 13 , networkmanager 14 , pkg-config 15 , ppp 16 , sstp 17 + , withGnome ? true 18 + }: 19 20 + stdenv.mkDerivation rec { 21 pname = "NetworkManager-sstp"; 22 + version = "1.3.0"; 23 name = "${pname}${if withGnome then "-gnome" else ""}-${version}"; 24 25 + src = fetchurl { 26 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 + sha256 = "+IJw3jvOYs/+NDS9HvCrSQ6wxh1x1yqwiFij7UZb+rU="; 28 }; 29 30 + nativeBuildInputs = [ 31 + file 32 + intltool 33 + pkg-config 34 + ]; 35 36 + buildInputs = [ 37 + sstp 38 + networkmanager 39 + glib 40 + ppp 41 + ] ++ lib.optionals withGnome [ 42 + gtk3 43 + gtk4 44 + libsecret 45 + libnma 46 + libnma-gtk4 47 + ]; 48 49 postPatch = '' 50 sed -i 's#/sbin/pppd#${ppp}/bin/pppd#' src/nm-sstp-service.c 51 sed -i 's#/sbin/sstpc#${sstp}/bin/sstpc#' src/nm-sstp-service.c 52 ''; 53 54 configureFlags = [ 55 "--with-gnome=${if withGnome then "yes" else "no"}" 56 + "--with-gtk4=${if withGnome then "yes" else "no"}" 57 "--enable-absolute-paths" 58 ]; 59
+47
pkgs/tools/security/erosmb/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "erosmb"; 8 + version = "0.1.1"; 9 + format = "pyproject"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "viktor02"; 13 + repo = "EroSmb"; 14 + rev = "v${version}"; 15 + hash = "sha256-d7iSl7weIHWXDnMYQKxafVd5JrZ0fnuWRDpEirBVdcg="; 16 + }; 17 + 18 + propagatedBuildInputs = with python3.pkgs; [ 19 + chardet 20 + colorama 21 + cryptography 22 + impacket 23 + ldap3 24 + ldapdomaindump 25 + pyasn1 26 + setuptools 27 + six 28 + ]; 29 + 30 + # Project has no tests 31 + doCheck = false; 32 + 33 + doInstallCheck = true; 34 + 35 + installCheckPhase = '' 36 + runHook preInstallCheck 37 + $out/bin/erosmb --help 38 + runHook postInstallCheck 39 + ''; 40 + 41 + meta = with lib; { 42 + description = "SMB network scanner"; 43 + homepage = "https://github.com/viktor02/EroSmb"; 44 + license = with licenses; [ mit ]; 45 + maintainers = with maintainers; [ fab ]; 46 + }; 47 + }
+37
pkgs/tools/security/swaggerhole/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "swaggerhole"; 8 + version = "1.1"; 9 + format = "setuptools"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Liodeus"; 13 + repo = pname; 14 + # Source is not tagged at the moment, https://github.com/Liodeus/swaggerHole/issues/2 15 + rev = "14846406fbd0f145d71ad51c3b87f383e4afbc3b"; 16 + hash = "sha256-3HmIpn1A86PXZRL+SqMdr84O16hW1mCUWHKnOVolmx8="; 17 + }; 18 + 19 + propagatedBuildInputs = with python3.pkgs; [ 20 + requests 21 + whispers 22 + ]; 23 + 24 + # Project has no tests 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "swaggerhole" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Tool to searching for secret on swaggerhub"; 33 + homepage = "https://github.com/Liodeus/swaggerHole"; 34 + license = with licenses; [ gpl3Plus ]; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+44
pkgs/tools/security/trueseeing/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "trueseeing"; 8 + version = "2.1.4"; 9 + format = "flit"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "alterakey"; 13 + repo = pname; 14 + rev = "v${version}"; 15 + hash = "sha256-zc0AOv7OFmEPLl//eykbh538rM2j4kXBLHt5bgK1IRY="; 16 + }; 17 + 18 + nativeBuildInputs = with python3.pkgs; [ 19 + flit-core 20 + ]; 21 + 22 + propagatedBuildInputs = with python3.pkgs; [ 23 + attrs 24 + ipython 25 + jinja2 26 + lxml 27 + pypubsub 28 + pyyaml 29 + ]; 30 + 31 + # Project has no tests 32 + doCheck = false; 33 + 34 + pythonImportsCheck = [ 35 + "trueseeing" 36 + ]; 37 + 38 + meta = with lib; { 39 + description = "Non-decompiling Android vulnerability scanner"; 40 + homepage = "https://github.com/alterakey/trueseeing"; 41 + license = with licenses; [ gpl3Plus ]; 42 + maintainers = with maintainers; [ fab ]; 43 + }; 44 + }
+18 -5
pkgs/tools/security/whispers/default.nix pkgs/development/python-modules/whispers/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 - , python3 4 }: 5 6 - python3.pkgs.buildPythonApplication rec { 7 pname = "whispers"; 8 version = "1.5.3"; 9 10 src = fetchFromGitHub { 11 owner = "Skyscanner"; 12 repo = pname; 13 rev = version; 14 - sha256 = "sha256-jruUGyoZCyMu015QKtlvfx5WRMfxo/eYUue9wUIWb6o="; 15 }; 16 17 - propagatedBuildInputs = with python3.pkgs; [ 18 astroid 19 beautifulsoup4 20 jproperties ··· 24 pyyaml 25 ]; 26 27 - checkInputs = with python3.pkgs; [ 28 pytest-mock 29 pytestCheckHook 30 ];
··· 1 { lib 2 + , astroid 3 + , beautifulsoup4 4 + , buildPythonPackage 5 , fetchFromGitHub 6 + , jproperties 7 + , luhn 8 + , lxml 9 + , pytest-mock 10 + , pytestCheckHook 11 + , python-Levenshtein 12 + , pythonOlder 13 + , pyyaml 14 }: 15 16 + buildPythonPackage rec { 17 pname = "whispers"; 18 version = "1.5.3"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.7"; 22 23 src = fetchFromGitHub { 24 owner = "Skyscanner"; 25 repo = pname; 26 rev = version; 27 + hash = "sha256-jruUGyoZCyMu015QKtlvfx5WRMfxo/eYUue9wUIWb6o="; 28 }; 29 30 + propagatedBuildInputs = [ 31 astroid 32 beautifulsoup4 33 jproperties ··· 37 pyyaml 38 ]; 39 40 + checkInputs = [ 41 pytest-mock 42 pytestCheckHook 43 ];
+2 -1
pkgs/tools/system/collectd/default.nix
··· 36 configureFlags = [ 37 "--localstatedir=/var" 38 "--disable-werror" 39 - ] ++ plugins.configureFlags; 40 41 # do not create directories in /var during installPhase 42 postConfigure = ''
··· 36 configureFlags = [ 37 "--localstatedir=/var" 38 "--disable-werror" 39 + ] ++ plugins.configureFlags 40 + ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "--with-fp-layout=nothing" ]; 41 42 # do not create directories in /var during installPhase 43 postConfigure = ''
+4 -16
pkgs/tools/text/gtranslator/default.nix
··· 1 { stdenv 2 , lib 3 , fetchurl 4 - , fetchpatch 5 , meson 6 , ninja 7 , pkg-config ··· 12 , libxml2 13 , libgda6 14 , libhandy 15 - , libsoup 16 , json-glib 17 , gspell 18 , glib 19 - , libdazzle 20 , gtk3 21 , gtksourceview4 22 , gnome ··· 25 26 stdenv.mkDerivation rec { 27 pname = "gtranslator"; 28 - version = "41.0"; 29 30 src = fetchurl { 31 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 32 - sha256 = "E28R/gOhlJkMQ6/jOL0eoK0U5+H26Gjlv3xbUsTF5eE="; 33 }; 34 35 - patches = [ 36 - # Fix build with meson 0.61 37 - # data/meson.build:15:5: ERROR: Function does not take positional arguments. 38 - (fetchpatch { 39 - url = "https://gitlab.gnome.org/GNOME/gtranslator/-/commit/7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch"; 40 - sha256 = "aRg6dYweftV8F7FXykO7m0G+p4SLTFnhTcZx72UCMDE="; 41 - }) 42 - ]; 43 - 44 nativeBuildInputs = [ 45 meson 46 ninja ··· 55 libxml2 56 glib 57 gtk3 58 - libdazzle 59 gtksourceview4 60 libgda6 61 libhandy 62 - libsoup 63 json-glib 64 gettext 65 gspell
··· 1 { stdenv 2 , lib 3 , fetchurl 4 , meson 5 , ninja 6 , pkg-config ··· 11 , libxml2 12 , libgda6 13 , libhandy 14 + , libsoup_3 15 , json-glib 16 , gspell 17 , glib 18 , gtk3 19 , gtksourceview4 20 , gnome ··· 23 24 stdenv.mkDerivation rec { 25 pname = "gtranslator"; 26 + version = "42.0"; 27 28 src = fetchurl { 29 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 30 + sha256 = "Kme8v+ZDBhsGltiaEIR9UL81kF/zNhuYcTV9PjQi8Ts="; 31 }; 32 33 nativeBuildInputs = [ 34 meson 35 ninja ··· 44 libxml2 45 glib 46 gtk3 47 gtksourceview4 48 libgda6 49 libhandy 50 + libsoup_3 51 json-glib 52 gettext 53 gspell
+11 -3
pkgs/top-level/all-packages.nix
··· 440 441 enum4linux-ng = python3Packages.callPackage ../tools/security/enum4linux-ng { }; 442 443 onesixtyone = callPackage ../tools/security/onesixtyone {}; 444 445 oletools = with python3.pkgs; toPythonApplication oletools; ··· 602 603 packr = callPackage ../development/libraries/packr { }; 604 605 - perseus-cli = callPackage ../development/tools/perseus-cli { }; 606 607 pet = callPackage ../development/tools/pet { }; 608 ··· 10613 10614 swagger-codegen3 = callPackage ../tools/networking/swagger-codegen3 { }; 10615 10616 swapview = callPackage ../os-specific/linux/swapview { }; 10617 10618 swtpm = callPackage ../tools/security/swtpm { }; ··· 11015 ; 11016 11017 trousers = callPackage ../tools/security/trousers { }; 11018 11019 trx = callPackage ../tools/audio/trx { }; 11020 ··· 30401 30402 wafw00f = callPackage ../tools/security/wafw00f { }; 30403 30404 - whispers = callPackage ../tools/security/whispers { }; 30405 30406 waon = callPackage ../applications/audio/waon { }; 30407 ··· 35059 35060 simplenote = callPackage ../applications/misc/simplenote { }; 35061 35062 - hy = callPackage ../development/interpreters/hy {}; 35063 35064 wmic-bin = callPackage ../servers/monitoring/plugins/wmic-bin.nix { }; 35065
··· 440 441 enum4linux-ng = python3Packages.callPackage ../tools/security/enum4linux-ng { }; 442 443 + erosmb = callPackage ../tools/security/erosmb { }; 444 + 445 onesixtyone = callPackage ../tools/security/onesixtyone {}; 446 447 oletools = with python3.pkgs; toPythonApplication oletools; ··· 604 605 packr = callPackage ../development/libraries/packr { }; 606 607 + perseus-cli = callPackage ../development/tools/perseus-cli { 608 + inherit (darwin.apple_sdk.frameworks) CoreServices; 609 + }; 610 611 pet = callPackage ../development/tools/pet { }; 612 ··· 10617 10618 swagger-codegen3 = callPackage ../tools/networking/swagger-codegen3 { }; 10619 10620 + swaggerhole = callPackage ../tools/security/swaggerhole { }; 10621 + 10622 swapview = callPackage ../os-specific/linux/swapview { }; 10623 10624 swtpm = callPackage ../tools/security/swtpm { }; ··· 11021 ; 11022 11023 trousers = callPackage ../tools/security/trousers { }; 11024 + 11025 + trueseeing = callPackage ../tools/security/trueseeing { }; 11026 11027 trx = callPackage ../tools/audio/trx { }; 11028 ··· 30409 30410 wafw00f = callPackage ../tools/security/wafw00f { }; 30411 30412 + whispers = with python3Packages; toPythonApplication whispers; 30413 30414 waon = callPackage ../applications/audio/waon { }; 30415 ··· 35067 35068 simplenote = callPackage ../applications/misc/simplenote { }; 35069 35070 + hy = python3Packages.hy.withPackages (python-packages: [ ]); 35071 35072 wmic-bin = callPackage ../servers/monitoring/plugins/wmic-bin.nix { }; 35073
+6
pkgs/top-level/python-packages.nix
··· 1389 1390 browser-cookie3 = callPackage ../development/python-modules/browser-cookie3 { }; 1391 1392 bsddb3 = callPackage ../development/python-modules/bsddb3 { }; 1393 1394 bsdiff4 = callPackage ../development/python-modules/bsdiff4 { }; ··· 4000 hypothesmith = callPackage ../development/python-modules/hypothesmith { }; 4001 4002 hyppo = callPackage ../development/python-modules/hyppo { }; 4003 4004 i2c-tools = callPackage ../development/python-modules/i2c-tools { 4005 inherit (pkgs) i2c-tools; ··· 10939 whirlpool-sixth-sense = callPackage ../development/python-modules/whirlpool-sixth-sense { }; 10940 10941 whisper = callPackage ../development/python-modules/whisper { }; 10942 10943 whitenoise = callPackage ../development/python-modules/whitenoise { }; 10944
··· 1389 1390 browser-cookie3 = callPackage ../development/python-modules/browser-cookie3 { }; 1391 1392 + brunt = callPackage ../development/python-modules/brunt { }; 1393 + 1394 bsddb3 = callPackage ../development/python-modules/bsddb3 { }; 1395 1396 bsdiff4 = callPackage ../development/python-modules/bsdiff4 { }; ··· 4002 hypothesmith = callPackage ../development/python-modules/hypothesmith { }; 4003 4004 hyppo = callPackage ../development/python-modules/hyppo { }; 4005 + 4006 + hyrule = callPackage ../development/python-modules/hyrule { }; 4007 4008 i2c-tools = callPackage ../development/python-modules/i2c-tools { 4009 inherit (pkgs) i2c-tools; ··· 10943 whirlpool-sixth-sense = callPackage ../development/python-modules/whirlpool-sixth-sense { }; 10944 10945 whisper = callPackage ../development/python-modules/whisper { }; 10946 + 10947 + whispers = callPackage ../development/python-modules/whispers { }; 10948 10949 whitenoise = callPackage ../development/python-modules/whitenoise { }; 10950