Skip to content

Commit 980c70c

Browse files
authored
hatsu: 0.2.2 -> 0.3.0 (#354408)
2 parents a70c75f + 2a4fc94 commit 980c70c

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

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

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
1-
{ cmake
2-
, fetchFromGitHub
3-
, gitUpdater
4-
, lib
5-
, openssl
6-
, pkg-config
7-
, rustPlatform
1+
{
2+
fetchFromGitHub,
3+
gitUpdater,
4+
lib,
5+
rustPlatform,
86
}:
97
rustPlatform.buildRustPackage rec {
108
pname = "hatsu";
11-
version = "0.2.2";
9+
version = "0.3.0";
1210

1311
src = fetchFromGitHub {
1412
owner = "importantimport";
1513
repo = "hatsu";
16-
rev = "v${version}";
17-
hash = "sha256-iQrwqv5q002rJMcvUhlsLVN3O7mHyL5zmLGjegZDVG0=";
14+
rev = "refs/tags/v${version}";
15+
hash = "sha256-K+8X/bNPdjxBSJdlFIXUUOXlTq7Cgol3fFToj5KzbeE=";
1816
};
1917

20-
cargoHash = "sha256-LkGkifmHy7cEGrPg0WCf1nCGfcW60AGWQSB0Zb01mk0=";
21-
22-
nativeBuildInputs = [ cmake pkg-config ];
23-
buildInputs = [ openssl ];
24-
25-
env = { OPENSSL_NO_VENDOR = true; };
18+
cargoHash = "sha256-+fNFy3WnQKtDjpNU3veoR2JrBNHj6/Wz2MQP38SR23I=";
2619

2720
passthru.updateScript = gitUpdater {
2821
rev-prefix = "v";
@@ -32,6 +25,7 @@ rustPlatform.buildRustPackage rec {
3225
meta = {
3326
description = "Self-hosted and fully-automated ActivityPub bridge for static sites";
3427
homepage = "https://github.com/importantimport/hatsu";
28+
changelog = "https://github.com/importantimport/hatsu/releases/tag/v${version}";
3529
license = lib.licenses.agpl3Only;
3630
mainProgram = "hatsu";
3731
maintainers = with lib.maintainers; [ kwaa ];

0 commit comments

Comments
 (0)