clairvoyance: refactor
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user