nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 976 B view raw
1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchFromGitHub, 6 google-auth, 7 grpcio, 8 protobuf, 9 pytestCheckHook, 10 requests, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "gassist-text"; 16 version = "0.0.14"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "tronikos"; 21 repo = "gassist_text"; 22 tag = version; 23 hash = "sha256-Nk2GwqColX/d1nUL+YvolLH/1g1FTDZbExhBGot/EV0="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 beautifulsoup4 30 google-auth 31 grpcio 32 protobuf 33 requests 34 ]; 35 36 checkInputs = [ pytestCheckHook ]; 37 38 pythonImportsCheck = [ "gassist_text" ]; 39 40 meta = { 41 description = "Module for interacting with Google Assistant API via text"; 42 homepage = "https://github.com/tronikos/gassist_text"; 43 changelog = "https://github.com/tronikos/gassist_text/releases/tag/${version}"; 44 license = with lib.licenses; [ asl20 ]; 45 maintainers = with lib.maintainers; [ fab ]; 46 }; 47}