nixpkgs/pkgs/by-name/gr/grabserial/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
701 B
Nix
Raw Normal View History

2021-03-25 14:53:37 +00:00
{ lib, fetchFromGitHub, python3Packages }:
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";
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";
};
2021-03-25 14:53:37 +00:00
propagatedBuildInputs = [ python3Packages.pyserial ];
# no usable tests
doCheck = false;
2019-09-07 07:29:35 +00:00
meta = with lib; {
description = "Python based serial dump and timing program";
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;
};
}