Merge pull request #216543 from SuperSandro2000/dont-run-cppcheck-linter

Dont run cppcheck linter
This commit is contained in:
Anderson Torres 2023-02-17 11:18:33 -03:00 committed by GitHub
commit 8354258491
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 17 deletions

View file

@ -1,18 +1,17 @@
{ lib, stdenv, fetchFromGitHub, cppcheck, libmrss, libiconv }:
{ lib, stdenv, fetchFromGitHub, libmrss, libiconv }:
stdenv.mkDerivation {
pname = "rsstail";
version = "2.1";
src = fetchFromGitHub {
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
repo = "rsstail";
owner = "folkertvanheusden";
repo = "rsstail";
rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
};
buildInputs = [ libmrss ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
nativeCheckInputs = [ cppcheck ];
postPatch = ''
substituteInPlace Makefile --replace -liconv_hook ""
@ -21,7 +20,8 @@ stdenv.mkDerivation {
makeFlags = [ "prefix=$(out)" ];
enableParallelBuilding = true;
doCheck = true;
# just runs cppcheck linter
doCheck = false;
meta = with lib; {
description = "Monitor RSS feeds for new entries";
@ -29,7 +29,7 @@ stdenv.mkDerivation {
RSSTail is more or less an RSS reader: it monitors an RSS feed and if it
detects a new entry it'll emit only that new entry.
'';
homepage = "http://www.vanheusden.com/rsstail/";
homepage = "https://www.vanheusden.com/rsstail/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.Necior ];
platforms = platforms.unix;

View file

@ -7,7 +7,6 @@
, rocm-cmake
, hip
, clang-tools-extra
, cppcheck
, openmp
, rocblas
, rocmlir
@ -70,7 +69,6 @@ in stdenv.mkDerivation (finalAttrs: {
rocm-cmake
hip
clang-tools-extra
cppcheck
python3Packages.python
] ++ lib.optionals buildDocs [
latex

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, sqlite, cppcheck, gtest }:
{ lib, stdenv, fetchFromGitHub, cmake, sqlite, gtest }:
stdenv.mkDerivation rec {
pname = "sqlitecpp";
@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
nativeCheckInputs = [ cppcheck ];
buildInputs = [ sqlite gtest ];
doCheck = true;

View file

@ -5,8 +5,7 @@
, doxygen
, graphviz
, makeWrapper
, cppcheck
, boost16x
, boost17x
, SDL2
, python3
, freetype
@ -24,8 +23,8 @@
}:
stdenv.mkDerivation rec {
version = "0.4.10.2";
pname = "freeorion";
version = "0.4.10.2";
src = fetchFromGitHub {
owner = "freeorion";
@ -35,7 +34,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
(boost16x.override { enablePython = true; python = python3; })
(boost17x.override { enablePython = true; python = python3; })
(python3.withPackages (p: with p; [ pycodestyle ]))
SDL2
freetype
@ -53,7 +52,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
cppcheck
doxygen
graphviz
makeWrapper
@ -81,7 +79,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A free, open source, turn-based space empire and galactic conquest (4X) computer game";
homepage = "http://www.freeorion.org";
homepage = "https://www.freeorion.org/";
license = with licenses; [ gpl2 cc-by-sa-30 ];
platforms = platforms.linux;
maintainers = with maintainers; [ tex ];