16 buildPythonPackage rec {
20 src = fetchFromGitHub {
24 hash = "sha256-T61nPW3wjBRjmJ81w59T1b/Kxrwwqvyj3gILE9OF/5Q=";
27 cargoDeps = rustPlatform.fetchCargoTarball {
29 name = "${pname}-${version}";
30 hash = "sha256-wrMNtcaLAsWBVeJbYbYo+Xmobl01lnUbR9NUqqUzUgU=";
39 rustPlatform.cargoSetupHook
44 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
46 propagatedBuildInputs = [
51 # Use system OpenSSL, which gets security updates.
52 substituteInPlace Cargo.toml \
53 --replace ', features = ["vendored"]' ""
56 pythonImportsCheck = [ "etebase" ];
60 broken = stdenv.isDarwin;
61 homepage = "https://www.etebase.com/";
62 description = "A Python client library for Etebase";
63 license = licenses.bsd3;
64 maintainers = with maintainers; [ _3699n ];