nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 724 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 crc, 5 fetchPypi, 6 setuptools-scm, 7}: 8 9buildPythonPackage rec { 10 pname = "apycula"; 11 version = "0.28"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-AfNjHQkDrZ9oULuEmgXhqr063NWDZCpVW5pE6chnnFI="; 17 }; 18 19 build-system = [ setuptools-scm ]; 20 21 dependencies = [ crc ]; 22 23 # Tests require a physical FPGA 24 doCheck = false; 25 26 pythonImportsCheck = [ "apycula" ]; 27 28 meta = { 29 description = "Open Source tools for Gowin FPGAs"; 30 homepage = "https://github.com/YosysHQ/apicula"; 31 changelog = "https://github.com/YosysHQ/apicula/releases/tag/${version}"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ newam ]; 34 }; 35}