Merge pull request #127543 from fabaff/pymill

This commit is contained in:
Martin Weinelt 2021-06-20 12:47:09 +02:00 committed by GitHub
commit 05657665d5
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
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "millheater";
version = "0.4.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pymill";
rev = version;
sha256 = "0dypv4xwdqcv45aibfkik2slm9r8y7pd2gwqa49kn96f40kdfwb0";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "mill" ];
meta = with lib; {
description = "Python library for Mill heater devices";
homepage = "https://github.com/Danielhiversen/pymill";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -510,7 +510,7 @@
"microsoft_face_identify" = ps: with ps; [ aiohttp-cors ];
"miflora" = ps: with ps; [ bluepy ]; # missing inputs: miflora
"mikrotik" = ps: with ps; [ librouteros ];
"mill" = ps: with ps; [ ]; # missing inputs: millheater
"mill" = ps: with ps; [ millheater ];
"min_max" = ps: with ps; [ ];
"minecraft_server" = ps: with ps; [ aiodns getmac mcstatus ];
"minio" = ps: with ps; [ minio ];

View file

@ -515,6 +515,7 @@ in with py.pkgs; buildPythonApplication rec {
"microsoft_face_detect"
"microsoft_face_identify"
"mikrotik"
"mill"
"min_max"
"minecraft_server"
"minio"

View file

@ -4385,6 +4385,8 @@ in {
milksnake = callPackage ../development/python-modules/milksnake { };
millheater = callPackage ../development/python-modules/millheater { };
minidb = callPackage ../development/python-modules/minidb { };
minidump = callPackage ../development/python-modules/minidump { };