gitlab-clippy: init at 1.0.3

This commit is contained in:
wucke13 2022-09-24 20:06:47 +02:00 committed by Wanja Zaeske
parent ef2f213d96
commit 944a9701db
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv
, lib
, fetchFromGitLab
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "gitlab-clippy";
version = "1.0.3";
src = fetchFromGitLab {
owner = "dlalic";
repo = pname;
rev = version;
sha256 = "sha256-d7SmlAWIV4SngJhIvlud90ZUSF55FWIrzFpkfSXIy2Y=";
};
cargoSha256 = "sha256-ztPbI+ncMNMKnIxUksxgz8GHQpLZ7SVWdC4QJWh18Wk=";
# TODO re-add theses tests once they get fixed in upstream
checkFlags = [
"--skip cli::converts_error_from_pipe"
"--skip cli::converts_warnings_from_pipe"
];
meta = {
homepage = "https://gitlab.com/dlalic/gitlab-clippy";
description = "Convert clippy warnings into GitLab Code Quality report";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ wucke13 ];
};
}

View file

@ -7181,6 +7181,8 @@ with pkgs;
gitlabEnterprise = true;
};
gitlab-clippy = callPackage ../development/tools/rust/gitlab-clippy { };
gitlab-runner = callPackage ../development/tools/continuous-integration/gitlab-runner { };
gitlab-shell = callPackage ../applications/version-management/gitlab/gitlab-shell { };