Merge pull request #199903 from fabaff/websocket-client-bump

python310Packages.websocket-client: 1.4.1 -> 1.4.2
This commit is contained in:
Fabian Affolter 2022-12-05 18:58:39 +01:00 committed by GitHub
commit 09a58eb091
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 8 deletions

View file

@ -31,7 +31,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "poets-ai"; owner = "poets-ai";
repo = pname; repo = pname;
rev = version; rev = "refs/tags/${version}";
hash = "sha256-FZmLriYhsX+zyQKCtCjbOy6MH+AvjzHRNUyaDSXGlLI="; hash = "sha256-FZmLriYhsX+zyQKCtCjbOy6MH+AvjzHRNUyaDSXGlLI=";
}; };
@ -73,9 +73,9 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
torch
sh sh
tensorflow tensorflow
torch
]; ];
disabledTests = [ disabledTests = [
@ -89,6 +89,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Neural Networks framework based on Jax inspired by Keras and Haiku"; description = "Neural Networks framework based on Jax inspired by Keras and Haiku";
homepage = "https://github.com/poets-ai/elegy"; homepage = "https://github.com/poets-ai/elegy";
changelog = "https://github.com/poets-ai/elegy/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ndl ]; maintainers = with maintainers; [ ndl ];
}; };

View file

@ -4,29 +4,31 @@
, pythonOlder , pythonOlder
, pytestCheckHook , pytestCheckHook
, python-socks , python-socks
, six
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "websocket-client"; pname = "websocket-client";
version = "1.4.1"; version = "1.4.2";
disabled = pythonOlder "3.6"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-+WEetlyCQaZ/s3O+8ECzz4rTd6n2VGoStiC2UR6Oqe8="; hash = "sha256-1uj5DKji3U6AJ8RWGt65RWtUBEMS26ZV58rmUs65rlk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
python-socks python-socks
six
]; ];
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "websocket" ]; pythonImportsCheck = [
"websocket"
];
meta = with lib; { meta = with lib; {
description = "Websocket client for Python"; description = "Websocket client for Python";