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