11 rustPlatform.buildRustPackage rec {
12 pname = "cargo-semver-checks";
15 src = fetchFromGitHub {
19 hash = "sha256-iumHMVDlgwjjQsn0aoSJUPoOKmLztD47b7he2nJhins=";
22 cargoHash = "sha256-/mrVrbPHi4lo2iu/IWwDYIjqWZYNkm/4lWpRMLKBNpA=";
30 ] ++ lib.optionals stdenv.isDarwin [
31 darwin.apple_sdk.frameworks.SystemConfiguration
39 # requires nightly version of cargo-rustdoc
40 "--skip=both_passing_manifest_path_and_directory_works"
41 "--skip=verify_binary_contains_lints"
43 # requires internet access
44 "--skip=detects_target_dependencies"
48 patchShebangs scripts/regenerate_test_rustdocs.sh
50 scripts/regenerate_test_rustdocs.sh
54 description = "A tool to scan your Rust crate for semver violations";
55 mainProgram = "cargo-semver-checks";
56 homepage = "https://github.com/obi1kenobi/cargo-semver-checks";
57 changelog = "https://github.com/obi1kenobi/cargo-semver-checks/releases/tag/v${version}";
58 license = with licenses; [ mit /* or */ asl20 ];
59 maintainers = with maintainers; [ figsoda matthiasbeyer ];