Merge pull request #144616 from fgaz/fedigroups/init

This commit is contained in:
Maciej Krüger 2021-11-13 18:51:33 +01:00 committed by GitHub
commit 8b032ba1c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitea
, rustPlatform
, pkg-config
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "fedigroups";
version = "0.4.4";
src = fetchFromGitea {
domain = "git.ondrovo.com";
owner = "MightyPork";
repo = "group-actor";
rev = "v${version}";
sha256 = "sha256-1WqIQp16bs+UB+NSEZn0JH6NOkuAx8iUfho4roA2B00=";
};
cargoHash = "sha256-88ToWRkBDXUvnEB2K6q5f3+IMuC3zNzrXrVFZnjbA9o=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
] ++ lib.optional stdenv.isDarwin Security;
meta = with lib; {
homepage = "https://git.ondrovo.com/MightyPork/group-actor#fedi-groups";
downloadPage = "https://git.ondrovo.com/MightyPork/group-actor/releases";
description = "An approximation of groups usable with Fediverse software that implements the Mastodon client API";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}

View File

@ -20634,6 +20634,10 @@ with pkgs;
fcgiwrap = callPackage ../servers/fcgiwrap { };
fedigroups = callPackage ../servers/fedigroups {
inherit (darwin.apple_sdk.frameworks) Security;
};
felix = callPackage ../servers/felix { };
felix_remoteshell = callPackage ../servers/felix/remoteshell.nix { };