mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
python311Packages.aioapcaccess: init at 0.4.2
Module for working with apcaccess https://github.com/yuxincs/aioapcaccess
This commit is contained in:
parent
18c624d108
commit
a83af8d3dd
46
pkgs/development/python-modules/aioapcaccess/default.nix
Normal file
46
pkgs/development/python-modules/aioapcaccess/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioapcaccess";
|
||||
version = "0.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yuxincs";
|
||||
repo = "aioapcaccess";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Ig9aQduM9wby3DzPjvbubihopwhdMXHovMo3Id47mRk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioapcaccess"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for working with apcaccess";
|
||||
homepage = "https://github.com/yuxincs/aioapcaccess";
|
||||
changelog = "https://github.com/yuxincs/aioapcaccess/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -153,6 +153,8 @@ self: super: with self; {
|
||||
|
||||
aioambient = callPackage ../development/python-modules/aioambient { };
|
||||
|
||||
aioapcaccess = callPackage ../development/python-modules/aioapcaccess { };
|
||||
|
||||
aioapns = callPackage ../development/python-modules/aioapns { };
|
||||
|
||||
aiocron = callPackage ../development/python-modules/aiocron { };
|
||||
|
Loading…
Reference in New Issue
Block a user