Unverified Commit 834a02f8 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #238712 from fabaff/pyopnsense-bump

python311Packages.pyopnsense: 0.3.0 -> 0.4.0
parents 0a779bde d8374995
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -8,22 +8,21 @@
, pytestCheckHook
, pythonOlder
, requests
, six
}:

buildPythonPackage rec {
  pname = "pyopnsense";
  version = "0.3.0";
  version = "0.4.0";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "06rssdb3zhccnm63z96mw5yd38d9i99fgigfcdxn9divalbbhp5a";
    hash = "sha256-3DKlVrOtMa55gTu557pgojRpdgrO5pEZ3L+9gKoW9yg=";
  };

  propagatedBuildInputs = [
    pbr
    six
    requests
  ];

@@ -34,11 +33,14 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pyopnsense" ];
  pythonImportsCheck = [
    "pyopnsense"
  ];

  meta = with lib; {
    description = "Python client for the OPNsense API";
    homepage = "https://github.com/mtreinish/pyopnsense";
    changelog = "https://github.com/mtreinish/pyopnsense/releases/tag/${version}";
    license = with licenses; [ gpl3Plus ];
    maintainers = with maintainers; [ fab ];
  };