mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
32 lines
724 B
Nix
32 lines
724 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "otree";
|
|
version = "v0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fioncat";
|
|
repo = "otree";
|
|
rev = version;
|
|
hash = "sha256-WvoiTu6erNI5Cb9PSoHgL6+coIGWLe46pJVXBZHOLTE=";
|
|
};
|
|
|
|
cargoHash = "sha256-2eFGTpI4yevcxtgtGH+AufMDqsuhOH9CiyXUpjtdTDE=";
|
|
|
|
meta = {
|
|
description = "Command line tool to view objects (json/yaml/toml) in TUI tree widget";
|
|
homepage = "https://github.com/fioncat/otree";
|
|
changelog = "https://github.com/fioncat/otree/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "otree";
|
|
maintainers = with lib.maintainers; [
|
|
anas
|
|
kiara
|
|
];
|
|
};
|
|
}
|