4 , gobject-introspection
19 stdenv.mkDerivation rec {
23 src = fetchFromGitHub {
27 hash = "sha256-/74E10txRjwN9RkjVB8M0MPYakJ659yJWanc4DC09wg=";
30 outputs = [ "out" "dev" ];
38 which # for locale detection
39 libxml2 # for xml-stripblanks
40 dbus # for dbus-run-session
42 ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
53 propagatedBuildInputs = [
57 mesonFlags = lib.optionals stdenv.hostPlatform.isMusl [
62 patchShebangs --build build/choose-tests-locale.sh
64 # https://github.com/linuxmint/cjs/issues/123
65 substituteInPlace meson.build --replace-fail "extra_args: '--warn-error'," ""
69 homepage = "https://github.com/linuxmint/cjs";
70 description = "JavaScript bindings for Cinnamon";
73 This module contains JavaScript bindings based on gobject-introspection.
76 license = with licenses; [
83 platforms = platforms.linux;
84 maintainers = teams.cinnamon.members;