12 buildPythonPackage rec {
13 pname = "pylink-square";
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-rcM7gvUUfXN5pL9uIihzmOCXA7NKjiMt2GaQaGJxD9M=";
26 propagatedBuildInputs = [
36 pythonImportsCheck = [
41 # AttributeError: 'called_once_with' is not a valid assertion
42 "test_cp15_register_write_success"
43 "test_jlink_restarted"
44 "test_set_log_file_success"
48 description = "Python interface for the SEGGER J-Link";
49 homepage = "https://github.com/square/pylink";
50 changelog = "https://github.com/square/pylink/blob/v${version}/CHANGELOG.md";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ dump_stack ];