diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-05-06 17:34:30 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-05-06 17:35:09 +0200 |
commit | 071e87a2025edfa8694fd3ae05be894d2be434ee (patch) | |
tree | cacc8e997f669a3ae497b2256394aa90c83c711e /app/cryptpad/build/common.nix | |
parent | 0561fa8d5f07f183a27b068feb820e4777b0c020 (diff) | |
download | nixcfg-071e87a2025edfa8694fd3ae05be894d2be434ee.tar.gz nixcfg-071e87a2025edfa8694fd3ae05be894d2be434ee.zip |
Own packaging of Cryptpad
Diffstat (limited to 'app/cryptpad/build/common.nix')
-rw-r--r-- | app/cryptpad/build/common.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/cryptpad/build/common.nix b/app/cryptpad/build/common.nix index 639d9a1..980e821 100644 --- a/app/cryptpad/build/common.nix +++ b/app/cryptpad/build/common.nix @@ -1,8 +1,22 @@ -{ +rec { + cryptpadVersion = "4.14.1"; + cryptpadCommit = "5979aafdee90aab232658374b11aca8331fd0421"; + pkgsSrc = fetchTarball { # Latest commit on https://github.com/NixOS/nixpkgs/tree/nixos-21.11 # As of 2022-04-15 url ="https://github.com/NixOS/nixpkgs/archive/2f06b87f64bc06229e05045853e0876666e1b023.tar.gz"; sha256 = "sha256:1d7zg96xw4qsqh7c89pgha9wkq3rbi9as3k3d88jlxy2z0ns0cy2"; }; + cryptpadSrc = builtins.fetchGit { + url = "https://github.com/xwiki-labs/cryptpad"; + ref = "refs/tags/${cryptpadVersion}"; + rev = cryptpadCommit; + }; + bower2nixSrc = builtins.fetchGit { + url = "https://github.com/superboum/bower2nix"; + ref = "new"; + rev = "618ab3e206325c63fe4526ae842a1f6c792b0e27"; + }; + nodejs = "nodejs-slim-16_x"; } |