depot/third_party/nixpkgs/pkgs/development/python-modules/pypoint/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

38 lines
709 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, authlib
, httpx
}:
buildPythonPackage rec {
pname = "pypoint";
version = "2.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "fredrike";
repo = "pypoint";
rev = "v${version}";
sha256 = "sha256-Or7A/Br6BgiCF6OHRtN5TAt++Tu1RLS9mYRgD7Aljts=";
};
propagatedBuildInputs = [
authlib
httpx
];
# 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 ];
};
}