evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / se / serial-unit-testing / package.nix
blobdd45dc760cf7837dec7cb7f507cf76fa4a11b42c
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , udev
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "serial-unit-testing";
10   version = "0.2.4";
12   src = fetchFromGitHub {
13     owner = "markatk";
14     repo = "serial-unit-testing";
15     rev = "v${version}";
16     hash = "sha256-SLwTwEQdwbus9RFskFjU8m4fS9Pnp8HsgnKkBvTqmSI=";
17   };
19   cargoHash = "sha256-PoV2v0p0L3CTtC9VMAx2Z/ZsSAIFi2gh2TtOp64S6ZQ=";
21   nativeBuildInputs = [
22     pkg-config
23   ];
25   buildInputs = [
26     udev
27   ];
29   # tests require a serial port
30   doCheck = false;
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   };