25 buildPythonPackage rec {
26 pname = "cypherpunkpay";
30 src = fetchFromGitHub {
31 owner = "CypherpunkPay";
32 repo = "CypherpunkPay";
33 rev = "refs/tags/v${version}";
34 sha256 = "sha256-X0DB0PVwR0gRnt3jixFzglWAOPKBMvqTOG6pK6OJ03w=";
38 substituteInPlace pyproject.toml \
39 --replace 'monero = "^0.99"' 'monero = ">=0.99"' \
40 --replace 'pypng = "^0.0.20"' 'pypng = ">=0.0.20"' \
41 --replace 'tzlocal = "2.1"' 'tzlocal = ">=2.1"'
48 propagatedBuildInputs = [
73 "test/unit/tools/pbkdf2_test.py"
74 # tests require network connection
75 "test/network/explorers/bitcoin"
76 "test/network/net/http_client"
78 # tests require bitcoind running
79 "test/network/full_node_clients"
80 # tests require lnd running
82 # tests require tor running
83 "test/network/net/tor_client"
84 # tests require the full environment running
85 "test/acceptance/views"
86 "test/acceptance/views_admin"
87 "test/acceptance/views_donations"
88 "test/acceptance/views_dummystore"
92 description = "Modern self-hosted software for accepting Bitcoin";
93 homepage = "https://cypherpunkpay.org";
94 license = with licenses; [ mit /* or */ unlicense ];
95 maintainers = with maintainers; [ prusnak ];