at master 975 B view raw
1{ 2 lib, 3 attrdict, 4 buildPythonPackage, 5 cairosvg, 6 fetchPypi, 7 pillow, 8 pytestCheckHook, 9 pyyaml, 10 setuptools-scm, 11 six, 12 svgwrite, 13 xmldiff, 14}: 15 16buildPythonPackage rec { 17 pname = "wavedrom"; 18 version = "2.0.3.post3"; 19 format = "setuptools"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-MntNXcpZPIElfCAv6lFvepCHR/sRUnw1nwNPW3r39Hs="; 24 }; 25 26 nativeBuildInputs = [ setuptools-scm ]; 27 28 propagatedBuildInputs = [ 29 attrdict 30 pyyaml 31 svgwrite 32 six 33 ]; 34 35 nativeCheckInputs = [ 36 cairosvg 37 pillow 38 pytestCheckHook 39 xmldiff 40 ]; 41 42 disabledTests = [ 43 # Requires to clone a full git repository 44 "test_upstream" 45 ]; 46 47 pythonImportsCheck = [ "wavedrom" ]; 48 49 meta = with lib; { 50 description = "WaveDrom compatible Python command line"; 51 mainProgram = "wavedrompy"; 52 homepage = "https://github.com/wallento/wavedrompy"; 53 license = licenses.mit; 54 maintainers = with maintainers; [ airwoodix ]; 55 }; 56}