depot/third_party/nixpkgs/pkgs/development/python-modules/apycula/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

51 lines
831 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools-scm
, numpy
, pandas
, pillow
, crcmod
, openpyxl
}:
buildPythonPackage rec {
pname = "apycula";
version = "0.3.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "Apycula";
hash = "sha256-RoWZt2Ox0XjJ6vmuCCcNCTMfwZnwJ6fSx71fmipmu2c=";
};
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";
license = licenses.mit;
maintainers = with maintainers; [ newam ];
};
}