about summary refs log tree commit diff
path: root/pkgs/applications/networking/twtxt
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-04-05 10:12:17 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-04-05 10:12:17 +0200
commit26bf0f9d53830813a85848a527dc4d91cfacadb6 (patch)
tree554d8a89196521334a97b10ee533497913b0ce84 /pkgs/applications/networking/twtxt
parent3ab7c2bfd980c099e73350b94339bad002ee5c66 (diff)
twtxt: format with nixfmt
Diffstat (limited to 'pkgs/applications/networking/twtxt')
-rw-r--r--pkgs/applications/networking/twtxt/default.nix23
1 files changed, 9 insertions, 14 deletions
diff --git a/pkgs/applications/networking/twtxt/default.nix b/pkgs/applications/networking/twtxt/default.nix
index c5c066d23fa5b..bee27ef2a7436 100644
--- a/pkgs/applications/networking/twtxt/default.nix
+++ b/pkgs/applications/networking/twtxt/default.nix
@@ -1,6 +1,7 @@
-{ lib
-, fetchFromGitHub
-, python3
+{
+  lib,
+  fetchFromGitHub,
+  python3,
 }:
 
 python3.pkgs.buildPythonApplication rec {
@@ -15,9 +16,7 @@ python3.pkgs.buildPythonApplication rec {
     sha256 = "sha256-CbFh1o2Ijinfb8X+h1GP3Tp+8D0D3/Czt/Uatd1B4cw=";
   };
 
-  build-system = with python3.pkgs; [
-    setuptools
-  ];
+  build-system = with python3.pkgs; [ setuptools ];
 
   dependencies = with python3.pkgs; [
     aiohttp
@@ -27,17 +26,13 @@ python3.pkgs.buildPythonApplication rec {
     setuptools
   ];
 
-  nativeCheckInputs = with python3.pkgs; [
-    pytestCheckHook
-  ];
+  nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
 
-  pythonImportsCheck = [
-    "twtxt"
-  ];
+  pythonImportsCheck = [ "twtxt" ];
 
   disabledTests = [
-     # Disable test using relative date and time
-     "test_tweet_relative_datetime"
+    # Disable test using relative date and time
+    "test_tweet_relative_datetime"
   ];
 
   meta = with lib; {