14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
22 hash = "sha256-YR7Ucd8/Z1hOUNokmfSVP2ZxDL7qLb6SZ86/S7V/GKk=";
25 sourceRoot = "${src.name}/rust";
27 cargoHash = "sha256-iq1/8oWVgiqdYfmJKzrIe9gkCz7fDw08QcaQgfd7vuo=";
31 ++ lib.optionals stdenv.hostPlatform.isDarwin (
32 with darwin.apple_sdk;
35 frameworks.CoreFoundation
36 frameworks.CoreServices
37 frameworks.SystemConfiguration
41 nativeBuildInputs = [ pkg-config ];
44 changelog = "https://github.com/schemamap/schemamap/releases/tag/v${version}";
45 description = "Instant batch data import for Postgres";
46 homepage = "https://schemamap.io";
47 license = lib.licenses.mit;
48 mainProgram = "schemamap";
49 maintainers = with lib.maintainers; [ thenonameguy ];