at 24.05-pre 52 lines 1.1 kB view raw
1{ lib 2, fetchFromGitHub 3, perlPackages 4}: 5 6perlPackages.buildPerlPackage rec { 7 pname = "shelldap"; 8 version = "1.5.1"; 9 10 src = fetchFromGitHub { 11 owner = "mahlonsmith"; 12 repo = "shelldap"; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-67ttAXzu9pfeqjfhMfLMb9vWCXTrE+iUDCbamqswaLg="; 15 }; 16 17 buildInputs = with perlPackages; [ 18 AlgorithmDiff 19 AuthenSASL 20 IOSocketSSL 21 perl 22 perlldap 23 TermReadLineGnu 24 TermShell 25 TieIxHash 26 YAMLSyck 27 ]; 28 29 prePatch = '' 30 touch Makefile.PL 31 ''; 32 33 installPhase = '' 34 runHook preInstall 35 install -Dm555 -t $out/bin shelldap 36 runHook preInstall 37 ''; 38 39 # no make target 'test', not tests provided by source 40 doCheck = false; 41 42 outputs = [ "out" ]; 43 44 meta = with lib; { 45 homepage = "https://github.com/mahlonsmith/shelldap/"; 46 description = "A handy shell-like interface for browsing LDAP servers and editing their content"; 47 changelog = "https://github.com/mahlonsmith/shelldap/blob/v${version}/CHANGELOG"; 48 license = with licenses; [ bsd3 ]; 49 maintainers = with maintainers; [ clerie tobiasBora ]; 50 platforms = platforms.unix; 51 }; 52}