Unverified Commit bba2a6df authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

stoolap: init at 0.3.7 (#500725)

parents 666b7063 ffece1b2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -28746,6 +28746,12 @@
    githubId = 988849;
    name = "Vasiliy Yorkin";
  };
  VZstless = {
    name = "VZstless";
    email = "i@vzstless.moe";
    github = "atlarator";
    githubId = 233668878;
  };
  w-lfchen = {
    email = "w-lfchen@posteo.net";
    github = "w-lfchen";
+33 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  stdenv,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "stoolap";
  version = "0.3.7";

  src = fetchFromGitHub {
    owner = "stoolap";
    repo = "stoolap";
    tag = "v${finalAttrs.version}";
    hash = "sha256-NfGs9TDyX+8hC2bCGJL0AWFd3C1joowT061vea5hxx0=";
  };

  cargoHash = "sha256-tzgxffwXd331Sz1xftXNBowqud29pKvbw+Epv01xOiQ=";

  # On aarch64-darwin, dev target needs to set panic strategy to abort
  # However this must be set while the flag `-Zpanic_abort_tests` is also set,
  # which could only be done in Rust nightly toolchain.
  doCheck = !(with stdenv.hostPlatform; isDarwin && isAarch64);

  meta = {
    description = "Modern Embedded SQL Database written in Rust";
    homepage = "https://stoolap.io/";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ VZstless ];
    mainProgram = "stoolap";
  };
})