humpback-dds/nix/itm.nix

21 lines
480 B
Nix
Raw Normal View History

2020-08-07 13:12: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-12-18 17:45:58 +08:00
cargoSha256 = "1x2pagfxwhgxliygw7325qsg3ccn276f4slg9cql0sf1s304qj4g";
2020-08-07 13:12:58 +08:00
nativeBuildInputs = [ pkgconfig ];
doCheck = false;
}