Merge pull request #169086 from dotlambda/zulip-0.8.2
python3Packages.zulip: 0.8.1 -> 0.8.2
This commit is contained in:
commit
e33fe968df
1 changed files with 6 additions and 14 deletions
|
@ -1,28 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, matrix-client
|
||||
, distro
|
||||
, click
|
||||
, cryptography
|
||||
, pyopenssl
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zulip";
|
||||
version = "0.8.1";
|
||||
version = "0.8.2";
|
||||
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
# no sdist on PyPI
|
||||
src = fetchFromGitHub {
|
||||
owner = "zulip";
|
||||
repo = "python-zulip-api";
|
||||
rev = version;
|
||||
sha256 = "sha256-vYeZEz8nuZYL1stHLa595IbhyNbqqxH4mx7ISbqRAlA=";
|
||||
hash = "sha256-Z5WrV/RDQwdKUBF86M5/xWhXn3fGNqJtqO5PTd7s5ME=";
|
||||
};
|
||||
sourceRoot = "${src.name}/zulip";
|
||||
|
||||
|
@ -31,20 +30,13 @@ buildPythonPackage rec {
|
|||
matrix-client
|
||||
distro
|
||||
click
|
||||
|
||||
# from requests[security]
|
||||
cryptography
|
||||
pyopenssl
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export COLUMNS=80
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "zulip" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue