default.nix (908B)
1 { 2 lib, 3 stdenv, 4 rustPlatform, 5 fetchFromGitea, 6 pkg-config, 7 gtk4, 8 openssl, 9 wrapGAppsHook, 10 darwin, 11 }: 12 13 rustPlatform.buildRustPackage rec { 14 pname = "eva"; 15 version = "0.4.1"; 16 17 src = fetchFromGitea { 18 domain = "codeberg.org"; 19 owner = "jeang3nie"; 20 repo = "eva"; 21 rev = "v${version}"; 22 hash = "sha256-beCILpBqW8kHcLkW3q6LRRduDTMDwsqnXUEkZbX9hL4="; 23 }; 24 25 cargoPatches = [ ./cargo-lock.patch ]; 26 cargoHash = "sha256-BFRowucvjYzCF7au4O/Q/lSpgaNUpNDx3OhnbwwfF24="; 27 28 nativeBuildInputs = [ 29 pkg-config 30 wrapGAppsHook 31 ]; 32 33 buildInputs = [ 34 gtk4 35 openssl 36 ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; 37 38 meta = { 39 description = "Gemini protocol browser written in Rust using the gtk+ toolkit"; 40 homepage = "https://codeberg.org/jeang3nie/eva"; 41 license = lib.licenses.gpl3; 42 maintainers = [ lib.maintainers.sikmir ]; 43 }; 44 }