2023-12-02 01:32:38 +00:00
|
|
|
{ lib, callPackage, buildNpmPackage, imagemagick }:
|
2023-09-05 15:53:09 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
common = callPackage ./common.nix { };
|
|
|
|
in
|
2023-12-02 01:32:38 +00:00
|
|
|
buildNpmPackage {
|
|
|
|
inherit (common) pname version src;
|
2023-09-05 15:53:09 +00:00
|
|
|
|
2024-02-29 17:23:24 +00:00
|
|
|
npmDepsHash = "sha256-pF07ul71zg9iLM/ja4Fz/6IXpqdMKb7KwOH02Q9lyCg=";
|
2023-09-05 15:53:09 +00:00
|
|
|
|
2023-12-02 01:32:38 +00:00
|
|
|
nativeBuildInputs = [ imagemagick ];
|
2023-09-05 15:53:09 +00:00
|
|
|
|
2023-12-02 01:32:38 +00:00
|
|
|
postInstall = ''
|
|
|
|
cp -r priv/static $out/static
|
2023-09-05 15:53:09 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Frontend for the Mobilizon server";
|
|
|
|
homepage = "https://joinmobilizon.org/";
|
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [ minijackson erictapen ];
|
|
|
|
};
|
|
|
|
}
|