2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-05-29 06:06:01 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "duckdb";
|
2021-07-04 02:40:35 +00:00
|
|
|
version = "0.2.7";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cwida";
|
|
|
|
repo = "duckdb";
|
|
|
|
rev = "v${version}";
|
2021-07-04 02:40:35 +00:00
|
|
|
sha256 = "0cnqq2n1424fqg7gfyvrwkk6nvjal2fm5n08xc8q28ynyhq4sfmj";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
homepage = "https://github.com/cwida/duckdb";
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "Embeddable SQL OLAP Database Management System";
|
2020-05-29 06:06:01 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
|
|
|
};
|
|
|
|
}
|