mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +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.
34 lines
1007 B
Nix
34 lines
1007 B
Nix
{ lib, fetchFromGitHub, rustPlatform, libxcb, python3 }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "swaywsr";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pedroscaff";
|
|
repo = pname;
|
|
rev = "6c4671c702f647395d983aaf607286db1c692db6";
|
|
sha256 = "0bmpbhyvgnbi5baj6v0wdxpdh9cnlzvcc44vh3vihmzsp6i5q05a";
|
|
};
|
|
|
|
cargoSha256 = "1pmkyw60ggn5filb47nyf97g1arrw7nfa4yjndnx35zw12mkj61d";
|
|
|
|
nativeBuildInputs = [ python3 ];
|
|
buildInputs = [ libxcb ];
|
|
|
|
# has not tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Automatically change sway workspace names based on their contents";
|
|
longDescription = ''
|
|
Automatically sets the workspace names to match the windows on the workspace.
|
|
The chosen name for a workspace is a composite of the app_id or WM_CLASS X11
|
|
window property for each window in a workspace.
|
|
'';
|
|
homepage = "https://github.com/pedroscaff/swaywsr";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.sebbadk ];
|
|
};
|
|
}
|