nixpkgs/pkgs/development/python-modules/huum/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
811 B
Nix
Raw Normal View History

2022-05-31 00:27:19 +02:00
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, poetry-core
, pydantic
, pythonOlder
}:
buildPythonPackage rec {
pname = "huum";
2022-06-09 09:00:24 +02:00
version = "0.6.0";
2022-05-31 00:27:19 +02:00
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
2022-06-09 09:00:24 +02:00
sha256 = "sha256-PYOjfLPa/vZZP0IZuUZnQ74IrTRvizgYhKOmhd83aMQ=";
2022-05-31 00:27:19 +02:00
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
pydantic
];
# Tests are not shipped and source not tagged
# https://github.com/frwickst/pyhuum/issues/2
doCheck = false;
pythonImportsCheck = [
"huum"
];
meta = with lib; {
description = "Library for for Huum saunas";
homepage = "https://github.com/frwickst/pyhuum";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}