Unverified Commit f11c1aa2 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #330928 from doronbehar/pkg/misoc

python312Packages.misoc: unstable-2022-10-08 -> 0-unstable-2024-05-14
parents c7d20693 bb0dcb70
Loading
Loading
Loading
Loading
+14 −9
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  pythonOlder,
  fetchFromGitHub,
  setuptools,
  colorama,
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage {
  pname = "migen";
  version = "unstable-2022-09-02";
  format = "setuptools";
  version = "unstable-2024-07-21";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "m-labs";
    repo = "migen";
    rev = "639e66f4f453438e83d86dc13491b9403bbd8ec6";
    hash = "sha256-IPyhoFZLhY8d3jHB8jyvGdbey7V+X5eCzBZYSrJ18ec=";
    rev = "9279e8623f8433bc4f23ac51e5e2331bfe544417";
    hash = "sha256-z3LRhNmKZrjr6rFD0yxtccSa/SWvFIYmb+G/D5d2Jd8=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [ colorama ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "migen" ];

  meta = with lib; {
  meta = {
    description = " A Python toolbox for building complex digital hardware";
    homepage = "https://m-labs.hk/migen";
    license = licenses.bsd2;
    maintainers = with maintainers; [ l-as ];
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ l-as ];
  };
}
+7 −7
Original line number Diff line number Diff line
@@ -9,16 +9,16 @@
  numpy,
}:

buildPythonPackage rec {
buildPythonPackage {
  pname = "misoc";
  version = "unstable-2022-10-08";
  version = "0-unstable-2024-05-14";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "m-labs";
    repo = "misoc";
    rev = "6a7c670ab6120b8136f652c41d907eb0fb16ed54";
    hash = "sha256-dLDp0xg5y5b443hD7vbJFobHxbhtnj68RdZnQ7ckgp4=";
    rev = "fea9de558c730bc394a5936094ae95bb9d6fa726";
    hash = "sha256-zZ9LnUwvTvBL9iNFfmNTklQnd0I4PmV0BApMSblTnc0=";
  };

  propagatedBuildInputs = [
@@ -32,10 +32,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "misoc" ];

  meta = with lib; {
  meta = {
    description = "Original high performance and small footprint system-on-chip based on Migen";
    homepage = "https://github.com/m-labs/misoc";
    license = licenses.bsd2;
    maintainers = with maintainers; [ doronbehar ];
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ doronbehar ];
  };
}