mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
cc85ec87da
Diff: https://github.com/milanmeu/aioaseko/compare/refs/tags/v0.1.0...v0.1.1 Changelog: https://github.com/milanmeu/aioaseko/releases/tag/v0.1.1
48 lines
908 B
Nix
48 lines
908 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, setuptools
|
|
, pyjwt
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioaseko";
|
|
version = "0.1.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milanmeu";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-bjPl0yrRaTIEEuPV8NbWu2hx/es5bcu2tDBZV+95fUc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
pyjwt
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"aioaseko"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module to interact with the Aseko Pool Live API";
|
|
homepage = "https://github.com/milanmeu/aioaseko";
|
|
changelog = "https://github.com/milanmeu/aioaseko/releases/tag/v${version}";
|
|
license = with licenses; [ lgpl3Plus ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|