depot/third_party/nixpkgs/pkgs/development/python-modules/pyvcd/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

36 lines
807 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools_scm
, six
, pytest
}:
buildPythonPackage rec {
version = "0.2.4";
pname = "pyvcd";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "071e51a8362908ad5a2a12f078185639b98b20b653a56f01679de169d0fa425d";
};
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 ];
};
}