1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 poetry-core, 6 # Python deps 7 requests, 8 pexpect, 9}: 10 11buildPythonPackage rec { 12 pname = "cardano-tools"; 13 version = "2.1.0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "cardano_tools"; 18 inherit version; 19 hash = "sha256-RFyKXHafV+XgRJSsTjASCCw9DxvZqertf4NNN616Bp4="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 dependencies = [ 25 requests 26 pexpect 27 ]; 28 29 pythonImportsCheck = [ "cardano_tools" ]; 30 31 meta = with lib; { 32 description = "Python module for interfacing with the Cardano blockchain"; 33 homepage = "https://gitlab.com/viperscience/cardano-tools"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ aciceri ]; 36 }; 37}