letsdns: init at 1.2.1

New package, submitted by upstream author. LetsDNS manages DANE TLSA
records in DNS servers.

Signed-off-by: Ralph Seichter <github@seichter.de>

authored by

Ralph Seichter and committed by
Ralph Seichter
9f085433 cbb3c610

+58
+58
pkgs/by-name/le/letsdns/package.nix
···
··· 1 + { 2 + lib, 3 + python3Packages, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + nix-update-script, 7 + }: 8 + let 9 + version = "1.2.1"; 10 + in 11 + python3Packages.buildPythonApplication { 12 + pname = "letsdns"; 13 + inherit version; 14 + pyproject = true; 15 + 16 + src = fetchFromGitHub { 17 + owner = "LetsDNS"; 18 + repo = "letsdns"; 19 + tag = version; 20 + hash = "sha256-TwGVm7sEOPvUqtvaAuIU/X5W3H4VAC8dskNunt8UO0I="; 21 + }; 22 + 23 + build-system = [ 24 + python3Packages.setuptools 25 + ]; 26 + 27 + nativeCheckInputs = [ 28 + python3Packages.pytestCheckHook 29 + versionCheckHook 30 + ]; 31 + 32 + dependencies = with python3Packages; [ 33 + cryptography 34 + dnspython 35 + requests 36 + ]; 37 + 38 + disabledTestPaths = [ 39 + # These tests require upstream certificates 40 + "tests/test_action.py" 41 + ]; 42 + 43 + env = { 44 + UNITTEST_CONF = "tests/citest.conf"; 45 + }; 46 + 47 + passthru.updateScript = nix-update-script { }; 48 + 49 + meta = { 50 + description = "Manage DANE TLSA records in DNS servers"; 51 + homepage = "https://www.letsdns.de/"; 52 + downloadPage = "https://github.com/LetsDNS/letsdns"; 53 + changelog = "https://github.com/LetsDNS/letsdns/releases/tag/${version}"; 54 + license = lib.licenses.gpl3Only; 55 + maintainers = with lib.maintainers; [ rseichter ]; 56 + mainProgram = "letsdns"; 57 + }; 58 + }