clairvoyance: refactor

This commit is contained in:
Fabian Affolter
2025-08-19 11:51:15 +02:00
committed by GitHub
parent 6109efe52e
commit d757c6b02a
+6 -10
View File
@@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "clairvoyance";
version = "2.5.4";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "nikitastupin";
@@ -18,11 +18,9 @@ python3.pkgs.buildPythonApplication rec {
pythonRelaxDeps = [ "rich" ];
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
build-system = with python3.pkgs; [ poetry-core ];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3.pkgs; [
aiohttp
rich
];
@@ -37,9 +35,7 @@ python3.pkgs.buildPythonApplication rec {
--replace 'asyncio = "^3.4.3"' ""
'';
pythonImportsCheck = [
"clairvoyance"
];
pythonImportsCheck = [ "clairvoyance" ];
disabledTests = [
# KeyError
@@ -48,10 +44,10 @@ python3.pkgs.buildPythonApplication rec {
meta = {
description = "Tool to obtain GraphQL API schemas";
mainProgram = "clairvoyance";
homepage = "https://github.com/nikitastupin/clairvoyance";
changelog = "https://github.com/nikitastupin/clairvoyance/releases/tag/${src.tag}";
license = with lib.licenses; [ asl20 ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "clairvoyance";
};
}