Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 69 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchFromGitHub# Python deps, blockfrost-python, cachetools, cbor2, cose, ecpy, frozendict, frozenlist, mnemonic, poetry-core, pprintpp, pynacl, setuptools, typeguard, websocket-client}:
let cose_0_9_dev8 = cose.overridePythonAttrs (old: rec { version = "0.9.dev8"; src = (old.src.override { rev = "v${version}"; hash = "sha256-/jwq2C2nvHInsgPG4jZCr+XsvlUJdYewAkasrUPVaHM="; }); pythonImportsCheck = [ "cose" ]; });
in buildPythonPackage rec { pname = "pycardano"; version = "0.10.0";
format = "pyproject";
src = fetchFromGitHub { owner = "Python-Cardano"; repo = "pycardano"; rev = "v${version}"; hash = "sha256-LP/W8IC2del476fGFq10VMWwMrbAoCCcZOngA8unBM0="; };
propagatedBuildInputs = [ blockfrost-python cachetools cbor2 cose_0_9_dev8 ecpy frozendict frozenlist mnemonic poetry-core pprintpp pynacl setuptools typeguard websocket-client ];
pythonImportsCheck = [ "pycardano" ];
meta = with lib; { description = "A lightweight Cardano library in Python"; homepage = "https://github.com/Python-Cardano/pycardano"; license = licenses.mit; maintainers = with maintainers; [ t4ccer ]; };}