Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 85 lines 1.8 kB view raw
1{ lib 2, fetchFromGitLab 3, buildPythonPackage 4, cookiecutter 5, requests 6, pyyaml 7, jsonschema 8, argcomplete 9, pytestCheckHook 10, watchdog 11, stdenv 12}: 13 14buildPythonPackage rec { 15 pname = "clickable"; 16 version = "7.11.0"; 17 18 src = fetchFromGitLab { 19 owner = "clickable"; 20 repo = "clickable"; 21 rev = "v${version}"; 22 sha256 = "sha256-OVS+FK2ABoKbBFLDc3drcjeaa3yO9/8Ah8FzlN2fd8g="; 23 }; 24 25 propagatedBuildInputs = [ 26 cookiecutter 27 requests 28 pyyaml 29 jsonschema 30 argcomplete 31 watchdog 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 disabledTests = [ 37 # Tests require docker 38 "test_cpp_plugin" 39 "test_html" 40 "test_python" 41 "test_qml_only" 42 "test_rust" 43 "test_review" 44 "test_click_build" 45 "test_no_device" 46 "test_no_file_temp" 47 "test_update" 48 "test_lib_build" 49 "test_clean" 50 "test_temp_exception" 51 "test_create_interactive" 52 "test_create_non_interactive" 53 "test_kill" 54 "test_writable_image" 55 "test_no_desktop_mode" 56 "test_no_lock" 57 "test_run_default_command" 58 "test_run" 59 "test_no_container_mode_log" 60 "test_custom_mode_log" 61 "test_skip_desktop_mode" 62 "test_log" 63 "test_custom_lock_file" 64 "test_launch_custom" 65 "test_launch" 66 "test_devices" 67 "test_install" 68 "test_skip_container_mode" 69 ] ++ 70 # There are no docker images available for the aarch64 architecutre 71 # which are required for tests. 72 lib.optionals stdenv.isAarch64 [ 73 "test_arch" 74 "test_restricted_arch" 75 ]; 76 77 meta = { 78 description = "A build system for Ubuntu Touch apps"; 79 mainProgram = "clickable"; 80 homepage = "https://clickable-ut.dev"; 81 changelog = "https://clickable-ut.dev/en/latest/changelog.html"; 82 license = lib.licenses.gpl3Only; 83 maintainers = with lib.maintainers; [ ilyakooo0 ]; 84 }; 85}