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

39 lines
730 B
Nix
Raw Normal View History

2021-01-13 22:09:39 +01:00
{ lib
, aiohttp
2021-02-07 12:45:49 +01:00
, beautifulsoup4
2021-01-13 22:09:39 +01:00
, buildPythonPackage
, fetchFromGitHub
2021-02-07 12:45:49 +01:00
, pkce
2021-03-03 23:28:59 +01:00
, pythonOlder
2021-01-13 22:09:39 +01:00
}:
buildPythonPackage rec {
pname = "pymyq";
2021-03-03 23:28:59 +01:00
version = "3.0.4";
disabled = pythonOlder "3.8";
2021-01-13 22:09:39 +01:00
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
2021-03-03 23:28:59 +01:00
sha256 = "sha256-jeoFlLBjD81Bt6E75rk4U1Ach53KGy23QGx+A6X2rpg=";
2021-01-13 22:09:39 +01:00
};
propagatedBuildInputs = [
aiohttp
2021-02-07 12:45:49 +01:00
beautifulsoup4
pkce
2021-01-13 22:09:39 +01: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 ];
};
}