3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

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