8 perlPackages.buildPerlPackage rec {
12 src = fetchFromGitHub {
13 owner = "mahlonsmith";
15 rev = "refs/tags/v${version}";
16 hash = "sha256-67ttAXzu9pfeqjfhMfLMb9vWCXTrE+iUDCbamqswaLg=";
19 buildInputs = with perlPackages; [
31 nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;
39 install -Dm555 -t $out/bin shelldap
43 postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
44 shortenPerlShebang $out/bin/shelldap
47 # no make target 'test', not tests provided by source
53 homepage = "https://github.com/mahlonsmith/shelldap/";
54 description = "Handy shell-like interface for browsing LDAP servers and editing their content";
55 changelog = "https://github.com/mahlonsmith/shelldap/blob/v${version}/CHANGELOG";
56 license = with licenses; [ bsd3 ];
57 maintainers = with maintainers; [ clerie tobiasBora ];
58 platforms = platforms.unix;
59 mainProgram = "shelldap";