python3Packages.pycardano: 0.11.1 -> 0.12.3

This commit is contained in:
t4ccer 2024-10-31 21:06:47 -06:00
parent 41f973ccb1
commit ce6d8b83e3
No known key found for this signature in database
GPG Key ID: 19E5A2D8B1E43F19
2 changed files with 22 additions and 10 deletions

View File

@ -11,8 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "blockfrost-python"; pname = "blockfrost-python";
version = "0.6.0"; version = "0.6.0";
pyproject = true;
format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "blockfrost"; owner = "blockfrost";

View File

@ -2,6 +2,7 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
pytestCheckHook,
# Python deps # Python deps
blockfrost-python, blockfrost-python,
cachetools, cachetools,
@ -12,12 +13,15 @@
frozendict, frozendict,
frozenlist, frozenlist,
mnemonic, mnemonic,
ogmios,
poetry-core, poetry-core,
pprintpp, pprintpp,
pynacl, pynacl,
requests,
setuptools, setuptools,
typeguard, typeguard,
websocket-client, websocket-client,
websockets,
}: }:
let let
@ -34,18 +38,21 @@ let
in in
buildPythonPackage rec { buildPythonPackage rec {
pname = "pycardano"; pname = "pycardano";
version = "0.11.1"; version = "0.12.3";
pyproject = true;
format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Python-Cardano"; owner = "Python-Cardano";
repo = "pycardano"; repo = "pycardano";
rev = "v${version}"; tag = "v${version}";
hash = "sha256-OWm6ztt3s3DUbxDZqpvwTO6XwdY/57AI6Bc6x6kxH7k="; hash = "sha256-jxgskdQ7Us+utndUgFYK7G2IW/e5QbeXytOsxQfFiJI=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
blockfrost-python blockfrost-python
cachetools cachetools
cbor2 cbor2
@ -55,15 +62,21 @@ buildPythonPackage rec {
frozendict frozendict
frozenlist frozenlist
mnemonic mnemonic
ogmios
poetry-core poetry-core
pprintpp pprintpp
pynacl pynacl
setuptools requests
typeguard typeguard
websocket-client websocket-client
websockets
]; ];
pythonRelaxDeps = [ "typeguard" ]; nativeCheckInputs = [
pytestCheckHook
];
pythonRelaxDeps = [ "websockets" ];
pythonImportsCheck = [ "pycardano" ]; pythonImportsCheck = [ "pycardano" ];