2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2020-05-27 01:27:11 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "duckdb";
|
2020-11-11 03:47:32 +00:00
|
|
|
version = "0.2.2";
|
2020-05-27 01:27:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cwida";
|
|
|
|
repo = "duckdb";
|
|
|
|
rev = "v${version}";
|
2020-11-11 03:47:32 +00:00
|
|
|
sha256 = "1pzz2zjzpvji5am21vd9kjxj0pnxsjmrsfqrym9h2rk2mi7p2cx8";
|
2020-05-27 01:27:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-05-27 01:27:11 +00:00
|
|
|
homepage = "https://github.com/cwida/duckdb";
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Embeddable SQL OLAP Database Management System";
|
2020-05-27 01:27:11 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
|
|
|
};
|
|
|
|
}
|