adtool: init at 1.3.3
This commit is contained in:
parent
44f724467a
commit
93f276d47d
39
pkgs/tools/admin/adtool/default.nix
Normal file
39
pkgs/tools/admin/adtool/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchurl, openldap }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "adtool-${version}";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gp2x.org/adtool/${name}.tar.gz";
|
||||
sha256 = "1awmpjamrwivi69i0j2fyrziy9s096ckviqd9c4llc3990mfsn4n";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"sysconfdir=$(out)/etc"
|
||||
];
|
||||
|
||||
buildInputs = [ openldap ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/doc/adtool
|
||||
mv $out/etc/* $out/share/doc/adtool
|
||||
rmdir $out/etc
|
||||
'';
|
||||
|
||||
# It requires an LDAP server for tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Active Directory administration utility for Unix";
|
||||
homepage = https://gp2x.org/adtool;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
@ -7706,6 +7706,8 @@ with pkgs;
|
||||
|
||||
alloy = callPackage ../development/tools/alloy { };
|
||||
|
||||
adtool = callPackage ../tools/admin/adtool { };
|
||||
|
||||
augeas = callPackage ../tools/system/augeas { };
|
||||
|
||||
inherit (callPackages ../tools/admin/ansible {})
|
||||
|
Loading…
Reference in New Issue
Block a user