Merge pull request #231339 from traxys/sea-orm-cli
sea-orm-cli: init at 0.11.3
This commit is contained in:
commit
fe4622558b
31
pkgs/development/tools/sea-orm-cli/default.nix
Normal file
31
pkgs/development/tools/sea-orm-cli/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user