9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
52 lines
909 B
Nix
52 lines
909 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, setuptools-scm
|
|
, numpy
|
|
, pandas
|
|
, pillow
|
|
, crcmod
|
|
, openpyxl
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "apycula";
|
|
version = "0.8.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "Apycula";
|
|
hash = "sha256-IznOt69gzWO/+Snw9YfmDU2CE15IZ+jlPz+ZGfPzK+Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
pandas
|
|
pillow
|
|
crcmod
|
|
openpyxl
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|