jql: 8.0.0 -> 8.0.2 (#362884)
[NixPkgs.git] / pkgs / tools / misc / synth / default.nix
blobd52c72be5de3a4c6d104ee66be0ea5cc7b42c774
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   stdenv,
6   AppKit,
7   Security,
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "synth";
12   version = "0.6.9";
14   src = fetchFromGitHub {
15     owner = "shuttle-hq";
16     repo = pname;
17     rev = "v${version}";
18     sha256 = "sha256-/z2VEfeCCuffxlMh4WOpYkMSAgmh+sbx3ajcD5d4DdE=";
19   };
21   cargoHash = "sha256-i2Pp9sfTBth3DtrQ99Vw+KLnGECrkqtlRNAKiwSWf48=";
23   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
24     AppKit
25     Security
26   ];
28   checkFlags = [
29     # https://github.com/shuttle-hq/synth/issues/309
30     "--skip=docs_blog_2021_08_31_seeding_databases_tutorial_dot_md"
31   ];
33   # requires unstable rust features
34   RUSTC_BOOTSTRAP = 1;
36   meta = with lib; {
37     description = "Tool for generating realistic data using a declarative data model";
38     homepage = "https://github.com/getsynth/synth";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ figsoda ];
41   };