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 {
pname = "blockfrost-python";
version = "0.6.0";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "blockfrost";

View File

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