Commit 0baca7e3 authored by Jeremy Fleischman's avatar Jeremy Fleischman Committed by Shahar "Dawn" Or
Browse files

python310Packages.pcbnew-transition,python311Packages.pcbnew-transition: init at 0.3.4

parent 58a5da13
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{ pythonOlder
, buildPythonPackage
, fetchPypi
, lib
, kicad
, versioneer
}:
buildPythonPackage rec {
  pname = "pcbnewTransition";
  version = "0.3.4";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3CJUG1kd63Lg0r9HpJRIvttHS5s2EuZRoxeXrqsJ/kQ=";
  };

  propagatedBuildInputs = [
    kicad
  ];

  nativeBuildInputs = [
    versioneer
  ];

  pythonImportsCheck = [
    "pcbnewTransition"
  ];

  meta = with lib; {
    description = "Library that allows you to support both, KiCad 5, 6 and 7 in your plugins";
    homepage = "https://github.com/yaqwsx/pcbnewTransition";
    changelog = "https://github.com/yaqwsx/pcbnewTransition/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ jfly matusf ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8845,6 +8845,8 @@ self: super: with self; {
    inherit (pkgs) libpcap; # Avoid confusion with python package of the same name
  };
  pcbnew-transition = callPackage ../development/python-modules/pcbnew-transition { };
  pcodedmp = callPackage ../development/python-modules/pcodedmp { };
  pcpp = callPackage ../development/python-modules/pcpp { };