2021-09-18 10:52:07 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitHub
|
|
|
|
, colorama
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "migen";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "unstable-2022-09-02";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "m-labs";
|
|
|
|
repo = "migen";
|
2022-11-21 17:40:18 +00:00
|
|
|
rev = "639e66f4f453438e83d86dc13491b9403bbd8ec6";
|
|
|
|
hash = "sha256-IPyhoFZLhY8d3jHB8jyvGdbey7V+X5eCzBZYSrJ18ec=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
colorama
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "migen" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = " A Python toolbox for building complex digital hardware";
|
|
|
|
homepage = "https://m-labs.hk/migen";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ l-as ];
|
|
|
|
};
|
|
|
|
}
|