{ lib, buildPythonPackage, crc, fetchPypi, setuptools-scm, }: buildPythonPackage (finalAttrs: { pname = "apycula"; version = "0.29"; pyproject = true; src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-awhGSmGQDQ0Pi+4y9KoR1Yw6UZjM/CTxAV0jdfen6Qw="; }; build-system = [ setuptools-scm ]; dependencies = [ crc ]; # Tests require a physical FPGA doCheck = false; pythonImportsCheck = [ "apycula" ]; meta = { description = "Open Source tools for Gowin FPGAs"; homepage = "https://github.com/YosysHQ/apicula"; changelog = "https://github.com/YosysHQ/apicula/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ newam ]; }; })