2024-01-02 11:29:13 +00:00
|
|
|
{ lib, callPackage, buildNpmPackage, imagemagick }:
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
common = callPackage ./common.nix { };
|
|
|
|
in
|
2024-01-02 11:29:13 +00:00
|
|
|
buildNpmPackage {
|
|
|
|
inherit (common) pname version src;
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
npmDepsHash = "sha256-z/xWumL1wri63cGGMHMBq6WVDe81bp8tILsZa53a7FM=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
nativeBuildInputs = [ imagemagick ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
postInstall = ''
|
|
|
|
cp -r priv/static $out/static
|
2023-10-09 19:29:22 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Frontend for the Mobilizon server";
|
|
|
|
homepage = "https://joinmobilizon.org/";
|
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [ minijackson erictapen ];
|
|
|
|
};
|
|
|
|
}
|