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