19 buildPythonPackage rec {
22 format = "setuptools";
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
29 rev = "refs/tags/${version}";
30 hash = "sha256-0yg8+OflTF3pNYz2TPNUW8ubTZjrEgtihV/21PpJUlM=";
33 nativeBuildInputs = [ setuptools ];
34 propagatedBuildInputs = [
35 setuptools cryptography jinja2 mako passlib pyyaml requests tomlkit librouteros
36 ] ++ lib.optionals (pythonOlder "3.11") [ rtoml ];
38 pythonImportsCheck = [ "bundlewrap" ];
40 nativeCheckInputs = [ pytestCheckHook ];
43 # only unit tests as integration tests need a OpenSSH client/server setup
48 homepage = "https://bundlewrap.org/";
49 description = "Easy, Concise and Decentralized Config management with Python";
50 license = [ licenses.gpl3 ] ;
51 maintainers = with maintainers; [ wamserma ];