mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
28 lines
701 B
Nix
28 lines
701 B
Nix
{ 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;
|
|
};
|
|
}
|