at master 938 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage { 10 pname = "bpylist2"; 11 version = "4.1.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "parabolala"; 16 repo = "bpylist2"; 17 rev = "ddb89e0b0301c6b298de6469221d99b5fe127b58"; 18 hash = "sha256-OBwDQZL5++LZgpQM96tmplAh1Pjme3KGSNFTKqKUn00="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 pythonImportsCheck = [ "bpylist2" ]; 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 postPatch = '' 27 substituteInPlace setup.cfg \ 28 --replace-fail "--pycodestyle" "" \ 29 --replace-fail "--pylint --pylint-rcfile=pylint.rc" "" \ 30 --replace-fail "--mypy" "" 31 ''; 32 33 meta = { 34 description = "Parse and Generate binary plists and NSKeyedArchiver archives"; 35 license = lib.licenses.mit; 36 homepage = "https://github.com/parabolala/bpylist2"; 37 maintainers = with lib.maintainers; [ sigmanificient ]; 38 }; 39}