diff --git a/pkgs/tools/misc/shelldap/default.nix b/pkgs/tools/misc/shelldap/default.nix new file mode 100644 index 00000000000..9686955e1dd --- /dev/null +++ b/pkgs/tools/misc/shelldap/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, perlPackages }: +perlPackages.buildPerlPackage rec { + name = "shelldap-${version}"; + 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" ]; + meta = with stdenv.lib; { + homepage = https://bitbucket.org/mahlon/shelldap/; + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ded711a54a6..53d593e82cf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5416,6 +5416,8 @@ in sharutils = callPackage ../tools/archivers/sharutils { }; + shelldap = callPackage ../tools/misc/shelldap { }; + schema2ldif = callPackage ../tools/text/schema2ldif { }; shocco = callPackage ../tools/text/shocco { };