Files
nixpkgs/pkgs/development/tools/database/sqlboiler-crdb/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

26 lines
730 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "sqlboiler-crbd";
version = "unstable-2022-06-12";
src = fetchFromGitHub {
owner = "glerchundi";
repo = "sqlboiler-crdb";
rev = "7b35c4d19c05fdc53d1efdcc074f20ee6b56f340";
hash = "sha256-RlppCRYP7TlM1z1PiXtEVifNVxQHwLuoBXxgYIpUirE=";
};
vendorHash = "sha256-N16GH8ZDyeWWBsaaG4RkJwzAbuQ7E8YjZAgVsfeECo4";
doCheck = false; # requires a running testdb
meta = with lib; {
description = "CockroachDB generator for usage with SQLBoiler";
mainProgram = "sqlboiler-crdb";
homepage = "https://github.com/glerchundi/sqlboiler-crdb/";
maintainers = with maintainers; [ dgollings ];
platforms = platforms.unix;
};
}