selenium-manager: init at 4.18.1

Unvendors the selenium-manager used among in its various bindings.
This commit is contained in:
Martin Weinelt 2024-03-10 13:46:10 +01:00
parent 3294b74f44
commit ff098ce6c8

View File

@ -0,0 +1,34 @@
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "selenium-manager";
version = "4.18.1";
src = fetchFromGitHub {
owner = "SeleniumHQ";
repo = "selenium";
rev = "selenium-${version}";
hash = "sha256-1C9Epsk9rFlShxHGGzbWl6smrMzPn2h3yCWlzUIMpY8=";
};
sourceRoot = "${src.name}/rust";
cargoHash = "sha256-BystESOFIitw3ER2K1TPOf5luOBvKXFuqc/unL93yRY=";
# TODO: enable tests
# The test suite depends on a number of browsers and network requests,
# check the Gentoo package for inspiration
doCheck = false;
meta = with lib; {
description = "A browser automation framework and ecosystem";
homepage = "https://github.com/SeleniumHQ/selenium";
license = licenses.asl20;
maintainers = with maintainers; [ ];
mainProgram = "selenium-manager";
platforms = platforms.all;
};
}