Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pylint-venv / default.nix
blobb12ae73b8c34b86360d88d37dade53696e39ecb0
1  { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pylint-venv";
10   version = "3.0.3";
11   format = "pyproject";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "jgosmann";
17     repo = pname;
18     rev = "refs/tags/v${version}";
19     hash = "sha256-dsVEHJawsTNKVCVmeOa61wOU5GPeyzAU/eUDFrK9PPg=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24   ];
26   # Module has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "pylint_venv"
31   ];
33   meta = with lib; {
34     description = "Module to make pylint respect virtual environments";
35     homepage = "https://github.com/jgosmann/pylint-venv/";
36     changelog = "https://github.com/jgosmann/pylint-venv/blob/v${version}/CHANGES.md";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };