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.
29 lines
769 B
Nix
29 lines
769 B
Nix
{ lib, fetchFromGitHub, rustPlatform, pkg-config, libXrandr, libX11 }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "shotgun";
|
|
version = "2.2.0";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ libXrandr libX11 ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neXromancers";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0fpc09yvxjcvjkai7afyig4gyc7inaqxxrwzs17mh8wdgzawb6dl";
|
|
};
|
|
|
|
cargoSha256 = "06zplpy480965lhgav984m6wkfijv7cqa49kpramp8b6ws62pikl";
|
|
|
|
meta = with lib; {
|
|
description = "Minimal X screenshot utility";
|
|
homepage = "https://github.com/neXromancers/shotgun";
|
|
license = with licenses; [ mpl20 ];
|
|
maintainers = with maintainers; [ lumi ];
|
|
platforms = platforms.linux;
|
|
badPlatforms = [ "aarch64-linux" ];
|
|
};
|
|
}
|