default.nix (691B)
1 { 2 lib, 3 stdenv, 4 rustPlatform, 5 fetchFromGitHub, 6 pkg-config, 7 openssl, 8 }: 9 10 rustPlatform.buildRustPackage (finalAttrs: { 11 pname = "egemi"; 12 version = "0.1.2"; 13 14 src = fetchFromGitHub { 15 owner = "NfNitLoop"; 16 repo = "egemi"; 17 tag = "v${finalAttrs.version}"; 18 hash = "sha256-mx2ZLFsNPUsIjrsB+CGiLa3LRdbbBzNWCMr2pzC4wEY="; 19 }; 20 21 cargoHash = "sha256-ouKVdE7wJ2jFM3oGo8wHZxpgZF6zj114mvuYPC2LBe8="; 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 buildInputs = [ openssl ]; 26 27 meta = { 28 description = "An egui browser for Gemini Text"; 29 homepage = "https://github.com/NfNitLoop/egemi"; 30 license = lib.licenses.free; 31 maintainers = [ lib.maintainers.sikmir ]; 32 }; 33 })