diff --git a/pkgs/development/tools/clickable/default.nix b/pkgs/development/tools/clickable/default.nix new file mode 100644 index 000000000000..6d3bc8663674 --- /dev/null +++ b/pkgs/development/tools/clickable/default.nix @@ -0,0 +1,49 @@ +{ lib +, fetchFromGitLab +, buildPythonPackage +, cookiecutter +, requests +, pyyaml +, jsonschema +, argcomplete +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "clickable"; + version = "7.4.0"; + + src = fetchFromGitLab { + owner = "clickable"; + repo = "clickable"; + rev = "v${version}"; + sha256 = "sha256-QS7vi0gUQbqqRYkZwD2B+zkt6DQ6AamQO7sihD8qWS0="; + }; + + propagatedBuildInputs = [ + cookiecutter + requests + pyyaml + jsonschema + argcomplete + ]; + + checkInputs = [ pytestCheckHook ]; + + disabledTests = [ + # Test require network connection + "test_cpp_plugin" + "test_html" + "test_python" + "test_qml_only" + "test_rust" + ]; + + meta = { + description = "A build system for Ubuntu Touch apps"; + homepage = "https://clickable-ut.dev"; + changelog = "https://clickable-ut.dev/en/latest/changelog.html"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ ilyakooo0 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0ba0c1feb777..ffb545896903 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12950,6 +12950,8 @@ with pkgs; clean = callPackage ../development/compilers/clean { }; + clickable = python3Packages.callPackage ../development/tools/clickable { }; + closurecompiler = callPackage ../development/compilers/closure { }; cmdstan = callPackage ../development/compilers/cmdstan { };