nixcfg/app/cryptpad/build/common.nix

23 lines
765 B
Nix
Raw Normal View History

2022-05-06 15:34:30 +00:00
rec {
2022-05-10 13:17:55 +00:00
cryptpadVersion = "4.14.1+2";
cryptpadCommit = "18c371bb5bda068a5d962dd7c4f0726320eea5e9";
2022-05-06 15:34:30 +00:00
2022-05-06 09:44:13 +00:00
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";
};
2022-05-06 15:34:30 +00:00
cryptpadSrc = builtins.fetchGit {
2022-05-10 13:17:55 +00:00
url = "https://github.com/superboum/cryptpad";
2022-05-06 15:34:30 +00:00
ref = "refs/tags/${cryptpadVersion}";
rev = cryptpadCommit;
};
bower2nixSrc = builtins.fetchGit {
url = "https://github.com/superboum/bower2nix";
ref = "new";
rev = "618ab3e206325c63fe4526ae842a1f6c792b0e27";
};
nodejs = "nodejs-slim-16_x";
2022-05-06 09:44:13 +00:00
}