42 lines
870 B
Nix
42 lines
870 B
Nix
|
{
|
||
|
lib,
|
||
|
aiohttp,
|
||
|
async-timeout,
|
||
|
buildPythonPackage,
|
||
|
fetchFromGitHub,
|
||
|
pythonOlder,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "millheater";
|
||
|
version = "0.11.8";
|
||
|
format = "setuptools";
|
||
|
|
||
|
disabled = pythonOlder "3.10";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "Danielhiversen";
|
||
|
repo = "pymill";
|
||
|
rev = "refs/tags/${version}";
|
||
|
hash = "sha256-BSrnUhe6SFtalUGldC24eJTqJAF5FdUWo3rwWNT1uCw=";
|
||
|
};
|
||
|
|
||
|
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";
|
||
|
changelog = "https://github.com/Danielhiversen/pymill/releases/tag/${version}";
|
||
|
license = with licenses; [ mit ];
|
||
|
maintainers = with maintainers; [ fab ];
|
||
|
};
|
||
|
}
|