lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 61 lines 1.4 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, perlPackages 5, shortenPerlShebang 6}: 7 8perlPackages.buildPerlPackage rec { 9 pname = "shelldap"; 10 version = "1.5.1"; 11 12 src = fetchFromGitHub { 13 owner = "mahlonsmith"; 14 repo = "shelldap"; 15 rev = "refs/tags/v${version}"; 16 hash = "sha256-67ttAXzu9pfeqjfhMfLMb9vWCXTrE+iUDCbamqswaLg="; 17 }; 18 19 buildInputs = with perlPackages; [ 20 AlgorithmDiff 21 AuthenSASL 22 IOSocketSSL 23 perl 24 perlldap 25 TermReadLineGnu 26 TermShell 27 TieIxHash 28 YAMLSyck 29 ]; 30 31 nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; 32 33 prePatch = '' 34 touch Makefile.PL 35 ''; 36 37 installPhase = '' 38 runHook preInstall 39 install -Dm555 -t $out/bin shelldap 40 runHook postInstall 41 ''; 42 43 postInstall = lib.optionalString stdenv.isDarwin '' 44 shortenPerlShebang $out/bin/shelldap 45 ''; 46 47 # no make target 'test', not tests provided by source 48 doCheck = false; 49 50 outputs = [ "out" ]; 51 52 meta = with lib; { 53 homepage = "https://github.com/mahlonsmith/shelldap/"; 54 description = "A 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"; 60 }; 61}