Commit 4658cd67 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.netbox-qrcode: cleanup, skip failing tests on python<=3.14

parent 98847c8e
Loading
Loading
Loading
Loading
+14 −8
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  django,
  fetchFromGitHub,
  netaddr,
  netbox,

  # build-system
  setuptools,

  # dependencies
  pillow,
  qrcode,
  setuptools,

  # nativeCheckInputs
  django,
  netaddr,
  netbox,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "netbox-qrcode";
  version = "0.0.20";
  pyproject = true;
@@ -18,7 +24,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "netbox-community";
    repo = "netbox-qrcode";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-7dPMpuJ2nuj9rRmVrfthD+xrEHoUaLFqDJWC6cGGCwY=";
  };

@@ -44,9 +50,9 @@ buildPythonPackage rec {
  meta = {
    description = "Netbox plugin for generate QR codes for objects: Rack, Device, Cable";
    homepage = "https://github.com/netbox-community/netbox-qrcode";
    changelog = "https://github.com/netbox-community/netbox-qrcode/releases/tag/${src.tag}";
    changelog = "https://github.com/netbox-community/netbox-qrcode/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [ felbinger ];
  };
}
})