nixpkgs/pkgs/development/python-modules/misoc/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

43 lines
819 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, asyncserial
, jinja2
, migen
, numpy
}:
buildPythonPackage rec {
pname = "misoc";
version = "unstable-2022-10-08";
format = "setuptools";
src = fetchFromGitHub {
owner = "m-labs";
repo = "misoc";
rev = "6a7c670ab6120b8136f652c41d907eb0fb16ed54";
hash = "sha256-dLDp0xg5y5b443hD7vbJFobHxbhtnj68RdZnQ7ckgp4=";
};
propagatedBuildInputs = [
pyserial
asyncserial
jinja2
migen
];
nativeCheckInputs = [
numpy
];
pythonImportsCheck = [ "misoc" ];
meta = with lib; {
description = "The original high performance and small footprint system-on-chip based on Migen";
homepage = "https://github.com/m-labs/misoc";
license = licenses.bsd2;
maintainers = with maintainers; [ doronbehar ];
};
}