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

39 lines
730 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-03-03 22:28:59 +00:00
, pythonOlder
2021-01-13 21:09:39 +00:00
}:
buildPythonPackage rec {
pname = "pymyq";
2021-03-03 22:28:59 +00:00
version = "3.0.4";
disabled = pythonOlder "3.8";
2021-01-13 21:09:39 +00:00
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
2021-03-03 22:28:59 +00:00
sha256 = "sha256-jeoFlLBjD81Bt6E75rk4U1Ach53KGy23QGx+A6X2rpg=";
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 ];
};
}