Files
Skye Soss 0f90372bd4 treewide: Use the OR compound license expression
This commit replaces every use of '# or' in a license list with the
lib.licenses.OR compound license constructor.

Assisted-by: claude-opus-5-5
2026-11-03 16:32:28 -06:00

44 lines
884 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "gemfileparser2";
version = "0.9.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ezfioBwlZMGb1cEzzwa1afXUrTnxsgpzX0CNOTyVzgY=";
};
dontConfigure = true;
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gemfileparser2" ];
meta = {
description = "Library to parse Rubygem gemspec and Gemfile files";
homepage = "https://github.com/aboutcode-org/gemfileparser2";
changelog = "https://github.com/aboutcode-org/gemfileparser2/blob/v${version}/CHANGELOG.rst";
license =
with lib.licenses;
OR [
mit
gpl3Plus
];
maintainers = with lib.maintainers; [ harvidsen ];
};
}