Merge pull request #212849 from fabaff/gemfileparser2

python311Packages.gemfileparser2: init at 0.9.3
This commit is contained in:
Fabian Affolter 2023-01-27 09:57:46 +01:00 committed by GitHub
commit eff24ece86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "gemfileparser2";
version = "0.9.3";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BFKJZOf0W2b0YNbKIwnrmoKGvtP8A6R9PrUt7kYC/Dk=";
};
dontConfigure = true;
nativeBuildInputs = [
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"gemfileparser2"
];
meta = with lib; {
description = "Library to parse Rubygem gemspec and Gemfile files";
homepage = "https://github.com/nexB/gemfileparser2";
changelog = "https://github.com/nexB/gemfileparser2/blob/v${version}/CHANGELOG.rst";
license = with licenses; [ mit /* or */ gpl3Plus ];
maintainers = with maintainers; [ harvidsen ];
};
}

View File

@ -3710,6 +3710,8 @@ self: super: with self; {
gemfileparser = callPackage ../development/python-modules/gemfileparser { };
gemfileparser2 = callPackage ../development/python-modules/gemfileparser2 { };
genanki = callPackage ../development/python-modules/genanki { };
generic = callPackage ../development/python-modules/generic { };