Martin Weinelt
2025-04-03 23:10:42 +02:00
parent b3ba26a36c
commit f7eb001a2f
+7 -10
View File
@@ -11,27 +11,24 @@
python3.pkgs.buildPythonApplication rec {
pname = "mozphab";
version = "1.5.1";
format = "pyproject";
version = "1.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mozilla-conduit";
repo = "review";
tag = version;
hash = "sha256-HxwQ+mGtjnruppPAD01QUg3aca+k5vpj814BWM+3VfQ=";
hash = "sha256-ZiM+4EZjM7WXQfWkHVRTJ/hOHJvf9dRlqzqDHi++xQc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "glean-sdk>=50.0.1,==50.*" "glean-sdk"
'';
nativeBuildInputs = with python3.pkgs; [
build-system = with python3.pkgs; [
setuptools
setuptools-scm
];
propagatedBuildInputs = with python3.pkgs; [
pythonRelaxDeps = [ "glean-sdk" ];
dependencies = with python3.pkgs; [
colorama
distro
glean-sdk