mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
serial-unit-testing: init at 0.2.4
This commit is contained in:
parent
7e6f09d0c5
commit
9d3b77c43d
40
pkgs/by-name/se/serial-unit-testing/package.nix
Normal file
40
pkgs/by-name/se/serial-unit-testing/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, udev
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "serial-unit-testing";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "markatk";
|
||||
repo = "serial-unit-testing";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SLwTwEQdwbus9RFskFjU8m4fS9Pnp8HsgnKkBvTqmSI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-PoV2v0p0L3CTtC9VMAx2Z/ZsSAIFi2gh2TtOp64S6ZQ=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
udev
|
||||
];
|
||||
|
||||
# tests require a serial port
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automate testing of serial communication with any serial port device";
|
||||
homepage = "https://github.com/markatk/serial-unit-testing";
|
||||
changelog = "https://github.com/markatk/serial-unit-testing/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rudolfvesely ];
|
||||
mainProgram = "sut";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user