python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / nix / nix-query-tree-viewer / default.nix
bloba27aa8d3c3bd60a167f789eda754db97ed77ab0e
1 { lib, fetchFromGitHub, rustPlatform, glib, gtk3, wrapGAppsHook }:
3 rustPlatform.buildRustPackage rec {
4   pname = "nix-query-tree-viewer";
5   version = "0.2.1";
7   src = fetchFromGitHub {
8     owner = "cdepillabout";
9     repo  = pname;
10     rev = "v${version}";
11     sha256 = "sha256-Lc9hfjybnRrkd7PZMa2ojxOM04bP4GJyagkZUX2nVwY=";
12   };
14   nativeBuildInputs = [
15     wrapGAppsHook
16   ];
18   buildInputs = [
19     glib
20     gtk3
21   ];
23   cargoSha256 = "sha256-NSLBIvgo5EdCvZq52d+UbAa7K4uOST++2zbhO9DW38E=";
25   meta = with lib; {
26     description = "GTK viewer for the output of `nix store --query --tree`";
27     homepage    = "https://github.com/cdepillabout/nix-query-tree-viewer";
28     license     = with licenses; [ mit ];
29     maintainers = with maintainers; [ cdepillabout ];
30     platforms   = platforms.unix;
31   };