nixpkgs/pkgs/development/libraries/duckdb/default.nix
2022-02-14 14:13:13 -05:00

28 lines
578 B
Nix

{ lib, stdenv
, fetchFromGitHub
, cmake
, ninja
}:
stdenv.mkDerivation rec {
pname = "duckdb";
version = "0.3.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-F5YOqDeY3rgcnuu5SNqOfUxhsaXgqvdJZTnD1unI0tc=";
};
nativeBuildInputs = [ cmake ninja ];
meta = with lib; {
homepage = "https://github.com/duckdb/duckdb";
description = "Embeddable SQL OLAP Database Management System";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ costrouc ];
};
}