nixpkgs/pkgs/development/python-modules/biplist/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

45 lines
1.0 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "biplist";
version = "1.0.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1im45a9z7ryrfyp1v6i39qia5qagw6i1mhif0hl0praz9iv4j1ac";
};
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# Failing tests
"testConvertToXMLPlistWithData"
"testWriteToFile"
"testXMLPlist"
"testXMLPlistWithData"
];
pythonImportsCheck = [ "biplist" ];
meta = with lib; {
homepage = "https://bitbucket.org/wooster/biplist/src/master/";
description = "Binary plist parser/generator for Python";
longDescription = ''
Binary Property List (plist) files provide a faster and smaller
serialization format for property lists on OS X.
This is a library for generating binary plists which can be read
by OS X, iOS, or other clients.
'';
license = licenses.bsd3;
maintainers = with maintainers; [ siriobalmelli ];
};
}