mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
42 lines
750 B
Nix
42 lines
750 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, mock
|
|
, jinja2
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lizard";
|
|
version = "1.17.10";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "terryyin";
|
|
repo = "lizard";
|
|
rev = version;
|
|
hash = "sha256-4jq6gXpI1hFtX7ka2c/qQ+S6vZCThKOGhQwJ2FOYItY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ jinja2 ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
mock
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"lizard"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Code analyzer without caring the C/C++ header files";
|
|
homepage = "http://www.lizard.ws";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jpetrucciani ];
|
|
};
|
|
}
|
|
|