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

27 lines
564 B
Nix
Raw Normal View History

{ lib, stdenv
2020-05-27 01:27:11 +00:00
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "duckdb";
2021-10-22 08:42:51 +00:00
version = "0.3.0";
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}";
2021-10-22 08:42:51 +00:00
sha256 = "sha256-SvihG6PdHQ+03JAXdkuzvGug4lw0ngcxYigS7R7yK9g=";
2020-05-27 01:27:11 +00:00
};
nativeBuildInputs = [ cmake ];
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 ];
};
}