Merge pull request #311064 from fabaff/gemfileparser-bump

python312Packages.gemfileparser: refactor
This commit is contained in:
Nick Cao
2024-05-12 11:20:14 -04:00
committed by GitHub
@@ -1,31 +1,38 @@
{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "gemfileparser";
version = "0.8.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "839592e49ea3fd985cec003ef58f8e77009a69ed7644a0c0acc94cf6dd9b8d6e";
hash = "sha256-g5WS5J6j/Zhc7AA+9Y+OdwCaae12RKDArMlM9t2bjW4=";
};
nativeCheckInputs = [
pytestCheckHook
];
build-system = [ setuptools ];
pythonImportsCheck = [
"gemfileparser"
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gemfileparser" ];
meta = with lib; {
description = "A library to parse Ruby Gemfile, .gemspec and Cocoapod .podspec file using Python";
mainProgram = "parsegemfile";
homepage = "https://github.com/gemfileparser/gemfileparser";
license = with licenses; [ gpl3Plus /* or */ mit ];
maintainers = [ ];
license = with licenses; [
gpl3Plus
mit
];
maintainers = with maintainers; [ ];
mainProgram = "parsegemfile";
};
}