2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2021-04-25 03:57:28 +00:00
|
|
|
}:
|
2024-05-15 15:35:15 +00:00
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gemfileparser";
|
|
|
|
version = "0.8.0";
|
2024-05-15 15:35:15 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-g5WS5J6j/Zhc7AA+9Y+OdwCaae12RKDArMlM9t2bjW4=";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-04-25 03:57:28 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonImportsCheck = [ "gemfileparser" ];
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A library to parse Ruby Gemfile, .gemspec and Cocoapod .podspec file using Python";
|
|
|
|
homepage = "https://github.com/gemfileparser/gemfileparser";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = with licenses; [
|
|
|
|
gpl3Plus
|
|
|
|
mit
|
|
|
|
];
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
mainProgram = "parsegemfile";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
}
|