Merge pull request #308785 from 0xB10C/2024-05-bitcoin-prometheus-exporter-0.7.0

bitcoin-prometheus-exporter: 0.5.0 -> 0.7.0
This commit is contained in:
Weijia Wang 2024-05-04 16:57:51 +02:00 committed by GitHub
commit 937e50202a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
python3Packages.buildPythonApplication rec {
pname = "bitcoin-prometheus-exporter";
version = "0.5.0";
version = "0.7.0";
format = "other";
@ -10,17 +10,12 @@ python3Packages.buildPythonApplication rec {
owner = "jvstein";
repo = pname;
rev = "v${version}";
sha256 = "0l0j6dyb0vflh386z3g8srysay5sf47g5rg2f5xrkckv86rjr115";
sha256 = "sha256-ZWr+bBNnRYzqjatOJ4jYGzvTyfheceY2UDvG4Juvo5I=";
};
patches = [
# remove after update to new release
(fetchpatch {
name = "configurable-listening-address.patch";
url = "https://patch-diff.githubusercontent.com/raw/jvstein/bitcoin-prometheus-exporter/pull/11.patch";
sha256 = "0a2l8aqgprc1d5k8yg1gisn6imh9hzg6j0irid3pjvp5i5dcnhyq";
})
];
# Copying bitcoind-monitor.py is enough.
# The makefile builds docker containers.
dontBuild = true;
propagatedBuildInputs = with python3Packages; [ prometheus-client bitcoinlib riprova ];