fawltydeps: init at 0.20.0 (#420483)

authored by Aleksana and committed by GitHub 2b162f77 605cfcce

+57
+57
pkgs/by-name/fa/fawltydeps/package.nix
···
··· 1 + { 2 + lib, 3 + python3Packages, 4 + fetchFromGitHub, 5 + writableTmpDirAsHomeHook, 6 + }: 7 + 8 + python3Packages.buildPythonApplication rec { 9 + pname = "fawltydeps"; 10 + version = "0.20.0"; 11 + pyproject = true; 12 + 13 + src = fetchFromGitHub { 14 + owner = "tweag"; 15 + repo = "FawltyDeps"; 16 + tag = "v${version}"; 17 + hash = "sha256-RGwCi4SD0khuOZXcR9Leh9WtRautnlJIfuLBnosyUgk="; 18 + }; 19 + 20 + build-system = with python3Packages; [ poetry-core ]; 21 + 22 + dependencies = with python3Packages; [ 23 + pyyaml 24 + importlib-metadata 25 + isort 26 + pip-requirements-parser 27 + pydantic 28 + ]; 29 + 30 + nativeCheckInputs = 31 + [ 32 + writableTmpDirAsHomeHook 33 + ] 34 + ++ (with python3Packages; [ 35 + pytestCheckHook 36 + hypothesis 37 + ]); 38 + 39 + disabledTestPaths = [ 40 + # Disable tests that require network 41 + "tests/test_install_deps.py" 42 + "tests/test_resolver.py" 43 + ]; 44 + 45 + pythonImportsCheck = [ "fawltydeps" ]; 46 + 47 + meta = { 48 + description = "Find undeclared and/or unused 3rd-party dependencies in your Python project"; 49 + homepage = "https://tweag.github.io/FawltyDeps"; 50 + license = lib.licenses.mit; 51 + mainProgram = "fawltydeps"; 52 + maintainers = with lib.maintainers; [ 53 + aleksana 54 + jherland 55 + ]; 56 + }; 57 + }