mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
35 lines
758 B
Nix
35 lines
758 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|