a627278e13
``` Processing ./pyvcd-0.2.3-py2.py3-none-any.whl ERROR: Package 'pyvcd' requires a different Python: 2.7.18 not in '>=3.6' ```
36 lines
807 B
Nix
36 lines
807 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools_scm
|
|
, six
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.2.3";
|
|
pname = "pyvcd";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c0fd7321143e821033f59dd41fc6b0350d1533ddccd4c8fc1d1f76e21cd667de";
|
|
};
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
meta = with lib; {
|
|
description = "Python package for writing Value Change Dump (VCD) files";
|
|
homepage = "https://github.com/SanDisk-Open-Source/pyvcd";
|
|
changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.sb0 maintainers.emily ];
|
|
};
|
|
}
|