python3Packages.pyrogram: 1.4.16 -> 2.0.13

https://docs.pyrogram.org/releases/v2.0
This commit is contained in:
Robert Schütz 2022-04-25 21:20:08 +00:00
parent 6a323903ad
commit 092dad1b2a

View file

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonOlder , pythonOlder
, fetchPypi , fetchFromGitHub
, pyaes , pyaes
, pysocks , pysocks
, async-lru , async-lru
@ -12,14 +12,15 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyrogram"; pname = "pyrogram";
version = "1.4.16"; version = "2.0.13";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchFromGitHub {
pname = "Pyrogram"; owner = "pyrogram";
inherit version; repo = "pyrogram";
hash = "sha256-ZYAPaAa92z3KtciVHOexdZf9bwZjKQ9WKg6+We0dW+Q="; rev = "v${version}";
hash = "sha256-8mnGfW8/2RbU4gFS8e72KAxMGGkb8XrhsyK01wD97rI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [