mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 12:39:54 +03:00
Merge pull request #327220 from pyrox0/denose/cmake-lint
cmake-lint: remove nose dependency
This commit is contained in:
commit
ae9c93b4f7
@ -18,19 +18,20 @@ python3Packages.buildPythonApplication rec {
|
||||
hash = "sha256-/OuWwerBlJynEibaYo+jkLpHt4x9GZrqMRJNxgrDBlM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3Packages.setuptools ];
|
||||
postPatch = ''
|
||||
# We don't need to test coverage, so remove these checks
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail "addopts = --cov-fail-under=84 --cov=./cmakelint" ""
|
||||
'';
|
||||
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "cmakelint" ];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
nose
|
||||
nativeCheckInputs = [
|
||||
python3Packages.pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion { package = cmake-lint; };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user