mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #80771 from cdepillabout/add-nix-query-tree-viewer
nix-query-tree-viewer: init at 0.2.0
This commit is contained in:
commit
d222dc2575
2 changed files with 34 additions and 0 deletions
32
pkgs/tools/nix/nix-query-tree-viewer/default.nix
Normal file
32
pkgs/tools/nix/nix-query-tree-viewer/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform, glib, gtk3, wrapGAppsHook }:
|
||||
|
||||
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
|
||||
];
|
||||
|
||||
cargoSha256 = "1pbyi7knqmqxbpi3jhl492is9zkaxdpdnmbm11nqwc1nvvbjblzc";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -25217,6 +25217,8 @@ in
|
|||
nix-prefetch-svn
|
||||
nix-prefetch-scripts;
|
||||
|
||||
nix-query-tree-viewer = callPackage ../tools/nix/nix-query-tree-viewer { };
|
||||
|
||||
nix-update-source = callPackage ../tools/package-management/nix-update-source {};
|
||||
|
||||
nix-script = callPackage ../tools/nix/nix-script {};
|
||||
|
|
Loading…
Reference in a new issue