blob: 8d058b83f5344fc7c5697710c8044c92ec168515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib, rustPlatform, fetchFromGitHub, pkg-config, udev, stdenv }:
rustPlatform.buildRustPackage rec {
pname = "ldproxy";
version = "0.3.2";
src = fetchFromGitHub {
owner = "esp-rs";
repo = "embuild";
rev = "${pname}-v${version}";
sha256 = "sha256-CPMcFzfP/l1g04sBLWj2pY76F94mNsr1RGom1sfY23I=";
};
buildAndTestSubdir = "ldproxy";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
udev
];
cargoSha256 = "sha256-u4G5LV/G6Iu3FUeY2xdeXgVdiXLpGIC2UUYbUr0w3n0=";
meta = with lib; {
description = "Build support for embedded Rust: Cargo integration with other embedded build ecosystems & tools, like PlatformIO, CMake and kconfig";
homepage = "https://github.com/esp-rs/embuild";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ matthiasbeyer ];
};
}
|