Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 816 B view raw
1{ 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 = "gitlab-clippy"; 14 rev = version; 15 hash = "sha256-d7SmlAWIV4SngJhIvlud90ZUSF55FWIrzFpkfSXIy2Y="; 16 }; 17 18 cargoHash = "sha256-O3Pey0XwZITePTiVHrG5EVZpIp96sRWjUf1vzZ/JnCw="; 19 20 # TODO re-add theses tests once they get fixed in upstream 21 checkFlags = [ 22 "--skip cli::converts_error_from_pipe" 23 "--skip cli::converts_warnings_from_pipe" 24 ]; 25 26 meta = { 27 homepage = "https://gitlab.com/dlalic/gitlab-clippy"; 28 description = "Convert clippy warnings into GitLab Code Quality report"; 29 mainProgram = "gitlab-clippy"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ wucke13 ]; 32 }; 33}