mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
cloudflare-dyndns: init at 4.1
This commit is contained in:
parent
f71b277192
commit
0d9517f98b
53
pkgs/applications/networking/cloudflare-dyndns/default.nix
Normal file
53
pkgs/applications/networking/cloudflare-dyndns/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ buildPythonApplication
|
||||
, attrs
|
||||
, click
|
||||
, cloudflare
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, poetry
|
||||
, pydantic
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "cloudflare-dyndns";
|
||||
version = "4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kissgyorgy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6Q5fpJ+HuQ+hc3xTtB5tR43pn9WZ0nZZR723iLAkpis=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
click
|
||||
cloudflare
|
||||
pydantic
|
||||
requests
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'click = "^7.0"' 'click = "*"'
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
"test_get_ipv4"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = " CloudFlare Dynamic DNS client ";
|
||||
homepage = "https://github.com/kissgyorgy/cloudflare-dyndns";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lovesegfault ];
|
||||
};
|
||||
}
|
@ -2961,6 +2961,8 @@ with pkgs;
|
||||
|
||||
cloudflared = callPackage ../applications/networking/cloudflared { };
|
||||
|
||||
cloudflare-dyndns = python3Packages.cloudflare-dyndns;
|
||||
|
||||
cloudmonkey = callPackage ../tools/virtualization/cloudmonkey { };
|
||||
|
||||
clib = callPackage ../tools/package-management/clib { };
|
||||
|
@ -1735,6 +1735,8 @@ in {
|
||||
|
||||
cloudflare = callPackage ../development/python-modules/cloudflare { };
|
||||
|
||||
cloudflare-dyndns = callPackage ../applications/networking/cloudflare-dyndns { };
|
||||
|
||||
cloudpickle = callPackage ../development/python-modules/cloudpickle { };
|
||||
|
||||
cloudscraper = callPackage ../development/python-modules/cloudscraper { };
|
||||
|
Loading…
Reference in New Issue
Block a user