nixpkgs/pkgs/tools/misc/shelldap/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.1 KiB
Nix
Raw Normal View History

2023-09-29 18:26:12 +00:00
{ lib
, fetchFromGitHub
, perlPackages
}:
2019-03-06 21:00:29 +00:00
perlPackages.buildPerlPackage rec {
pname = "shelldap";
2023-09-29 18:26:12 +00:00
version = "1.5.1";
src = fetchFromGitHub {
owner = "mahlonsmith";
repo = "shelldap";
rev = "refs/tags/v${version}";
hash = "sha256-67ttAXzu9pfeqjfhMfLMb9vWCXTrE+iUDCbamqswaLg=";
2019-03-06 21:00:29 +00:00
};
2023-09-29 18:26:12 +00:00
buildInputs = with perlPackages; [
AlgorithmDiff
AuthenSASL
IOSocketSSL
perl
perlldap
TermReadLineGnu
TermShell
TieIxHash
YAMLSyck
];
2019-03-06 21:00:29 +00:00
prePatch = ''
touch Makefile.PL
'';
2023-09-29 18:26:12 +00:00
2019-03-06 21:00:29 +00:00
installPhase = ''
runHook preInstall
install -Dm555 -t $out/bin shelldap
runHook preInstall
'';
2023-09-29 18:26:12 +00:00
# no make target 'test', not tests provided by source
doCheck = false;
2019-03-06 21:00:29 +00:00
outputs = [ "out" ];
2023-09-29 18:26:12 +00:00
meta = with lib; {
2023-09-29 18:26:12 +00:00
homepage = "https://github.com/mahlonsmith/shelldap/";
2019-03-06 21:00:29 +00:00
description = "A handy shell-like interface for browsing LDAP servers and editing their content";
2023-09-29 18:26:12 +00:00
changelog = "https://github.com/mahlonsmith/shelldap/blob/v${version}/CHANGELOG";
2019-03-06 21:00:29 +00:00
license = with licenses; [ bsd3 ];
2023-09-29 18:26:12 +00:00
maintainers = with maintainers; [ clerie tobiasBora ];
2023-09-29 18:27:15 +00:00
platforms = platforms.unix;
2019-03-06 21:00:29 +00:00
};
}