2019-01-14 16:28:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, six
|
2020-02-08 16:09:44 +00:00
|
|
|
, pytest
|
|
|
|
}:
|
2019-01-14 16:28:22 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-02-08 16:09:44 +00:00
|
|
|
version = "0.1.7";
|
2019-01-14 16:28:22 +00:00
|
|
|
pname = "pyvcd";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-08 16:09:44 +00:00
|
|
|
sha256 = "1ixpdl0qiads81h8s9h9r9z0cyc9dlmvi01nfjggxixvbb17305y";
|
2019-01-14 16:28:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python package for writing Value Change Dump (VCD) files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/SanDisk-Open-Source/pyvcd";
|
2020-02-08 16:09:44 +00:00
|
|
|
changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst";
|
2019-01-14 16:28:22 +00:00
|
|
|
license = licenses.mit;
|
2020-02-08 16:09:44 +00:00
|
|
|
maintainers = [ maintainers.sb0 maintainers.emily ];
|
2019-01-14 16:28:22 +00:00
|
|
|
};
|
|
|
|
}
|