Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 callPackage,
4 buildNpmPackage,
5 imagemagick,
6}:
7
8let
9 common = callPackage ./common.nix { };
10in
11buildNpmPackage {
12 inherit (common) pname version src;
13
14 npmDepsHash = "sha256-5ilhuFaIvksXsJmNu20m8MV3hYtyPUz4zp8NIvhR5Nw=";
15
16 nativeBuildInputs = [ imagemagick ];
17
18 postInstall = ''
19 cp -r priv/static $out/static
20 '';
21
22 meta = with lib; {
23 description = "Frontend for the Mobilizon server";
24 homepage = "https://joinmobilizon.org/";
25 license = licenses.agpl3Plus;
26 maintainers = with maintainers; [
27 minijackson
28 erictapen
29 ];
30 };
31}