feat(pkgs): add flamelens

This commit is contained in:
reo101 2024-07-19 01:39:13 +03:00
parent a8ae6514d5
commit 3dc5d9ac6c
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
2 changed files with 31 additions and 0 deletions

View file

@ -10,6 +10,7 @@
circom-lsp = pkgs.callPackage ./circom-lsp { }; circom-lsp = pkgs.callPackage ./circom-lsp { };
envsub = pkgs.callPackage ./envsub { }; envsub = pkgs.callPackage ./envsub { };
fennel-language-server = pkgs.callPackage ./fennel-language-server { }; fennel-language-server = pkgs.callPackage ./fennel-language-server { };
flamelens = pkgs.callPackage ./flamelens { };
parinfer-rust = pkgs.callPackage ./parinfer-rust { }; parinfer-rust = pkgs.callPackage ./parinfer-rust { };
pest-ide-tools = pkgs.callPackage ./pest-ide-tools { }; pest-ide-tools = pkgs.callPackage ./pest-ide-tools { };
# FIXME: only buildable on darwin # FIXME: only buildable on darwin

View file

@ -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 ];
};
}