garage: 0.7.0 -> 0.7.3
https://git.deuxfleurs.fr/Deuxfleurs/garage/compare/v0.7.0...v0.7.3
This commit is contained in:
parent
803462f4f4
commit
654192bd63
1 changed files with 25 additions and 6 deletions
|
@ -1,22 +1,41 @@
|
||||||
{ lib, stdenv, rustPlatform, fetchFromGitea, protobuf, testers, Security, garage }:
|
{ lib, stdenv, rustPlatform, fetchFromGitea, openssl, pkg-config, protobuf
|
||||||
|
, testers, Security, garage }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "garage";
|
pname = "garage";
|
||||||
version = "0.7.0";
|
version = "0.7.3";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
domain = "git.deuxfleurs.fr";
|
domain = "git.deuxfleurs.fr";
|
||||||
owner = "Deuxfleurs";
|
owner = "Deuxfleurs";
|
||||||
repo = "garage";
|
repo = "garage";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-gs0TW431YUrdsdJ+PYrJgnLiBmDPYnUR0iVnQ/YqIfU=";
|
sha256 = "sha256-WDhe2L+NalMoIy2rhfmv8KCNDMkcqBC9ezEKKocihJg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-XGSenT2q3VXNcIT1Lg1e5HTOkEdOb1o3H07ahteQM/o=";
|
cargoSha256 = "sha256-5m4c8/upBYN8nuysDhGKEnNVJjEGC+yLrraicrAQOfI=";
|
||||||
|
|
||||||
nativeBuildInputs = [ protobuf ];
|
nativeBuildInputs = [ protobuf pkg-config ];
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
] ++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
|
OPENSSL_NO_VENDOR = true;
|
||||||
|
|
||||||
|
# See https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/v0.7.2/default.nix#L84-L98
|
||||||
|
# on version changes for checking if changes are required here
|
||||||
|
buildFeatures = [
|
||||||
|
"kubernetes-discovery"
|
||||||
|
];
|
||||||
|
|
||||||
|
# To make integration tests pass, we include the optional k2v feature here,
|
||||||
|
# but not in buildFeatures. See:
|
||||||
|
# https://garagehq.deuxfleurs.fr/documentation/reference-manual/k2v/
|
||||||
|
checkFeatures = [
|
||||||
|
"k2v"
|
||||||
|
"kubernetes-discovery"
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.version = testers.testVersion { package = garage; };
|
tests.version = testers.testVersion { package = garage; };
|
||||||
|
|
Loading…
Reference in a new issue