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

35 lines
761 B
Nix
Raw Normal View History

2019-01-14 17:28:22 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, six
2020-02-08 17:09:44 +01:00
, pytest
}:
2019-01-14 17:28:22 +01:00
buildPythonPackage rec {
2020-06-06 08:47:29 +02:00
version = "0.2.1";
2019-01-14 17:28:22 +01:00
pname = "pyvcd";
src = fetchPypi {
inherit pname version;
2020-06-06 08:47:29 +02:00
sha256 = "fad6b9e2cd68049968a43fd9f465a1f924050c0a654e28cc5aa04c1908f283ab";
2019-01-14 17:28:22 +01: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 17:09:44 +01:00
changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst";
2019-01-14 17:28:22 +01:00
license = licenses.mit;
2020-02-08 17:09:44 +01:00
maintainers = [ maintainers.sb0 maintainers.emily ];
2019-01-14 17:28:22 +01:00
};
}