Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
695 B
Nix
Raw Permalink Normal View History

2023-11-01 12:02:59 +08:00
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-swift";
2025-04-17 20:22:27 +00:00
version = "0.9.0";
2023-11-01 12:02:59 +08:00
src = fetchFromGitHub {
owner = "antoniusnaumann";
repo = "cargo-swift";
rev = "v${version}";
2025-04-17 20:22:27 +00:00
hash = "sha256-D6s25pOMdVZXBtBce/KEvqwn/9owrmxDOev3E59qrQ8=";
2023-11-01 12:02:59 +08:00
};
2025-04-17 20:22:27 +00:00
cargoHash = "sha256-pypBvfVW7m9dAvrc9ftrBOJ/wC+xLUuhGr7g7DVdZDI=";
2023-11-01 12:02:59 +08:00
meta = with lib; {
description = "Cargo plugin to easily build Swift packages from Rust code";
mainProgram = "cargo-swift";
2023-11-01 12:02:59 +08:00
homepage = "https://github.com/antoniusnaumann/cargo-swift";
license = with licenses; [
asl20
mit
];
maintainers = with maintainers; [ elliot ];
};
}