15 rustPlatform.buildRustPackage rec {
19 src = fetchFromGitHub {
23 hash = "sha256-sD3Y/FFfUgMtvBoSP0BBhS5aCZy+TkyO8S28q8Hoc5I=";
26 cargoHash = "sha256-efVhaL1yUEpOgNZ4Bog1OB37lT1yQHJVE9M938jnGeE=";
36 ] ++ lib.optionals stdenv.isDarwin [
37 darwin.apple_sdk.frameworks.SystemConfiguration
46 ZSTD_SYS_USE_PKG_CONFIG = true;
49 # remove tests that require internet access
51 rm cargo-dist/tests/integration-tests.rs
54 passthru.updateScript = nix-update-script { };
57 description = "A tool for building final distributable artifacts and uploading them to an archive";
58 mainProgram = "cargo-dist";
59 homepage = "https://github.com/axodotdev/cargo-dist";
60 changelog = "https://github.com/axodotdev/cargo-dist/blob/${src.rev}/CHANGELOG.md";
61 license = with licenses; [ asl20 mit ];
62 maintainers = with maintainers; [ figsoda matthiasbeyer mistydemeo ];