nixpkgs/pkgs/development/libraries/duckdb/default.nix

28 lines
578 B
Nix
Raw Normal View History

{ lib, stdenv
2020-05-27 01:27:11 +00:00
, fetchFromGitHub
, cmake
2022-02-11 20:53:27 +00:00
, ninja
2020-05-27 01:27:11 +00:00
}:
stdenv.mkDerivation rec {
pname = "duckdb";
2022-02-11 09:43:44 +00:00
version = "0.3.2";
2020-05-27 01:27:11 +00:00
src = fetchFromGitHub {
2021-10-22 08:42:51 +00:00
owner = pname;
repo = pname;
2020-05-27 01:27:11 +00:00
rev = "v${version}";
2022-02-11 09:43:44 +00:00
sha256 = "sha256-F5YOqDeY3rgcnuu5SNqOfUxhsaXgqvdJZTnD1unI0tc=";
2020-05-27 01:27:11 +00:00
};
2022-02-11 20:53:27 +00:00
nativeBuildInputs = [ cmake ninja ];
2020-05-27 01:27:11 +00:00
meta = with lib; {
2021-10-22 08:42:51 +00:00
homepage = "https://github.com/duckdb/duckdb";
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 ];
};
}