1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, fetchFromGitHub
6}:
7
8buildPythonPackage rec {
9 pname = "pycfdns";
10 version = "2.0.0";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "ludeeus";
15 repo = pname;
16 rev = version;
17 sha256 = "sha256-2vjeoI+IqvCIHb51BLkuTISbG0PxFGHlmpSiCaV+E0w=";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 async-timeout
23 ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [
29 "pycfdns"
30 ];
31
32 meta = with lib; {
33 description = "Python module for updating Cloudflare DNS A records";
34 homepage = "https://github.com/ludeeus/pycfdns";
35 license = with licenses; [ mit ];
36 maintainers = with maintainers; [ fab ];
37 };
38}