1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 setuptools-scm,
7 six,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 version = "0.4.1";
13 format = "setuptools";
14 pname = "pyvcd";
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-3GJ16Vp5SbgjYIarLm0Dr+3nNEEkPsUQnJ6okHfz1pY=";
20 };
21
22 buildInputs = [ setuptools-scm ];
23
24 propagatedBuildInputs = [ six ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 meta = with lib; {
29 description = "Python package for writing Value Change Dump (VCD) files";
30 homepage = "https://github.com/SanDisk-Open-Source/pyvcd";
31 changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst";
32 license = licenses.mit;
33 maintainers = with maintainers; [
34 sb0
35 ];
36 };
37}