documenso: init at 0.9

authored by

happysalada and committed by
Yt
af13ed44 f7163adb

+55
+53
pkgs/applications/office/documenso/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildNpmPackage 4 + , nodePackages 5 + , nix-update-script 6 + }: 7 + let 8 + version = "0.9"; 9 + in 10 + buildNpmPackage { 11 + pname = "documenso"; 12 + inherit version; 13 + 14 + src = fetchFromGitHub { 15 + owner = "documenso"; 16 + repo = "documenso"; 17 + rev = "v${version}"; 18 + hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo="; 19 + }; 20 + 21 + preBuild = '' 22 + # somehow for linux, npm is not finding the prisma package with the 23 + # packages installed with the lockfile. 24 + # This generates a prisma version incompatibility warning and is a kludge 25 + # until the upstream package-lock is modified. 26 + ${nodePackages.prisma}/bin/prisma generate 27 + ''; 28 + 29 + npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E="; 30 + 31 + installPhase = '' 32 + runHook preInstall 33 + 34 + mkdir $out 35 + cp -r node_modules $out/ 36 + cp package-lock.json $out 37 + cp apps/web/package.json $out 38 + cp -r apps/web/public $out/ 39 + cp -r apps/web/.next $out/ 40 + 41 + runHook postInstall 42 + ''; 43 + 44 + passthru.updateScript = nix-update-script {}; 45 + 46 + meta = with lib; { 47 + description = "The Open Source DocuSign Alternative."; 48 + homepage = "https://github.com/documenso/documenso"; 49 + license = licenses.agpl3Only; 50 + maintainers = with maintainers; [ happysalada ]; 51 + platforms = platforms.unix; 52 + }; 53 + }
+2
pkgs/top-level/all-packages.nix
··· 589 590 dnf5 = callPackage ../tools/package-management/dnf5 { }; 591 592 dsq = callPackage ../tools/misc/dsq { }; 593 594 dt = callPackage ../tools/text/dt { };
··· 589 590 dnf5 = callPackage ../tools/package-management/dnf5 { }; 591 592 + documenso = callPackage ../applications/office/documenso { }; 593 + 594 dsq = callPackage ../tools/misc/dsq { }; 595 596 dt = callPackage ../tools/text/dt { };