2021-03-25 14:53:37 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2015-01-22 17:17:41 +00:00
|
|
|
|
2021-03-25 14:53:37 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2019-09-07 07:29:35 +00:00
|
|
|
pname = "grabserial";
|
2020-02-11 08:38:05 +00:00
|
|
|
version = "2.0.2";
|
2015-01-22 17:17:41 +00:00
|
|
|
|
2019-09-07 07:29:35 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tbird20d";
|
|
|
|
repo = "grabserial";
|
|
|
|
rev = "v${version}";
|
2020-02-11 08:38:05 +00:00
|
|
|
sha256 = "0ryk4w8q6zfmia71nwnk5b7xaxw0sf45dw9q50xp7k76i3k5f9f3";
|
2015-01-22 17:17:41 +00:00
|
|
|
};
|
|
|
|
|
2021-03-25 14:53:37 +00:00
|
|
|
propagatedBuildInputs = [ python3Packages.pyserial ];
|
|
|
|
|
|
|
|
# no usable tests
|
|
|
|
doCheck = false;
|
2015-01-22 17:17:41 +00:00
|
|
|
|
2019-09-07 07:29:35 +00:00
|
|
|
meta = with lib; {
|
2015-01-22 17:17:41 +00:00
|
|
|
description = "Python based serial dump and timing program";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "grabserial";
|
2019-09-07 07:29:35 +00:00
|
|
|
homepage = "https://github.com/tbird20d/grabserial";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ vmandela ];
|
|
|
|
platforms = platforms.linux;
|
2015-01-22 17:17:41 +00:00
|
|
|
};
|
|
|
|
}
|