clairvoyance: refactor

authored by Fabian Affolter and committed by GitHub d757c6b0 6109efe5

+6 -10
+6 -10
pkgs/by-name/cl/clairvoyance/package.nix
··· 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "clairvoyance"; 9 9 version = "2.5.4"; 10 - format = "pyproject"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "nikitastupin"; ··· 18 18 19 19 pythonRelaxDeps = [ "rich" ]; 20 20 21 - nativeBuildInputs = with python3.pkgs; [ 22 - poetry-core 23 - ]; 21 + build-system = with python3.pkgs; [ poetry-core ]; 24 22 25 - propagatedBuildInputs = with python3.pkgs; [ 23 + dependencies = with python3.pkgs; [ 26 24 aiohttp 27 25 rich 28 26 ]; ··· 37 35 --replace 'asyncio = "^3.4.3"' "" 38 36 ''; 39 37 40 - pythonImportsCheck = [ 41 - "clairvoyance" 42 - ]; 38 + pythonImportsCheck = [ "clairvoyance" ]; 43 39 44 40 disabledTests = [ 45 41 # KeyError ··· 48 44 49 45 meta = { 50 46 description = "Tool to obtain GraphQL API schemas"; 51 - mainProgram = "clairvoyance"; 52 47 homepage = "https://github.com/nikitastupin/clairvoyance"; 53 48 changelog = "https://github.com/nikitastupin/clairvoyance/releases/tag/${src.tag}"; 54 - license = with lib.licenses; [ asl20 ]; 49 + license = lib.licenses.asl20; 55 50 maintainers = with lib.maintainers; [ fab ]; 51 + mainProgram = "clairvoyance"; 56 52 }; 57 53 }