depot/third_party/nixpkgs/pkgs/development/python-modules/pylint-venv/default.nix
Default email 657f08b14c Project import generated by Copybara.
GitOrigin-RevId: 807e9154dcb16384b1b765ebe9cd2bba2ac287fd
2024-10-29 11:11:06 +00:00

37 lines
833 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pylint-venv";
version = "3.0.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jgosmann";
repo = "pylint-venv";
rev = "refs/tags/v${version}";
hash = "sha256-dJWVfltze4zT0CowBZSn3alqR2Y8obKUCmO8Nfw+ahs=";
};
build-system = [ poetry-core ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pylint_venv" ];
meta = with lib; {
description = "Module to make pylint respect virtual environments";
homepage = "https://github.com/jgosmann/pylint-venv/";
changelog = "https://github.com/jgosmann/pylint-venv/blob/v${version}/CHANGES.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}