Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, beautifulsoup4 3, buildPythonPackage 4, fetchFromGitHub 5, google-auth 6, grpcio 7, protobuf 8, pytestCheckHook 9, pythonOlder 10, requests 11, setuptools 12}: 13 14buildPythonPackage rec { 15 pname = "gassist-text"; 16 version = "0.0.10"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "tronikos"; 23 repo = "gassist_text"; 24 rev = "refs/tags/${version}"; 25 hash = "sha256-BSMflCSYNAaQVTOqKWyr9U9Q70ley1jjF6ndOVum+GA="; 26 }; 27 28 nativeBuildInputs = [ 29 setuptools 30 ]; 31 32 propagatedBuildInputs = [ 33 beautifulsoup4 34 google-auth 35 grpcio 36 protobuf 37 requests 38 ]; 39 40 checkInputs = [ 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ 45 "gassist_text" 46 ]; 47 48 meta = with lib; { 49 description = "Module for interacting with Google Assistant API via text"; 50 homepage = "https://github.com/tronikos/gassist_text"; 51 changelog = "https://github.com/tronikos/gassist_text/releases/tag/${version}"; 52 license = with licenses; [ asl20 ]; 53 maintainers = with maintainers; [ fab ]; 54 }; 55}