depot/third_party/nixpkgs/pkgs/development/python-modules/pypoint/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

36 lines
727 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
}:
buildPythonPackage rec {
pname = "pypoint";
version = "3.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "fredrike";
repo = "pypoint";
rev = "refs/tags/v${version}";
hash = "sha256-9z9VcY42uHIksIvDU1Vz+kvXNmrCu08fGB/waQahmyg=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "pypoint" ];
meta = with lib; {
description = "Python module for communicating with Minut Point";
homepage = "https://github.com/fredrike/pypoint";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}