mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
bitcoin-prometheus-exporter: 0.5.0 -> 0.7.0
Drops the https://github.com/jvstein/bitcoin-prometheus-exporter/pull/11 patch and disables building with the make file, as we don't want to build the docker containers (https://github.com/jvstein/bitcoin-prometheus-exporter/blob/v0.7.0/Makefile).
This commit is contained in:
parent
14dc65b52b
commit
4db633d65c
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user