Merge pull request #308372 from fabaff/sanix

python312Packages.sanix: init at 1.0.6
This commit is contained in:
Fabian Affolter 2024-05-02 09:07:11 +02:00 committed by GitHub
commit 9fdde86cc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "sanix";
version = "1.0.6";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "tomaszsluszniak";
repo = "sanix_py";
rev = "refs/tags/v${version}";
hash = "sha256-D2w3hmL8ym63liWOYdZS4ry3lJ0utbbYGagWoOTT1TQ=";
};
build-system = [
setuptools
];
dependencies = [
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "sanix" ];
meta = with lib; {
description = "Module to get measurements data from Sanix devices";
homepage = "https://github.com/tomaszsluszniak/sanix_py";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -13502,6 +13502,8 @@ self: super: with self; {
sanic-testing = callPackage ../development/python-modules/sanic-testing { };
sanix = callPackage ../development/python-modules/sanix { };
sansio-multipart = callPackage ../development/python-modules/sansio-multipart { };
sarif-om = callPackage ../development/python-modules/sarif-om { };