nixpkgs/pkgs/development/python-modules/apycula/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
909 B
Nix
Raw Normal View History

2021-09-19 14:44:57 +00:00
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools-scm
, numpy
, pandas
, pillow
, crcmod
, openpyxl
}:
buildPythonPackage rec {
pname = "apycula";
version = "0.8.1";
2022-03-15 15:15:16 +00:00
format = "setuptools";
2021-09-19 14:44:57 +00:00
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "Apycula";
hash = "sha256-IznOt69gzWO/+Snw9YfmDU2CE15IZ+jlPz+ZGfPzK+Q=";
2021-09-19 14:44:57 +00:00
};
2022-03-15 15:15:16 +00:00
nativeBuildInputs = [
setuptools-scm
];
2021-09-19 14:44:57 +00:00
propagatedBuildInputs = [
numpy
pandas
pillow
crcmod
openpyxl
];
# tests require a physical FPGA
doCheck = false;
2022-03-15 15:15:16 +00:00
pythonImportsCheck = [
"apycula"
];
2021-09-19 14:44:57 +00:00
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}";
2021-09-19 14:44:57 +00:00
license = licenses.mit;
maintainers = with maintainers; [ newam ];
};
}