1{ lib
2, fetchFromGitHub
3, rustPlatform
4, nix-update-script
5}:
6
7let
8 pname = "gluesql";
9 version = "0.14.0";
10in
11rustPlatform.buildRustPackage {
12 inherit pname version;
13
14 src = fetchFromGitHub {
15 owner = "gluesql";
16 repo = pname;
17 rev = "v${version}";
18 hash = "sha256-z2fpyPJfyPtO13Ly7XRmMW3rp6G3jNLsMMFz83Wmr0E=";
19 };
20
21 cargoHash = "sha256-xInwN/wZpHD3/vKcA+oYL9tmSD7P7/L8ZZOXZq0gkac=";
22
23 passthru.updateScript = nix-update-script { };
24
25 meta = with lib; {
26 description = "GlueSQL is quite sticky. It attaches to anywhere.";
27 homepage = "https://github.com/gluesql/gluesql";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ happysalada ];
30 platforms = platforms.all;
31 };
32}