1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "gemfileparser";
12 version = "0.8.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-g5WS5J6j/Zhc7AA+9Y+OdwCaae12RKDArMlM9t2bjW4=";
20 };
21
22 build-system = [ setuptools ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "gemfileparser" ];
27
28 meta = with lib; {
29 description = "Library to parse Ruby Gemfile, .gemspec and Cocoapod .podspec file using Python";
30 homepage = "https://github.com/gemfileparser/gemfileparser";
31 license = with licenses; [
32 gpl3Plus
33 mit
34 ];
35 maintainers = [ ];
36 mainProgram = "parsegemfile";
37 };
38}