nixpkgs/pkgs/development/python-modules/pymyq/default.nix
2021-02-11 15:31:50 +01:00

37 lines
685 B
Nix

{ lib
, aiohttp
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, pkce
}:
buildPythonPackage rec {
pname = "pymyq";
version = "3.0.3";
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
sha256 = "1wrfnbz87ns2ginyvljna0axl35s0xfaiqwzapxm8ira40ax5wrl";
};
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 ];
};
}