mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
46 lines
815 B
Nix
46 lines
815 B
Nix
{
|
|
lib,
|
|
bleak,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
wheel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyacaia-async";
|
|
version = "0.1.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
pname = "pyacaia_async";
|
|
inherit version;
|
|
hash = "sha256-RwiASn6mD6BhZByoHVqaCH7koVhN5wQorG2l51wFAcI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [ bleak ];
|
|
|
|
# Module has no tests in PyPI releases
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyacaia_async" ];
|
|
|
|
meta = with lib; {
|
|
description = "Module to interact with Acaia scales";
|
|
homepage = "https://github.com/zweckj/pyacaia_async";
|
|
license = with licenses; [
|
|
gpl3Only
|
|
mit
|
|
];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|