Files
nixpkgs/pkgs/development/python-modules/apycula/default.nix
T
2025-03-19 17:42:43 +00:00

40 lines
791 B
Nix

{
lib,
buildPythonPackage,
crc,
fetchPypi,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "apycula";
version = "0.16";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "Apycula";
hash = "sha256-/wKJOmTjMnDL9off5i3o18+2omry0h1Z88p0GV2/FGE=";
};
build-system = [ setuptools-scm ];
dependencies = [ crc ];
# Tests require a physical FPGA
doCheck = false;
pythonImportsCheck = [ "apycula" ];
meta = with lib; {
description = "Open Source tools for Gowin FPGAs";
homepage = "https://github.com/YosysHQ/apicula";
changelog = "https://github.com/YosysHQ/apicula/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ newam ];
};
}