3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/asysocks/default.nix
2022-09-16 20:59:12 +00:00

38 lines
703 B
Nix

{ lib
, asn1crypto
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "asysocks";
version = "0.2.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rhqML/w8Hp8xZogjc2ZD+Y9C9c/w1e4X7WNoFaLz9Ps=";
};
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";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}