12 python3.pkgs.buildPythonApplication rec {
17 src = fetchFromGitHub {
18 owner = "mozilla-conduit";
21 hash = "sha256-HxwQ+mGtjnruppPAD01QUg3aca+k5vpj814BWM+3VfQ=";
25 substituteInPlace pyproject.toml \
26 --replace "glean-sdk>=50.0.1,==50.*" "glean-sdk"
29 nativeBuildInputs = with python3.pkgs; [
34 propagatedBuildInputs = with python3.pkgs; [
50 ++ (with python3.pkgs; [
59 export HOME=$(mktemp -d)
63 # AttributeError: 'called_once' is not a valid assertion.
65 # AttributeError: 'not_called' is not a valid assertion.
66 "test_finalize_no_evolve"
71 # codestyle doesn't matter to us
73 # integration tests try to submit changes, which requires network access
74 "tests/test_integration_git.py"
75 "tests/test_integration_hg.py"
76 "tests/test_integration_hg_dag.py"
77 "tests/test_integration_patch.py"
78 "tests/test_integration_reorganise.py"
79 "tests/test_sentry.py"
83 description = "Phabricator CLI from Mozilla to support submission of a series of commits";
84 mainProgram = "moz-phab";
86 moz-phab is a custom command-line tool, which communicates to
87 Phabricator’s API, providing several conveniences, including support for
88 submitting series of commits.
90 homepage = "https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html";
91 license = licenses.mpl20;
93 platforms = platforms.unix;