Merge pull request #109917 from greizgh/sqlx-cli
This commit is contained in:
commit
fb6564959f
|
@ -3473,6 +3473,12 @@
|
||||||
fingerprint = "7FC7 98AB 390E 1646 ED4D 8F1F 797F 6238 68CD 00C2";
|
fingerprint = "7FC7 98AB 390E 1646 ED4D 8F1F 797F 6238 68CD 00C2";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
greizgh = {
|
||||||
|
email = "greizgh@ephax.org";
|
||||||
|
github = "greizgh";
|
||||||
|
githubId = 1313624;
|
||||||
|
name = "greizgh";
|
||||||
|
};
|
||||||
greydot = {
|
greydot = {
|
||||||
email = "lanablack@amok.cc";
|
email = "lanablack@amok.cc";
|
||||||
github = "greydot";
|
github = "greydot";
|
||||||
|
|
29
pkgs/development/tools/rust/sqlx-cli/default.nix
Normal file
29
pkgs/development/tools/rust/sqlx-cli/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "sqlx-cli";
|
||||||
|
version = "0.4.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "launchbadge";
|
||||||
|
repo = "sqlx";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1q6p4qly9qjn333nj72sar6nbyclfdw9i9l6rnimswylj0rr9n27";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1393mwx6iccnqrry4ia4prcnnjxhp4zjq1s3gzwzfyzsrqyad54g";
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
cargoBuildFlags = [ "-p sqlx-cli" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description =
|
||||||
|
"SQLx's associated command-line utility for managing databases, migrations, and enabling offline mode with sqlx::query!() and friends.";
|
||||||
|
homepage = "https://github.com/launchbadge/sqlx";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ greizgh ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10839,6 +10839,8 @@ in
|
||||||
jdk = oraclejdk;
|
jdk = oraclejdk;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sqlx-cli = callPackage ../development/tools/rust/sqlx-cli { };
|
||||||
|
|
||||||
squeak = callPackage ../development/compilers/squeak { };
|
squeak = callPackage ../development/compilers/squeak { };
|
||||||
|
|
||||||
squirrel-sql = callPackage ../development/tools/database/squirrel-sql {
|
squirrel-sql = callPackage ../development/tools/database/squirrel-sql {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user