diff --git a/pkgs/default.nix b/pkgs/default.nix index 9f55409..bdb61e9 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -10,6 +10,7 @@ circom-lsp = pkgs.callPackage ./circom-lsp { }; envsub = pkgs.callPackage ./envsub { }; fennel-language-server = pkgs.callPackage ./fennel-language-server { }; + flamelens = pkgs.callPackage ./flamelens { }; parinfer-rust = pkgs.callPackage ./parinfer-rust { }; pest-ide-tools = pkgs.callPackage ./pest-ide-tools { }; # FIXME: only buildable on darwin diff --git a/pkgs/flamelens/default.nix b/pkgs/flamelens/default.nix new file mode 100644 index 0000000..8735a38 --- /dev/null +++ b/pkgs/flamelens/default.nix @@ -0,0 +1,30 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "flamelens"; + version = "v0.2.0"; + + src = fetchFromGitHub { + owner = "YS-L"; + repo = pname; + rev = version; + hash = "sha256-v8SBd5KkGok4hmAwSKmnKgxq3Ghipho7W7UYHW/2EMg="; + }; + + cargoSha256 = "sha256-0OG0q6GTF7nvVWAwvJZ0lEri0rz42zN4xvT0VGp3n/I="; + + nativeBuildInputs = [ + ]; + + buildInputs = [ + ]; + + doCheck = false; + + meta = with lib; { + description = "Flamegraph viewer in the terminal "; + homepage = "https://github.com/YS-L/flamelens"; + license = licenses.mit; + maintainers = with maintainers; [ reo101 ]; + }; +}