about summary refs log tree commit diff
path: root/pkgs/development/python-modules/migen/default.nix
blob: d1633cbd8cfa9b09dd94608df7ccb336502221d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, colorama
}:

buildPythonPackage rec {
  pname = "migen";
  version = "unstable-2022-09-02";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "m-labs";
    repo = "migen";
    rev = "639e66f4f453438e83d86dc13491b9403bbd8ec6";
    hash = "sha256-IPyhoFZLhY8d3jHB8jyvGdbey7V+X5eCzBZYSrJ18ec=";
  };

  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 ];
  };
}