diff --git a/pkgs/applications/misc/moz-phab/default.nix b/pkgs/applications/misc/moz-phab/default.nix index 3ed14b69d612..9666f974957a 100644 --- a/pkgs/applications/misc/moz-phab/default.nix +++ b/pkgs/applications/misc/moz-phab/default.nix @@ -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; }; } diff --git a/pkgs/applications/misc/moz-phab/D131618.diff b/pkgs/applications/misc/moz-phab/relax-hglib-version.diff similarity index 100% rename from pkgs/applications/misc/moz-phab/D131618.diff rename to pkgs/applications/misc/moz-phab/relax-hglib-version.diff diff --git a/pkgs/development/python-modules/glean-parser/default.nix b/pkgs/development/python-modules/glean-parser/default.nix index a9b475971490..feca6979b429 100644 --- a/pkgs/development/python-modules/glean-parser/default.nix +++ b/pkgs/development/python-modules/glean-parser/default.nix @@ -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 = [ diff --git a/pkgs/development/python-modules/glean-sdk/default.nix b/pkgs/development/python-modules/glean-sdk/default.nix index ac9d4b5c7784..e729d927cdae 100644 --- a/pkgs/development/python-modules/glean-sdk/default.nix +++ b/pkgs/development/python-modules/glean-sdk/default.nix @@ -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 { diff --git a/pkgs/development/python-modules/glean-sdk/pr-1542.patch b/pkgs/development/python-modules/glean-sdk/fix-spawned-process-environment.patch similarity index 100% rename from pkgs/development/python-modules/glean-sdk/pr-1542.patch rename to pkgs/development/python-modules/glean-sdk/fix-spawned-process-environment.patch