depot/third_party/nixpkgs/pkgs/development/python-modules/asysocks/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

38 lines
780 B
Nix

{ lib
, asn1crypto
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "asysocks";
version = "0.2.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JHGkQmxt/29GRnVS/GLU1g5Yc+q6voKNOh3n3LfcfcY=";
};
propagatedBuildInputs = [
asn1crypto
];
# Upstream hasn't release the tests yet
doCheck = false;
pythonImportsCheck = [
"asysocks"
];
meta = with lib; {
description = "Python Socks4/5 client and server library";
homepage = "https://github.com/skelsec/asysocks";
changelog = "https://github.com/skelsec/asysocks/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}