mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-17 22:28:55 +00:00
python3Packages.aioaquacell: 0.2.0 -> 1.0.0
https://github.com/Jordi1990/aioaquacell/releases/tag/1.0.0
This commit is contained in:
@@ -1,48 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
aiobotocore,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
aiohttp,
|
||||
attr,
|
||||
aws-request-signer,
|
||||
boto3,
|
||||
botocore,
|
||||
requests-aws4auth,
|
||||
pycognito,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aioaquacell";
|
||||
version = "0.2.0";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-n2kPD1t5d/nf43rB0q1hNNYdHeaBiadsFWTmu1bYN1A=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Jordi1990";
|
||||
repo = "aioaquacell";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-ghzuNIqpDwrt2EJ8u74yF5pWdS2nR3FvbPdHQMH4KxE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"'
|
||||
'';
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
aiobotocore
|
||||
attr
|
||||
aws-request-signer
|
||||
boto3
|
||||
botocore
|
||||
requests-aws4auth
|
||||
pycognito
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aioaquacell" ];
|
||||
|
||||
doCheck = false;
|
||||
doCheck = false; # no tests
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Jordi1990/aioaquacell/releases/tag/v${version}";
|
||||
changelog = "https://github.com/Jordi1990/aioaquacell/releases/tag/${finalAttrs.version}";
|
||||
description = "Asynchronous library to retrieve details of your Aquacell water softener device";
|
||||
homepage = "https://github.com/Jordi1990/aioaquacell";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user