nixpkgs/pkgs/development/python-modules/gemfileparser/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

31 lines
669 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "gemfileparser";
version = "0.8.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "839592e49ea3fd985cec003ef58f8e77009a69ed7644a0c0acc94cf6dd9b8d6e";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"gemfileparser"
];
meta = with lib; {
description = "A library to parse Ruby Gemfile, .gemspec and Cocoapod .podspec file using Python";
homepage = "https://github.com/gemfileparser/gemfileparser";
license = with licenses; [ gpl3Plus /* or */ mit ];
maintainers = [ ];
};
}