mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01: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.
26 lines
711 B
Nix
26 lines
711 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "i3-ratiosplit";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "333fred";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0yfmr5zk2c2il9d31yjjbr48sqgcq6hp4a99hl5mjm2ajyhy5bz3";
|
|
};
|
|
|
|
cargoSha256 = "134sgc9d0j57swknl9sgil6212rws2hhp92s3cg1yzz5ygx21c76";
|
|
|
|
# Currently no tests are implemented, so we avoid building the package twice
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Resize newly created windows";
|
|
homepage = "https://github.com/333fred/i3-ratiosplit";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ svrana ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|