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