blob: 2e4a54ff481ec95ec9bcf46c7b7243338a71c96f (
plain) (
blame)
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
26
27
28
29
30
31
32
33
|
{ stdenv
, lib
, fetchFromGitea
, curl
, openssl
}:
stdenv.mkDerivation rec {
pname = "snac2";
version = "2.12";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "grunfink";
repo = pname;
rev = version;
hash = "sha256-mSk4qWte3Lksb0fxUfVZGT34eWsS4VfUlGN5yt4/pgs=";
};
buildInputs = [ curl openssl ];
makeFlags = [ "PREFIX=$(out)" ];
preInstall = "mkdir -p $out/bin";
meta = with lib; {
homepage = "https://codeberg.org/grunfink/snac2";
description = "A simple, minimalistic ActivityPub instance (2.x, C)";
license = licenses.mit;
maintainers = with maintainers; [ misuzu ];
platforms = platforms.linux;
};
}
|