mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
hatsu: 0.2.2 -> 0.3.0 (#354408)
This commit is contained in:
commit
980c70c72e
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user