Merge pull request #225745 from fgaz/fedigroups/0.4.5

fedigroups: 0.4.4 -> 0.4.5
This commit is contained in:
Francesco Gazzetta 2023-04-20 19:27:34 +02:00 committed by GitHub
commit e41d9cc7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
, rustPlatform
, pkg-config
, git
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "fedigroups";
version = "0.4.4";
version = "0.4.5";
src = fetchFromGitea {
domain = "git.ondrovo.com";
owner = "MightyPork";
repo = "group-actor";
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 = {
lockFile = ./Cargo.lock;
outputHashes = {
@ -28,6 +36,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
pkg-config
git
];
buildInputs = [