File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
pkgs/by-name/pr/prometheus-rasdaemon-exporter Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 python3Packages ,
44 fetchFromGitHub ,
5+ fetchpatch2 ,
56} :
67
78python3Packages . buildPythonApplication {
@@ -16,6 +17,25 @@ python3Packages.buildPythonApplication {
1617 hash = "sha256-O0Zzog+5jDixFRGbqmjPYi6JDpHbxpU4hKfsqTnexS8=" ;
1718 } ;
1819
20+ patches = [
21+ # Normalization of metric names
22+ # https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/1
23+ ( fetchpatch2 {
24+ url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/46d379ba205c2340a0b266bf3cd48ec88ce025d0.patch" ;
25+ hash = "sha256-kqo1Tjn51M1FzArS4K0ylQ2/rFDOAiZU3OUt/oBhGhM=" ;
26+ } )
27+ ( fetchpatch2 {
28+ url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/c9ab08e8918497edb8f1ab0f933fa270cb7860a8.patch" ;
29+ hash = "sha256-QtjzXuxPG7e+cgUDVbAVNY4VyBp3W5+vQDAvFJ9t92I=" ;
30+ } )
31+ # Fix sqlite3.connect URI passing
32+ # https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/2
33+ ( fetchpatch2 {
34+ url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/52f6c47b77f480cd7f83853a2baffffb45f77b37.patch" ;
35+ hash = "sha256-XYeWMkAhWJIOUKLeTstIJr3P37Jwt8tzRURCvlrrxVs=" ;
36+ } )
37+ ] ;
38+
1939 build-system = with python3Packages ; [
2040 setuptools
2141 setuptools-scm
You can’t perform that action at this time.
0 commit comments