kanidm-provision: 1.2.1 -> 1.3.0

This commit is contained in:
oddlama 2025-06-07 11:05:59 +02:00
parent c7c9cae886
commit b7f5fce1ca
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -2,7 +2,6 @@
lib,
rustPlatform,
fetchFromGitHub,
yq,
versionCheckHook,
nix-update-script,
nixosTests,
@ -10,25 +9,17 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "kanidm-provision";
version = "1.2.1";
version = "1.3.0";
src = fetchFromGitHub {
owner = "oddlama";
repo = "kanidm-provision";
tag = "v${finalAttrs.version}";
hash = "sha256-kwxGrLz59Zk8PSsfQzPUeA/xWQZrV1NWlS5/yuqfIyI=";
hash = "sha256-m3bF4wFPVRc2E+E/pZc3js9T4rYbTejo/FFpysytWKw=";
};
postPatch = ''
tomlq -ti '.package.version = "${finalAttrs.version}"' Cargo.toml
'';
useFetchCargoVendor = true;
cargoHash = "sha256-uo/TGyfNChq/t6Dah0HhXhAwktyQk0V/wewezZuftNk=";
nativeBuildInputs = [
yq # for `tomlq`
];
cargoHash = "sha256-dPTrIc/hTbMlFDXYMk/dTjqaNECazldfW43egDOwyLM=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";