summary refs log tree commit diff
path: root/pkgs/tools/misc/shelldap/default.nix
blob: c782b129200884b78130dfeb47458a2474c69897 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, fetchurl, perlPackages }:
perlPackages.buildPerlPackage rec {
  pname = "shelldap";
  version = "1.4.0";
  src = fetchurl {
    url = "https://bitbucket.org/mahlon/shelldap/downloads/shelldap-${version}.tar.gz";
    sha256 = "07gkvvxcgw3pgkfy8p9mmidakciaq1rsq5zhmdqd8zcwgqkrr24i";
  };
  buildInputs = with perlPackages; [ perl YAMLSyck perlldap AlgorithmDiff IOSocketSSL AuthenSASL TermReadLineGnu TermShell ];
  prePatch = ''
    touch Makefile.PL
  '';
  installPhase = ''
    runHook preInstall
    install -Dm555 -t $out/bin shelldap
    runHook preInstall
  '';
  outputs = [ "out" ];
  meta = with 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;
  };
}