Merge pull request #127543 from fabaff/pymill
This commit is contained in:
commit
05657665d5
37
pkgs/development/python-modules/millheater/default.nix
Normal file
37
pkgs/development/python-modules/millheater/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -510,7 +510,7 @@
|
||||||
"microsoft_face_identify" = ps: with ps; [ aiohttp-cors ];
|
"microsoft_face_identify" = ps: with ps; [ aiohttp-cors ];
|
||||||
"miflora" = ps: with ps; [ bluepy ]; # missing inputs: miflora
|
"miflora" = ps: with ps; [ bluepy ]; # missing inputs: miflora
|
||||||
"mikrotik" = ps: with ps; [ librouteros ];
|
"mikrotik" = ps: with ps; [ librouteros ];
|
||||||
"mill" = ps: with ps; [ ]; # missing inputs: millheater
|
"mill" = ps: with ps; [ millheater ];
|
||||||
"min_max" = ps: with ps; [ ];
|
"min_max" = ps: with ps; [ ];
|
||||||
"minecraft_server" = ps: with ps; [ aiodns getmac mcstatus ];
|
"minecraft_server" = ps: with ps; [ aiodns getmac mcstatus ];
|
||||||
"minio" = ps: with ps; [ minio ];
|
"minio" = ps: with ps; [ minio ];
|
||||||
|
|
|
@ -515,6 +515,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"microsoft_face_detect"
|
"microsoft_face_detect"
|
||||||
"microsoft_face_identify"
|
"microsoft_face_identify"
|
||||||
"mikrotik"
|
"mikrotik"
|
||||||
|
"mill"
|
||||||
"min_max"
|
"min_max"
|
||||||
"minecraft_server"
|
"minecraft_server"
|
||||||
"minio"
|
"minio"
|
||||||
|
|
|
@ -4385,6 +4385,8 @@ in {
|
||||||
|
|
||||||
milksnake = callPackage ../development/python-modules/milksnake { };
|
milksnake = callPackage ../development/python-modules/milksnake { };
|
||||||
|
|
||||||
|
millheater = callPackage ../development/python-modules/millheater { };
|
||||||
|
|
||||||
minidb = callPackage ../development/python-modules/minidb { };
|
minidb = callPackage ../development/python-modules/minidb { };
|
||||||
|
|
||||||
minidump = callPackage ../development/python-modules/minidump { };
|
minidump = callPackage ../development/python-modules/minidump { };
|
||||||
|
|
Loading…
Reference in a new issue