sea-orm-cli: init at 0.11.3

This commit is contained in:
traxys 2023-05-11 21:43:53 +02:00
parent d4652d33d6
commit 75087d518a
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "sea-orm-cli";
version = "0.11.3";
src = fetchCrate {
inherit pname version;
hash = "sha256-VRSdPsjRubJOsjdAxdnFCM9VmAVwGkXDvpXT4GF2jxY=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
cargoHash = "sha256-4lPtj11Gc+0r2WQT8gx8eX+YK5L+HnUBR0w6pm3VlRQ=";
meta = with lib; {
homepage = "https://sea-ql.org/SeaORM";
description = " Command line utility for SeaORM";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ traxys ];
};
}

View file

@ -643,6 +643,8 @@ with pkgs;
riot-redis = callPackage ../development/tools/riot-redis { };
sea-orm-cli = callPackage ../development/tools/sea-orm-cli { };
r3ctl = qt5.callPackage ../tools/misc/r3ctl { };
ptouch-print = callPackage ../misc/ptouch-print { };