2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2024-10-04 16:56:33 +00:00
|
|
|
setuptools,
|
|
|
|
aiohttp,
|
2021-07-03 03:11:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypoint";
|
2024-10-23 06:41:50 +00:00
|
|
|
version = "3.0.1";
|
2024-10-04 16:56:33 +00:00
|
|
|
pyproject = true;
|
2021-07-03 03:11:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fredrike";
|
|
|
|
repo = "pypoint";
|
2024-10-23 06:41:50 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-9z9VcY42uHIksIvDU1Vz+kvXNmrCu08fGB/waQahmyg=";
|
2021-07-03 03:11:41 +00:00
|
|
|
};
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [ aiohttp ];
|
2021-07-03 03:11:41 +00:00
|
|
|
|
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pypoint" ];
|
2021-07-03 03:11:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-10-28 06:52:43 +00:00
|
|
|
description = "Python module for communicating with Minut Point";
|
2021-07-03 03:11:41 +00:00
|
|
|
homepage = "https://github.com/fredrike/pypoint";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|