depot/third_party/nixpkgs/pkgs/development/python-modules/sleekxmppfs/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

42 lines
879 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
dnspython,
pyasn1,
pyasn1-modules,
}:
buildPythonPackage rec {
pname = "sleekxmppfs";
version = "1.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "aszymanik";
repo = "SleekXMPP";
rev = "refs/tags/sleek-${version}";
hash = "sha256-E2S4fMk5dRr8g42iOYmKOknHX7NS6EZ/LAZKc1v3dPg=";
};
build-system = [ setuptools ];
dependencies = [
dnspython
pyasn1
pyasn1-modules
];
pythonImportsCheck = [ "sleekxmppfs" ];
# tests weren't adapted for the fork
doCheck = false;
meta = {
description = "A fork of SleekXMPP with TLS cert validation disabled, intended only to be used with the sucks project";
license = lib.licenses.mit;
homepage = "https://github.com/aszymanik/SleekXMPP";
maintainers = with lib.maintainers; [ dotlambda ];
};
}