Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitea,
|
|
rustPlatform,
|
|
pkg-config,
|
|
git,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "fedigroups";
|
|
version = "0.4.6";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "git.ondrovo.com";
|
|
owner = "MightyPork";
|
|
repo = "group-actor";
|
|
rev = "v${version}";
|
|
hash = "sha256-Sq22CwLLR10yrN3+dR2KDoS8r99+LWOH7+l+D3RWlKw=";
|
|
forceFetchGit = true; # Archive generation is disabled on this gitea instance
|
|
leaveDotGit = true; # git command in build.rs
|
|
};
|
|
|
|
cargoHash = "sha256-6UijHshvKANtMMfNADWDViDrh6bGlPvFz4xqJeWdqB0=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
git
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://git.ondrovo.com/MightyPork/group-actor#fedi-groups";
|
|
downloadPage = "https://git.ondrovo.com/MightyPork/group-actor/releases";
|
|
description = "Approximation of groups usable with Fediverse software that implements the Mastodon client API";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fgaz ];
|
|
platforms = platforms.all;
|
|
mainProgram = "fedigroups";
|
|
};
|
|
}
|