python312Packages.reptor: format with nixfmt
This commit is contained in:
parent
6807b11d9d
commit
1a387379ac
|
@ -1,33 +1,34 @@
|
|||
{ lib
|
||||
, asgiref
|
||||
, buildPythonPackage
|
||||
, certifi
|
||||
, charset-normalizer
|
||||
, cvss
|
||||
, deepl
|
||||
, django
|
||||
, fetchFromGitHub
|
||||
, gql
|
||||
, idna
|
||||
, markdown-it-py
|
||||
, mdurl
|
||||
, pygments
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, pyyaml
|
||||
, reptor
|
||||
, requests
|
||||
, rich
|
||||
, setuptools
|
||||
, sqlparse
|
||||
, termcolor
|
||||
, tomli
|
||||
, tomli-w
|
||||
, tomlkit
|
||||
, urllib3
|
||||
, xmltodict
|
||||
{
|
||||
lib,
|
||||
asgiref,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
charset-normalizer,
|
||||
cvss,
|
||||
deepl,
|
||||
django,
|
||||
fetchFromGitHub,
|
||||
gql,
|
||||
idna,
|
||||
markdown-it-py,
|
||||
mdurl,
|
||||
pygments,
|
||||
pytest,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
pyyaml,
|
||||
reptor,
|
||||
requests,
|
||||
rich,
|
||||
setuptools,
|
||||
sqlparse,
|
||||
termcolor,
|
||||
tomli,
|
||||
tomli-w,
|
||||
tomlkit,
|
||||
urllib3,
|
||||
xmltodict,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -46,13 +47,9 @@ buildPythonPackage rec {
|
|||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies = [
|
||||
asgiref
|
||||
|
@ -77,12 +74,8 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
ghostwriter = [
|
||||
gql
|
||||
] ++ gql.optional-dependencies.aiohttp;
|
||||
translate = [
|
||||
deepl
|
||||
];
|
||||
ghostwriter = [ gql ] ++ gql.optional-dependencies.aiohttp;
|
||||
translate = [ deepl ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -94,9 +87,7 @@ buildPythonPackage rec {
|
|||
export PATH="$PATH:$out/bin";
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"reptor"
|
||||
];
|
||||
pythonImportsCheck = [ "reptor" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests want to use pip install dependencies
|
||||
|
@ -107,7 +98,6 @@ buildPythonPackage rec {
|
|||
# Tests need network access
|
||||
"TestDummy"
|
||||
"TestIntegration"
|
||||
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in New Issue