mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
d6572b7c22
python312Packages.bpylist2: 3.0.3 -> 4.1.1 bpylist fix bpylist2
40 lines
938 B
Nix
40 lines
938 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "bpylist2";
|
|
version = "4.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "parabolala";
|
|
repo = "bpylist2";
|
|
rev = "ddb89e0b0301c6b298de6469221d99b5fe127b58";
|
|
hash = "sha256-OBwDQZL5++LZgpQM96tmplAh1Pjme3KGSNFTKqKUn00=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
pythonImportsCheck = [ "bpylist2" ];
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.cfg \
|
|
--replace-fail "--pycodestyle" "" \
|
|
--replace-fail "--pylint --pylint-rcfile=pylint.rc" "" \
|
|
--replace-fail "--mypy" ""
|
|
'';
|
|
|
|
meta = {
|
|
description = "Parse and Generate binary plists and NSKeyedArchiver archives";
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/parabolala/bpylist2";
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
};
|
|
}
|