My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pycfdns/default.nix

38 lines
719 B

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pycfdns";
version = "1.2.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "ludeeus";
repo = pname;
rev = version;
sha256 = "sha256-bsalfZEkZrBG0/SyEXCWOZyrhOYU/3YJR/78FQTpXYk=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"pycfdns"
];
meta = with lib; {
description = "Python module for updating Cloudflare DNS A records";
homepage = "https://github.com/ludeeus/pycfdns";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}