python3Packages.pyopnsense: init at 0.3.0
This commit is contained in:
parent
b451286b1f
commit
8ffd040146
45
pkgs/development/python-modules/pyopnsense/default.nix
Normal file
45
pkgs/development/python-modules/pyopnsense/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fixtures
|
||||
, mock
|
||||
, pbr
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyopnsense";
|
||||
version = "0.3.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06rssdb3zhccnm63z96mw5yd38d9i99fgigfcdxn9divalbbhp5a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pbr
|
||||
six
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
fixtures
|
||||
mock
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyopnsense" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for the OPNsense API";
|
||||
homepage = "https://github.com/mtreinish/pyopnsense";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -5583,6 +5583,8 @@ in {
|
||||
|
||||
pyopenssl = callPackage ../development/python-modules/pyopenssl { };
|
||||
|
||||
pyopnsense = callPackage ../development/python-modules/pyopnsense { };
|
||||
|
||||
pyosf = callPackage ../development/python-modules/pyosf { };
|
||||
|
||||
pyosmium = callPackage ../development/python-modules/pyosmium { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user