mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
46 lines
1.0 KiB
Nix
46 lines
1.0 KiB
Nix
{ 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=";
|
|
};
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"elefren-0.22.0" = "sha256-zCmopdkBHT0gzNGQqZzsnIyMyAt0XBbQdOCpegF6TsY=";
|
|
};
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|