shelldap: 1.4.0 -> 1.5.1 (#257777)

authored by clerie and committed by GitHub ca0c8dc6 bfe8dbc8

+34 -8
+34 -8
pkgs/tools/misc/shelldap/default.nix
··· 1 - { lib, fetchurl, perlPackages }: 1 + { lib 2 + , fetchFromGitHub 3 + , perlPackages 4 + }: 5 + 2 6 perlPackages.buildPerlPackage rec { 3 7 pname = "shelldap"; 4 - version = "1.4.0"; 5 - src = fetchurl { 6 - url = "https://bitbucket.org/mahlon/shelldap/downloads/shelldap-${version}.tar.gz"; 7 - sha256 = "07gkvvxcgw3pgkfy8p9mmidakciaq1rsq5zhmdqd8zcwgqkrr24i"; 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="; 8 15 }; 9 - buildInputs = with perlPackages; [ perl YAMLSyck perlldap AlgorithmDiff IOSocketSSL AuthenSASL TermReadLineGnu TermShell ]; 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 + 10 29 prePatch = '' 11 30 touch Makefile.PL 12 31 ''; 32 + 13 33 installPhase = '' 14 34 runHook preInstall 15 35 install -Dm555 -t $out/bin shelldap 16 36 runHook preInstall 17 37 ''; 38 + 39 + # no make target 'test', not tests provided by source 40 + doCheck = false; 41 + 18 42 outputs = [ "out" ]; 43 + 19 44 meta = with lib; { 20 - homepage = "https://bitbucket.org/mahlon/shelldap/"; 45 + homepage = "https://github.com/mahlonsmith/shelldap/"; 21 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"; 22 48 license = with licenses; [ bsd3 ]; 23 - maintainers = with maintainers; [ tobiasBora ]; 49 + maintainers = with maintainers; [ clerie tobiasBora ]; 24 50 platforms = platforms.linux; 25 51 }; 26 52 }