mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
33 lines
825 B
Nix
33 lines
825 B
Nix
{ lib, 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 = "1i9sjs77v1c3lch93pzjgr1zl0k1mlwkdpf3zfp13hyjn6zpldnj";
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|