Merge pull request #138016 from L-as/migen

migen: init at unstable-2021-09-14
This commit is contained in:
figsoda 2021-09-15 16:29:16 -04:00 committed by GitHub
commit 4451ebc1bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, colorama
}:
buildPythonPackage rec {
pname = "migen";
version = "unstable-2021-09-14";
disabled = pythonOlder "3.3";
src = fetchFromGitHub {
owner = "m-labs";
repo = "migen";
rev = "a5bc262560238f93ceaad423820eb06843326274";
sha256 = "32UjaIam/B7Gx6XbPcR067LcXfokJH2mATG9mU38a6o=";
};
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 ];
};
}

View file

@ -4568,6 +4568,8 @@ in {
mido = callPackage ../development/python-modules/mido { };
migen = callPackage ../development/python-modules/migen { };
milc = callPackage ../development/python-modules/milc { };
milksnake = callPackage ../development/python-modules/milksnake { };