Merge pull request #257083 from rudolfvesely/master

serial-unit-testing: init at 0.2.4

authored by Weijia Wang and committed by GitHub 96ae9c98 5893e609

+40
+40
pkgs/by-name/se/serial-unit-testing/package.nix
···
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , pkg-config 5 + , udev 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "serial-unit-testing"; 10 + version = "0.2.4"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "markatk"; 14 + repo = "serial-unit-testing"; 15 + rev = "v${version}"; 16 + hash = "sha256-SLwTwEQdwbus9RFskFjU8m4fS9Pnp8HsgnKkBvTqmSI="; 17 + }; 18 + 19 + cargoHash = "sha256-PoV2v0p0L3CTtC9VMAx2Z/ZsSAIFi2gh2TtOp64S6ZQ="; 20 + 21 + nativeBuildInputs = [ 22 + pkg-config 23 + ]; 24 + 25 + buildInputs = [ 26 + udev 27 + ]; 28 + 29 + # tests require a serial port 30 + doCheck = false; 31 + 32 + meta = with lib; { 33 + description = "Automate testing of serial communication with any serial port device"; 34 + homepage = "https://github.com/markatk/serial-unit-testing"; 35 + changelog = "https://github.com/markatk/serial-unit-testing/blob/v${version}/CHANGELOG.md"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ rudolfvesely ]; 38 + mainProgram = "sut"; 39 + }; 40 + }