2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, perlPackages }:
|
2019-03-06 21:00:29 +00:00
|
|
|
perlPackages.buildPerlPackage rec {
|
2019-06-20 14:07:56 +01:00
|
|
|
pname = "shelldap";
|
2019-03-06 21:00:29 +00:00
|
|
|
version = "1.4.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/mahlon/shelldap/downloads/shelldap-${version}.tar.gz";
|
|
|
|
sha256 = "07gkvvxcgw3pgkfy8p9mmidakciaq1rsq5zhmdqd8zcwgqkrr24i";
|
|
|
|
};
|
|
|
|
buildInputs = with perlPackages; [ perl YAMLSyck NetLDAP AlgorithmDiff IOSocketSSL AuthenSASL TermReadLineGnu TermShell ];
|
|
|
|
prePatch = ''
|
|
|
|
touch Makefile.PL
|
|
|
|
'';
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
install -Dm555 -t $out/bin shelldap
|
|
|
|
runHook preInstall
|
|
|
|
'';
|
|
|
|
outputs = [ "out" ];
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/mahlon/shelldap/";
|
2019-03-06 21:00:29 +00:00
|
|
|
description = "A handy shell-like interface for browsing LDAP servers and editing their content";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
maintainers = with maintainers; [ tobiasBora ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|