Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
869 B
Nix
41 lines
869 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
glib,
|
|
gtk3,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nix-query-tree-viewer";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cdepillabout";
|
|
repo = "nix-query-tree-viewer";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Lc9hfjybnRrkd7PZMa2ojxOM04bP4GJyagkZUX2nVwY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
];
|
|
|
|
cargoHash = "sha256-6TdPYN42PMOE5zL8nBRVdndjWhvU+7y0yNWtJybvkf0=";
|
|
|
|
meta = with lib; {
|
|
description = "GTK viewer for the output of `nix store --query --tree`";
|
|
mainProgram = "nix-query-tree-viewer";
|
|
homepage = "https://github.com/cdepillabout/nix-query-tree-viewer";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ cdepillabout ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|