depot/third_party/nixpkgs/pkgs/servers/snac2/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

33 lines
679 B
Nix

{ stdenv
, lib
, fetchFromGitea
, curl
, openssl
}:
stdenv.mkDerivation rec {
pname = "snac2";
version = "2.15";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "grunfink";
repo = pname;
rev = version;
hash = "sha256-aK98nolgf/pju6jPZell1qLZMxArDna4FMqf3THGV1I=";
};
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;
};
}