Merge pull request #139434 from fabaff/mbddns
This commit is contained in:
commit
4583052972
4 changed files with 41 additions and 1 deletions
37
pkgs/development/python-modules/mbddns/default.nix
Normal file
37
pkgs/development/python-modules/mbddns/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -522,6 +522,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"my"
|
||||
"myq"
|
||||
"mysensors"
|
||||
"mythicbeastsdns"
|
||||
"nam"
|
||||
"namecheapdns"
|
||||
"neato"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue