feat(pkgs): Init docuseal at 1.9.8
This commit is contained in:
parent
f01b1fd6e4
commit
ad5d108bc0
10 changed files with 10121 additions and 1 deletions
|
@ -2,7 +2,7 @@ version = 1
|
||||||
[[annotations]]
|
[[annotations]]
|
||||||
SPDX-FileCopyrightText = "NONE"
|
SPDX-FileCopyrightText = "NONE"
|
||||||
SPDX-License-Identifier = "CC0-1.0"
|
SPDX-License-Identifier = "CC0-1.0"
|
||||||
path = ["**/.envrc", "**/Cargo.lock", "**/_hardware-configuration.nix", ".gitignore", "REUSE.toml", "shell.nix"]
|
path = ["**/.envrc", "**/Cargo.lock", "**/_hardware-configuration.nix", ".gitignore", "REUSE.toml", "shell.nix", "pkgs/by-name/docuseal/rubyEnv/*", "pkgs/by-name/docuseal/deps.json", "pkgs/by-name/docuseal/yarn.lock"]
|
||||||
precedence = "closest"
|
precedence = "closest"
|
||||||
|
|
||||||
[[annotations]]
|
[[annotations]]
|
||||||
|
|
|
@ -70,6 +70,11 @@ let
|
||||||
".gitignore"
|
".gitignore"
|
||||||
"REUSE.toml"
|
"REUSE.toml"
|
||||||
"shell.nix"
|
"shell.nix"
|
||||||
|
|
||||||
|
# Docuseal
|
||||||
|
"pkgs/by-name/docuseal/rubyEnv/*"
|
||||||
|
"pkgs/by-name/docuseal/deps.json"
|
||||||
|
"pkgs/by-name/docuseal/yarn.lock"
|
||||||
];
|
];
|
||||||
|
|
||||||
annotations = [
|
annotations = [
|
||||||
|
|
149
pkgs/by-name/docuseal/default.nix
Normal file
149
pkgs/by-name/docuseal/default.nix
Normal file
|
@ -0,0 +1,149 @@
|
||||||
|
# SPDX-FileCopyrightText: 2025 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
|
||||||
|
# Ruby dependencies
|
||||||
|
bundlerEnv,
|
||||||
|
ruby_3_4,
|
||||||
|
|
||||||
|
# JS dependencies
|
||||||
|
fetchYarnDeps,
|
||||||
|
fixup-yarn-lock,
|
||||||
|
nodejs,
|
||||||
|
yarn,
|
||||||
|
|
||||||
|
# Update script dependencies
|
||||||
|
writeShellApplication,
|
||||||
|
bundix,
|
||||||
|
curl,
|
||||||
|
git,
|
||||||
|
jq,
|
||||||
|
nixfmt-rfc-style,
|
||||||
|
nurl,
|
||||||
|
prefetch-yarn-deps,
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
meta' = builtins.fromJSON (builtins.readFile ./deps.json);
|
||||||
|
|
||||||
|
rubyEnv = bundlerEnv {
|
||||||
|
name = "docuseal-gems";
|
||||||
|
gemdir = ./rubyEnv;
|
||||||
|
ruby = ruby_3_4;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "docuseal";
|
||||||
|
inherit (meta') version;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "docusealco";
|
||||||
|
repo = "docuseal";
|
||||||
|
tag = finalAttrs.version;
|
||||||
|
inherit (meta') hash;
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ];
|
||||||
|
|
||||||
|
frontend = stdenv.mkDerivation {
|
||||||
|
pname = "${finalAttrs.pname}-frontend";
|
||||||
|
inherit (finalAttrs) patches src version;
|
||||||
|
|
||||||
|
offlineCache = fetchYarnDeps {
|
||||||
|
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||||
|
inherit (meta'.yarn) hash;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ rubyEnv ];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
fixup-yarn-lock
|
||||||
|
nodejs
|
||||||
|
yarn
|
||||||
|
rubyEnv.wrappedRuby
|
||||||
|
];
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
runHook preConfigure
|
||||||
|
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
yarn config --offline set yarn-offline-mirror $offlineCache
|
||||||
|
cp --no-preserve=owner,mode ${./yarn.lock} yarn.lock
|
||||||
|
fixup-yarn-lock yarn.lock
|
||||||
|
|
||||||
|
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
||||||
|
|
||||||
|
patchShebangs node_modules/
|
||||||
|
patchShebangs bin/
|
||||||
|
|
||||||
|
runHook postConfigure
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
bin/rake assets:precompile
|
||||||
|
bin/rake shakapacker:compile
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mv public/packs $out
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ rubyEnv.wrappedRuby ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
ln -s $frontend public/packs
|
||||||
|
|
||||||
|
rm -rf log tmp
|
||||||
|
|
||||||
|
ln -s /var/log/docuseal log
|
||||||
|
ln -s /var/cache/docuseal tmp
|
||||||
|
|
||||||
|
patchShebangs bin/
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir $out && cp -R . $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = writeShellApplication {
|
||||||
|
name = "update";
|
||||||
|
runtimeInputs = [
|
||||||
|
bundix
|
||||||
|
curl
|
||||||
|
git
|
||||||
|
jq
|
||||||
|
nixfmt-rfc-style
|
||||||
|
nurl
|
||||||
|
prefetch-yarn-deps
|
||||||
|
ruby_3_4
|
||||||
|
yarn
|
||||||
|
];
|
||||||
|
text = builtins.readFile ./update.sh;
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Open source DocuSign alternative. Create, fill, and sign digital documents";
|
||||||
|
homepage = "https://github.com/docusealco/docuseal";
|
||||||
|
license = lib.licenses.agpl3Only;
|
||||||
|
mainProgram = "docuseal";
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
5
pkgs/by-name/docuseal/deps.json
Normal file
5
pkgs/by-name/docuseal/deps.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"yarn": { "hash": "sha256-8ZbRxTjDjcfhRk9ITHWmP7vBFWXjMl/vFRCXLSTYDxw=" },
|
||||||
|
"version": "1.9.8",
|
||||||
|
"hash": "sha256-k5vPqV4ko3tGm2tZ+OxnwIP1s24BHt1k6aBE6jI2YZg="
|
||||||
|
}
|
75
pkgs/by-name/docuseal/rubyEnv/Gemfile
Normal file
75
pkgs/by-name/docuseal/rubyEnv/Gemfile
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
|
|
||||||
|
gem 'arabic-letter-connector', require: 'arabic-letter-connector/logic'
|
||||||
|
gem 'aws-sdk-s3', require: false
|
||||||
|
gem 'aws-sdk-secretsmanager', require: false
|
||||||
|
gem 'azure-storage-blob', require: false
|
||||||
|
gem 'bootsnap', require: false
|
||||||
|
gem 'cancancan'
|
||||||
|
gem 'csv'
|
||||||
|
gem 'devise'
|
||||||
|
gem 'devise-two-factor'
|
||||||
|
gem 'dotenv', require: false
|
||||||
|
gem 'email_typo'
|
||||||
|
gem 'faraday'
|
||||||
|
gem 'faraday-follow_redirects'
|
||||||
|
gem 'google-cloud-storage', require: false
|
||||||
|
gem 'hexapdf'
|
||||||
|
gem 'image_processing'
|
||||||
|
gem 'jwt'
|
||||||
|
gem 'lograge'
|
||||||
|
gem 'mysql2', require: false
|
||||||
|
gem 'oj'
|
||||||
|
gem 'pagy'
|
||||||
|
gem 'pg', require: false
|
||||||
|
gem 'premailer-rails'
|
||||||
|
gem 'pretender'
|
||||||
|
gem 'puma', require: false
|
||||||
|
gem 'rack'
|
||||||
|
gem 'rails'
|
||||||
|
gem 'rails_autolink'
|
||||||
|
gem 'rails-i18n'
|
||||||
|
gem 'rotp'
|
||||||
|
gem 'rqrcode'
|
||||||
|
gem 'ruby-vips'
|
||||||
|
gem 'rubyXL'
|
||||||
|
gem 'shakapacker'
|
||||||
|
gem 'sidekiq'
|
||||||
|
gem 'sqlite3', require: false
|
||||||
|
gem 'strip_attributes'
|
||||||
|
gem 'turbo-rails'
|
||||||
|
gem 'twitter_cldr', require: false
|
||||||
|
gem 'tzinfo-data'
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem 'better_html'
|
||||||
|
gem 'bullet'
|
||||||
|
gem 'debug'
|
||||||
|
gem 'erb_lint', require: false
|
||||||
|
gem 'factory_bot_rails'
|
||||||
|
gem 'faker'
|
||||||
|
gem 'pry-rails'
|
||||||
|
gem 'rspec-rails'
|
||||||
|
gem 'rubocop', require: false
|
||||||
|
gem 'rubocop-performance', require: false
|
||||||
|
gem 'rubocop-rails', require: false
|
||||||
|
gem 'rubocop-rspec', require: false
|
||||||
|
gem 'simplecov', require: false
|
||||||
|
end
|
||||||
|
|
||||||
|
group :development do
|
||||||
|
gem 'annotaterb'
|
||||||
|
gem 'brakeman', require: false
|
||||||
|
gem 'foreman', require: false
|
||||||
|
gem 'letter_opener_web'
|
||||||
|
gem 'web-console'
|
||||||
|
end
|
||||||
|
|
||||||
|
group :test do
|
||||||
|
gem 'capybara'
|
||||||
|
gem 'cuprite'
|
||||||
|
gem 'webmock'
|
||||||
|
end
|
633
pkgs/by-name/docuseal/rubyEnv/Gemfile.lock
Normal file
633
pkgs/by-name/docuseal/rubyEnv/Gemfile.lock
Normal file
|
@ -0,0 +1,633 @@
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
actioncable (8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
websocket-driver (>= 0.6.1)
|
||||||
|
zeitwerk (~> 2.6)
|
||||||
|
actionmailbox (8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
activejob (= 8.0.1)
|
||||||
|
activerecord (= 8.0.1)
|
||||||
|
activestorage (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
mail (>= 2.8.0)
|
||||||
|
actionmailer (8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
actionview (= 8.0.1)
|
||||||
|
activejob (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
mail (>= 2.8.0)
|
||||||
|
rails-dom-testing (~> 2.2)
|
||||||
|
actionpack (8.0.1)
|
||||||
|
actionview (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
rack (>= 2.2.4)
|
||||||
|
rack-session (>= 1.0.1)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
rails-dom-testing (~> 2.2)
|
||||||
|
rails-html-sanitizer (~> 1.6)
|
||||||
|
useragent (~> 0.16)
|
||||||
|
actiontext (8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
activerecord (= 8.0.1)
|
||||||
|
activestorage (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
globalid (>= 0.6.0)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
builder (~> 3.1)
|
||||||
|
erubi (~> 1.11)
|
||||||
|
rails-dom-testing (~> 2.2)
|
||||||
|
rails-html-sanitizer (~> 1.6)
|
||||||
|
activejob (8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
globalid (>= 0.3.6)
|
||||||
|
activemodel (8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
activerecord (8.0.1)
|
||||||
|
activemodel (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
timeout (>= 0.4.0)
|
||||||
|
activestorage (8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
activejob (= 8.0.1)
|
||||||
|
activerecord (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
marcel (~> 1.0)
|
||||||
|
activesupport (8.0.1)
|
||||||
|
base64
|
||||||
|
benchmark (>= 0.3)
|
||||||
|
bigdecimal
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
||||||
|
connection_pool (>= 2.2.5)
|
||||||
|
drb
|
||||||
|
i18n (>= 1.6, < 2)
|
||||||
|
logger (>= 1.4.2)
|
||||||
|
minitest (>= 5.1)
|
||||||
|
securerandom (>= 0.3)
|
||||||
|
tzinfo (~> 2.0, >= 2.0.5)
|
||||||
|
uri (>= 0.13.1)
|
||||||
|
addressable (2.8.7)
|
||||||
|
public_suffix (>= 2.0.2, < 7.0)
|
||||||
|
annotaterb (4.14.0)
|
||||||
|
arabic-letter-connector (0.1.1)
|
||||||
|
ast (2.4.2)
|
||||||
|
aws-eventstream (1.3.0)
|
||||||
|
aws-partitions (1.1027.0)
|
||||||
|
aws-sdk-core (3.214.0)
|
||||||
|
aws-eventstream (~> 1, >= 1.3.0)
|
||||||
|
aws-partitions (~> 1, >= 1.992.0)
|
||||||
|
aws-sigv4 (~> 1.9)
|
||||||
|
jmespath (~> 1, >= 1.6.1)
|
||||||
|
aws-sdk-kms (1.96.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.210.0)
|
||||||
|
aws-sigv4 (~> 1.5)
|
||||||
|
aws-sdk-s3 (1.176.1)
|
||||||
|
aws-sdk-core (~> 3, >= 3.210.0)
|
||||||
|
aws-sdk-kms (~> 1)
|
||||||
|
aws-sigv4 (~> 1.5)
|
||||||
|
aws-sdk-secretsmanager (1.110.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.210.0)
|
||||||
|
aws-sigv4 (~> 1.5)
|
||||||
|
aws-sigv4 (1.10.1)
|
||||||
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
|
azure-storage-blob (2.0.3)
|
||||||
|
azure-storage-common (~> 2.0)
|
||||||
|
nokogiri (~> 1, >= 1.10.8)
|
||||||
|
azure-storage-common (2.0.4)
|
||||||
|
faraday (~> 1.0)
|
||||||
|
faraday_middleware (~> 1.0, >= 1.0.0.rc1)
|
||||||
|
net-http-persistent (~> 4.0)
|
||||||
|
nokogiri (~> 1, >= 1.10.8)
|
||||||
|
base64 (0.2.0)
|
||||||
|
bcrypt (3.1.20)
|
||||||
|
benchmark (0.4.0)
|
||||||
|
better_html (2.1.1)
|
||||||
|
actionview (>= 6.0)
|
||||||
|
activesupport (>= 6.0)
|
||||||
|
ast (~> 2.0)
|
||||||
|
erubi (~> 1.4)
|
||||||
|
parser (>= 2.4)
|
||||||
|
smart_properties
|
||||||
|
bigdecimal (3.1.8)
|
||||||
|
bindex (0.8.1)
|
||||||
|
bootsnap (1.18.4)
|
||||||
|
msgpack (~> 1.2)
|
||||||
|
brakeman (7.0.0)
|
||||||
|
racc
|
||||||
|
builder (3.3.0)
|
||||||
|
bullet (8.0.0)
|
||||||
|
activesupport (>= 3.0.0)
|
||||||
|
uniform_notifier (~> 1.11)
|
||||||
|
camertron-eprun (1.1.1)
|
||||||
|
cancancan (3.6.1)
|
||||||
|
capybara (3.40.0)
|
||||||
|
addressable
|
||||||
|
matrix
|
||||||
|
mini_mime (>= 0.1.3)
|
||||||
|
nokogiri (~> 1.11)
|
||||||
|
rack (>= 1.6.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
|
xpath (~> 3.2)
|
||||||
|
childprocess (5.1.0)
|
||||||
|
logger (~> 1.5)
|
||||||
|
chunky_png (1.4.0)
|
||||||
|
cldr-plurals-runtime-rb (1.1.0)
|
||||||
|
cmdparse (3.0.7)
|
||||||
|
coderay (1.1.3)
|
||||||
|
concurrent-ruby (1.3.4)
|
||||||
|
connection_pool (2.4.1)
|
||||||
|
crack (1.0.0)
|
||||||
|
bigdecimal
|
||||||
|
rexml
|
||||||
|
crass (1.0.6)
|
||||||
|
css_parser (1.21.0)
|
||||||
|
addressable
|
||||||
|
csv (3.3.2)
|
||||||
|
cuprite (0.15.1)
|
||||||
|
capybara (~> 3.0)
|
||||||
|
ferrum (~> 0.15.0)
|
||||||
|
date (3.4.1)
|
||||||
|
debug (1.10.0)
|
||||||
|
irb (~> 1.10)
|
||||||
|
reline (>= 0.3.8)
|
||||||
|
declarative (0.0.20)
|
||||||
|
devise (4.9.4)
|
||||||
|
bcrypt (~> 3.0)
|
||||||
|
orm_adapter (~> 0.1)
|
||||||
|
railties (>= 4.1.0)
|
||||||
|
responders
|
||||||
|
warden (~> 1.2.3)
|
||||||
|
devise-two-factor (6.1.0)
|
||||||
|
activesupport (>= 7.0, < 8.1)
|
||||||
|
devise (~> 4.0)
|
||||||
|
railties (>= 7.0, < 8.1)
|
||||||
|
rotp (~> 6.0)
|
||||||
|
diff-lcs (1.5.1)
|
||||||
|
digest-crc (0.6.5)
|
||||||
|
rake (>= 12.0.0, < 14.0.0)
|
||||||
|
docile (1.4.1)
|
||||||
|
dotenv (3.1.7)
|
||||||
|
drb (2.2.1)
|
||||||
|
email_typo (0.2.3)
|
||||||
|
erb_lint (0.7.0)
|
||||||
|
activesupport
|
||||||
|
better_html (>= 2.0.1)
|
||||||
|
parser (>= 2.7.1.4)
|
||||||
|
rainbow
|
||||||
|
rubocop (>= 1)
|
||||||
|
smart_properties
|
||||||
|
erubi (1.13.1)
|
||||||
|
factory_bot (6.5.0)
|
||||||
|
activesupport (>= 5.0.0)
|
||||||
|
factory_bot_rails (6.4.4)
|
||||||
|
factory_bot (~> 6.5)
|
||||||
|
railties (>= 5.0.0)
|
||||||
|
faker (3.5.1)
|
||||||
|
i18n (>= 1.8.11, < 2)
|
||||||
|
faraday (1.10.4)
|
||||||
|
faraday-em_http (~> 1.0)
|
||||||
|
faraday-em_synchrony (~> 1.0)
|
||||||
|
faraday-excon (~> 1.1)
|
||||||
|
faraday-httpclient (~> 1.0)
|
||||||
|
faraday-multipart (~> 1.0)
|
||||||
|
faraday-net_http (~> 1.0)
|
||||||
|
faraday-net_http_persistent (~> 1.0)
|
||||||
|
faraday-patron (~> 1.0)
|
||||||
|
faraday-rack (~> 1.0)
|
||||||
|
faraday-retry (~> 1.0)
|
||||||
|
ruby2_keywords (>= 0.0.4)
|
||||||
|
faraday-em_http (1.0.0)
|
||||||
|
faraday-em_synchrony (1.0.0)
|
||||||
|
faraday-excon (1.1.0)
|
||||||
|
faraday-follow_redirects (0.3.0)
|
||||||
|
faraday (>= 1, < 3)
|
||||||
|
faraday-httpclient (1.0.1)
|
||||||
|
faraday-multipart (1.1.0)
|
||||||
|
multipart-post (~> 2.0)
|
||||||
|
faraday-net_http (1.0.2)
|
||||||
|
faraday-net_http_persistent (1.2.0)
|
||||||
|
faraday-patron (1.0.0)
|
||||||
|
faraday-rack (1.0.0)
|
||||||
|
faraday-retry (1.0.3)
|
||||||
|
faraday_middleware (1.2.1)
|
||||||
|
faraday (~> 1.0)
|
||||||
|
ferrum (0.15)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
concurrent-ruby (~> 1.1)
|
||||||
|
webrick (~> 1.7)
|
||||||
|
websocket-driver (~> 0.7)
|
||||||
|
ffi (1.17.1)
|
||||||
|
foreman (0.88.1)
|
||||||
|
geom2d (0.4.1)
|
||||||
|
globalid (1.2.1)
|
||||||
|
activesupport (>= 6.1)
|
||||||
|
google-apis-core (0.15.1)
|
||||||
|
addressable (~> 2.5, >= 2.5.1)
|
||||||
|
googleauth (~> 1.9)
|
||||||
|
httpclient (>= 2.8.3, < 3.a)
|
||||||
|
mini_mime (~> 1.0)
|
||||||
|
mutex_m
|
||||||
|
representable (~> 3.0)
|
||||||
|
retriable (>= 2.0, < 4.a)
|
||||||
|
google-apis-iamcredentials_v1 (0.22.0)
|
||||||
|
google-apis-core (>= 0.15.0, < 2.a)
|
||||||
|
google-apis-storage_v1 (0.49.0)
|
||||||
|
google-apis-core (>= 0.15.0, < 2.a)
|
||||||
|
google-cloud-core (1.7.1)
|
||||||
|
google-cloud-env (>= 1.0, < 3.a)
|
||||||
|
google-cloud-errors (~> 1.0)
|
||||||
|
google-cloud-env (2.2.1)
|
||||||
|
faraday (>= 1.0, < 3.a)
|
||||||
|
google-cloud-errors (1.4.0)
|
||||||
|
google-cloud-storage (1.54.0)
|
||||||
|
addressable (~> 2.8)
|
||||||
|
digest-crc (~> 0.4)
|
||||||
|
google-apis-core (~> 0.13)
|
||||||
|
google-apis-iamcredentials_v1 (~> 0.18)
|
||||||
|
google-apis-storage_v1 (~> 0.38)
|
||||||
|
google-cloud-core (~> 1.6)
|
||||||
|
googleauth (~> 1.9)
|
||||||
|
mini_mime (~> 1.0)
|
||||||
|
google-logging-utils (0.1.0)
|
||||||
|
googleauth (1.12.2)
|
||||||
|
faraday (>= 1.0, < 3.a)
|
||||||
|
google-cloud-env (~> 2.2)
|
||||||
|
google-logging-utils (~> 0.1)
|
||||||
|
jwt (>= 1.4, < 3.0)
|
||||||
|
multi_json (~> 1.11)
|
||||||
|
os (>= 0.9, < 2.0)
|
||||||
|
signet (>= 0.16, < 2.a)
|
||||||
|
hashdiff (1.1.2)
|
||||||
|
hexapdf (1.0.3)
|
||||||
|
cmdparse (~> 3.0, >= 3.0.3)
|
||||||
|
geom2d (~> 0.4, >= 0.4.1)
|
||||||
|
openssl (>= 2.2.1)
|
||||||
|
htmlentities (4.3.4)
|
||||||
|
httpclient (2.8.3)
|
||||||
|
i18n (1.14.6)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
image_processing (1.13.0)
|
||||||
|
mini_magick (>= 4.9.5, < 5)
|
||||||
|
ruby-vips (>= 2.0.17, < 3)
|
||||||
|
io-console (0.8.0)
|
||||||
|
irb (1.14.3)
|
||||||
|
rdoc (>= 4.0.0)
|
||||||
|
reline (>= 0.4.2)
|
||||||
|
jmespath (1.6.2)
|
||||||
|
json (2.9.1)
|
||||||
|
jwt (2.9.3)
|
||||||
|
base64
|
||||||
|
language_server-protocol (3.17.0.3)
|
||||||
|
launchy (3.0.1)
|
||||||
|
addressable (~> 2.8)
|
||||||
|
childprocess (~> 5.0)
|
||||||
|
letter_opener (1.10.0)
|
||||||
|
launchy (>= 2.2, < 4)
|
||||||
|
letter_opener_web (3.0.0)
|
||||||
|
actionmailer (>= 6.1)
|
||||||
|
letter_opener (~> 1.9)
|
||||||
|
railties (>= 6.1)
|
||||||
|
rexml
|
||||||
|
logger (1.6.4)
|
||||||
|
lograge (0.14.0)
|
||||||
|
actionpack (>= 4)
|
||||||
|
activesupport (>= 4)
|
||||||
|
railties (>= 4)
|
||||||
|
request_store (~> 1.0)
|
||||||
|
loofah (2.23.1)
|
||||||
|
crass (~> 1.0.2)
|
||||||
|
nokogiri (>= 1.12.0)
|
||||||
|
mail (2.8.1)
|
||||||
|
mini_mime (>= 0.1.1)
|
||||||
|
net-imap
|
||||||
|
net-pop
|
||||||
|
net-smtp
|
||||||
|
marcel (1.0.4)
|
||||||
|
matrix (0.4.2)
|
||||||
|
method_source (1.1.0)
|
||||||
|
mini_magick (4.13.2)
|
||||||
|
mini_mime (1.1.5)
|
||||||
|
mini_portile2 (2.8.8)
|
||||||
|
minitest (5.25.4)
|
||||||
|
msgpack (1.7.5)
|
||||||
|
multi_json (1.15.0)
|
||||||
|
multipart-post (2.4.1)
|
||||||
|
mutex_m (0.3.0)
|
||||||
|
mysql2 (0.5.6)
|
||||||
|
net-http-persistent (4.0.5)
|
||||||
|
connection_pool (~> 2.2)
|
||||||
|
net-imap (0.5.6)
|
||||||
|
date
|
||||||
|
net-protocol
|
||||||
|
net-pop (0.1.2)
|
||||||
|
net-protocol
|
||||||
|
net-protocol (0.2.2)
|
||||||
|
timeout
|
||||||
|
net-smtp (0.5.0)
|
||||||
|
net-protocol
|
||||||
|
nio4r (2.7.4)
|
||||||
|
nokogiri (1.18.5)
|
||||||
|
mini_portile2 (~> 2.8.2)
|
||||||
|
racc (~> 1.4)
|
||||||
|
oj (3.16.8)
|
||||||
|
bigdecimal (>= 3.0)
|
||||||
|
ostruct (>= 0.2)
|
||||||
|
openssl (3.3.0)
|
||||||
|
orm_adapter (0.5.0)
|
||||||
|
os (1.1.4)
|
||||||
|
ostruct (0.6.1)
|
||||||
|
package_json (0.1.0)
|
||||||
|
pagy (9.3.3)
|
||||||
|
parallel (1.26.3)
|
||||||
|
parser (3.3.6.0)
|
||||||
|
ast (~> 2.4.1)
|
||||||
|
racc
|
||||||
|
pg (1.5.9)
|
||||||
|
premailer (1.27.0)
|
||||||
|
addressable
|
||||||
|
css_parser (>= 1.19.0)
|
||||||
|
htmlentities (>= 4.0.0)
|
||||||
|
premailer-rails (1.12.0)
|
||||||
|
actionmailer (>= 3)
|
||||||
|
net-smtp
|
||||||
|
premailer (~> 1.7, >= 1.7.9)
|
||||||
|
pretender (0.5.0)
|
||||||
|
actionpack (>= 6.1)
|
||||||
|
pry (0.15.0)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
pry-rails (0.3.11)
|
||||||
|
pry (>= 0.13.0)
|
||||||
|
psych (5.2.2)
|
||||||
|
date
|
||||||
|
stringio
|
||||||
|
public_suffix (6.0.1)
|
||||||
|
puma (6.5.0)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
racc (1.8.1)
|
||||||
|
rack (3.1.12)
|
||||||
|
rack-proxy (0.7.7)
|
||||||
|
rack
|
||||||
|
rack-session (2.0.0)
|
||||||
|
rack (>= 3.0.0)
|
||||||
|
rack-test (2.1.0)
|
||||||
|
rack (>= 1.3)
|
||||||
|
rackup (2.2.1)
|
||||||
|
rack (>= 3)
|
||||||
|
rails (8.0.1)
|
||||||
|
actioncable (= 8.0.1)
|
||||||
|
actionmailbox (= 8.0.1)
|
||||||
|
actionmailer (= 8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
actiontext (= 8.0.1)
|
||||||
|
actionview (= 8.0.1)
|
||||||
|
activejob (= 8.0.1)
|
||||||
|
activemodel (= 8.0.1)
|
||||||
|
activerecord (= 8.0.1)
|
||||||
|
activestorage (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
bundler (>= 1.15.0)
|
||||||
|
railties (= 8.0.1)
|
||||||
|
rails-dom-testing (2.2.0)
|
||||||
|
activesupport (>= 5.0.0)
|
||||||
|
minitest
|
||||||
|
nokogiri (>= 1.6)
|
||||||
|
rails-html-sanitizer (1.6.2)
|
||||||
|
loofah (~> 2.21)
|
||||||
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
||||||
|
rails-i18n (8.0.1)
|
||||||
|
i18n (>= 0.7, < 2)
|
||||||
|
railties (>= 8.0.0, < 9)
|
||||||
|
rails_autolink (1.1.8)
|
||||||
|
actionview (> 3.1)
|
||||||
|
activesupport (> 3.1)
|
||||||
|
railties (> 3.1)
|
||||||
|
railties (8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
irb (~> 1.13)
|
||||||
|
rackup (>= 1.0.0)
|
||||||
|
rake (>= 12.2)
|
||||||
|
thor (~> 1.0, >= 1.2.2)
|
||||||
|
zeitwerk (~> 2.6)
|
||||||
|
rainbow (3.1.1)
|
||||||
|
rake (13.2.1)
|
||||||
|
rdoc (6.10.0)
|
||||||
|
psych (>= 4.0.0)
|
||||||
|
redis-client (0.23.0)
|
||||||
|
connection_pool
|
||||||
|
regexp_parser (2.9.3)
|
||||||
|
reline (0.6.0)
|
||||||
|
io-console (~> 0.5)
|
||||||
|
representable (3.2.0)
|
||||||
|
declarative (< 0.1.0)
|
||||||
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
||||||
|
uber (< 0.2.0)
|
||||||
|
request_store (1.7.0)
|
||||||
|
rack (>= 1.4)
|
||||||
|
responders (3.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
retriable (3.1.2)
|
||||||
|
rexml (3.4.0)
|
||||||
|
rotp (6.3.0)
|
||||||
|
rqrcode (2.2.0)
|
||||||
|
chunky_png (~> 1.0)
|
||||||
|
rqrcode_core (~> 1.0)
|
||||||
|
rqrcode_core (1.2.0)
|
||||||
|
rspec-core (3.13.2)
|
||||||
|
rspec-support (~> 3.13.0)
|
||||||
|
rspec-expectations (3.13.3)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.13.0)
|
||||||
|
rspec-mocks (3.13.2)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.13.0)
|
||||||
|
rspec-rails (7.1.0)
|
||||||
|
actionpack (>= 7.0)
|
||||||
|
activesupport (>= 7.0)
|
||||||
|
railties (>= 7.0)
|
||||||
|
rspec-core (~> 3.13)
|
||||||
|
rspec-expectations (~> 3.13)
|
||||||
|
rspec-mocks (~> 3.13)
|
||||||
|
rspec-support (~> 3.13)
|
||||||
|
rspec-support (3.13.2)
|
||||||
|
rubocop (1.69.2)
|
||||||
|
json (~> 2.3)
|
||||||
|
language_server-protocol (>= 3.17.0)
|
||||||
|
parallel (~> 1.10)
|
||||||
|
parser (>= 3.3.0.2)
|
||||||
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 2.9.3, < 3.0)
|
||||||
|
rubocop-ast (>= 1.36.2, < 2.0)
|
||||||
|
ruby-progressbar (~> 1.7)
|
||||||
|
unicode-display_width (>= 2.4.0, < 4.0)
|
||||||
|
rubocop-ast (1.37.0)
|
||||||
|
parser (>= 3.3.1.0)
|
||||||
|
rubocop-performance (1.23.0)
|
||||||
|
rubocop (>= 1.48.1, < 2.0)
|
||||||
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
|
rubocop-rails (2.27.0)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
rack (>= 1.1)
|
||||||
|
rubocop (>= 1.52.0, < 2.0)
|
||||||
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
|
rubocop-rspec (3.3.0)
|
||||||
|
rubocop (~> 1.61)
|
||||||
|
ruby-progressbar (1.13.0)
|
||||||
|
ruby-vips (2.2.2)
|
||||||
|
ffi (~> 1.12)
|
||||||
|
logger
|
||||||
|
ruby2_keywords (0.0.5)
|
||||||
|
rubyXL (3.4.33)
|
||||||
|
nokogiri (>= 1.10.8)
|
||||||
|
rubyzip (>= 1.3.0)
|
||||||
|
rubyzip (2.3.2)
|
||||||
|
securerandom (0.4.1)
|
||||||
|
semantic_range (3.1.0)
|
||||||
|
shakapacker (8.0.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
package_json
|
||||||
|
rack-proxy (>= 0.6.1)
|
||||||
|
railties (>= 5.2)
|
||||||
|
semantic_range (>= 2.3.0)
|
||||||
|
sidekiq (7.3.7)
|
||||||
|
connection_pool (>= 2.3.0)
|
||||||
|
logger
|
||||||
|
rack (>= 2.2.4)
|
||||||
|
redis-client (>= 0.22.2)
|
||||||
|
signet (0.19.0)
|
||||||
|
addressable (~> 2.8)
|
||||||
|
faraday (>= 0.17.5, < 3.a)
|
||||||
|
jwt (>= 1.5, < 3.0)
|
||||||
|
multi_json (~> 1.10)
|
||||||
|
simplecov (0.22.0)
|
||||||
|
docile (~> 1.1)
|
||||||
|
simplecov-html (~> 0.11)
|
||||||
|
simplecov_json_formatter (~> 0.1)
|
||||||
|
simplecov-html (0.13.1)
|
||||||
|
simplecov_json_formatter (0.1.4)
|
||||||
|
smart_properties (1.17.0)
|
||||||
|
sqlite3 (2.5.0)
|
||||||
|
mini_portile2 (~> 2.8.0)
|
||||||
|
stringio (3.1.2)
|
||||||
|
strip_attributes (1.14.1)
|
||||||
|
activemodel (>= 3.0, < 9.0)
|
||||||
|
thor (1.3.2)
|
||||||
|
timeout (0.4.3)
|
||||||
|
trailblazer-option (0.1.2)
|
||||||
|
turbo-rails (2.0.11)
|
||||||
|
actionpack (>= 6.0.0)
|
||||||
|
railties (>= 6.0.0)
|
||||||
|
twitter_cldr (6.12.1)
|
||||||
|
camertron-eprun
|
||||||
|
cldr-plurals-runtime-rb (~> 1.1)
|
||||||
|
tzinfo
|
||||||
|
tzinfo (2.0.6)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
tzinfo-data (1.2024.2)
|
||||||
|
tzinfo (>= 1.0.0)
|
||||||
|
uber (0.1.0)
|
||||||
|
unicode-display_width (3.1.2)
|
||||||
|
unicode-emoji (~> 4.0, >= 4.0.4)
|
||||||
|
unicode-emoji (4.0.4)
|
||||||
|
uniform_notifier (1.16.0)
|
||||||
|
uri (1.0.3)
|
||||||
|
useragent (0.16.11)
|
||||||
|
warden (1.2.9)
|
||||||
|
rack (>= 2.0.9)
|
||||||
|
web-console (4.2.1)
|
||||||
|
actionview (>= 6.0.0)
|
||||||
|
activemodel (>= 6.0.0)
|
||||||
|
bindex (>= 0.4.0)
|
||||||
|
railties (>= 6.0.0)
|
||||||
|
webmock (3.24.0)
|
||||||
|
addressable (>= 2.8.0)
|
||||||
|
crack (>= 0.3.2)
|
||||||
|
hashdiff (>= 0.4.0, < 2.0.0)
|
||||||
|
webrick (1.9.1)
|
||||||
|
websocket-driver (0.7.6)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.5)
|
||||||
|
xpath (3.2.0)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
zeitwerk (2.7.1)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
annotaterb
|
||||||
|
arabic-letter-connector
|
||||||
|
aws-sdk-s3
|
||||||
|
aws-sdk-secretsmanager
|
||||||
|
azure-storage-blob
|
||||||
|
better_html
|
||||||
|
bootsnap
|
||||||
|
brakeman
|
||||||
|
bullet
|
||||||
|
cancancan
|
||||||
|
capybara
|
||||||
|
csv
|
||||||
|
cuprite
|
||||||
|
debug
|
||||||
|
devise
|
||||||
|
devise-two-factor
|
||||||
|
dotenv
|
||||||
|
email_typo
|
||||||
|
erb_lint
|
||||||
|
factory_bot_rails
|
||||||
|
faker
|
||||||
|
faraday
|
||||||
|
faraday-follow_redirects
|
||||||
|
foreman
|
||||||
|
google-cloud-storage
|
||||||
|
hexapdf
|
||||||
|
image_processing
|
||||||
|
jwt
|
||||||
|
letter_opener_web
|
||||||
|
lograge
|
||||||
|
mysql2
|
||||||
|
oj
|
||||||
|
pagy
|
||||||
|
pg
|
||||||
|
premailer-rails
|
||||||
|
pretender
|
||||||
|
pry-rails
|
||||||
|
puma
|
||||||
|
rack
|
||||||
|
rails
|
||||||
|
rails-i18n
|
||||||
|
rails_autolink
|
||||||
|
rotp
|
||||||
|
rqrcode
|
||||||
|
rspec-rails
|
||||||
|
rubocop
|
||||||
|
rubocop-performance
|
||||||
|
rubocop-rails
|
||||||
|
rubocop-rspec
|
||||||
|
ruby-vips
|
||||||
|
rubyXL
|
||||||
|
shakapacker
|
||||||
|
sidekiq
|
||||||
|
simplecov
|
||||||
|
sqlite3
|
||||||
|
strip_attributes
|
||||||
|
turbo-rails
|
||||||
|
twitter_cldr
|
||||||
|
tzinfo-data
|
||||||
|
web-console
|
||||||
|
webmock
|
||||||
|
|
||||||
|
RUBY VERSION
|
||||||
|
ruby 3.4.2p28
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.6.2
|
3084
pkgs/by-name/docuseal/rubyEnv/gemset.nix
Normal file
3084
pkgs/by-name/docuseal/rubyEnv/gemset.nix
Normal file
File diff suppressed because it is too large
Load diff
59
pkgs/by-name/docuseal/update.sh
Normal file
59
pkgs/by-name/docuseal/update.sh
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
# SPDX-FileCopyrightText: 2025 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
shopt -s lastpipe
|
||||||
|
|
||||||
|
out="$OUT_DIRECTORY"
|
||||||
|
|
||||||
|
# Fetch the latest release tag
|
||||||
|
version=$(curl -L \
|
||||||
|
-H "Accept: application/vnd.github+json" \
|
||||||
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||||
|
https://api.github.com/repos/docusealco/docuseal/releases/latest |
|
||||||
|
jq -r .tag_name)
|
||||||
|
|
||||||
|
if [ "$version" == "$(jq -r .version <"$out/deps.json")" ]; then
|
||||||
|
echo "No updates found"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Switch to a clean workspace
|
||||||
|
tmp=$(mktemp -d)
|
||||||
|
cd "$tmp"
|
||||||
|
|
||||||
|
# Clone the repository at the required release
|
||||||
|
git clone --depth 1 "https://github.com/docusealco/docuseal" --branch "$version" .
|
||||||
|
|
||||||
|
# Update the ruby files
|
||||||
|
for platform in aarch64-linux aarch64-linux-musl arm64-darwin x86_64-linux x86_64-linux-musl; do
|
||||||
|
bundle lock --remove-platform "$platform"
|
||||||
|
done
|
||||||
|
|
||||||
|
bundix -l >/dev/null
|
||||||
|
|
||||||
|
# Compute the new hashes
|
||||||
|
yarn_hash=$(nix-hash --to-sri --type sha256 "$(prefetch-yarn-deps yarn.lock | grep -v "Warning")")
|
||||||
|
src_hash=$(nurl --hash "https://github.com/docusealco/docuseal" "$version")
|
||||||
|
|
||||||
|
# Format gemset.nix
|
||||||
|
nixfmt gemset.nix
|
||||||
|
|
||||||
|
# Remove required ruby version
|
||||||
|
|
||||||
|
sed -i "/ruby '.*'/d" Gemfile
|
||||||
|
|
||||||
|
# Output the results
|
||||||
|
cp yarn.lock "$out"
|
||||||
|
cp gemset.nix Gemfile Gemfile.lock "$out/rubyEnv"
|
||||||
|
|
||||||
|
cat <<EOF >"$out/deps.json"
|
||||||
|
{
|
||||||
|
"yarn": { "hash": "$yarn_hash" },
|
||||||
|
"version": "$version",
|
||||||
|
"hash": "$src_hash"
|
||||||
|
}
|
||||||
|
EOF
|
6097
pkgs/by-name/docuseal/yarn.lock
Normal file
6097
pkgs/by-name/docuseal/yarn.lock
Normal file
File diff suppressed because it is too large
Load diff
13
pkgs/default.nix
Normal file
13
pkgs/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# SPDX-FileCopyrightText: 2025 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
{
|
||||||
|
sources ? import ../npins,
|
||||||
|
pkgs ? import sources."nixos-unstable" { },
|
||||||
|
callPackage ? pkgs.callPackage,
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
docuseal = callPackage ./by-name/docuseal { };
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue