default.nix (732B)
1 { lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "hecate"; 5 version = "0.87.0"; 6 7 src = fetchFromGitHub { 8 owner = "Hecate"; 9 repo = "Hecate"; 10 rev = "v${version}"; 11 hash = "sha256-X+49Mnls5xK6ag1QcvEm0GvLPmvcRBwNn/1vnC9GJO8="; 12 }; 13 14 cargoHash = "sha256-ROx90hWk9q5E/Yfy9luHbB1XyyLqw2KEl92niBNapBI="; 15 16 nativeBuildInputs = [ pkg-config ]; 17 18 buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 19 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Fast Geospatial Feature Storage API"; 24 inherit (src.meta) homepage; 25 license = licenses.mit; 26 maintainers = [ maintainers.sikmir ]; 27 broken = true; 28 }; 29 }