2019-01-14 16:28:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-08-15 23:57:33 +01:00
|
|
|
, pythonOlder
|
2019-01-14 16:28:22 +00:00
|
|
|
, setuptools_scm
|
|
|
|
, six
|
2020-02-08 16:09:44 +00:00
|
|
|
, pytest
|
|
|
|
}:
|
2019-01-14 16:28:22 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-12-16 22:54:43 +00:00
|
|
|
version = "0.2.4";
|
2019-01-14 16:28:22 +00:00
|
|
|
pname = "pyvcd";
|
2020-08-15 23:57:33 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2019-01-14 16:28:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-16 22:54:43 +00:00
|
|
|
sha256 = "071e51a8362908ad5a2a12f078185639b98b20b653a56f01679de169d0fa425d";
|
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
|
|
|
};
|
|
|
|
}
|