python312Packages.recurring-ical-events: 3.3.4 -> 3.4.0 (#372089)
[NixPkgs.git] / pkgs / by-name / ca / cargo-play / package.nix
blob955e84ef6249aac4d2616b50c91cde54a922cf7d
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "cargo-play";
9   version = "0.5.1";
11   src = fetchFromGitHub {
12     owner = "fanzeyi";
13     repo = pname;
14     rev = version;
15     sha256 = "sha256-Z5zcLQYfQeGybsnt2U+4Z+peRHxNPbDriPMKWhJ+PeA=";
16   };
18   cargoHash = "sha256-I+keVi0fxUVttMHOGJQWVfIpHEQu/9aTbERa3qiHmnQ=";
20   # these tests require internet access
21   checkFlags = [
22     "--skip=dtoa_test"
23     "--skip=infer_override"
24   ];
26   meta = with lib; {
27     description = "Run your rust code without setting up cargo";
28     mainProgram = "cargo-play";
29     homepage = "https://github.com/fanzeyi/cargo-play";
30     license = licenses.mit;
31     maintainers = with maintainers; [ figsoda ];
32   };