synth: 0.6.5-r1 -> 0.6.8

This commit is contained in:
figsoda 2022-09-11 14:53:45 -04:00
parent 2eafac6d06
commit 1599304c49

View File

@ -1,8 +1,6 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, stdenv
, AppKit
, Security
@ -10,24 +8,27 @@
rustPlatform.buildRustPackage rec {
pname = "synth";
version = "0.6.5-r1";
version = "0.6.8";
src = fetchFromGitHub {
owner = "getsynth";
owner = "shuttle-hq";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AcAZjS2Wo0PRngf0eYrduEd6rZX5YpYxsWEp0wf9jvg=";
sha256 = "sha256-siAm6Uq8Y+RexNrkL7nTw/f/v0LkUgqTUhAtJiy9QnE=";
};
cargoSha256 = "sha256-mMGlUCvbXaO0XfMwVtpq7HENoSaXrQU7GSh7/OhYdus=";
cargoSha256 = "sha256-COy8szsYKEzjtRBH8063ug5BkMv3qpc3i2RNb+n4I04=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
buildInputs = lib.optionals stdenv.isDarwin [
AppKit
Security
];
checkFlags = [
# https://github.com/shuttle-hq/synth/issues/309
"--skip=docs_blog_2021_08_31_seeding_databases_tutorial_dot_md"
];
# requires unstable rust features
RUSTC_BOOTSTRAP = 1;