3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/slixmpp/default.nix
R. RyanTM bc77a32a94 python37Packages.slixmpp: 1.4.1 -> 1.4.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-slixmpp/versions
2019-02-08 15:57:44 +01:00

35 lines
778 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k, substituteAll, aiodns, pyasn1, pyasn1-modules, aiohttp, gnupg, nose }:
buildPythonPackage rec {
pname = "slixmpp";
version = "1.4.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0rqpmscxjznxyz3dyxpc56gib319k01vl837r8g8w57dinz4y863";
};
patches = [
(substituteAll {
src = ./hardcode-gnupg-path.patch;
inherit gnupg;
})
];
propagatedBuildInputs = [ aiodns pyasn1 pyasn1-modules aiohttp ];
checkInputs = [ nose ];
checkPhase = ''
nosetests --where=tests --exclude=live -i slixtest.py
'';
meta = {
description = "Elegant Python library for XMPP";
license = lib.licenses.mit;
homepage = https://dev.louiz.org/projects/slixmpp;
};
}