nixpkgs-suyu/pkgs/development/python-modules/python-socks/default.nix
2021-05-07 14:24:19 -07:00

22 lines
623 B
Nix

{ lib, buildPythonPackage, trio, curio, async-timeout, fetchPypi, pythonOlder }:
buildPythonPackage rec {
pname = "python-socks";
version = "1.2.4";
src = fetchPypi {
inherit pname version;
sha256 = "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx";
};
disabled = pythonOlder "3.6.1";
propagatedBuildInputs = [ trio curio async-timeout ];
meta = with lib; {
description = "Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python";
homepage = "https://github.com/romis2012/python-socks";
license = licenses.asl20;
maintainers = with maintainers; [ mjlbach ];
};
}