mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
33 lines
813 B
Nix
33 lines
813 B
Nix
{ 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";
|
|
mainProgram = "gitlab-clippy";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ wucke13 ];
|
|
};
|
|
}
|