f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
26 lines
674 B
Nix
26 lines
674 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-swift";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "antoniusnaumann";
|
|
repo = "cargo-swift";
|
|
rev = "v${version}";
|
|
hash = "sha256-2jKu1Hl+2HnlZWu+mLmrhrhzH1Q/S9ej+SJyjeMr4CI=";
|
|
};
|
|
|
|
cargoHash = "sha256-PQkV2Gz1whIM772bGAEC0TQO9w4DaWSrtCejgVCFTpA=";
|
|
|
|
meta = with lib; {
|
|
description = "Cargo plugin to easily build Swift packages from Rust code";
|
|
mainProgram = "cargo-swift";
|
|
homepage = "https://github.com/antoniusnaumann/cargo-swift";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ elliot ];
|
|
};
|
|
}
|