hatsu: 0.2.2 -> 0.3.0 (#354408)

This commit is contained in:
kirillrdy 2024-11-12 18:54:10 +11:00 committed by GitHub
commit 980c70c72e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 ];