3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/nix/nix-query-tree-viewer/default.nix

33 lines
805 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform, glib, gtk3, wrapGAppsHook }:
2020-02-22 02:18:41 +00:00
rustPlatform.buildRustPackage rec {
pname = "nix-query-tree-viewer";
2021-09-10 14:21:39 +01:00
version = "0.2.1";
2020-02-22 02:18:41 +00:00
src = fetchFromGitHub {
owner = "cdepillabout";
2021-09-10 14:21:39 +01:00
repo = pname;
2020-02-22 02:18:41 +00:00
rev = "v${version}";
2021-09-10 14:21:39 +01:00
sha256 = "sha256-Lc9hfjybnRrkd7PZMa2ojxOM04bP4GJyagkZUX2nVwY=";
2020-02-22 02:18:41 +00:00
};
nativeBuildInputs = [
wrapGAppsHook
];
buildInputs = [
glib
gtk3
];
2021-09-10 14:21:39 +01:00
cargoSha256 = "sha256-NSLBIvgo5EdCvZq52d+UbAa7K4uOST++2zbhO9DW38E=";
2020-02-22 02:18:41 +00:00
meta = with lib; {
2020-02-22 02:18:41 +00:00
description = "GTK viewer for the output of `nix store --query --tree`";
homepage = "https://github.com/cdepillabout/nix-query-tree-viewer";
license = with licenses; [ mit ];
maintainers = with maintainers; [ cdepillabout ];
platforms = platforms.unix;
};
}