package.nix (940B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 curl, 7 openssl, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { 11 pname = "duckdb-httpfs"; 12 version = "0-unstable-2026-10-19"; 13 14 strictDeps = true; 15 __structuredAttrs = true; 16 17 src = fetchFromGitHub { 18 owner = "duckdb"; 19 repo = "duckdb-httpfs"; 20 rev = "77392a72077a85897db2519fae11e2c0da972b8a"; 21 hash = "sha256-vdsNXoXFKBpnMacKssu3aEuEO4MV7GGyVR6BF4iZxao="; 22 fetchSubmodules = true; 23 }; 24 25 nativeBuildInputs = [ cmake ]; 26 27 buildInputs = [ 28 curl 29 openssl 30 ]; 31 32 dontUseCmakeConfigure = true; 33 enableParallelBuilding = true; 34 35 installPhase = '' 36 install -Dm644 build/release/extension/httpfs/httpfs.duckdb_extension -t $out 37 ''; 38 39 meta = { 40 description = "DuckDB HTTPFS extension"; 41 homepage = "https://github.com/duckdb/duckdb-httpfs"; 42 license = lib.licenses.mit; 43 maintainers = [ lib.maintainers.sikmir ]; 44 platforms = lib.platforms.unix; 45 }; 46 })
