base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / ca / cargo-play / package.nix
bloba95f2c10c32ebe167b9608dfe54e7ac2bba701c6
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "cargo-play";
5   version = "0.5.1";
7   src = fetchFromGitHub {
8     owner = "fanzeyi";
9     repo = pname;
10     rev = version;
11     sha256 = "sha256-Z5zcLQYfQeGybsnt2U+4Z+peRHxNPbDriPMKWhJ+PeA=";
12   };
14   cargoHash = "sha256-I+keVi0fxUVttMHOGJQWVfIpHEQu/9aTbERa3qiHmnQ=";
16   # these tests require internet access
17   checkFlags = [
18     "--skip=dtoa_test"
19     "--skip=infer_override"
20   ];
22   meta = with lib; {
23     description = "Run your rust code without setting up cargo";
24     mainProgram = "cargo-play";
25     homepage = "https://github.com/fanzeyi/cargo-play";
26     license = licenses.mit;
27     maintainers = with maintainers; [ figsoda ];
28   };