aboutsummaryrefslogtreecommitdiff
path: root/overlays/staging/pleroma/default.nix
blob: 1e1cc2d58eb77663e6567ab20f54c3f7a2e9ddaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, lib, pkgs, fetchFromGitLab, ... }:

stdenv.mkDerivation rec {
  name = "pleroma-${version}";
  version = "0.9.0";

  src = fetchFromGitLab rec {
    domain = "git.pleroma.social";
    owner = "pleroma";
    repo = "pleroma";
    rev = "v${version}";
    sha256 = "1k33h3j67ywrmkrjr1hvb53j3zsvszb4rfraak1vsh7jn4j6a0wl";
  };

  installPhase = ''
    cp -r $src $out
  '';

  meta = with lib; {
    description = "A free, federated social networking server built on open protocols";
    license = licenses.agpl3;
    maintainers = [ maintainers.spacekookie ];
    platforms = platforms.all;
  };
}