pythonPackages.telegram: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 17:34:54 -04:00
parent a36ce69f6c
commit f54484f527
2 changed files with 22 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "telegram";
version = "0.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1495l2ml8mg120wfvqhikqkfczhwwaby40vdmsz8v2l69jps01fl";
};
meta = with stdenv.lib; {
homepage = https://github.com/liluo/telegram;
description = "Telegram APIs";
license = licenses.mit;
};
}