Skip to content

Commit

Permalink
Merge pull request #257083 from rudolfvesely/master
Browse files Browse the repository at this point in the history
serial-unit-testing: init at 0.2.4
  • Loading branch information
wegank authored Oct 17, 2023
2 parents 5893e60 + 9d3b77c commit 96ae9c9
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/se/serial-unit-testing/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit 96ae9c9

Please sign in to comment.