cargo-swift: init at 0.4.0
This commit is contained in:
parent
4c50bae573
commit
84de6c2816
1 changed files with 26 additions and 0 deletions
26
pkgs/by-name/ca/cargo-swift/package.nix
Normal file
26
pkgs/by-name/ca/cargo-swift/package.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-swift";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "antoniusnaumann";
|
||||
repo = "cargo-swift";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dW0/h7uS0BEstiochACIySSKXsz+E6Tj5MaLtdin7gw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-LsjDeKfAvgVYM4qYyWq9MoXB4jIh870urrFHpiGCGPc=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo plugin to easily build Swift packages from Rust code";
|
||||
homepage = "https://github.com/antoniusnaumann/cargo-swift";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ elliot ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue