Files
nixpkgs/pkgs/development/python-modules/asysocks/default.nix
2026-11-06 11:38:33 +01:00

42 lines
838 B
Nix

{
lib,
asn1crypto,
buildPythonPackage,
cryptography,
fetchPypi,
h11,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "asysocks";
version = "0.2.19";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-yP+hVK18pGqqBsH4bzR7wg87jGlhhrCPxBk3kSErK+w=";
};
build-system = [ setuptools ];
dependencies = [
asn1crypto
cryptography
h11
];
# Upstream hasn't release the tests yet
doCheck = false;
pythonImportsCheck = [ "asysocks" ];
meta = {
description = "Python Socks4/5 client and server library";
homepage = "https://github.com/skelsec/asysocks";
changelog = "https://github.com/skelsec/asysocks/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})