mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
python3Packages.pytouchlinesl: init at 0.1.0
This commit is contained in:
parent
d5e130e437
commit
606b49a303
2 changed files with 53 additions and 0 deletions
51
pkgs/development/python-modules/pytouchlinesl/default.nix
Normal file
51
pkgs/development/python-modules/pytouchlinesl/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
nix-update-script,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytouchlinesl";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jnsgruk";
|
||||
repo = "pytouchlinesl";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-xyAy5QtNox1ZeXGQEYXWiEIQKSNQSnRTqr0kgQRmdcg=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pydantic
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytouchlinesl" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "A Python API client for Roth's TouchlineSL API";
|
||||
homepage = "https://github.com/jnsgruk/pytouchlinesl";
|
||||
changelog = "https://github.com/jnsgruk/pytouchlinesl/releases/tag/${src.rev}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jnsgruk ];
|
||||
};
|
||||
}
|
|
@ -10606,6 +10606,8 @@ self: super: with self; {
|
|||
|
||||
pytomorrowio = callPackage ../development/python-modules/pytomorrowio { };
|
||||
|
||||
pytouchlinesl = callPackage ../development/python-modules/pytouchlinesl { };
|
||||
|
||||
pyuca = callPackage ../development/python-modules/pyuca { };
|
||||
|
||||
pyunpack = callPackage ../development/python-modules/pyunpack { };
|
||||
|
|
Loading…
Reference in a new issue