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

33 lines
647 B
Nix
Raw Normal View History

2019-01-14 16:28:22 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, six
, pytest }:
buildPythonPackage rec {
2019-12-29 09:28:09 +00:00
version = "0.1.6";
2019-01-14 16:28:22 +00:00
pname = "pyvcd";
src = fetchPypi {
inherit pname version;
2019-12-29 09:28:09 +00:00
sha256 = "285fcd96c3ee482e7b222bdd01d5dd19c2f5a0ad9b8e950baa98d386a2758c8f";
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;
license = licenses.mit;
maintainers = [ maintainers.sb0 ];
};
}