depot/third_party/nixpkgs/pkgs/development/python-modules/apycula/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

52 lines
909 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools-scm
, numpy
, pandas
, pillow
, crcmod
, openpyxl
}:
buildPythonPackage rec {
pname = "apycula";
version = "0.9.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "Apycula";
hash = "sha256-9THKebhyoUUSnZek1uBIFckFM0Xh1fKRpxEt5Eptugw=";
};
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 ];
};
}