Unverified Commit 7da77d50 authored by wuyoli's avatar wuyoli Committed by GitHub
Browse files

interactive-html-bom: init at 9.2.0 (#387628)



* interactive-html-bom: init at v9.2.0

* Update pkgs/by-name/in/interactive-html-bom/package.nix

* Update pkgs/by-name/in/interactive-html-bom/package.nix

---------

Co-authored-by: default avatarSandro <sandro.jaeckel@gmail.com>
parent ba436b79
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  kicad-small,
  lib,
  python3Packages,
}:

python3Packages.buildPythonApplication rec {
  pname = "interactive-html-bom";
  version = "2.9.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "openscopeproject";
    repo = "InteractiveHtmlBom";
    tag = "v${version}";
    hash = "sha256-jUHEI0dWMFPQlXei3+0m1ruHzpG1hcRnxptNOXzXDqQ=";
  };

  build-system = [ python3Packages.hatchling ];

  dependencies = [
    python3Packages.jsonschema
    python3Packages.wxpython
    kicad-small
  ];

  # has no tests
  doCheck = false;

  meta = {
    description = "Interactive HTML BOM generation for KiCad, EasyEDA, Eagle, Fusion360 and Allegro PCB designer";
    homepage = "https://github.com/openscopeproject/InteractiveHtmlBom/";
    license = lib.licenses.mit;
    changelog = "https://github.com/openscopeproject/InteractiveHtmlBom/releases/tag/v${version}";
    maintainers = with lib.maintainers; [ wuyoli ];
    mainProgram = "generate_interactive_bom";
  };
}