diff --git a/manifest.dhall b/manifest.dhall index c099787369770ce25b911fefce1697d9a8559f32..0de70b68fdc467232ed1385c5827c4fc05eb3527 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -328,6 +328,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "pretty-simple" "4.1.1.0" , callHackage "prettyprinter-ansi-terminal" "1.1.3" , callHackage "primitive" "0.7.4.0" + , callHackage "prometheus-proc" "0.1.4.0" , callHackage "proteaaudio-sdl" "0.9.2" , callHackage "quickcheck-dynamic" "2.0.0" , callHackage "quickcheck-instances" "0.3.28" diff --git a/overlay.nix b/overlay.nix index 19d72014dcd9a64f3cb67bb86d44703ae56a1500..d2a5f1948960e17d33aea1d8318721b43c029f74 100644 --- a/overlay.nix +++ b/overlay.nix @@ -395,6 +395,8 @@ final: prev: with pkgs.haskell.lib; { primitive = prev.callPackage (./pkgs/primitive.nix) { }; + prometheus-proc = prev.callPackage (./pkgs/prometheus-proc.nix) { }; + proteaaudio-sdl = prev.callPackage (./pkgs/proteaaudio-sdl.nix) { }; quickcheck-dynamic = prev.callPackage (./pkgs/quickcheck-dynamic.nix) { }; diff --git a/pkgs/prometheus-proc.nix b/pkgs/prometheus-proc.nix new file mode 100644 index 0000000000000000000000000000000000000000..35be48eb217bbf74f9f2f7d0e74daa70fdd87bf0 --- /dev/null +++ b/pkgs/prometheus-proc.nix @@ -0,0 +1,19 @@ +{ mkDerivation, base, directory, filepath, lib, prometheus-client +, regex-applicative, text, unix, unix-memory +}: +mkDerivation { + pname = "prometheus-proc"; + version = "0.1.4.0"; + sha256 = "de92520596bb07957a13cede7a0b43eb6fec5ec6f92d5b466141cf5058b02c6a"; + libraryHaskellDepends = [ + base directory filepath prometheus-client regex-applicative text + unix unix-memory + ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "https://github.com/fimad/prometheus-haskell"; + description = "Export metrics from /proc for the current process"; + license = lib.licenses.bsd3; +} \ No newline at end of file