python3Packages.pyrogram: 1.4.16 -> 2.0.13
https://docs.pyrogram.org/releases/v2.0
This commit is contained in:
parent
6a323903ad
commit
092dad1b2a
1 changed files with 8 additions and 7 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue