Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, aiohttp 3, beautifulsoup4 4, buildPythonPackage 5, fetchFromGitHub 6, pkce 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "pymyq"; 12 version = "3.1.6"; 13 disabled = pythonOlder "3.8"; 14 15 src = fetchFromGitHub { 16 owner = "arraylabs"; 17 repo = pname; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-zhGCoZ7mkHlfDjEbQihtM23u+N6nfYsQhKmrloevzp8="; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 beautifulsoup4 25 pkce 26 ]; 27 28 # Project has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "pymyq" 33 ]; 34 35 meta = with lib; { 36 description = "Python wrapper for MyQ API"; 37 homepage = "https://github.com/arraylabs/pymyq"; 38 changelog = "https://github.com/arraylabs/pymyq/releases/tag/v${version}"; 39 license = with licenses; [ mit ]; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}