7 rustPlatform.buildRustPackage rec {
11 src = fetchFromGitHub {
15 hash = "sha256-NL8ySfvnCGKu1PTU4PJKTQt+Vsbcj+F1YYDzu0mSUoY=";
16 fetchSubmodules = true;
19 cargoPatches = [ ./0001-update-time-rs.patch ];
22 lockFile = ./Cargo.lock;
24 "serum_dex-0.4.0" = "sha256-Nzhh3OcAFE2LcbUgrA4zE2TnUMfV0dD4iH6fTi48GcI=";
29 # the following test cases try to access network, skip them
30 "--skip=tests::test_check_and_get_full_commit_when_full_commit"
31 "--skip=tests::test_check_and_get_full_commit_when_partial_commit"
32 "--skip=tests::test_get_anchor_version_from_commit"
36 description = "Solana Sealevel Framework";
37 homepage = "https://github.com/coral-xyz/anchor";
38 changelog = "https://github.com/coral-xyz/anchor/blob/${src.rev}/CHANGELOG.md";
39 license = licenses.asl20;
41 mainProgram = "anchor";