nixpkgs/pkgs/development/python-modules/apycula/default.nix
Austin Seipp 76cbdfd89b nextpnr: 2021.15.21 -> 2022.01.03, with apycula update
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2022-01-06 09:19:29 -06:00

47 lines
794 B
Nix

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