Merge master into staging-next

authored by

nixpkgs-ci[bot] and committed by
GitHub
4b3bf6b2 515bc2e7

+1003 -193
+1 -1
doc/build-helpers/testers.chapter.md
··· 169 170 Checks that the output from running a command contains the specified version string in it as a whole word. 171 172 - NOTE: In most cases, [`versionCheckHook`](#versioncheckhook) should be preferred, but this function is provided and documented here anyway. The motivation for adding either tests would be: 173 174 - Catch dynamic linking errors and such and missing environment variables that should be added by wrapping. 175 - Probable protection against accidentally building the wrong version, for example when using an "old" hash in a fixed-output derivation.
··· 169 170 Checks that the output from running a command contains the specified version string in it as a whole word. 171 172 + NOTE: This is a check you add to `passthru.tests` which is mainly run by OfBorg, but not in Hydra. If you want a version check failure to block the build altogether, then [`versionCheckHook`](#versioncheckhook) is the tool you're looking for (and recommended for quick builds). The motivation for adding either of these checks would be: 173 174 - Catch dynamic linking errors and such and missing environment variables that should be added by wrapping. 175 - Probable protection against accidentally building the wrong version, for example when using an "old" hash in a fixed-output derivation.
+5 -1
doc/hooks/versionCheckHook.section.md
··· 1 # versionCheckHook {#versioncheckhook} 2 3 - This hook adds a `versionCheckPhase` to the [`preInstallCheckHooks`](#ssec-installCheck-phase) that runs the main program of the derivation with a `--help` or `--version` argument, and checks that the `${version}` string is found in that output. You use it like this: 4 5 ```nix 6 { ··· 33 - `versionCheckProgramArg`: The argument that needs to be passed to `versionCheckProgram`. If undefined the hook tries first `--help` and then `--version`. Examples: `version`, `-V`, `-v`. 34 - `preVersionCheck`: A hook to run before the check is done. 35 - `postVersionCheck`: A hook to run after the check is done.
··· 1 # versionCheckHook {#versioncheckhook} 2 3 + This hook adds a `versionCheckPhase` to the [`preInstallCheckHooks`](#ssec-installCheck-phase) that runs the main program of the derivation with a `--help` or `--version` argument, and checks that the `${version}` string is found in that output. If this check fails then the whole build will fail. _(A softer option is [`testers.testVersion`](#tester-testVersion).)_ 4 + 5 + You use it like this: 6 7 ```nix 8 { ··· 35 - `versionCheckProgramArg`: The argument that needs to be passed to `versionCheckProgram`. If undefined the hook tries first `--help` and then `--version`. Examples: `version`, `-V`, `-v`. 36 - `preVersionCheck`: A hook to run before the check is done. 37 - `postVersionCheck`: A hook to run after the check is done. 38 + 39 + This check assumes the executable is _hermetic_. If environment variables such as `PATH` or `HOME` are required for the program to function, then [`testers.testVersion`](#tester-testVersion) is currently the better alternative.
+5
maintainers/maintainer-list.nix
··· 7102 githubId = 16175276; 7103 keys = [ { fingerprint = "E4CE B0F0 B2EC 09A3 9678 F294 CC7A 7E3C 6CF3 1343"; } ]; 7104 }; 7105 ethancedwards8 = { 7106 email = "ethan@ethancedwards.com"; 7107 matrix = "@ethancedwards8:matrix.org";
··· 7102 githubId = 16175276; 7103 keys = [ { fingerprint = "E4CE B0F0 B2EC 09A3 9678 F294 CC7A 7E3C 6CF3 1343"; } ]; 7104 }; 7105 + EstebanMacanek = { 7106 + name = "Esteban Macanek"; 7107 + github = "EstebanMacanek"; 7108 + githubId = 75503218; 7109 + }; 7110 ethancedwards8 = { 7111 email = "ethan@ethancedwards.com"; 7112 matrix = "@ethancedwards8:matrix.org";
+1 -1
nixos/modules/services/misc/guix/default.nix
··· 283 # It's similar to Nix daemon so there's no question whether or not this 284 # should be sandboxed. 285 systemd.services.guix-daemon = { 286 - environment = serviceEnv; 287 script = '' 288 exec ${lib.getExe' package "guix-daemon"} \ 289 --build-users-group=${cfg.group} \
··· 283 # It's similar to Nix daemon so there's no question whether or not this 284 # should be sandboxed. 285 systemd.services.guix-daemon = { 286 + environment = serviceEnv // config.networking.proxy.envVars; 287 script = '' 288 exec ${lib.getExe' package "guix-daemon"} \ 289 --build-users-group=${cfg.group} \
+2 -2
pkgs/by-name/ad/adminer-pematon/package.nix
··· 10 }: 11 stdenvNoCC.mkDerivation (finalAttrs: { 12 pname = "adminer-pematon"; 13 - version = "4.12"; 14 15 src = fetchFromGitHub { 16 owner = "pematon"; 17 repo = "adminer"; 18 tag = "v${finalAttrs.version}"; 19 - hash = "sha256-ExCHEsZ+VFmrom3632/1OOjb3zbZgiaZJDapBkBGUnQ="; 20 }; 21 22 nativeBuildInputs = [
··· 10 }: 11 stdenvNoCC.mkDerivation (finalAttrs: { 12 pname = "adminer-pematon"; 13 + version = "4.13"; 14 15 src = fetchFromGitHub { 16 owner = "pematon"; 17 repo = "adminer"; 18 tag = "v${finalAttrs.version}"; 19 + hash = "sha256-7kSQl4Ch9S+680FZBsO6ynsyF1GCkT8BPpBONmeJF9U="; 20 }; 21 22 nativeBuildInputs = [
+3 -3
pkgs/by-name/be/beancount-language-server/package.nix
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "beancount-language-server"; 9 - version = "1.3.6"; 10 11 src = fetchFromGitHub { 12 owner = "polarmutex"; 13 repo = "beancount-language-server"; 14 rev = "v${version}"; 15 - hash = "sha256-U23e32Xfa0j+U/CrCZzKjipaA0Yv5szbtTHJWWL52K4="; 16 }; 17 18 - cargoHash = "sha256-OvhG+O+uHHf7e9p3vibrPt9fuGzEqG+l3GGfNwoqXBU="; 19 20 doInstallCheck = true; 21 postInstallCheck = ''
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "beancount-language-server"; 9 + version = "1.3.7"; 10 11 src = fetchFromGitHub { 12 owner = "polarmutex"; 13 repo = "beancount-language-server"; 14 rev = "v${version}"; 15 + hash = "sha256-aqWenvNAdDL7B7J1hvt+JXT73SJJKu9KFlpUReOp3s4="; 16 }; 17 18 + cargoHash = "sha256-4p/1sZldbbc/O2jo+PjrcComwExzzVCgDFIjWz9CfTY="; 19 20 doInstallCheck = true; 21 postInstallCheck = ''
+5 -5
pkgs/by-name/bu/bun/package.nix
··· 14 }: 15 16 stdenvNoCC.mkDerivation rec { 17 - version = "1.1.43"; 18 pname = "bun"; 19 20 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 73 sources = { 74 "aarch64-darwin" = fetchurl { 75 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 76 - hash = "sha256-3sbiB84OHnxm7bSAL6eu+EKeOUQZvWqlqCGuXDCuoBE="; 77 }; 78 "aarch64-linux" = fetchurl { 79 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 80 - hash = "sha256-SjI5u1jhmsRMRDqpANuhqyz3YCCiWzz1XJxG5IZharM="; 81 }; 82 "x86_64-darwin" = fetchurl { 83 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64-baseline.zip"; 84 - hash = "sha256-q2vBAlBJ7FRowGje7F50MUdgDrOmeyG0xHYC1nRpETY="; 85 }; 86 "x86_64-linux" = fetchurl { 87 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 88 - hash = "sha256-j5iqhwkVV2R9wjxlwyBrFO6QLI4n0CA9qhIAstH6PCE="; 89 }; 90 }; 91 updateScript = writeShellScript "update-bun" ''
··· 14 }: 15 16 stdenvNoCC.mkDerivation rec { 17 + version = "1.2.0"; 18 pname = "bun"; 19 20 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 73 sources = { 74 "aarch64-darwin" = fetchurl { 75 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 76 + hash = "sha256-+nIXPLIiDQDi0mUP79wLWze/2Lsz2NZxtQ77QJwvV0U="; 77 }; 78 "aarch64-linux" = fetchurl { 79 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 80 + hash = "sha256-aF6IlwQM+qNtxkoz6EGevUqQa9A2v5DIz8vj1oBE1c8="; 81 }; 82 "x86_64-darwin" = fetchurl { 83 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64-baseline.zip"; 84 + hash = "sha256-6Yad3YhRz4IjK20uFdirUpazKAvNmtP55yMZgsMZXco="; 85 }; 86 "x86_64-linux" = fetchurl { 87 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 88 + hash = "sha256-B0fpcBILE6HaU0G3UaXwrxd4vYr9cLXEWPr/+VzppFM="; 89 }; 90 }; 91 updateScript = writeShellScript "update-bun" ''
+3 -3
pkgs/by-name/cl/cloudflare-utils/package.nix
··· 5 }: 6 buildGoModule rec { 7 pname = "cloudflare-utils"; 8 - version = "1.3.3"; 9 10 src = fetchFromGitHub { 11 owner = "Cyb3r-Jak3"; 12 repo = "cloudflare-utils"; 13 rev = "v${version}"; 14 - hash = "sha256-Wa8YCwOY7kwKJmME5hWpEGrC8bxjgVnli1GUwKLyFJg="; 15 }; 16 17 - vendorHash = "sha256-hoU+GSJHBZtb29jJbeuaFQSn496b1xLzXJtBCbKEcYE="; 18 19 meta = { 20 description = "Helpful Cloudflare utility program";
··· 5 }: 6 buildGoModule rec { 7 pname = "cloudflare-utils"; 8 + version = "1.3.4"; 9 10 src = fetchFromGitHub { 11 owner = "Cyb3r-Jak3"; 12 repo = "cloudflare-utils"; 13 rev = "v${version}"; 14 + hash = "sha256-XYOYun7PmZEQQRVCi46tBYoNZdXedmhpdUygtVlU0bE="; 15 }; 16 17 + vendorHash = "sha256-fg2BJkXdCWAO83kMoxkHlEyZuVezu9rs0hEda17KObE="; 18 19 meta = { 20 description = "Helpful Cloudflare utility program";
+43
pkgs/by-name/do/dovecot-fts-flatcurve/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + autoreconfHook, 6 + pkg-config, 7 + dovecot, 8 + xapian, 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "dovecot-fts-flatcurve"; 13 + version = "1.0.5"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "slusarz"; 17 + repo = "dovecot-fts-flatcurve"; 18 + rev = "refs/tags/v${version}"; 19 + hash = "sha256-96sR/pl0G0sSjh/YrXdgVgASJPhrL32xHCbBGrDxzoU="; 20 + }; 21 + 22 + buildInputs = [ 23 + xapian 24 + ]; 25 + 26 + nativeBuildInputs = [ 27 + autoreconfHook 28 + pkg-config 29 + ]; 30 + 31 + configureFlags = [ 32 + "--with-dovecot=${dovecot}/lib/dovecot" 33 + "--with-moduledir=$(out)/lib/dovecot" 34 + ]; 35 + 36 + meta = with lib; { 37 + homepage = "https://slusarz.github.io/dovecot-fts-flatcurve/"; 38 + description = "Dovecot FTS Flatcurve plugin (Xapian)"; 39 + license = licenses.lgpl21Only; 40 + maintainers = with maintainers; [ euxane ]; 41 + platforms = platforms.unix; 42 + }; 43 + }
+3 -4
pkgs/by-name/fo/forgejo-runner/package.nix
··· 17 in 18 buildGoModule rec { 19 pname = "forgejo-runner"; 20 - version = "6.0.1"; 21 22 src = fetchFromGitea { 23 domain = "code.forgejo.org"; 24 owner = "forgejo"; 25 repo = "runner"; 26 rev = "v${version}"; 27 - hash = "sha256-lwWXJQDtt/qsxWrXUpxhXZTaB+GHxNtY+kLcs/hk6cw="; 28 }; 29 30 - vendorHash = "sha256-nY/sxXnbOYcuPr/uFrnJF8fXROnQxr0SZ5nq87sLgH8="; 31 32 ldflags = [ 33 "-s" ··· 58 license = licenses.mit; 59 maintainers = with maintainers; [ 60 adamcstephens 61 - kranzes 62 emilylange 63 christoph-heiss 64 ];
··· 17 in 18 buildGoModule rec { 19 pname = "forgejo-runner"; 20 + version = "6.2.0"; 21 22 src = fetchFromGitea { 23 domain = "code.forgejo.org"; 24 owner = "forgejo"; 25 repo = "runner"; 26 rev = "v${version}"; 27 + hash = "sha256-2+/PJZPqKbxeWbIVx2647/xK5CqVUUvsdd67YFwjhms="; 28 }; 29 30 + vendorHash = "sha256-wvvzD2lD1TPXEriNaI6nzNGR/Kg94zC58pAR42/DlMA="; 31 32 ldflags = [ 33 "-s" ··· 58 license = licenses.mit; 59 maintainers = with maintainers; [ 60 adamcstephens 61 emilylange 62 christoph-heiss 63 ];
+3 -4
pkgs/by-name/im/impression/package.nix
··· 33 hash = "sha256-F2ZyATDKnUgEOAI++54fR6coJOr9rtyGm5TzsKzkDmg="; 34 }; 35 36 - cargoDeps = rustPlatform.fetchCargoTarball { 37 - inherit (finalAttrs) src; 38 - name = "${finalAttrs.pname}-${finalAttrs.version}"; 39 - hash = "sha256-H4x7D25UzDdAEad7QEsZZGLXhfiUupm3mTrNho+ShFo="; 40 }; 41 42 nativeBuildInputs = [
··· 33 hash = "sha256-F2ZyATDKnUgEOAI++54fR6coJOr9rtyGm5TzsKzkDmg="; 34 }; 35 36 + cargoDeps = rustPlatform.fetchCargoVendor { 37 + inherit (finalAttrs) pname version src; 38 + hash = "sha256-mQyGQXEFmMkTvkZcniws/11u1RqnsxgNi9dvYn1Mx0o="; 39 }; 40 41 nativeBuildInputs = [
+5 -1
pkgs/by-name/mo/mongodb-ce/package.nix
··· 66 nativeInstallCheckInputs = [ versionCheckHook ]; 67 versionCheckProgram = "${placeholder "out"}/bin/mongod"; 68 versionCheckProgramArg = [ "--version" ]; 69 - doInstallCheck = true; 70 71 passthru = { 72
··· 66 nativeInstallCheckInputs = [ versionCheckHook ]; 67 versionCheckProgram = "${placeholder "out"}/bin/mongod"; 68 versionCheckProgramArg = [ "--version" ]; 69 + # Only enable the version install check on darwin. 70 + # On Linux, this would fail as mongod relies on tcmalloc, which 71 + # requires access to `/sys/devices/system/cpu/possible`. 72 + # See https://github.com/NixOS/nixpkgs/issues/377016 73 + doInstallCheck = stdenv.hostPlatform.isDarwin; 74 75 passthru = { 76
+2 -2
pkgs/by-name/mo/mousai/package.nix
··· 33 hash = "sha256-lib2rPUTKudzbZQIGZxxxzvWNlbLkLdWtb9h7+C05QE="; 34 }; 35 36 - cargoDeps = rustPlatform.fetchCargoTarball { 37 inherit pname version src; 38 - hash = "sha256-KrOvPeT8zhxSTNDRJPrAbUnSgnIQegRmNe5TEgGE8+s="; 39 }; 40 41 nativeBuildInputs = [
··· 33 hash = "sha256-lib2rPUTKudzbZQIGZxxxzvWNlbLkLdWtb9h7+C05QE="; 34 }; 35 36 + cargoDeps = rustPlatform.fetchCargoVendor { 37 inherit pname version src; 38 + hash = "sha256-59mxTtXQaGiHHbS4vOtwm5py/1BWwaSf+CBdKEtUpno="; 39 }; 40 41 nativeBuildInputs = [
+3 -4
pkgs/by-name/pi/pika-backup/package.nix
··· 33 hash = "sha256-DtLGD7+Ydj2fvEHU+bDQDMC/E/9VgrlVNMCG6OlPmfg="; 34 }; 35 36 - cargoDeps = rustPlatform.fetchCargoTarball { 37 - inherit src; 38 - name = "${pname}-${version}"; 39 - hash = "sha256-8nFkc77FiLxMA1hMm8k5VB84l+pQeL0JSzYDytXrNUE="; 40 }; 41 42 patches = [
··· 33 hash = "sha256-DtLGD7+Ydj2fvEHU+bDQDMC/E/9VgrlVNMCG6OlPmfg="; 34 }; 35 36 + cargoDeps = rustPlatform.fetchCargoVendor { 37 + inherit pname version src; 38 + hash = "sha256-1JFXSVs9HPPzh+IjH4RGugrZEifPVcQho9B3hLSTL6s="; 39 }; 40 41 patches = [
+4 -4
pkgs/by-name/re/readarr/package.nix
··· 24 ."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 25 hash = 26 { 27 - x64-linux_hash = "sha256-dYYvrsYR+xsS9N/btJPCaCg4mS2UVgZs5FaBbWU4ytM="; 28 - arm64-linux_hash = "sha256-Vfdq6Mngr3Cbq844Upq84k6gH0SnbpdPK0dU7LBnJO8="; 29 - x64-osx_hash = "sha256-7mtnnbEQ+70qY5iSfX7pDUYPqKQG2JdzGRFgm1CEhs4="; 30 } 31 ."${arch}-${os}_hash"; 32 in 33 stdenv.mkDerivation rec { 34 pname = "readarr"; 35 - version = "0.4.8.2726"; 36 37 src = fetchurl { 38 url = "https://github.com/Readarr/Readarr/releases/download/v${version}/Readarr.develop.${version}.${os}-core-${arch}.tar.gz";
··· 24 ."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 25 hash = 26 { 27 + x64-linux_hash = "sha256-a3GEZTD3wcg8hz3wNrNMU13939C10S3gfRoNPfMBuAE="; 28 + arm64-linux_hash = "sha256-nqnNgds1VWf6MiryQS6hJzg8bi1Ckegf0CsC8dfqDTY="; 29 + x64-osx_hash = "sha256-IiW8pwLfcpbDGSO0DQhp2+J+tG5EvXth0fi6Z5q/d4c="; 30 } 31 ."${arch}-${os}_hash"; 32 in 33 stdenv.mkDerivation rec { 34 pname = "readarr"; 35 + version = "0.4.10.2734"; 36 37 src = fetchurl { 38 url = "https://github.com/Readarr/Readarr/releases/download/v${version}/Readarr.develop.${version}.${os}-core-${arch}.tar.gz";
+2 -2
pkgs/by-name/sp/spiped/package.nix
··· 9 10 stdenv.mkDerivation rec { 11 pname = "spiped"; 12 - version = "1.6.2"; 13 14 src = fetchurl { 15 url = "https://www.tarsnap.com/spiped/spiped-${version}.tgz"; 16 - hash = "sha256-BdRofRLRHX+YiNQ/PYDFQbdyHJhwONCF9xyRuwYgRWc="; 17 }; 18 19 buildInputs = [ openssl ];
··· 9 10 stdenv.mkDerivation rec { 11 pname = "spiped"; 12 + version = "1.6.3"; 13 14 src = fetchurl { 15 url = "https://www.tarsnap.com/spiped/spiped-${version}.tgz"; 16 + hash = "sha256-cMUwcNu7ENFEJ1Sur7AbCOyCkgPUECNkfb8aFDXuSmU="; 17 }; 18 19 buildInputs = [ openssl ];
-142
pkgs/by-name/sy/syndicate_utils/lock.json
··· 1 - { 2 - "depends": [ 3 - { 4 - "method": "fetchzip", 5 - "packages": [ 6 - "cps" 7 - ], 8 - "path": "/nix/store/8gbhwni0akqskdb3qhn5nfgv6gkdz0vz-source", 9 - "rev": "c90530ac57f98a842b7be969115c6ef08bdcc564", 10 - "sha256": "0h8ghs2fqg68j3jdcg7grnxssmllmgg99kym2w0a3vlwca1zvr62", 11 - "srcDir": "", 12 - "url": "https://github.com/ehmry/cps/archive/c90530ac57f98a842b7be969115c6ef08bdcc564.tar.gz" 13 - }, 14 - { 15 - "method": "fetchzip", 16 - "packages": [ 17 - "getdns" 18 - ], 19 - "path": "/nix/store/x9xmn7w4k6jg8nv5bnx148ibhnsfh362-source", 20 - "rev": "c73cbe288d9f9480586b8fa87f6d794ffb6a6ce6", 21 - "sha256": "1sbgx2x51szr22i72n7c8jglnfmr8m7y7ga0v85d58fwadiv7g6b", 22 - "srcDir": "src", 23 - "url": "https://git.sr.ht/~ehmry/getdns-nim/archive/c73cbe288d9f9480586b8fa87f6d794ffb6a6ce6.tar.gz" 24 - }, 25 - { 26 - "method": "fetchzip", 27 - "packages": [ 28 - "hashlib" 29 - ], 30 - "path": "/nix/store/fav82xdbicvlk34nmcbl89zx99lr3mbs-source", 31 - "rev": "f9455d4be988e14e3dc7933eb7cc7d7c4820b7ac", 32 - "sha256": "1sx6j952lj98629qfgr7ds5aipyw9d6lldcnnqs205wpj4pkcjb3", 33 - "srcDir": "", 34 - "url": "https://github.com/ehmry/hashlib/archive/f9455d4be988e14e3dc7933eb7cc7d7c4820b7ac.tar.gz" 35 - }, 36 - { 37 - "method": "fetchzip", 38 - "packages": [ 39 - "preserves" 40 - ], 41 - "path": "/nix/store/hzb7af7lbd4kgd5y4hbgxv1lswig36yj-source", 42 - "rev": "fd498c6457cb9ad2f3179daa40da69eec00326dd", 43 - "sha256": "182xvw04vjw83mlcrkwkip29b44h0v8dapg2014k9011h90mdsj4", 44 - "srcDir": "src", 45 - "url": "https://git.syndicate-lang.org/ehmry/preserves-nim/archive/fd498c6457cb9ad2f3179daa40da69eec00326dd.tar.gz" 46 - }, 47 - { 48 - "method": "fetchzip", 49 - "packages": [ 50 - "stew" 51 - ], 52 - "path": "/nix/store/mqg8qzsbcc8xqabq2yzvlhvcyqypk72c-source", 53 - "rev": "3c91b8694e15137a81ec7db37c6c58194ec94a6a", 54 - "sha256": "17lfhfxp5nxvld78xa83p258y80ks5jb4n53152cdr57xk86y07w", 55 - "srcDir": "", 56 - "url": "https://github.com/status-im/nim-stew/archive/3c91b8694e15137a81ec7db37c6c58194ec94a6a.tar.gz" 57 - }, 58 - { 59 - "method": "fetchzip", 60 - "packages": [ 61 - "syndicate" 62 - ], 63 - "path": "/nix/store/dw30cq9gxz3353zgaq4a36ajq6chvbwc-source", 64 - "rev": "3a4dc1f13392830b587138199643d30fdbec8541", 65 - "sha256": "1mbd17rjm1fsx7d0ckzyjih2nzdjqs52ck9wscqcg9nvf3ib5mvh", 66 - "srcDir": "src", 67 - "url": "https://git.syndicate-lang.org/ehmry/syndicate-nim/archive/3a4dc1f13392830b587138199643d30fdbec8541.tar.gz" 68 - }, 69 - { 70 - "method": "fetchzip", 71 - "packages": [ 72 - "sys" 73 - ], 74 - "path": "/nix/store/syhxsjlsdqfap0hk4qp3s6kayk8cqknd-source", 75 - "rev": "4ef3b624db86e331ba334e705c1aa235d55b05e1", 76 - "sha256": "1q4qgw4an4mmmcbx48l6xk1jig1vc8p9cq9dbx39kpnb0890j32q", 77 - "srcDir": "src", 78 - "url": "https://github.com/ehmry/nim-sys/archive/4ef3b624db86e331ba334e705c1aa235d55b05e1.tar.gz" 79 - }, 80 - { 81 - "method": "fetchzip", 82 - "packages": [ 83 - "taps" 84 - ], 85 - "path": "/nix/store/6y14ia52kr7jyaa0izx37mlablmq9s65-source", 86 - "rev": "8c8572cd971d1283e6621006b310993c632da247", 87 - "sha256": "1dp166bv9x773jmfqppg5i3v3rilgff013vb11yzwcid9l7s3iy8", 88 - "srcDir": "src", 89 - "url": "https://git.sr.ht/~ehmry/nim_taps/archive/8c8572cd971d1283e6621006b310993c632da247.tar.gz" 90 - }, 91 - { 92 - "date": "2024-04-02T15:38:57+01:00", 93 - "deepClone": false, 94 - "fetchLFS": false, 95 - "fetchSubmodules": true, 96 - "hash": "sha256-iZb9aAgYr4FGkqfIg49QWiCqeizIi047kFhugHiP8o0=", 97 - "leaveDotGit": false, 98 - "method": "git", 99 - "packages": [ 100 - "solo5_dispatcher" 101 - ], 102 - "path": "/nix/store/sf5dgj2ljvahcm6my7d61ibda51vnrii-solo5_dispatcher", 103 - "rev": "a7a894a96a2221284012800e6fd32923d83d20bd", 104 - "sha256": "13gjixw80vjqj0xlx2y85ixal82sa27q7j57j9383bqq11lgv5l9", 105 - "srcDir": "pkg", 106 - "url": "https://git.sr.ht/~ehmry/solo5_dispatcher" 107 - }, 108 - { 109 - "method": "fetchzip", 110 - "packages": [ 111 - "bigints" 112 - ], 113 - "path": "/nix/store/jvrm392g8adfsgf36prgwkbyd7vh5jsw-source", 114 - "rev": "86ea14d31eea9275e1408ca34e6bfe9c99989a96", 115 - "sha256": "15pcpmnk1bnw3k8769rjzcpg00nahyrypwbxs88jnwr4aczp99j4", 116 - "srcDir": "src", 117 - "url": "https://github.com/ehmry/nim-bigints/archive/86ea14d31eea9275e1408ca34e6bfe9c99989a96.tar.gz" 118 - }, 119 - { 120 - "method": "fetchzip", 121 - "packages": [ 122 - "nimcrypto" 123 - ], 124 - "path": "/nix/store/h7lgq3by9mx8in03vzh0y964lnnlkalp-source", 125 - "rev": "ff6afc6a753bd645cad4568472c7733d1715e31e", 126 - "sha256": "0h9vpayp66pg66114bl0nsvlv1nzp7f0x5b35gbsbd7svzlcz5zj", 127 - "srcDir": "", 128 - "url": "https://github.com/cheatfate/nimcrypto/archive/ff6afc6a753bd645cad4568472c7733d1715e31e.tar.gz" 129 - }, 130 - { 131 - "method": "fetchzip", 132 - "packages": [ 133 - "npeg" 134 - ], 135 - "path": "/nix/store/xpn694ibgipj8xak3j4bky6b3k0vp7hh-source", 136 - "rev": "ec0cc6e64ea4c62d2aa382b176a4838474238f8d", 137 - "sha256": "1fi9ls3xl20bmv1ikillxywl96i9al6zmmxrbffx448gbrxs86kg", 138 - "srcDir": "src", 139 - "url": "https://github.com/zevv/npeg/archive/ec0cc6e64ea4c62d2aa382b176a4838474238f8d.tar.gz" 140 - } 141 - ] 142 - }
···
+6 -7
pkgs/by-name/sy/syndicate_utils/package.nix
··· 1 { 2 lib, 3 - buildNimPackage, 4 fetchFromGitea, 5 libxml2, 6 libxslt, ··· 9 sqlite, 10 }: 11 12 - buildNimPackage (finalAttrs: { 13 pname = "syndicate_utils"; 14 - version = "20240509"; 15 16 src = fetchFromGitea { 17 domain = "git.syndicate-lang.org"; 18 owner = "ehmry"; 19 repo = "syndicate_utils"; 20 rev = finalAttrs.version; 21 - hash = "sha256-Sy6Ad0nNr/0y5W4z3SzlwfsA8hiXzlOPDOGdwbCYROs="; 22 }; 23 24 buildInputs = [ 25 - postgresql.out 26 sqlite 27 libxml2 28 libxslt 29 openssl 30 ]; 31 32 - lockFile = ./lock.json; 33 34 meta = finalAttrs.src.meta // { 35 description = "Utilities for the Syndicated Actor Model"; ··· 37 maintainers = [ lib.maintainers.ehmry ]; 38 license = lib.licenses.unlicense; 39 }; 40 - })
··· 1 { 2 lib, 3 + buildNimSbom, 4 fetchFromGitea, 5 libxml2, 6 libxslt, ··· 9 sqlite, 10 }: 11 12 + buildNimSbom (finalAttrs: { 13 pname = "syndicate_utils"; 14 15 src = fetchFromGitea { 16 domain = "git.syndicate-lang.org"; 17 owner = "ehmry"; 18 repo = "syndicate_utils"; 19 rev = finalAttrs.version; 20 + hash = "sha256-X8sb/2mkhVp0jJpTk9uYSDhAVui4jHl355amRCnkNhA="; 21 }; 22 23 buildInputs = [ 24 + postgresql 25 sqlite 26 libxml2 27 libxslt 28 openssl 29 ]; 30 31 + nimFlags = [ "--define:nimPreviewHashRef" ]; 32 33 meta = finalAttrs.src.meta // { 34 description = "Utilities for the Syndicated Actor Model"; ··· 36 maintainers = [ lib.maintainers.ehmry ]; 37 license = lib.licenses.unlicense; 38 }; 39 + }) ./sbom.json
+657
pkgs/by-name/sy/syndicate_utils/sbom.json
···
··· 1 + { 2 + "bomFormat": "CycloneDX", 3 + "specVersion": "1.6", 4 + "metadata": { 5 + "component": { 6 + "type": "application", 7 + "bom-ref": "pkg:nim/syndicate_utils", 8 + "name": "syndicate_utils", 9 + "description": "Utilites for Syndicated Actors and Synit", 10 + "version": "20250110", 11 + "authors": [ 12 + { 13 + "name": "Emery Hemingway" 14 + } 15 + ], 16 + "licenses": [ 17 + { 18 + "license": { 19 + "id": "Unlicense" 20 + } 21 + } 22 + ], 23 + "properties": [ 24 + { 25 + "name": "nim:skipExt", 26 + "value": "nim" 27 + }, 28 + { 29 + "name": "nim:bin:dns-actor", 30 + "value": "dns_actor" 31 + }, 32 + { 33 + "name": "nim:bin:esc-printer-driver", 34 + "value": "esc_printer_driver" 35 + }, 36 + { 37 + "name": "nim:bin:mintsturdyref", 38 + "value": "mintsturdyref" 39 + }, 40 + { 41 + "name": "nim:bin:mount-actor", 42 + "value": "mount_actor" 43 + }, 44 + { 45 + "name": "nim:bin:msg", 46 + "value": "msg" 47 + }, 48 + { 49 + "name": "nim:bin:postgre-actor", 50 + "value": "postgre_actor" 51 + }, 52 + { 53 + "name": "nim:bin:preserve-process-environment", 54 + "value": "preserve_process_environment" 55 + }, 56 + { 57 + "name": "nim:bin:rofi-script-actor", 58 + "value": "rofi_script_actor" 59 + }, 60 + { 61 + "name": "nim:bin:sqlite-actor", 62 + "value": "sqlite_actor" 63 + }, 64 + { 65 + "name": "nim:bin:syndesizer", 66 + "value": "syndesizer" 67 + }, 68 + { 69 + "name": "nim:bin:syndump", 70 + "value": "syndump" 71 + }, 72 + { 73 + "name": "nim:bin:synqa", 74 + "value": "synqa" 75 + }, 76 + { 77 + "name": "nim:bin:xslt-actor", 78 + "value": "xslt_actor" 79 + }, 80 + { 81 + "name": "nim:srcDir", 82 + "value": "src" 83 + }, 84 + { 85 + "name": "nim:backend", 86 + "value": "c" 87 + } 88 + ] 89 + } 90 + }, 91 + "components": [ 92 + { 93 + "type": "library", 94 + "bom-ref": "pkg:nim/syndicate", 95 + "name": "syndicate", 96 + "version": "trunk", 97 + "externalReferences": [ 98 + { 99 + "url": "https://git.syndicate-lang.org/ehmry/syndicate-nim/archive/eb3c522f9f051ceeef4c8518820fcd90fe2a2c2d.tar.gz", 100 + "type": "source-distribution" 101 + }, 102 + { 103 + "url": "https://git.syndicate-lang.org/ehmry/syndicate-nim.git", 104 + "type": "vcs" 105 + } 106 + ], 107 + "properties": [ 108 + { 109 + "name": "nix:fod:method", 110 + "value": "fetchzip" 111 + }, 112 + { 113 + "name": "nix:fod:path", 114 + "value": "/nix/store/sg7dxaz3g2qgb2sp0lzyyl2iwddbxljl-source" 115 + }, 116 + { 117 + "name": "nix:fod:rev", 118 + "value": "eb3c522f9f051ceeef4c8518820fcd90fe2a2c2d" 119 + }, 120 + { 121 + "name": "nix:fod:sha256", 122 + "value": "1gjjybfgw99dm8m5i6nm5zsgs7bavkqw6pgia8pc4n41h4ppshiw" 123 + }, 124 + { 125 + "name": "nix:fod:url", 126 + "value": "https://git.syndicate-lang.org/ehmry/syndicate-nim/archive/eb3c522f9f051ceeef4c8518820fcd90fe2a2c2d.tar.gz" 127 + }, 128 + { 129 + "name": "nix:fod:ref", 130 + "value": "trunk" 131 + }, 132 + { 133 + "name": "nix:fod:srcDir", 134 + "value": "src" 135 + } 136 + ] 137 + }, 138 + { 139 + "type": "library", 140 + "bom-ref": "pkg:nim/preserves", 141 + "name": "preserves", 142 + "version": "20241221", 143 + "externalReferences": [ 144 + { 145 + "url": "https://git.syndicate-lang.org/ehmry/preserves-nim/archive/c9f5806b153b2fd3ed8f868f8cf36cdbc25cd3d5.tar.gz", 146 + "type": "source-distribution" 147 + }, 148 + { 149 + "url": "https://git.syndicate-lang.org/ehmry/preserves-nim.git", 150 + "type": "vcs" 151 + } 152 + ], 153 + "properties": [ 154 + { 155 + "name": "nix:fod:method", 156 + "value": "fetchzip" 157 + }, 158 + { 159 + "name": "nix:fod:path", 160 + "value": "/nix/store/jr5la48ywfs0ghn5v5256rjqwyxzmd7a-source" 161 + }, 162 + { 163 + "name": "nix:fod:rev", 164 + "value": "c9f5806b153b2fd3ed8f868f8cf36cdbc25cd3d5" 165 + }, 166 + { 167 + "name": "nix:fod:sha256", 168 + "value": "1fh8r9mhr3f4mf45fc1shnqfxdrdlif1nsvqd016ni16vmcvclmc" 169 + }, 170 + { 171 + "name": "nix:fod:url", 172 + "value": "https://git.syndicate-lang.org/ehmry/preserves-nim/archive/c9f5806b153b2fd3ed8f868f8cf36cdbc25cd3d5.tar.gz" 173 + }, 174 + { 175 + "name": "nix:fod:ref", 176 + "value": "20241221" 177 + }, 178 + { 179 + "name": "nix:fod:srcDir", 180 + "value": "src" 181 + }, 182 + { 183 + "name": "nix:fod:date", 184 + "value": "2024-05-23T15:58:40+03:00" 185 + }, 186 + { 187 + "name": "nix:fod:hash", 188 + "value": "sha256-JvdvLdPajDgIPbLblO0LbOm0wEp530fs8LYmgH885sk=" 189 + } 190 + ] 191 + }, 192 + { 193 + "type": "library", 194 + "bom-ref": "pkg:nim/sys", 195 + "name": "sys", 196 + "version": "4ef3b624db86e331ba334e705c1aa235d55b05e1", 197 + "externalReferences": [ 198 + { 199 + "url": "https://github.com/ehmry/nim-sys/archive/4ef3b624db86e331ba334e705c1aa235d55b05e1.tar.gz", 200 + "type": "source-distribution" 201 + }, 202 + { 203 + "url": "https://github.com/ehmry/nim-sys.git", 204 + "type": "vcs" 205 + } 206 + ], 207 + "properties": [ 208 + { 209 + "name": "nix:fod:method", 210 + "value": "fetchzip" 211 + }, 212 + { 213 + "name": "nix:fod:path", 214 + "value": "/nix/store/syhxsjlsdqfap0hk4qp3s6kayk8cqknd-source" 215 + }, 216 + { 217 + "name": "nix:fod:rev", 218 + "value": "4ef3b624db86e331ba334e705c1aa235d55b05e1" 219 + }, 220 + { 221 + "name": "nix:fod:sha256", 222 + "value": "1q4qgw4an4mmmcbx48l6xk1jig1vc8p9cq9dbx39kpnb0890j32q" 223 + }, 224 + { 225 + "name": "nix:fod:url", 226 + "value": "https://github.com/ehmry/nim-sys/archive/4ef3b624db86e331ba334e705c1aa235d55b05e1.tar.gz" 227 + }, 228 + { 229 + "name": "nix:fod:srcDir", 230 + "value": "src" 231 + } 232 + ] 233 + }, 234 + { 235 + "type": "library", 236 + "bom-ref": "pkg:nim/taps", 237 + "name": "taps", 238 + "version": "20240405", 239 + "externalReferences": [ 240 + { 241 + "url": "https://git.sr.ht/~ehmry/nim_taps/archive/8c8572cd971d1283e6621006b310993c632da247.tar.gz", 242 + "type": "source-distribution" 243 + }, 244 + { 245 + "url": "https://git.sr.ht/~ehmry/nim_taps", 246 + "type": "vcs" 247 + } 248 + ], 249 + "properties": [ 250 + { 251 + "name": "nix:fod:method", 252 + "value": "fetchzip" 253 + }, 254 + { 255 + "name": "nix:fod:path", 256 + "value": "/nix/store/6y14ia52kr7jyaa0izx37mlablmq9s65-source" 257 + }, 258 + { 259 + "name": "nix:fod:rev", 260 + "value": "8c8572cd971d1283e6621006b310993c632da247" 261 + }, 262 + { 263 + "name": "nix:fod:sha256", 264 + "value": "1dp166bv9x773jmfqppg5i3v3rilgff013vb11yzwcid9l7s3iy8" 265 + }, 266 + { 267 + "name": "nix:fod:url", 268 + "value": "https://git.sr.ht/~ehmry/nim_taps/archive/8c8572cd971d1283e6621006b310993c632da247.tar.gz" 269 + }, 270 + { 271 + "name": "nix:fod:ref", 272 + "value": "20240405" 273 + }, 274 + { 275 + "name": "nix:fod:srcDir", 276 + "value": "src" 277 + } 278 + ] 279 + }, 280 + { 281 + "type": "library", 282 + "bom-ref": "pkg:nim/nimcrypto", 283 + "name": "nimcrypto", 284 + "version": "traditional-api", 285 + "externalReferences": [ 286 + { 287 + "url": "https://github.com/cheatfate/nimcrypto/archive/602c5d20c69c76137201b5d41f788f72afb95aa8.tar.gz", 288 + "type": "source-distribution" 289 + }, 290 + { 291 + "url": "https://github.com/cheatfate/nimcrypto", 292 + "type": "vcs" 293 + } 294 + ], 295 + "properties": [ 296 + { 297 + "name": "nix:fod:method", 298 + "value": "fetchzip" 299 + }, 300 + { 301 + "name": "nix:fod:path", 302 + "value": "/nix/store/zyr8zwh7vaiycn1s4r8cxwc71f2k5l0h-source" 303 + }, 304 + { 305 + "name": "nix:fod:rev", 306 + "value": "602c5d20c69c76137201b5d41f788f72afb95aa8" 307 + }, 308 + { 309 + "name": "nix:fod:sha256", 310 + "value": "1dmdmgb6b9m5f8dyxk781nnd61dsk3hdxqks7idk9ncnpj9fng65" 311 + }, 312 + { 313 + "name": "nix:fod:url", 314 + "value": "https://github.com/cheatfate/nimcrypto/archive/602c5d20c69c76137201b5d41f788f72afb95aa8.tar.gz" 315 + }, 316 + { 317 + "name": "nix:fod:ref", 318 + "value": "traditional-api" 319 + } 320 + ] 321 + }, 322 + { 323 + "type": "library", 324 + "bom-ref": "pkg:nim/npeg", 325 + "name": "npeg", 326 + "version": "1.2.2", 327 + "externalReferences": [ 328 + { 329 + "url": "https://github.com/zevv/npeg/archive/ec0cc6e64ea4c62d2aa382b176a4838474238f8d.tar.gz", 330 + "type": "source-distribution" 331 + }, 332 + { 333 + "url": "https://github.com/zevv/npeg.git", 334 + "type": "vcs" 335 + } 336 + ], 337 + "properties": [ 338 + { 339 + "name": "nix:fod:method", 340 + "value": "fetchzip" 341 + }, 342 + { 343 + "name": "nix:fod:path", 344 + "value": "/nix/store/xpn694ibgipj8xak3j4bky6b3k0vp7hh-source" 345 + }, 346 + { 347 + "name": "nix:fod:rev", 348 + "value": "ec0cc6e64ea4c62d2aa382b176a4838474238f8d" 349 + }, 350 + { 351 + "name": "nix:fod:sha256", 352 + "value": "1fi9ls3xl20bmv1ikillxywl96i9al6zmmxrbffx448gbrxs86kg" 353 + }, 354 + { 355 + "name": "nix:fod:url", 356 + "value": "https://github.com/zevv/npeg/archive/ec0cc6e64ea4c62d2aa382b176a4838474238f8d.tar.gz" 357 + }, 358 + { 359 + "name": "nix:fod:ref", 360 + "value": "1.2.2" 361 + }, 362 + { 363 + "name": "nix:fod:srcDir", 364 + "value": "src" 365 + } 366 + ] 367 + }, 368 + { 369 + "type": "library", 370 + "bom-ref": "pkg:nim/bigints", 371 + "name": "bigints", 372 + "version": "20231006", 373 + "externalReferences": [ 374 + { 375 + "url": "https://github.com/ehmry/nim-bigints/archive/86ea14d31eea9275e1408ca34e6bfe9c99989a96.tar.gz", 376 + "type": "source-distribution" 377 + }, 378 + { 379 + "url": "https://github.com/ehmry/nim-bigints.git", 380 + "type": "vcs" 381 + } 382 + ], 383 + "properties": [ 384 + { 385 + "name": "nix:fod:method", 386 + "value": "fetchzip" 387 + }, 388 + { 389 + "name": "nix:fod:path", 390 + "value": "/nix/store/jvrm392g8adfsgf36prgwkbyd7vh5jsw-source" 391 + }, 392 + { 393 + "name": "nix:fod:rev", 394 + "value": "86ea14d31eea9275e1408ca34e6bfe9c99989a96" 395 + }, 396 + { 397 + "name": "nix:fod:sha256", 398 + "value": "15pcpmnk1bnw3k8769rjzcpg00nahyrypwbxs88jnwr4aczp99j4" 399 + }, 400 + { 401 + "name": "nix:fod:url", 402 + "value": "https://github.com/ehmry/nim-bigints/archive/86ea14d31eea9275e1408ca34e6bfe9c99989a96.tar.gz" 403 + }, 404 + { 405 + "name": "nix:fod:ref", 406 + "value": "20231006" 407 + }, 408 + { 409 + "name": "nix:fod:srcDir", 410 + "value": "src" 411 + } 412 + ] 413 + }, 414 + { 415 + "type": "library", 416 + "bom-ref": "pkg:nim/cps", 417 + "name": "cps", 418 + "version": "0.10.4", 419 + "externalReferences": [ 420 + { 421 + "url": "https://github.com/nim-works/cps/archive/2a4d771a715ba45cfba3a82fa625ae7ad6591c8b.tar.gz", 422 + "type": "source-distribution" 423 + }, 424 + { 425 + "url": "https://github.com/nim-works/cps", 426 + "type": "vcs" 427 + } 428 + ], 429 + "properties": [ 430 + { 431 + "name": "nix:fod:method", 432 + "value": "fetchzip" 433 + }, 434 + { 435 + "name": "nix:fod:path", 436 + "value": "/nix/store/m9vpcf3dq6z2h1xpi1vlw0ycxp91s5p7-source" 437 + }, 438 + { 439 + "name": "nix:fod:rev", 440 + "value": "2a4d771a715ba45cfba3a82fa625ae7ad6591c8b" 441 + }, 442 + { 443 + "name": "nix:fod:sha256", 444 + "value": "0c62k5wpq9z9mn8cd4rm8jjc4z0xmnak4piyj5dsfbyj6sbdw2bf" 445 + }, 446 + { 447 + "name": "nix:fod:url", 448 + "value": "https://github.com/nim-works/cps/archive/2a4d771a715ba45cfba3a82fa625ae7ad6591c8b.tar.gz" 449 + }, 450 + { 451 + "name": "nix:fod:ref", 452 + "value": "0.10.4" 453 + } 454 + ] 455 + }, 456 + { 457 + "type": "library", 458 + "bom-ref": "pkg:nim/stew", 459 + "name": "stew", 460 + "version": "3c91b8694e15137a81ec7db37c6c58194ec94a6a", 461 + "externalReferences": [ 462 + { 463 + "url": "https://github.com/status-im/nim-stew/archive/3c91b8694e15137a81ec7db37c6c58194ec94a6a.tar.gz", 464 + "type": "source-distribution" 465 + }, 466 + { 467 + "url": "https://github.com/status-im/nim-stew", 468 + "type": "vcs" 469 + } 470 + ], 471 + "properties": [ 472 + { 473 + "name": "nix:fod:method", 474 + "value": "fetchzip" 475 + }, 476 + { 477 + "name": "nix:fod:path", 478 + "value": "/nix/store/mqg8qzsbcc8xqabq2yzvlhvcyqypk72c-source" 479 + }, 480 + { 481 + "name": "nix:fod:rev", 482 + "value": "3c91b8694e15137a81ec7db37c6c58194ec94a6a" 483 + }, 484 + { 485 + "name": "nix:fod:sha256", 486 + "value": "17lfhfxp5nxvld78xa83p258y80ks5jb4n53152cdr57xk86y07w" 487 + }, 488 + { 489 + "name": "nix:fod:url", 490 + "value": "https://github.com/status-im/nim-stew/archive/3c91b8694e15137a81ec7db37c6c58194ec94a6a.tar.gz" 491 + } 492 + ] 493 + }, 494 + { 495 + "type": "library", 496 + "bom-ref": "pkg:nim/getdns", 497 + "name": "getdns", 498 + "version": "20241222", 499 + "externalReferences": [ 500 + { 501 + "url": "https://git.sr.ht/~ehmry/getdns-nim/archive/7cdedf05a2d9b3b6b0fffcfc548c63986ac7f5a7.tar.gz", 502 + "type": "source-distribution" 503 + }, 504 + { 505 + "url": "https://git.sr.ht/~ehmry/getdns-nim", 506 + "type": "vcs" 507 + } 508 + ], 509 + "properties": [ 510 + { 511 + "name": "nix:fod:method", 512 + "value": "fetchzip" 513 + }, 514 + { 515 + "name": "nix:fod:path", 516 + "value": "/nix/store/k662j228f0xh75d75jb212zhy5qd85dv-source" 517 + }, 518 + { 519 + "name": "nix:fod:rev", 520 + "value": "7cdedf05a2d9b3b6b0fffcfc548c63986ac7f5a7" 521 + }, 522 + { 523 + "name": "nix:fod:sha256", 524 + "value": "1j80pv2kv7hxcmxpy6ykil01jywffaagcb1jad5aam4m9r2bfbp0" 525 + }, 526 + { 527 + "name": "nix:fod:url", 528 + "value": "https://git.sr.ht/~ehmry/getdns-nim/archive/7cdedf05a2d9b3b6b0fffcfc548c63986ac7f5a7.tar.gz" 529 + }, 530 + { 531 + "name": "nix:fod:ref", 532 + "value": "20241222" 533 + }, 534 + { 535 + "name": "nix:fod:srcDir", 536 + "value": "src" 537 + } 538 + ] 539 + }, 540 + { 541 + "type": "library", 542 + "bom-ref": "pkg:nim/solo5_dispatcher", 543 + "name": "solo5_dispatcher", 544 + "version": "20240522", 545 + "externalReferences": [ 546 + { 547 + "url": "https://git.sr.ht/~ehmry/solo5_dispatcher/archive/cc64ef99416b22b12e4a076d33de9e25a163e57d.tar.gz", 548 + "type": "source-distribution" 549 + }, 550 + { 551 + "url": "https://git.sr.ht/~ehmry/solo5_dispatcher", 552 + "type": "vcs" 553 + } 554 + ], 555 + "properties": [ 556 + { 557 + "name": "nix:fod:method", 558 + "value": "fetchzip" 559 + }, 560 + { 561 + "name": "nix:fod:path", 562 + "value": "/nix/store/4jj467pg4hs6warhksb8nsxn9ykz8c7c-source" 563 + }, 564 + { 565 + "name": "nix:fod:rev", 566 + "value": "cc64ef99416b22b12e4a076d33de9e25a163e57d" 567 + }, 568 + { 569 + "name": "nix:fod:sha256", 570 + "value": "1v9i9fqgx1g76yrmz2xwj9mxfwbjfpar6dsyygr68fv9031cqxq7" 571 + }, 572 + { 573 + "name": "nix:fod:url", 574 + "value": "https://git.sr.ht/~ehmry/solo5_dispatcher/archive/cc64ef99416b22b12e4a076d33de9e25a163e57d.tar.gz" 575 + }, 576 + { 577 + "name": "nix:fod:ref", 578 + "value": "20240522" 579 + }, 580 + { 581 + "name": "nix:fod:srcDir", 582 + "value": "pkg" 583 + } 584 + ] 585 + } 586 + ], 587 + "dependencies": [ 588 + { 589 + "ref": "pkg:nim/syndicate_utils", 590 + "dependsOn": [ 591 + "pkg:nim/syndicate" 592 + ] 593 + }, 594 + { 595 + "ref": "pkg:nim/syndicate", 596 + "dependsOn": [ 597 + "pkg:nim/nimcrypto", 598 + "pkg:nim/preserves", 599 + "pkg:nim/sys", 600 + "pkg:nim/taps" 601 + ] 602 + }, 603 + { 604 + "ref": "pkg:nim/preserves", 605 + "dependsOn": [ 606 + "pkg:nim/npeg", 607 + "pkg:nim/bigints" 608 + ] 609 + }, 610 + { 611 + "ref": "pkg:nim/sys", 612 + "dependsOn": [ 613 + "pkg:nim/cps", 614 + "pkg:nim/stew" 615 + ] 616 + }, 617 + { 618 + "ref": "pkg:nim/taps", 619 + "dependsOn": [ 620 + "pkg:nim/getdns", 621 + "pkg:nim/sys", 622 + "pkg:nim/cps", 623 + "pkg:nim/solo5_dispatcher" 624 + ] 625 + }, 626 + { 627 + "ref": "pkg:nim/nimcrypto", 628 + "dependsOn": [] 629 + }, 630 + { 631 + "ref": "pkg:nim/npeg", 632 + "dependsOn": [] 633 + }, 634 + { 635 + "ref": "pkg:nim/bigints", 636 + "dependsOn": [] 637 + }, 638 + { 639 + "ref": "pkg:nim/cps", 640 + "dependsOn": [] 641 + }, 642 + { 643 + "ref": "pkg:nim/stew", 644 + "dependsOn": [] 645 + }, 646 + { 647 + "ref": "pkg:nim/getdns", 648 + "dependsOn": [] 649 + }, 650 + { 651 + "ref": "pkg:nim/solo5_dispatcher", 652 + "dependsOn": [ 653 + "pkg:nim/cps" 654 + ] 655 + } 656 + ] 657 + }
+5 -1
pkgs/by-name/wh/whatsapp-chat-exporter/package.nix
··· 21 jinja2 22 pycryptodome 23 javaobj-py3 24 ]; 25 26 meta = with lib; { ··· 34 ''; 35 license = licenses.mit; 36 mainProgram = "wtsexporter"; 37 - maintainers = with maintainers; [ bbenno ]; 38 }; 39 }
··· 21 jinja2 22 pycryptodome 23 javaobj-py3 24 + vobject 25 ]; 26 27 meta = with lib; { ··· 35 ''; 36 license = licenses.mit; 37 mainProgram = "wtsexporter"; 38 + maintainers = with maintainers; [ 39 + bbenno 40 + EstebanMacanek 41 + ]; 42 }; 43 }
+106
pkgs/development/python-modules/deepsearch-glm/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + cmake, 6 + cxxopts, 7 + deepsearch-toolkit, 8 + docling-core, 9 + fasttext, 10 + fmt, 11 + loguru, 12 + matplotlib, 13 + nlohmann_json, 14 + pandas, 15 + pcre2, 16 + pkg-config, 17 + poetry-core, 18 + pybind11, 19 + python-dotenv, 20 + requests, 21 + rich, 22 + sentencepiece, 23 + tabulate, 24 + tqdm, 25 + utf8cpp, 26 + zlib, 27 + }: 28 + 29 + buildPythonPackage rec { 30 + pname = "deepsearch-glm"; 31 + version = "1.0.0"; 32 + pyproject = true; 33 + 34 + src = fetchFromGitHub { 35 + owner = "DS4SD"; 36 + repo = "deepsearch-glm"; 37 + tag = "v${version}"; 38 + hash = "sha256-3sJNkrx0tTm6RMYAwV8Aha7x8dZjf4tGdds8OScRff8="; 39 + }; 40 + 41 + dontUseCmakeConfigure = true; 42 + 43 + nativeBuildInputs = [ 44 + cmake 45 + pkg-config 46 + ]; 47 + 48 + build-system = [ 49 + poetry-core 50 + pybind11 51 + ]; 52 + 53 + env = { 54 + NIX_CFLAGS_COMPILE = "-I${lib.getDev utf8cpp}/include/utf8cpp"; 55 + USE_SYSTEM_DEPS = true; 56 + }; 57 + 58 + optional-dependencies = { 59 + docling = [ 60 + docling-core 61 + pandas 62 + ]; 63 + pyplot = [ 64 + matplotlib 65 + ]; 66 + toolkit = [ 67 + deepsearch-toolkit 68 + python-dotenv 69 + ]; 70 + utils = [ 71 + pandas 72 + python-dotenv 73 + requests 74 + rich 75 + tabulate 76 + tqdm 77 + ]; 78 + }; 79 + 80 + buildInputs = [ 81 + cxxopts 82 + fasttext 83 + fmt 84 + loguru 85 + nlohmann_json 86 + pcre2 87 + sentencepiece 88 + utf8cpp 89 + zlib 90 + ]; 91 + 92 + # Test suite insists on downloading models, data etc. from s3 bucket 93 + doCheck = false; 94 + 95 + pythonImportsCheck = [ 96 + "deepsearch_glm" 97 + ]; 98 + 99 + meta = { 100 + changelog = "https://github.com/DS4SD/deepsearch-glm/releases/tag/v${version}"; 101 + description = "Create fast graph language models from converted PDF documents for knowledge extraction and Q&A"; 102 + homepage = "https://github.com/DS4SD/deepsearch-glm"; 103 + license = lib.licenses.mit; 104 + maintainers = with lib.maintainers; [ booxter ]; 105 + }; 106 + }
+2 -2
pkgs/development/python-modules/drafthorse/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "drafthorse"; 13 - version = "2.4.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "pretix"; 18 repo = "python-drafthorse"; 19 rev = version; 20 - hash = "sha256-3W5rQ0YhyhIoZ+KsaOjlEJOrcoejPoTIJaylK7DOwKc="; 21 }; 22 23 build-system = [ setuptools ];
··· 10 11 buildPythonPackage rec { 12 pname = "drafthorse"; 13 + version = "2025.1.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "pretix"; 18 repo = "python-drafthorse"; 19 rev = version; 20 + hash = "sha256-v4yN2VHSA6pOXCSHscHIECeQchZkzH+/Hal4JwGXh74="; 21 }; 22 23 build-system = [ setuptools ];
+123
pkgs/development/python-modules/pypdfium2/default.nix
···
··· 1 + { 2 + lib, 3 + pkgs, 4 + buildPythonPackage, 5 + fetchFromGitHub, 6 + fetchurl, 7 + setuptools-scm, 8 + pdfium-binaries, 9 + numpy, 10 + pillow, 11 + pytestCheckHook, 12 + python, 13 + }: 14 + 15 + let 16 + pdfiumVersion = "${pdfium-binaries.version}"; 17 + 18 + headers = fetchurl { 19 + url = "https://pdfium.googlesource.com/pdfium/+archive/refs/heads/chromium/${pdfiumVersion}/public.tar.gz"; 20 + hash = "sha256-vKfs4Jd8LEtA3aTI+DcJMS0VOErq1IR1eThnMlxiER0="; 21 + }; 22 + 23 + # They demand their own fork of ctypesgen 24 + ctypesgen = buildPythonPackage rec { 25 + pname = "ctypesgen"; 26 + version = "1.1.1+g${src.rev}"; # the most recent tag + git version 27 + pyproject = true; 28 + 29 + src = fetchFromGitHub { 30 + owner = "pypdfium2-team"; 31 + repo = "ctypesgen"; 32 + rev = "848e9fbb1374f7f58a7ebf5e5da5c33292480b30"; 33 + hash = "sha256-3JA7cW/xaEj/DxMHEypROwrKGo7EwUEcipRqALTvydw="; 34 + }; 35 + 36 + build-system = [ 37 + setuptools-scm 38 + ]; 39 + 40 + env.SETUPTOOLS_SCM_PRETEND_VERSION = "${version}"; 41 + }; 42 + 43 + in 44 + buildPythonPackage rec { 45 + pname = "pypdfium2"; 46 + version = "4.30.1"; 47 + pyproject = true; 48 + 49 + src = fetchFromGitHub { 50 + owner = "pypdfium2-team"; 51 + repo = "pypdfium2"; 52 + tag = version; 53 + hash = "sha256-v8f/XruGJYK3H9z4Q1rLg4fEnPHa8tTOlNTBMVxPEgA="; 54 + }; 55 + 56 + build-system = [ 57 + ctypesgen 58 + setuptools-scm 59 + ]; 60 + 61 + propagatedBuildInputs = [ 62 + pdfium-binaries 63 + ]; 64 + 65 + # Build system insists on fetching from the internet unless "cached" files 66 + # are prepared. Even then, some code patching needs to happen to make it not 67 + # talk to the internet. 68 + 69 + # The project doesn't seem very open to allow for offline building either, 70 + # see: https://github.com/pypdfium2-team/pypdfium2/discussions/274 71 + preBuild = 72 + let 73 + pdfiumLib = lib.makeLibraryPath [ pdfium-binaries ]; 74 + inputVersionFile = (pkgs.formats.json { }).generate "version.json" { 75 + version = lib.strings.toInt pdfiumVersion; 76 + source = "generated"; 77 + flags = [ ]; 78 + run_lds = [ pdfiumLib ]; 79 + guard_symbols = false; 80 + }; 81 + bindingsDir = "data/bindings"; 82 + headersDir = "${bindingsDir}/headers"; 83 + versionFile = "${bindingsDir}/version.json"; 84 + in 85 + '' 86 + # Preseed the headers and version file 87 + mkdir -p ${headersDir} 88 + tar -xf ${headers} -C ${headersDir} 89 + install -m 644 ${inputVersionFile} ${versionFile} 90 + 91 + # Make generated bindings consider pdfium derivation path when loading dynamic libraries 92 + substituteInPlace setupsrc/pypdfium2_setup/emplace.py \ 93 + --replace-fail 'build_pdfium_bindings(pdfium_ver, flags=flags, guard_symbols=True, run_lds=[])' \ 94 + 'build_pdfium_bindings(pdfium_ver, flags=flags, guard_symbols=True, run_lds=["${pdfiumLib}"])' 95 + 96 + # Short circuit the version pull from the internet 97 + substituteInPlace setupsrc/pypdfium2_setup/packaging_base.py \ 98 + --replace-fail 'PdfiumVer.to_full(build)._asdict()' \ 99 + '{"major": 133, "minor": 0, "build": ${pdfiumVersion}, "patch": 1}' 100 + ''; 101 + env.PDFIUM_PLATFORM = "system:${pdfiumVersion}"; 102 + 103 + nativeCheckInputs = [ 104 + numpy 105 + pillow 106 + pytestCheckHook 107 + ]; 108 + 109 + pythonImportsCheck = [ 110 + "pypdfium2" 111 + ]; 112 + 113 + meta = { 114 + changelog = "https://github.com/pypdfium2-team/pypdfium2/releases/tag/${version}"; 115 + description = "Python bindings to PDFium"; 116 + homepage = "https://pypdfium2.readthedocs.io/"; 117 + license = with lib.licenses; [ 118 + asl20 # or 119 + mit 120 + ]; 121 + maintainers = with lib.maintainers; [ booxter ]; 122 + }; 123 + }
+1
pkgs/os-specific/linux/scx/scx_rustscheds.nix
··· 13 pname = "scx_rustscheds"; 14 inherit (scx-common) version src; 15 16 inherit (scx-common.versionInfo.scx) cargoHash; 17 18 # Copy compiled headers and libs from scx.cscheds
··· 13 pname = "scx_rustscheds"; 14 inherit (scx-common) version src; 15 16 + useFetchCargoVendor = true; 17 inherit (scx-common.versionInfo.scx) cargoHash; 18 19 # Copy compiled headers and libs from scx.cscheds
+1 -1
pkgs/os-specific/linux/scx/version.json
··· 2 "scx": { 3 "version": "1.0.8", 4 "hash": "sha256-eXui9fvi8C/HHp8wU7STrDC8b950YZzyhoLoGHXZ6S8=", 5 - "cargoHash": "sha256-ymFO6w4Y/VIKrnf0uF0Sso4OSc1MY2CeEwaXsAL5cgo=" 6 }, 7 "bpftool": { 8 "rev": "183e7010387d1fc9f08051426e9a9fbd5f8d409e",
··· 2 "scx": { 3 "version": "1.0.8", 4 "hash": "sha256-eXui9fvi8C/HHp8wU7STrDC8b950YZzyhoLoGHXZ6S8=", 5 + "cargoHash": "sha256-TdwymmaP6rG+Shh/9ByhXIlo+9yZapi9vWN5/5Rd3RY=" 6 }, 7 "bpftool": { 8 "rev": "183e7010387d1fc9f08051426e9a9fbd5f8d409e",
+3
pkgs/servers/mail/dovecot/default.nix
··· 15 coreutils, 16 clucene_core_2, 17 icu, 18 openldap, 19 libsodium, 20 libstemmer, ··· 48 lz4 49 clucene_core_2 50 icu 51 openldap 52 libsodium 53 libstemmer ··· 131 "--with-ldap" 132 "--with-lucene" 133 "--with-icu" 134 ] 135 ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 136 "i_cv_epoll_works=${if stdenv.hostPlatform.isLinux then "yes" else "no"}"
··· 15 coreutils, 16 clucene_core_2, 17 icu, 18 + libexttextcat, 19 openldap, 20 libsodium, 21 libstemmer, ··· 49 lz4 50 clucene_core_2 51 icu 52 + libexttextcat 53 openldap 54 libsodium 55 libstemmer ··· 133 "--with-ldap" 134 "--with-lucene" 135 "--with-icu" 136 + "--with-textcat" 137 ] 138 ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 139 "i_cv_epoll_works=${if stdenv.hostPlatform.isLinux then "yes" else "no"}"
+3 -3
pkgs/servers/spicedb/zed.nix
··· 6 7 buildGoModule rec { 8 pname = "zed"; 9 - version = "0.24.0"; 10 11 src = fetchFromGitHub { 12 owner = "authzed"; 13 repo = "zed"; 14 rev = "v${version}"; 15 - hash = "sha256-gaTTHkJkKO3MY5tAVJNHEq6ZkcS1iSBSEh1eyPzsXQY="; 16 }; 17 18 - vendorHash = "sha256-7UwpkmFwYT8XP00pTlOK25WDweaalQfA4zX7yvlFWow="; 19 20 ldflags = [ 21 "-X 'github.com/jzelinskie/cobrautil/v2.Version=${src.rev}'"
··· 6 7 buildGoModule rec { 8 pname = "zed"; 9 + version = "0.25.0"; 10 11 src = fetchFromGitHub { 12 owner = "authzed"; 13 repo = "zed"; 14 rev = "v${version}"; 15 + hash = "sha256-6VBiMCfkmLdPx0TW8RgZDwLXZvYRZcu6zJ+/ZINo6oQ="; 16 }; 17 18 + vendorHash = "sha256-7Lg2IV7xY0qGHqwEg6h9Su0rSt2oLZzjyGGpbKwgnmU="; 19 20 ldflags = [ 21 "-X 'github.com/jzelinskie/cobrautil/v2.Version=${src.rev}'"
+6
pkgs/top-level/python-packages.nix
··· 3133 3134 deepmerge = callPackage ../development/python-modules/deepmerge { }; 3135 3136 deepsearch-toolkit = callPackage ../development/python-modules/deepsearch-toolkit { }; 3137 3138 deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { }; ··· 12362 pypdf2 = callPackage ../development/python-modules/pypdf2 { }; 12363 12364 pypdf3 = callPackage ../development/python-modules/pypdf3 { }; 12365 12366 pypeg2 = callPackage ../development/python-modules/pypeg2 { }; 12367
··· 3133 3134 deepmerge = callPackage ../development/python-modules/deepmerge { }; 3135 3136 + deepsearch-glm = callPackage ../development/python-modules/deepsearch-glm { 3137 + inherit (pkgs) loguru sentencepiece fasttext; 3138 + }; 3139 + 3140 deepsearch-toolkit = callPackage ../development/python-modules/deepsearch-toolkit { }; 3141 3142 deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { }; ··· 12366 pypdf2 = callPackage ../development/python-modules/pypdf2 { }; 12367 12368 pypdf3 = callPackage ../development/python-modules/pypdf3 { }; 12369 + 12370 + pypdfium2 = callPackage ../development/python-modules/pypdfium2 { }; 12371 12372 pypeg2 = callPackage ../development/python-modules/pypeg2 { }; 12373