nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 python3Packages,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "grabserial";
9 version = "2.1.8";
10 format = "pyproject";
11
12 src = fetchFromGitHub {
13 owner = "tbird20d";
14 repo = "grabserial";
15 tag = "v${version}";
16 hash = "sha256-XHI5r4OkJUtMuH83jKvNttEpKpqARjxj9SDLzhSPxSc=";
17 };
18
19 build-system = [ python3Packages.setuptools ];
20
21 dependencies = [ python3Packages.pyserial ];
22
23 # no usable tests
24 doCheck = false;
25
26 meta = {
27 description = "Python based serial dump and timing program";
28 mainProgram = "grabserial";
29 homepage = "https://github.com/tbird20d/grabserial";
30 license = lib.licenses.gpl2;
31 maintainers = with lib.maintainers; [ vmandela ];
32 platforms = lib.platforms.linux;
33 };
34}