about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/grabserial/default.nix
blob: e26dcf63f77b78e6279e2c19b80f59d3e51cd6f0 (plain) (blame)
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
{ lib, fetchFromGitHub, python3Packages }:

python3Packages.buildPythonApplication rec {
  pname = "grabserial";
  version = "2.0.2";

  src = fetchFromGitHub {
    owner = "tbird20d";
    repo = "grabserial";
    rev = "v${version}";
    sha256 = "0ryk4w8q6zfmia71nwnk5b7xaxw0sf45dw9q50xp7k76i3k5f9f3";
  };

  propagatedBuildInputs = [ python3Packages.pyserial ];

  # no usable tests
  doCheck = false;

  meta = with lib; {
    description = "Python based serial dump and timing program";
    mainProgram = "grabserial";
    homepage = "https://github.com/tbird20d/grabserial";
    license = licenses.gpl2;
    maintainers = with maintainers; [ vmandela ];
    platforms = platforms.linux;
  };
}