Files
nixpkgs/pkgs/development/python-modules/millheater/default.nix
T
2025-12-16 21:50:08 +00:00

42 lines
812 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pyjwt,
setuptools,
}:
buildPythonPackage rec {
pname = "millheater";
version = "0.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pymill";
tag = version;
hash = "sha256-7Jqk5WarCA/YBpmFuF4/dbWpQHtKKRH8hYRT2FXn2n8=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
pyjwt
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "mill" ];
meta = {
description = "Python library for Mill heater devices";
homepage = "https://github.com/Danielhiversen/pymill";
changelog = "https://github.com/Danielhiversen/pymill/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}