Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 31 lines 742 B view raw
1{ lib 2, stdenv 3, rustPlatform 4, fetchCrate 5, pkg-config 6, openssl 7, darwin 8}: 9rustPlatform.buildRustPackage rec { 10 pname = "sea-orm-cli"; 11 version = "0.12.15"; 12 13 src = fetchCrate { 14 inherit pname version; 15 hash = "sha256-eRsWQXaE8zzECPY+xxVIwTylbuSPT6ABamI4WNVkw8M="; 16 }; 17 18 nativeBuildInputs = [ pkg-config ]; 19 20 buildInputs = [ openssl ] 21 ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ]; 22 23 cargoHash = "sha256-sIyKkTO2DSLkRAlSUSRQYrZb8UtKZrszjn2jELNOSOU="; 24 25 meta = with lib; { 26 homepage = "https://www.sea-ql.org/SeaORM"; 27 description = " Command line utility for SeaORM"; 28 license = with licenses; [ mit /* or */ asl20 ]; 29 maintainers = with maintainers; [ traxys ]; 30 }; 31}