nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 842 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "adidnsdump"; 9 version = "1.4.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "dirkjanm"; 14 repo = "adidnsdump"; 15 tag = "v${version}"; 16 hash = "sha256-gKOIZuXYm8ltaajmOZXulPX5dI4fWz4xiZ8W0kPpcRk="; 17 }; 18 19 build-system = with python3.pkgs; [ setuptools ]; 20 21 dependencies = with python3.pkgs; [ 22 impacket 23 ldap3 24 ]; 25 26 pythonImportsCheck = [ "adidnsdump" ]; 27 28 meta = { 29 description = "Active Directory Integrated DNS dumping by any authenticated user"; 30 homepage = "https://github.com/dirkjanm/adidnsdump"; 31 changelog = "https://github.com/dirkjanm/adidnsdump/releases/tag/${src.tag}"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ fab ]; 34 mainProgram = "adidnsdump"; 35 }; 36}