mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +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.
26 lines
795 B
Nix
26 lines
795 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "intermodal";
|
|
version = "0.1.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "casey";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0mn0wm3bihn7ffqk0p79mb1hik54dbhc9diq1wh9ylpld2iqmz68";
|
|
};
|
|
|
|
cargoSha256 = "1bvs23rb25qdwbrygzq11p8cvck5lxjp9llvs1cjdh0qzr65jwla";
|
|
|
|
# include_hidden test tries to use `chflags` on darwin
|
|
checkFlagsArray = lib.optionals stdenv.isDarwin [ "--skip=subcommand::torrent::create::tests::include_hidden" ];
|
|
|
|
meta = with lib; {
|
|
description = "User-friendly and featureful command-line BitTorrent metainfo utility";
|
|
homepage = "https://github.com/casey/intermodal";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|