3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/apycula/default.nix
2021-09-19 07:45:04 -07:00

47 lines
799 B
Nix

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