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.

52 lines
829 B
Nix
Raw Normal View History

2021-09-19 15:44:57 +01:00
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools-scm
, numpy
, pandas
, pillow
, crcmod
, openpyxl
}:
buildPythonPackage rec {
pname = "apycula";
version = "0.4";
2022-03-15 15:15:16 +00:00
format = "setuptools";
2021-09-19 15:44:57 +01:00
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "Apycula";
hash = "sha256-+GVXmqoF9r/GPv2S7KP+PTS2WTeubhLBNaA9MXw5lRo=";
2021-09-19 15:44:57 +01:00
};
2022-03-15 15:15:16 +00:00
nativeBuildInputs = [
setuptools-scm
];
2021-09-19 15:44:57 +01: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 15:44:57 +01:00
meta = with lib; {
description = "Open Source tools for Gowin FPGAs";
homepage = "https://github.com/YosysHQ/apicula";
license = licenses.mit;
maintainers = with maintainers; [ newam ];
};
}