at 24.05-pre 778 B view raw
1{ stdenv 2, lib 3, fetchFromGitLab 4, rustPlatform 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "gitlab-clippy"; 9 version = "1.0.3"; 10 11 src = fetchFromGitLab { 12 owner = "dlalic"; 13 repo = pname; 14 rev = version; 15 sha256 = "sha256-d7SmlAWIV4SngJhIvlud90ZUSF55FWIrzFpkfSXIy2Y="; 16 }; 17 cargoSha256 = "sha256-ztPbI+ncMNMKnIxUksxgz8GHQpLZ7SVWdC4QJWh18Wk="; 18 19 # TODO re-add theses tests once they get fixed in upstream 20 checkFlags = [ 21 "--skip cli::converts_error_from_pipe" 22 "--skip cli::converts_warnings_from_pipe" 23 ]; 24 25 meta = { 26 homepage = "https://gitlab.com/dlalic/gitlab-clippy"; 27 description = "Convert clippy warnings into GitLab Code Quality report"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ wucke13 ]; 30 }; 31}