depot/third_party/nixpkgs/pkgs/development/python-modules/millheater/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

42 lines
868 B
Nix

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "millheater";
version = "0.11.0";
format = "setuptools";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pymill";
rev = "refs/tags/${version}";
hash = "sha256-NECGUosjrhRCVGHOFV+YjY8o3heoA7qi9kKsgXpeHh0=";
};
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 ];
};
}