1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools_scm
5, six
6, pytest
7}:
8
9buildPythonPackage rec {
10 version = "0.1.7";
11 pname = "pyvcd";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1ixpdl0qiads81h8s9h9r9z0cyc9dlmvi01nfjggxixvbb17305y";
16 };
17
18 buildInputs = [ setuptools_scm ];
19 propagatedBuildInputs = [ six ];
20
21 checkPhase = ''
22 py.test
23 '';
24
25 checkInputs = [ pytest ];
26
27 meta = with lib; {
28 description = "Python package for writing Value Change Dump (VCD) files";
29 homepage = https://github.com/SanDisk-Open-Source/pyvcd;
30 changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst";
31 license = licenses.mit;
32 maintainers = [ maintainers.sb0 maintainers.emily ];
33 };
34}