depot/third_party/nixpkgs/pkgs/development/python-modules/laundrify-aio/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

44 lines
819 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
aiohttp,
pyjwt,
}:
buildPythonPackage rec {
pname = "laundrify-aio";
version = "1.2.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "laundrify";
repo = "laundrify-pypi";
rev = "refs/tags/v${version}";
hash = "sha256-iFQ0396BkGWM7Ma/I0gbXucd2/yPmEVF4IC3/bMK2SA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
pyjwt
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "laundrify_aio" ];
meta = with lib; {
description = "Module to communicate with the laundrify API";
homepage = "https://github.com/laundrify/laundrify-pypi";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}