depot/third_party/nixpkgs/pkgs/development/python-modules/laundrify-aio/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

41 lines
772 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, aiohttp
, pyjwt
}:
buildPythonPackage rec {
pname = "laundrify-aio";
version = "1.1.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "laundrify";
repo = "laundrify-pypi";
rev = "v${version}";
hash = "sha256-+dTvYn4hux3Y19kWZwxhdkBARmfD8SuNlYWM/ET9K2M=";
};
propagatedBuildInputs = [
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 ];
};
}