3
0
Fork 0
forked from mirrors/nixpkgs

moz-phab: rename patch files

This commit is contained in:
Dzmitry Malyshau 2021-11-19 12:25:50 -05:00
parent ca7a71747d
commit 836ba699de
5 changed files with 6 additions and 7 deletions

View file

@ -11,18 +11,19 @@
}:
buildPythonApplication rec {
pname = "MozPhab";
pname = "moz-phab";
version = "0.1.99";
src = fetchPypi {
inherit pname version;
pname = "MozPhab";
inherit version;
sha256 = "sha256-uKoMMSp5AIvB1qTRYAh7n1+2dDLneFbssfkfTTshfcs=";
};
patches = [
# Relax python-hglib requirement
# https://phabricator.services.mozilla.com/D131618
./D131618.diff
./relax-hglib-version.diff
];
propagatedBuildInputs = [
@ -50,6 +51,6 @@ buildPythonApplication rec {
homepage = "https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html";
license = licenses.mpl20;
maintainers = [ maintainers.kvark ];
platforms = platforms.all;
platforms = platforms.unix;
};
}

View file

@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytest
, pytest-runner
, pythonOlder
, setuptools-scm
@ -42,7 +41,6 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
pytest
pytest-runner
];
disabledTests = [

View file

@ -22,7 +22,7 @@ buildPythonPackage rec {
patches = [
# Fix the environment for spawned process
# https://github.com/mozilla/glean/pull/1542
./pr-1542.patch
./fix-spawned-process-environment.patch
];
cargoDeps = rustPlatform.fetchCargoTarball {