52 lines
986 B
Nix
52 lines
986 B
Nix
![]() |
{
|
||
|
lib,
|
||
|
stdenv,
|
||
|
fetchFromGitLab,
|
||
|
cmake,
|
||
|
arpa2cm,
|
||
|
quickder,
|
||
|
quickmem,
|
||
|
quick-sasl,
|
||
|
lillydap,
|
||
|
nix-update-script,
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation (finalAttrs: {
|
||
|
# leaf is already used
|
||
|
pname = "arpa2-leaf";
|
||
|
version = "0.2";
|
||
|
|
||
|
src = fetchFromGitLab {
|
||
|
owner = "arpa2";
|
||
|
repo = "leaf";
|
||
|
tag = "v${finalAttrs.version}";
|
||
|
hash = "sha256-s52gtxM+BmG7oVrB5F0ORjkb4F3fWONiOxIWdDn2P5k=";
|
||
|
};
|
||
|
|
||
|
strictDeps = true;
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
cmake
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
arpa2cm
|
||
|
quickder
|
||
|
quickmem
|
||
|
quick-sasl
|
||
|
lillydap
|
||
|
];
|
||
|
|
||
|
passthru.updateScript = nix-update-script { };
|
||
|
|
||
|
meta = {
|
||
|
description = "LDAP Extended Attribute Filter";
|
||
|
homepage = "https://gitlab.com/arpa2/leaf";
|
||
|
changelog = "https://gitlab.com/arpa2/leaf/-/blob/v${finalAttrs.version}/CHANGES";
|
||
|
license = lib.licenses.bsd2;
|
||
|
teams = with lib.teams; [ ngi ];
|
||
|
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
||
|
platforms = lib.platforms.linux;
|
||
|
};
|
||
|
})
|