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

40 lines
731 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-09-11 09:00:11 +02:00
version = "3.1.4";
2021-03-03 23:28:59 +01:00
disabled = pythonOlder "3.8";
2021-01-13 22:09:39 +01:00
src = fetchFromGitHub {
owner = "arraylabs";
repo = pname;
rev = "v${version}";
2021-09-11 09:00:11 +02:00
sha256 = "sha256-B8CnyM0nQr8HWnD5toMd8A57j/UtnQ2aWys0netOAtA=";
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
2021-01-13 22:09:39 +01: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 ];
};
}