nixpkgs/pkgs/by-name/ha/hatsu/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
892 B
Nix
Raw Normal View History

{
fetchFromGitHub,
gitUpdater,
lib,
rustPlatform,
2024-06-16 05:08:11 +01:00
}:
rustPlatform.buildRustPackage rec {
pname = "hatsu";
version = "0.3.0";
2024-06-16 05:08:11 +01:00
src = fetchFromGitHub {
owner = "importantimport";
repo = "hatsu";
rev = "refs/tags/v${version}";
hash = "sha256-K+8X/bNPdjxBSJdlFIXUUOXlTq7Cgol3fFToj5KzbeE=";
2024-06-16 05:08:11 +01:00
};
cargoHash = "sha256-+fNFy3WnQKtDjpNU3veoR2JrBNHj6/Wz2MQP38SR23I=";
2024-06-16 05:08:11 +01:00
passthru.updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = "beta";
};
meta = {
description = "Self-hosted and fully-automated ActivityPub bridge for static sites";
homepage = "https://github.com/importantimport/hatsu";
changelog = "https://github.com/importantimport/hatsu/releases/tag/v${version}";
2024-06-16 05:08:11 +01:00
license = lib.licenses.agpl3Only;
mainProgram = "hatsu";
maintainers = with lib.maintainers; [ kwaa ];
platforms = lib.platforms.linux;
};
}