mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
02dab4ab5c
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
33 lines
679 B
Nix
33 lines
679 B
Nix
{ 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 ];
|
|
};
|
|
}
|