Files
nixpkgs/pkgs/development/python-modules/gemfileparser/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
773 B
Nix

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