2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv
|
2020-05-27 03:27:11 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "duckdb";
|
2021-12-06 17:10:27 +01:00
|
|
|
version = "0.3.1";
|
2020-05-27 03:27:11 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-10-22 10:42:51 +02:00
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2020-05-27 03:27:11 +02:00
|
|
|
rev = "v${version}";
|
2021-12-06 17:10:27 +01:00
|
|
|
sha256 = "sha256-apTU7WgKw/YEnT4maibyffqOrCoVwHPOkNINlAmtYYI=";
|
2020-05-27 03:27:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2021-10-22 10:42:51 +02:00
|
|
|
homepage = "https://github.com/duckdb/duckdb";
|
2020-10-26 05:08:40 +01:00
|
|
|
description = "Embeddable SQL OLAP Database Management System";
|
2020-05-27 03:27:11 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
|
|
|
};
|
|
|
|
}
|