nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 46 lines 1.0 kB view raw
1{ 2 lib, 3 fetchPypi, 4 bitcoin-utils-fork-minimal, 5 buildPythonPackage, 6 base58, 7 pycryptodome, 8 requests, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "block-io"; 14 version = "2.0.6"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-M7czfpagXqoWWSu4enB3Z2hc2GtAaskI6cnJzJdpC8I="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 pythonRelaxDeps = [ "base58" ]; 25 26 dependencies = [ 27 base58 28 bitcoin-utils-fork-minimal 29 pycryptodome 30 requests 31 setuptools 32 ]; 33 34 # Tests needs a BlockIO API key to run properly 35 # https://github.com/BlockIo/block_io-python/blob/79006bc8974544b70a2d8e9f19c759941d32648e/test.py#L18 36 doCheck = false; 37 38 pythonImportsCheck = [ "block_io" ]; 39 40 meta = { 41 description = "Integrate Bitcoin, Dogecoin and Litecoin in your Python applications using block.io"; 42 homepage = "https://github.com/BlockIo/block_io-python"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ nyanloutre ]; 45 }; 46}