mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +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.
24 lines
671 B
Nix
24 lines
671 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ox";
|
|
version = "0.2.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "curlpipe";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "18iffnmvax6mbnhypf7yma98y5q2zlsyp9q18f92fdwz426r33p0";
|
|
};
|
|
|
|
cargoSha256 = "0m5vglm58myf50vbb7m6gd3srk3n93afg70lz63i2kciqkkwsnjl";
|
|
|
|
meta = with lib; {
|
|
description = "An independent Rust text editor that runs in your terminal";
|
|
homepage = "https://github.com/curlpipe/ox";
|
|
changelog = "https://github.com/curlpipe/ox/releases/tag/${version}";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ fortuneteller2k ];
|
|
};
|
|
}
|