about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ttp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ttp/default.nix')
-rw-r--r--pkgs/development/python-modules/ttp/default.nix47
1 files changed, 21 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/ttp/default.nix b/pkgs/development/python-modules/ttp/default.nix
index 3df86d13cf3a0..700f97a68b5f2 100644
--- a/pkgs/development/python-modules/ttp/default.nix
+++ b/pkgs/development/python-modules/ttp/default.nix
@@ -1,19 +1,20 @@
-{ lib
-, buildPythonPackage
-, cerberus
-, configparser
-, deepdiff
-, fetchFromGitHub
-, geoip2
-, jinja2
-, netmiko
-, openpyxl
-, pytestCheckHook
-, poetry-core
-, pyyaml
-, tabulate
-, ttp-templates
-, yangson
+{
+  lib,
+  buildPythonPackage,
+  cerberus,
+  configparser,
+  deepdiff,
+  fetchFromGitHub,
+  geoip2,
+  jinja2,
+  netmiko,
+  openpyxl,
+  pytestCheckHook,
+  poetry-core,
+  pyyaml,
+  tabulate,
+  ttp-templates,
+  yangson,
 }:
 
 buildPythonPackage rec {
@@ -28,9 +29,7 @@ buildPythonPackage rec {
     hash = "sha256-IWqPFspERBVkjsTYTAkOTOrugq4fD65Q140G3SCEV0w=";
   };
 
-  nativeBuildInputs = [
-    poetry-core
-  ];
+  nativeBuildInputs = [ poetry-core ];
 
   propagatedBuildInputs = [
     # https://github.com/dmulyalin/ttp/blob/master/docs/source/Installation.rst#additional-dependencies
@@ -47,9 +46,7 @@ buildPythonPackage rec {
     yangson
   ];
 
-  pythonImportsCheck = [
-    "ttp"
-  ];
+  pythonImportsCheck = [ "ttp" ];
 
   nativeCheckInputs = [
     pytestCheckHook
@@ -97,9 +94,7 @@ buildPythonPackage rec {
     "test_ttp_templates_dir_env_variable"
   ];
 
-  pytestFlagsArray = [
-    "test/pytest"
-  ];
+  pytestFlagsArray = [ "test/pytest" ];
 
   meta = with lib; {
     changelog = "https://github.com/dmulyalin/ttp/releases/tag/${version}";
@@ -107,6 +102,6 @@ buildPythonPackage rec {
     mainProgram = "ttp";
     homepage = "https://github.com/dmulyalin/ttp";
     license = licenses.mit;
-    maintainers = with maintainers; [ ];
+    maintainers = [ ];
   };
 }