Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 37 lines 844 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pylint-venv"; 11 version = "3.0.3"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "jgosmann"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-dsVEHJawsTNKVCVmeOa61wOU5GPeyzAU/eUDFrK9PPg="; 21 }; 22 23 nativeBuildInputs = [ poetry-core ]; 24 25 # Module has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "pylint_venv" ]; 29 30 meta = with lib; { 31 description = "Module to make pylint respect virtual environments"; 32 homepage = "https://github.com/jgosmann/pylint-venv/"; 33 changelog = "https://github.com/jgosmann/pylint-venv/blob/v${version}/CHANGES.md"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}