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