Merge pull request #139434 from fabaff/mbddns

This commit is contained in:
Martin Weinelt 2021-09-30 13:04:18 +02:00 committed by GitHub
commit 4583052972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,37 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "mbddns";
version = "0.1.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "thinkl33t";
repo = "mb-ddns";
rev = version;
sha256 = "13xzkprqk1v0zlzx4a0n9zzpnlb1g2h6pc62ms66fj72lsmjynj7";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "mbddns" ];
meta = with lib; {
description = "Mythic Beasts Dynamic DNS updater";
homepage = "https://github.com/thinkl33t/mb-ddns";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -551,7 +551,7 @@
"myq" = ps: with ps; [ pymyq ];
"mysensors" = ps: with ps; [ aiohttp-cors paho-mqtt pymysensors ];
"mystrom" = ps: with ps; [ aiohttp-cors python-mystrom ];
"mythicbeastsdns" = ps: with ps; [ ]; # missing inputs: mbddns
"mythicbeastsdns" = ps: with ps; [ mbddns ];
"nad" = ps: with ps; [ nad-receiver ];
"nam" = ps: with ps; [ nettigo-air-monitor ];
"namecheapdns" = ps: with ps; [ defusedxml ];

View file

@ -522,6 +522,7 @@ in with py.pkgs; buildPythonApplication rec {
"my"
"myq"
"mysensors"
"mythicbeastsdns"
"nam"
"namecheapdns"
"neato"

View file

@ -4532,6 +4532,8 @@ in {
inherit (self) pyface pygments numpy vtk traitsui envisage apptools pyqt5;
};
mbddns = callPackage ../development/python-modules/mbddns { };
mccabe = callPackage ../development/python-modules/mccabe { };
mcstatus = callPackage ../development/python-modules/mcstatus { };