2023-08-24 16:07:25 +00:00
|
|
|
{# lib
|
|
|
|
#, fetchFromGitHub
|
|
|
|
#,
|
|
|
|
rustPlatform
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, gtk4
|
|
|
|
, gdk-pixbuf
|
|
|
|
, cairo
|
|
|
|
, pango
|
|
|
|
, libadwaita
|
|
|
|
}:
|
2023-08-16 12:43:10 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "xenon-browser";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
2023-08-16 10:51:58 +00:00
|
|
|
src = ./.;
|
2023-08-16 12:43:10 +00:00
|
|
|
|
|
|
|
buildInputs = [ gtk4 gdk-pixbuf cairo libadwaita pango ];
|
|
|
|
nativeBuildInputs = [cmake pkg-config];
|
|
|
|
|
|
|
|
cargoLock.lockFile = ./Cargo.lock;
|
|
|
|
# src = fetchFromGitHub {
|
|
|
|
# owner = "BurntSushi";
|
|
|
|
# repo = pname;
|
|
|
|
# rev = version;
|
|
|
|
# hash = "sha256-+s5RBC3XSgb8omTbUNLywZnP6jSxZBKSS1BmXOjRF8M=";
|
|
|
|
# };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "an experimental browser written with servo and gtk, inspired by neon.";
|
|
|
|
# homepage = "https://github.com/BurntSushi/ripgrep";
|
|
|
|
# license = licenses.unlicense;
|
|
|
|
# maintainers = [ maintainers.tailhook ];
|
|
|
|
};
|
2023-08-16 10:51:58 +00:00
|
|
|
}
|