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