python3Packages.requirements-parser: 0.11.0 -> 0.13.0

This commit is contained in:
R. Ryantm 2025-05-24 10:53:31 +00:00 committed by Weijia Wang
parent 1a64f763a0
commit ca8260a9b5

View File

@ -5,29 +5,27 @@
poetry-core, poetry-core,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
setuptools, packaging,
types-setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "requirements-parser"; pname = "requirements-parser";
version = "0.11.0"; version = "0.13.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "madpah"; owner = "madpah";
repo = "requirements-parser"; repo = "requirements-parser";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-o9IriQXa2Pd7s16IENqcWgi73XZQoXsbXU471V1CFaI="; hash = "sha256-AwsLcHjPfP+cYpKCQVgIcyzUhnqeIBJ92QLR48E6EtI=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];
dependencies = [ dependencies = [
setuptools packaging
types-setuptools
]; ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];
@ -37,7 +35,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Pip requirements file parser"; description = "Pip requirements file parser";
homepage = "https://github.com/davidfischer/requirements-parser"; homepage = "https://github.com/davidfischer/requirements-parser";
changelog = "https://github.com/madpah/requirements-parser/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/madpah/requirements-parser/blob/${src.tag}/CHANGELOG.md";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = [ ]; maintainers = [ ];
}; };