2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, glib, gtk3, wrapGAppsHook }:
|
2020-02-22 03:18:41 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "nix-query-tree-viewer";
|
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cdepillabout";
|
|
|
|
repo = "nix-query-tree-viewer";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0vjcllhgq64n7mwxvyhmbqd6fpa9lwrpsnggc1kdlgd14ggq6jj6";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
2021-05-07 13:00:49 +02:00
|
|
|
cargoSha256 = "1i9sjs77v1c3lch93pzjgr1zl0k1mlwkdpf3zfp13hyjn6zpldnj";
|
2020-02-22 03:18:41 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-02-22 03:18:41 +01: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;
|
|
|
|
};
|
|
|
|
}
|