blob: 35e316b77242b7e4a7a42f89becf7d9cf5ecbf25 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
rustPlatform,
fetchCrate,
pkg-config,
openssl,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
pname = "sea-orm-cli";
version = "1.1.8";
src = fetchCrate {
inherit pname version;
hash = "sha256-XPankeAVuG5zADxM/4ZZgV2GBhIA+XzkhN+MLvFZpiU=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
useFetchCargoVendor = true;
cargoHash = "sha256-sxCfi8zcD48WCvcv8sJ2ocPyKOuxoINU5dDh7ons+nw=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
__darwinAllowLocalNetworking = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
mainProgram = "sea-orm-cli";
homepage = "https://www.sea-ql.org/SeaORM";
description = "Command line utility for SeaORM";
license = with lib.licenses; [
mit # or
asl20
];
maintainers = with lib.maintainers; [ traxys ];
};
}
|