moz-phab: init at 0.1.99

The official Mozilla tool for code submissions. Needed to do anything
useful on NixOS with Mozilla code.
This commit is contained in:
Dzmitry Malyshau
2021-11-19 10:44:00 -05:00
parent a811dea815
commit 51324da2e0
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{ lib, python3Packages, pkgs }:
python3Packages.buildPythonApplication rec {
pname = "MozPhab";
version = "0.1.99";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-uKoMMSp5AIvB1qTRYAh7n1+2dDLneFbssfkfTTshfcs=";
};
propagatedBuildInputs = with python3Packages; [
distro
glean-sdk
python-hglib
sentry-sdk
setuptools
];
buildInputs = [
pkgs.mercurial
];
# https://bugzilla.mozilla.org/show_bug.cgi?id=1741683
doCheck = false;
meta = with lib; {
description = "Phabricator CLI from Mozilla to support submission of a series of commits";
longDescription = ''
moz-phab is a custom command-line tool, which communicates to
Phabricators API, providing several conveniences, including support for
submitting series of commits.
'';
homepage = "https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html";
license = licenses.mpl20;
maintainers = [ maintainers.kvark ];
platforms = platforms.all;
};
}
+2
View File
@@ -7047,6 +7047,8 @@ with pkgs;
motion = callPackage ../applications/video/motion { };
moz-phab = callPackage ../applications/misc/moz-phab { };
mtail = callPackage ../servers/monitoring/mtail { };
multitail = callPackage ../tools/misc/multitail { };