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