depot/third_party/nixpkgs/pkgs/development/python-modules/migen/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

36 lines
770 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
colorama,
pytestCheckHook,
}:
buildPythonPackage {
pname = "migen";
version = "unstable-2024-07-21";
pyproject = true;
src = fetchFromGitHub {
owner = "m-labs";
repo = "migen";
rev = "9279e8623f8433bc4f23ac51e5e2331bfe544417";
hash = "sha256-z3LRhNmKZrjr6rFD0yxtccSa/SWvFIYmb+G/D5d2Jd8=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ colorama ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "migen" ];
meta = {
description = " A Python toolbox for building complex digital hardware";
homepage = "https://m-labs.hk/migen";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ l-as ];
};
}