3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyvcd/default.nix

37 lines
807 B
Nix
Raw Normal View History

2019-01-14 16:28:22 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, 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-07-31 09:56:46 +01:00
version = "0.2.3";
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;
2020-07-31 09:56:46 +01:00
sha256 = "c0fd7321143e821033f59dd41fc6b0350d1533ddccd4c8fc1d1f76e21cd667de";
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";
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
};
}