fedigroups: 0.4.4 -> 0.4.5

This commit is contained in:
Francesco Gazzetta 2023-04-11 15:24:15 +02:00
parent 8c57d13c13
commit b5235e8d6e
2 changed files with 467 additions and 457 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,22 +3,30 @@
, fetchFromGitea , fetchFromGitea
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, git
, openssl , openssl
, Security , Security
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "fedigroups"; pname = "fedigroups";
version = "0.4.4"; version = "0.4.5";
src = fetchFromGitea { src = fetchFromGitea {
domain = "git.ondrovo.com"; domain = "git.ondrovo.com";
owner = "MightyPork"; owner = "MightyPork";
repo = "group-actor"; repo = "group-actor";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-1WqIQp16bs+UB+NSEZn0JH6NOkuAx8iUfho4roA2B00="; sha256 = "sha256-NMqoYUNN2ntye9mNC3KAAc0DBg+QY7+6/DASwHPexY0=";
forceFetchGit = true; # Archive generation is disabled on this gitea instance
leaveDotGit = true; # git command in build.rs
}; };
# The lockfile in the repo is not up to date
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
'';
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
@ -28,6 +36,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
git
]; ];
buildInputs = [ buildInputs = [