Merge pull request #225320 from mweinelt/immutabledict-2.2.4

python310Packages.immutabledict: 2.2.3 -> 2.2.4
This commit is contained in:
Fabian Affolter 2023-04-09 09:52:59 +02:00 committed by GitHub
commit 413c9ae5aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

View file

@ -10,22 +10,30 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "mozphab"; pname = "mozphab";
version = "1.1.0"; version = "1.4.3";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mozilla-conduit"; owner = "mozilla-conduit";
repo = "review"; repo = "review";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-vLHikGjTYOeXd6jDRsoCkq3i0eh6Ttd4KdvlixjzdZ4="; hash = "sha256-FUHT4MPzSxO3MCNYWodNxvFR2kL0P4eGmSHPtCt0Cug=";
}; };
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace pyproject.toml \
--replace "glean-sdk>=50.0.1,==50.*" "glean-sdk" --replace "glean-sdk>=50.0.1,==50.*" "glean-sdk"
''; '';
nativeBuildInputs = with python3.pkgs; [
setuptools
setuptools-scm
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
colorama
distro distro
glean-sdk glean-sdk
packaging packaging

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "immutabledict"; pname = "immutabledict";
version = "2.2.3"; version = "2.2.4";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "corenting"; owner = "corenting";
repo = "immutabledict"; repo = "immutabledict";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-GeQ1BEBt+66YhohyaXt7rIVNpEk6mINwsC3JrmYNjRI="; hash = "sha256-cykTZw3p6P35rHaJmfmiXIqybc+ZeqUkxneoPot7E9Q=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [