Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ca / cargo-swift / package.nix
blob6d69053d1cd6f8c9f0af9ba73d7a910536b142b6
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "cargo-swift";
8   version = "0.7.1";
10   src = fetchFromGitHub {
11     owner = "antoniusnaumann";
12     repo = "cargo-swift";
13     rev = "v${version}";
14     hash = "sha256-2jKu1Hl+2HnlZWu+mLmrhrhzH1Q/S9ej+SJyjeMr4CI=";
15   };
17   cargoHash = "sha256-PQkV2Gz1whIM772bGAEC0TQO9w4DaWSrtCejgVCFTpA=";
19   meta = with lib; {
20     description = "Cargo plugin to easily build Swift packages from Rust code";
21     mainProgram = "cargo-swift";
22     homepage = "https://github.com/antoniusnaumann/cargo-swift";
23     license = with licenses; [ asl20 mit ];
24     maintainers = with maintainers; [ elliot ];
25   };