nixpkgs/pkgs/development/python-modules/pyvcd/default.nix

34 lines
783 B
Nix
Raw Normal View History

2019-01-14 16:28:22 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
2019-01-14 16:28:22 +00:00
, six
, pytestCheckHook
2020-02-08 16:09:44 +00:00
}:
2019-01-14 16:28:22 +00:00
buildPythonPackage rec {
2021-10-08 22:23:14 +00:00
version = "0.3.0";
2019-01-14 16:28:22 +00:00
pname = "pyvcd";
disabled = pythonOlder "3.6";
2019-01-14 16:28:22 +00:00
src = fetchPypi {
inherit pname version;
2021-10-08 22:23:14 +00:00
sha256 = "ec4d9198bd20f9e07d78f6558ff8bcd45b172ee332e7e8a4588727eeb6a362bc";
2019-01-14 16:28:22 +00:00
};
buildInputs = [ setuptools-scm ];
2019-01-14 16:28:22 +00:00
propagatedBuildInputs = [ six ];
2019-01-14 16:28:22 +00:00
checkInputs = [ pytestCheckHook ];
2019-01-14 16:28:22 +00:00
meta = with lib; {
description = "Python package for writing Value Change Dump (VCD) files";
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;
maintainers = with maintainers; [ sb0 emily ];
2019-01-14 16:28:22 +00:00
};
}