Loading pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix +20 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, python3Packages, fetchFromGitHub, fetchpatch2, }: python3Packages.buildPythonApplication { Loading @@ -16,6 +17,25 @@ python3Packages.buildPythonApplication { hash = "sha256-O0Zzog+5jDixFRGbqmjPYi6JDpHbxpU4hKfsqTnexS8="; }; patches = [ # Normalization of metric names # https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/1 (fetchpatch2 { url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/46d379ba205c2340a0b266bf3cd48ec88ce025d0.patch"; hash = "sha256-kqo1Tjn51M1FzArS4K0ylQ2/rFDOAiZU3OUt/oBhGhM="; }) (fetchpatch2 { url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/c9ab08e8918497edb8f1ab0f933fa270cb7860a8.patch"; hash = "sha256-QtjzXuxPG7e+cgUDVbAVNY4VyBp3W5+vQDAvFJ9t92I="; }) # Fix sqlite3.connect URI passing # https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/2 (fetchpatch2 { url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/52f6c47b77f480cd7f83853a2baffffb45f77b37.patch"; hash = "sha256-XYeWMkAhWJIOUKLeTstIJr3P37Jwt8tzRURCvlrrxVs="; }) ]; build-system = with python3Packages; [ setuptools setuptools-scm Loading Loading
pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix +20 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, python3Packages, fetchFromGitHub, fetchpatch2, }: python3Packages.buildPythonApplication { Loading @@ -16,6 +17,25 @@ python3Packages.buildPythonApplication { hash = "sha256-O0Zzog+5jDixFRGbqmjPYi6JDpHbxpU4hKfsqTnexS8="; }; patches = [ # Normalization of metric names # https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/1 (fetchpatch2 { url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/46d379ba205c2340a0b266bf3cd48ec88ce025d0.patch"; hash = "sha256-kqo1Tjn51M1FzArS4K0ylQ2/rFDOAiZU3OUt/oBhGhM="; }) (fetchpatch2 { url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/c9ab08e8918497edb8f1ab0f933fa270cb7860a8.patch"; hash = "sha256-QtjzXuxPG7e+cgUDVbAVNY4VyBp3W5+vQDAvFJ9t92I="; }) # Fix sqlite3.connect URI passing # https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/2 (fetchpatch2 { url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/52f6c47b77f480cd7f83853a2baffffb45f77b37.patch"; hash = "sha256-XYeWMkAhWJIOUKLeTstIJr3P37Jwt8tzRURCvlrrxVs="; }) ]; build-system = with python3Packages; [ setuptools setuptools-scm Loading