diff --git a/pkgs/applications/misc/MozPhab/default.nix b/pkgs/applications/misc/MozPhab/default.nix new file mode 100644 index 00000000000000..4590d172e4d23a --- /dev/null +++ b/pkgs/applications/misc/MozPhab/default.nix @@ -0,0 +1,29 @@ +{ lib, python3Packages, pkgs }: + +python3Packages.buildPythonApplication rec { + pname = "MozPhab"; + version = "0.1.74"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "1qbl54pvba15b2ic9lxsajakbk4gj1rjazzj4qbrh43ngllrhi7y"; + }; + + propagatedBuildInputs = [ + python3Packages.setuptools + pkgs.mercurial + ]; + + meta = with lib; { + description = "Phabricator CLI from Mozilla to support submission of a series of commits"; + longDescription = '' + MozPhab is a custom command-line tool, moz-phab, which communicates to + Phabricator’s 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.raboof ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bb99a1aa2b40dd..1b915540eb9fe3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4742,6 +4742,8 @@ in motion = callPackage ../applications/video/motion { }; + MozPhab = callPackage ../applications/misc/MozPhab { }; + mtail = callPackage ../servers/monitoring/mtail { inherit (darwin.apple_sdk.frameworks) Security; };