nixpkgs/pkgs/servers/mobilizon/frontend.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
555 B
Nix
Raw Normal View History

2023-12-02 01:32:38 +00:00
{ lib, callPackage, buildNpmPackage, imagemagick }:
let
common = callPackage ./common.nix { };
in
2023-12-02 01:32:38 +00:00
buildNpmPackage {
inherit (common) pname version src;
npmDepsHash = "sha256-pF07ul71zg9iLM/ja4Fz/6IXpqdMKb7KwOH02Q9lyCg=";
2023-12-02 01:32:38 +00:00
nativeBuildInputs = [ imagemagick ];
2023-12-02 01:32:38 +00:00
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 ];
};
}