Skip to content

Commit

Permalink
hatsu: 0.2.2 -> 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Nov 8, 2024
1 parent 4bb37b8 commit 86ca5a1
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions pkgs/by-name/ha/hatsu/package.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -32,6 +25,8 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Self-hosted and fully-automated ActivityPub bridge for static sites";
homepage = "https://github.com/importantimport/hatsu";
downloadPage = "https://github.com/importantimport/hatsu/releases";
changelog = "https://github.com/importantimport/hatsu/releases/tag/v${version}";
license = lib.licenses.agpl3Only;
mainProgram = "hatsu";
maintainers = with lib.maintainers; [ kwaa ];
Expand Down

0 comments on commit 86ca5a1

Please sign in to comment.