lol

Merge pull request #189887 from gp2112/python/telegraph

authored by

Martin Weinelt and committed by
GitHub
aed746f0 9860daf2

+63
+9
maintainers/maintainer-list.nix
··· 4909 4909 fingerprint = "5214 2D39 A7CE F8FA 872B CA7F DE62 E1E2 A614 5556"; 4910 4910 }]; 4911 4911 }; 4912 + gp2112 = { 4913 + email = "me@guip.dev"; 4914 + github = "gp2112"; 4915 + githubId = 26512375; 4916 + name = "Guilherme Paixão"; 4917 + keys = [{ 4918 + fingerprint = "4382 7E28 86E5 C34F 38D5 7753 8C81 4D62 5FBD 99D1"; 4919 + }]; 4920 + }; 4912 4921 gpanders = { 4913 4922 name = "Gregory Anders"; 4914 4923 email = "greg@gpanders.com";
+52
pkgs/development/python-modules/telegraph/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , requests 6 + , httpx 7 + , pytestCheckHook 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "telegraph"; 12 + version = "2.1.0"; 13 + disabled = pythonOlder "3.6"; 14 + 15 + src = fetchFromGitHub { 16 + repo = "telegraph"; 17 + owner = "python273"; 18 + sha256 = "ChlQJu4kHkXUf4gOtW5HS+ThP3eQL7LsyANeS/10pLo="; 19 + rev = "da629de7c00c3b8b0c7ab8ef4bf23caf419a3c6c"; 20 + }; 21 + 22 + checkInputs = [ pytestCheckHook ]; 23 + 24 + pytestFlagsArray = [ "tests/" ]; 25 + 26 + disabledTests = [ 27 + "test_get_page" 28 + ]; 29 + 30 + doCheck = true; 31 + 32 + propagatedBuildInputs = [ 33 + requests 34 + ]; 35 + 36 + passthru.optional-dependencies = { 37 + aio = [ 38 + httpx 39 + ]; 40 + }; 41 + 42 + 43 + pythonImportsCheck = [ "telegraph" ]; 44 + 45 + meta = with lib; { 46 + homepage = "https://github.com/python273/telegraph"; 47 + description = "Telegraph API wrapper"; 48 + license = licenses.mit; 49 + maintainers = with maintainers; [ gp2112 ]; 50 + }; 51 + } 52 +
+2
pkgs/top-level/python-packages.nix
··· 10685 10685 10686 10686 telegram = callPackage ../development/python-modules/telegram { }; 10687 10687 10688 + telegraph = callPackage ../development/python-modules/telegraph { }; 10689 + 10688 10690 telethon = callPackage ../development/python-modules/telethon { 10689 10691 inherit (pkgs) openssl; 10690 10692 };