1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "pylint-venv";
11 version = "3.0.4";
12 pyproject = true;
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "jgosmann";
18 repo = "pylint-venv";
19 tag = "v${version}";
20 hash = "sha256-dJWVfltze4zT0CowBZSn3alqR2Y8obKUCmO8Nfw+ahs=";
21 };
22
23 build-system = [ 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 = licenses.mit;
35 maintainers = with maintainers; [ fab ];
36 };
37}