nixpkgs/pkgs/servers/mobilizon/frontend.nix
2023-12-10 07:23:16 +00:00

24 lines
555 B
Nix

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