2024-03-12 18:19:52 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kanidm-provision";
|
2024-05-22 18:24:04 +02:00
|
|
|
version = "1.1.0";
|
2024-03-12 18:19:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "oddlama";
|
|
|
|
repo = "kanidm-provision";
|
|
|
|
rev = "v${version}";
|
2024-05-22 18:24:04 +02:00
|
|
|
hash = "sha256-pFOFFKh3la/sZGXj+pAM8x4SMeffvvbOvTjPeHS1XPU=";
|
2024-03-12 18:19:52 +01:00
|
|
|
};
|
|
|
|
|
2024-05-22 18:24:04 +02:00
|
|
|
cargoHash = "sha256-oiKlKIL23xH67tCDbny9Gj97JQQm4mYt0IHXB5hzJ/A=";
|
2024-03-12 18:19:52 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A small utility to help with kanidm provisioning";
|
|
|
|
homepage = "https://github.com/oddlama/kanidm-provision";
|
|
|
|
license = with licenses; [asl20 mit];
|
|
|
|
maintainers = with maintainers; [oddlama];
|
|
|
|
mainProgram = "kanidm-provision";
|
|
|
|
};
|
|
|
|
}
|