Unverified Commit 642aca41 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

python3Packages.cynthion: 0.1.8 -> 0.2.0 (#409309)

parents ecef8dd9 c1d715fc
Loading
Loading
Loading
Loading
+1 −22
Original line number Diff line number Diff line
{
  python3,
  fetchFromGitHub,
}:

let
  python = python3.override {
    self = python3;
    packageOverrides = _: super: {
      amaranth = super.amaranth.overridePythonAttrs rec {
        version = "0.4.1";

        src = fetchFromGitHub {
          owner = "amaranth-lang";
          repo = "amaranth";
          rev = "refs/tags/v${version}";
          sha256 = "sha256-VMgycvxkphdpWIib7aZwh588En145RgYlG2Zfi6nnDo=";
        };

        postPatch = null;
      };
    };
  };
in

python.pkgs.toPythonApplication python.pkgs.cynthion
python3.pkgs.toPythonApplication python3.pkgs.cynthion
+3 −6
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  pythonOlder,

  # build-system
  setuptools,
@@ -28,15 +27,14 @@
}:
buildPythonPackage rec {
  pname = "cynthion";
  version = "0.1.8";
  version = "0.2.0";
  pyproject = true;
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "greatscottgadgets";
    repo = "cynthion";
    tag = version;
    hash = "sha256-twkCv47Goob2cO7FeHegvab3asf8fqbY9qg97Vw4ZCo=";
    hash = "sha256-rbvw2eieZwTxStwCRuvIx/f4vdPsOFnV/U80Ga+fNPA=";
  };

  sourceRoot = "${src.name}/cynthion/python";
@@ -75,11 +73,10 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "cynthion" ];

  meta = {
    changelog = "https://github.com/greatscottgadgets/cynthion/releases/tag/${version}";
    changelog = "https://github.com/greatscottgadgets/cynthion/releases/tag/${src.tag}";
    description = "Python package and utilities for the Great Scott Gadgets Cynthion USB Test Instrument";
    homepage = "https://github.com/greatscottgadgets/cynthion";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ carlossless ];
    broken = lib.versionAtLeast amaranth.version "0.5";
  };
}
+2 −4
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  pythonOlder,

  # build-system
  setuptools,
@@ -13,15 +12,14 @@

buildPythonPackage rec {
  pname = "luna-soc";
  version = "0.2.2";
  version = "0.3.2";
  pyproject = true;
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "greatscottgadgets";
    repo = "luna-soc";
    tag = version;
    hash = "sha256-fP2Pg0H/Aj3nFP0WG1yZjfZMqLutLwmibTohWUbgG34=";
    hash = "sha256-Rks1wC0CR5FSu4TrE1thzolT3QBd0yh7q+SxZ1U+pB4=";
  };

  postPatch = ''
+2 −5
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  pythonOlder,

  # build-system
  setuptools,
@@ -21,15 +20,14 @@
}:
buildPythonPackage rec {
  pname = "luna-usb";
  version = "0.1.3";
  version = "0.2.0";
  pyproject = true;
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "greatscottgadgets";
    repo = "luna";
    tag = version;
    hash = "sha256-BKFfEkhgOH0lYfkAE94h27pb+T/uJxKFmMeVJI9I3qg=";
    hash = "sha256-SVpAPq77IH2/2WZrc25j7q6qTMW2ToPY5lYQcYUlJfs=";
  };

  postPatch = ''
@@ -70,6 +68,5 @@ buildPythonPackage rec {
    homepage = "https://github.com/greatscottgadgets/luna";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ carlossless ];
    broken = lib.versionAtLeast amaranth.version "0.5";
  };
}