depot/third_party/nixpkgs/pkgs/development/python-modules/millheater/default.nix
Default email 7bc014aa9c Project import generated by Copybara.
GitOrigin-RevId: c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90
2022-09-11 12:47:08 -03:00

43 lines
802 B
Nix

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "millheater";
version = "0.10.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pymill";
rev = version;
sha256 = "sha256-ImEg+VEiASQPnMeZzbYMMb+ZgcsxagQcN9IDFGO05Vw=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
cryptography
];
# 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 ];
};
}