159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
52 lines
914 B
Nix
52 lines
914 B
Nix
{
|
|
lib,
|
|
aenum,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pydantic,
|
|
python-dateutil,
|
|
pythonOlder,
|
|
setuptools,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "weheat";
|
|
version = "2024.09.10";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wefabricate";
|
|
repo = "wh-python";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-D9m9IR5RTRphIgDX25izkbAHeLml9AYL6xdH46ryqaI=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"urllib3"
|
|
"pydantic"
|
|
];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aenum
|
|
pydantic
|
|
python-dateutil
|
|
urllib3
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "weheat" ];
|
|
|
|
meta = {
|
|
description = "Library to interact with the weheat API";
|
|
homepage = "https://github.com/wefabricate/wh-python";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|