Merge pull request #186319 from fabaff/aqipy-atmotech

python310Packages.aqipy-atmotech: init at 0.1.5
This commit is contained in:
Fabian Affolter 2022-08-12 22:54:08 +02:00 committed by GitHub
commit ee5489c1ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aqipy-atmotech";
version = "0.1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "atmotube";
repo = "aqipy";
rev = version;
hash = "sha256-tqHhfJmtVFUSO57Cid9y3LK4pOoG7ROtwDT2hY5IE1Y=";
};
checkInputs = [
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'" ""
'';
pythonImportsCheck = [
"aqipy"
];
meta = with lib; {
description = "Library for AQI calculation";
homepage = "https://github.com/atmotube/aqipy";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -633,6 +633,8 @@ in {
apycula = callPackage ../development/python-modules/apycula { }; apycula = callPackage ../development/python-modules/apycula { };
aqipy-atmotech = callPackage ../development/python-modules/aqipy-atmotech { };
aqualogic = callPackage ../development/python-modules/aqualogic { }; aqualogic = callPackage ../development/python-modules/aqualogic { };
arabic-reshaper = callPackage ../development/python-modules/arabic-reshaper { }; arabic-reshaper = callPackage ../development/python-modules/arabic-reshaper { };