summaryrefslogtreecommitdiff
path: root/pkgs/by-name/gl/gluesql/package.nix
blob: 72c3cf92502ee1d4224ffefa869d5e25743a2cb9 (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
{
  lib,
  fetchFromGitHub,
  rustPlatform,
  nix-update-script,
}:

let
  pname = "gluesql";
  version = "0.14.0";
in
rustPlatform.buildRustPackage {
  inherit pname version;

  src = fetchFromGitHub {
    owner = "gluesql";
    repo = "gluesql";
    rev = "v${version}";
    hash = "sha256-z2fpyPJfyPtO13Ly7XRmMW3rp6G3jNLsMMFz83Wmr0E=";
  };

  cargoHash = "sha256-QITNkSB/IneKj0w12FCKV1Y0vRAlOfENs8BpFbDpK2M=";

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "GlueSQL is quite sticky. It attaches to anywhere";
    homepage = "https://github.com/gluesql/gluesql";
    license = licenses.asl20;
    maintainers = with maintainers; [ happysalada ];
    platforms = platforms.all;
  };
}