1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "openldap_exporter";
7 src = fetchFromGitHub {
11 sha256 = "sha256-1u+89odwV/lz34wtrK91lET2bOqkH6kRA7JCjzsmiEg=";
19 "-X github.com/tomcz/openldap_exporter.tag=v${version}"
20 "-X github.com/tomcz/openldap_exporter.commit=unknown"
25 homepage = "https://github.com/tomcz/openldap_exporter";
26 description = "Simple service that scrapes metrics from OpenLDAP and exports them via HTTP for Prometheus consumption";
27 mainProgram = "openldap_exporter";
28 license = licenses.mit;
29 maintainers = with maintainers; [ ma27 ];