clairvoyance: refactor

authored by Fabian Affolter and committed by GitHub d757c6b0 6109efe5

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