twtxt: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-05 10:12:17 +02:00
parent 3ab7c2bfd9
commit 26bf0f9d53

View File

@ -1,6 +1,7 @@
{ lib {
, fetchFromGitHub lib,
, python3 fetchFromGitHub,
python3,
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -15,9 +16,7 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "sha256-CbFh1o2Ijinfb8X+h1GP3Tp+8D0D3/Czt/Uatd1B4cw="; sha256 = "sha256-CbFh1o2Ijinfb8X+h1GP3Tp+8D0D3/Czt/Uatd1B4cw=";
}; };
build-system = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
setuptools
];
dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [
aiohttp aiohttp
@ -27,17 +26,13 @@ python3.pkgs.buildPythonApplication rec {
setuptools setuptools
]; ];
nativeCheckInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "twtxt" ];
"twtxt"
];
disabledTests = [ disabledTests = [
# Disable test using relative date and time # Disable test using relative date and time
"test_tweet_relative_datetime" "test_tweet_relative_datetime"
]; ];
meta = with lib; { meta = with lib; {