python3Packages.cardano-tools: init at 2.1.0

This commit is contained in:
t4ccer
2025-02-27 16:53:26 -07:00
parent 784d919777
commit 8b4ce134c0
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
# Python deps
requests,
pexpect,
}:
buildPythonPackage rec {
pname = "cardano-tools";
version = "2.1.0";
pyproject = true;
src = fetchPypi {
pname = "cardano_tools";
inherit version;
hash = "sha256-RFyKXHafV+XgRJSsTjASCCw9DxvZqertf4NNN616Bp4=";
};
build-system = [ poetry-core ];
dependencies = [
requests
pexpect
];
pythonImportsCheck = [ "cardano_tools" ];
meta = with lib; {
description = "Python module for interfacing with the Cardano blockchain";
homepage = "https://gitlab.com/viperscience/cardano-tools";
license = licenses.asl20;
maintainers = with maintainers; [ t4ccer ];
};
}
+2
View File
@@ -2102,6 +2102,8 @@ self: super: with self; {
carbon = callPackage ../development/python-modules/carbon { };
cardano-tools = callPackage ../development/python-modules/cardano-tools { };
cardimpose = callPackage ../development/python-modules/cardimpose { };
cart = callPackage ../development/python-modules/cart { };