1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
44 lines
845 B
Nix
44 lines
845 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
apischema,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
gql,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioaseko";
|
|
version = "1.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milanmeu";
|
|
repo = "aioaseko";
|
|
tag = "v${version}";
|
|
hash = "sha256-jUvpu/lOFKRUwEuYD1zRp0oODjf4AgH84fnGngtv9jw=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
apischema
|
|
gql
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aioaseko" ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.lgpl3Plus;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|