Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
940 B · 42 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, fetchPypi, buildPythonPackage, gnupg, setuptools, pytestCheckHook}:
buildPythonPackage rec { pname = "pycoin"; version = "0.92.20230326";
src = fetchPypi { inherit pname version; hash = "sha256-DYXwATRHw1ay9swLuQOtB+5LcoBe4TtAKWzQgxESwN8="; };
propagatedBuildInputs = [ setuptools ];
postPatch = '' substituteInPlace ./pycoin/cmds/tx.py --replace '"gpg"' '"${gnupg}/bin/gpg"' '';
nativeCheckInputs = [ pytestCheckHook ];
dontUseSetuptoolsCheck = true;
# Disable tests depending on online services disabledTests = [ "ServicesTest" "test_tx_pay_to_opcode_list_txt" "test_tx_fetch_unspent" "test_tx_with_gpg" ];
meta = with lib; { description = "Utilities for Bitcoin and altcoin addresses and transaction manipulation"; homepage = "https://github.com/richardkiss/pycoin"; license = licenses.mit; maintainers = with maintainers; [ nyanloutre ]; };}