2020-06-24 14:14:58 +08:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
version = "0.3.1";
|
|
|
|
pname = "itm";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rust-embedded";
|
|
|
|
repo = "itm";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "15pa0ydm19vz8p3wairpx3vqzc55rp4lgki143ybgw44sgf8hraj";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoPatches = [ ./itm-cargo-lock.patch ];
|
|
|
|
|
2020-06-26 13:47:52 +08:00
|
|
|
cargoSha256 = "1lgv8nhzbzfw9cl4rhj46a86h9jygz0ih3j4zw5nd1346xgmz7b8";
|
2020-06-24 14:14:58 +08:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
}
|