mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
0215034f25
when they already rely on SRI hashes.
48 lines
829 B
Nix
48 lines
829 B
Nix
{ lib
|
|
, authlib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, httpx
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosenz";
|
|
version = "1.0.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milanmeu";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-ODdWPS14zzptxuS6mff51f0s1SYnIqjF40DmvT0sL0w=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|