hatsu: 0.2.2 -> 0.3.0

https://github.com/importantimport/hatsu/releases/tag/v0.3.0
This commit is contained in:
藍+85CD
2024-11-08 21:21:05 +08:00
parent 4bb37b893d
commit 2a4fc94d33
+10 -16
View File
@@ -1,28 +1,21 @@
{ cmake
, fetchFromGitHub
, gitUpdater
, lib
, openssl
, pkg-config
, rustPlatform
{
fetchFromGitHub,
gitUpdater,
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "hatsu";
version = "0.2.2";
version = "0.3.0";
src = fetchFromGitHub {
owner = "importantimport";
repo = "hatsu";
rev = "v${version}";
hash = "sha256-iQrwqv5q002rJMcvUhlsLVN3O7mHyL5zmLGjegZDVG0=";
rev = "refs/tags/v${version}";
hash = "sha256-K+8X/bNPdjxBSJdlFIXUUOXlTq7Cgol3fFToj5KzbeE=";
};
cargoHash = "sha256-LkGkifmHy7cEGrPg0WCf1nCGfcW60AGWQSB0Zb01mk0=";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ openssl ];
env = { OPENSSL_NO_VENDOR = true; };
cargoHash = "sha256-+fNFy3WnQKtDjpNU3veoR2JrBNHj6/Wz2MQP38SR23I=";
passthru.updateScript = gitUpdater {
rev-prefix = "v";
@@ -32,6 +25,7 @@ rustPlatform.buildRustPackage rec {
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}";
license = lib.licenses.agpl3Only;
mainProgram = "hatsu";
maintainers = with lib.maintainers; [ kwaa ];