Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 36 lines 807 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, setuptools_scm 6, six 7, pytest 8}: 9 10buildPythonPackage rec { 11 version = "0.2.3"; 12 pname = "pyvcd"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "c0fd7321143e821033f59dd41fc6b0350d1533ddccd4c8fc1d1f76e21cd667de"; 18 }; 19 20 buildInputs = [ setuptools_scm ]; 21 propagatedBuildInputs = [ six ]; 22 23 checkPhase = '' 24 py.test 25 ''; 26 27 checkInputs = [ pytest ]; 28 29 meta = with lib; { 30 description = "Python package for writing Value Change Dump (VCD) files"; 31 homepage = "https://github.com/SanDisk-Open-Source/pyvcd"; 32 changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst"; 33 license = licenses.mit; 34 maintainers = [ maintainers.sb0 maintainers.emily ]; 35 }; 36}