nixpkgs-suyu/pkgs/servers/sql/dolt/default.nix

28 lines
876 B
Nix
Raw Normal View History

2020-03-21 10:38:00 +01:00
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec {
pname = "dolt";
2020-03-14 06:01:03 +01:00
version = "0.15.0";
src = fetchFromGitHub {
owner = "liquidata-inc";
repo = "dolt";
rev = "v${version}";
2020-03-14 06:01:03 +01:00
sha256 = "1zn5ws6x42niwq9rscn63ddpp0558k0lgncmf01p243jlkdnfsg3";
};
modRoot = "./go";
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
2020-03-14 06:01:03 +01:00
modSha256 = "04bsj8mfamnbq3y2aqbx1605azi8v15nbdh1zk5grni0ihlal75a";
2020-03-21 10:38:00 +01:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Relational database with version control and CLI a-la Git.";
homepage = "https://github.com/liquidata-inc/dolt";
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
platforms = platforms.linux ++ platforms.darwin;
};
}