11 python3.pkgs.buildPythonApplication rec {
16 src = fetchFromGitHub {
17 owner = "mozilla-conduit";
19 rev = "refs/tags/${version}";
20 hash = "sha256-HxwQ+mGtjnruppPAD01QUg3aca+k5vpj814BWM+3VfQ=";
24 substituteInPlace pyproject.toml \
25 --replace "glean-sdk>=50.0.1,==50.*" "glean-sdk"
28 nativeBuildInputs = with python3.pkgs; [
33 propagatedBuildInputs = with python3.pkgs; [
48 ++ (with python3.pkgs; [
57 export HOME=$(mktemp -d)
61 # codestyle doesn't matter to us
63 # integration tests try to submit changes, which requires network access
64 "tests/test_integration_git.py"
65 "tests/test_integration_hg.py"
66 "tests/test_integration_hg_dag.py"
67 "tests/test_integration_patch.py"
68 "tests/test_integration_reorganise.py"
69 "tests/test_sentry.py"
73 description = "Phabricator CLI from Mozilla to support submission of a series of commits";
74 mainProgram = "moz-phab";
76 moz-phab is a custom command-line tool, which communicates to
77 Phabricator’s API, providing several conveniences, including support for
78 submitting series of commits.
80 homepage = "https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html";
81 license = licenses.mpl20;
82 maintainers = with maintainers; [];
83 platforms = platforms.unix;