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

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

43 lines
773 B
Nix
Raw Normal View History

2021-12-18 18:01:56 +00:00
{ lib
, authlib
, buildPythonPackage
, fetchFromGitHub
, httpx
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiosenz";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "milanmeu";
repo = pname;
rev = version;
sha256 = "sha256-ODdWPS14zzptxuS6mff51f0s1SYnIqjF40DmvT0sL0w=";
};
propagatedBuildInputs = [
httpx
authlib
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"aiosenz"
];
meta = with lib; {
description = "Python wrapper for the nVent Raychem SENZ RestAPI";
homepage = "https://github.com/milanmeu/aiosenz";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}