3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pymyq/default.nix

40 lines
731 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-08-16 11:17:12 +01:00
version = "3.1.2";
2021-03-03 22:28:59 +00:00
disabled = pythonOlder "3.8";
2021-01-13 21:09:39 +00:00
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
2021-08-16 11:17:12 +01:00
sha256 = "sha256-DvwnbZa1/Y08rrxdXgffkjaGAVdRkPmYCD+Xkv0h7OE=";
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;
2021-08-10 14:54:13 +01:00
2021-01-13 21:09:39 +00:00
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 ];
};
}