nixpkgs/pkgs/development/python-modules/pymyq/default.nix

37 lines
685 B
Nix
Raw Normal View History

2021-01-13 21:09:39 +00:00
{ lib
, aiohttp
2021-02-07 11:45:49 +00:00
, beautifulsoup4
2021-01-13 21:09:39 +00:00
, buildPythonPackage
, fetchFromGitHub
2021-02-07 11:45:49 +00:00
, pkce
2021-01-13 21:09:39 +00:00
}:
buildPythonPackage rec {
pname = "pymyq";
2021-02-11 13:16:10 +00:00
version = "3.0.3";
2021-01-13 21:09:39 +00:00
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
2021-02-11 13:16:10 +00:00
sha256 = "1wrfnbz87ns2ginyvljna0axl35s0xfaiqwzapxm8ira40ax5wrl";
2021-01-13 21:09:39 +00:00
};
propagatedBuildInputs = [
aiohttp
2021-02-07 11:45:49 +00:00
beautifulsoup4
pkce
2021-01-13 21:09:39 +00:00
];
# 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 ];
};
}