depot/third_party/nixpkgs/pkgs/development/python-modules/pymyq/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

38 lines
730 B
Nix

{ lib
, aiohttp
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, pkce
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymyq";
version = "3.0.4";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jeoFlLBjD81Bt6E75rk4U1Ach53KGy23QGx+A6X2rpg=";
};
propagatedBuildInputs = [
aiohttp
beautifulsoup4
pkce
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pymyq" ];
meta = with lib; {
description = "Python wrapper for MyQ API";
homepage = "https://github.com/arraylabs/pymyq";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}