From 22f7ec86372cf2b423e7b538bd5160a6e9e5e3d3 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Sat, 15 Apr 2023 06:37:57 -0400 Subject: [PATCH 1/2] python3Packages.parsy: 1.4.0 -> 2.1 --- pkgs/development/python-modules/parsy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/parsy/default.nix b/pkgs/development/python-modules/parsy/default.nix index 25092eb9e8a8..e565efa431d7 100644 --- a/pkgs/development/python-modules/parsy/default.nix +++ b/pkgs/development/python-modules/parsy/default.nix @@ -7,16 +7,16 @@ buildPythonPackage rec { pname = "parsy"; - version = "1.4.0"; + version = "2.1"; format = "setuptools"; - disabled = pythonOlder "3.5"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { repo = "parsy"; owner = "python-parsy"; rev = "v${version}"; - hash = "sha256-FislrLb+u4T5m/eEER7kazZHJKEwPHe+Vg/YDJp4PyM="; + hash = "sha256-/Bu3xZUpXI4WiYJKKWTJTdSFq8pwC1PFDw0Kr8s3Fe8="; }; nativeCheckInputs = [ From 526e199b565fc233c040e9909d5ec0da3967573c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 Apr 2023 18:51:53 +0200 Subject: [PATCH 2/2] python3Packages.parsy: add changelog to meta --- pkgs/development/python-modules/parsy/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/parsy/default.nix b/pkgs/development/python-modules/parsy/default.nix index e565efa431d7..07e9bfb2be76 100644 --- a/pkgs/development/python-modules/parsy/default.nix +++ b/pkgs/development/python-modules/parsy/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { repo = "parsy"; owner = "python-parsy"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-/Bu3xZUpXI4WiYJKKWTJTdSFq8pwC1PFDw0Kr8s3Fe8="; }; @@ -30,7 +30,8 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/python-parsy/parsy"; description = "Easy-to-use parser combinators, for parsing in pure Python"; - license = [ licenses.mit ]; + changelog = "https://github.com/python-parsy/parsy/blob/v${version}/docs/history.rst"; + license = licenses.mit; maintainers = with maintainers; [ milibopp ]; }; }