python311Packages.gemfileparser2: init at 0.9.3

This commit is contained in:
Fabian Affolter 2023-01-26 20:45:03 +01:00
parent 838857d11a
commit 09db61089e
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

@ -3708,6 +3708,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 { };