0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00
nixpkgs/pkgs/development/python-modules/python-myq/default.nix

50 lines
931 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
, poetry-core
2021-03-03 23:28:59 +01:00
, pythonOlder
2021-01-13 22:09:39 +01:00
}:
buildPythonPackage rec {
pname = "python-myq";
version = "3.1.13";
pyproject = true;
2021-03-03 23:28:59 +01:00
disabled = pythonOlder "3.8";
2021-01-13 22:09:39 +01:00
src = fetchFromGitHub {
owner = "Python-MyQ";
repo = "Python-MyQ";
rev = "refs/tags/v${version}";
hash = "sha256-kW03swRXZdkh45I/up/FIxv0WGBRqTlDt1X71Ow/hrg=";
2021-01-13 22:09:39 +01:00
};
nativeBuildInputs = [
poetry-core
];
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;
2021-08-10 15:54:13 +02:00
pythonImportsCheck = [
"pymyq"
];
2021-01-13 22:09:39 +01:00
meta = with lib; {
description = "Python wrapper for MyQ API";
homepage = "https://github.com/Python-MyQ/Python-MyQ";
changelog = "https://github.com/Python-MyQ/Python-MyQ/releases/tag/v${version}";
2021-01-13 22:09:39 +01:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}