python.pkgs.zulip: init at 0.7.0
This commit is contained in:
parent
61525137fd
commit
c9c5be8a1e
41
pkgs/development/python-modules/zulip/default.nix
Normal file
41
pkgs/development/python-modules/zulip/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, fetchFromGitHub
|
||||||
|
, requests
|
||||||
|
, matrix-client
|
||||||
|
, distro
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zulip";
|
||||||
|
version = "0.7.0";
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
# no sdist on PyPI
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zulip";
|
||||||
|
repo = "python-zulip-api";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0waldgpzq3ms1r1z14lxdj56lf082fnmi83l3fn8i8gqr8nvnch1";
|
||||||
|
};
|
||||||
|
sourceRoot = "source/zulip";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
matrix-client
|
||||||
|
distro
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export COLUMNS=80
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Bindings for the Zulip message API";
|
||||||
|
homepage = "https://github.com/zulip/python-zulip-api";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -7693,6 +7693,8 @@ in {
|
||||||
|
|
||||||
zstd = callPackage ../development/python-modules/zstd { inherit (pkgs) zstd pkgconfig; };
|
zstd = callPackage ../development/python-modules/zstd { inherit (pkgs) zstd pkgconfig; };
|
||||||
|
|
||||||
|
zulip = callPackage ../development/python-modules/zulip { };
|
||||||
|
|
||||||
zxcvbn = callPackage ../development/python-modules/zxcvbn { };
|
zxcvbn = callPackage ../development/python-modules/zxcvbn { };
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue