1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, setuptools-scm 6, numpy 7, pandas 8, pillow 9, crcmod 10, openpyxl 11}: 12 13buildPythonPackage rec { 14 pname = "apycula"; 15 version = "0.0.1a11"; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 inherit version; 21 pname = "Apycula"; 22 sha256 = "0fwk1pgphpgj0lazjy40ii08xq2qi6bvrfc30rwfj52yff1s9akn"; 23 }; 24 25 nativeBuildInputs = [ setuptools-scm ]; 26 27 propagatedBuildInputs = [ 28 numpy 29 pandas 30 pillow 31 crcmod 32 openpyxl 33 ]; 34 35 # tests require a physical FPGA 36 doCheck = false; 37 38 pythonImportsCheck = [ "apycula" ]; 39 40 meta = with lib; { 41 description = "Open Source tools for Gowin FPGAs"; 42 homepage = "https://github.com/YosysHQ/apicula"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ newam ]; 45 }; 46}