1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "biplist";
10 version = "1.0.3";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1im45a9z7ryrfyp1v6i39qia5qagw6i1mhif0hl0praz9iv4j1ac";
16 };
17
18 nativeCheckInputs = [ pytestCheckHook ];
19
20 disabledTests = [
21 # Failing tests
22 "testConvertToXMLPlistWithData"
23 "testWriteToFile"
24 "testXMLPlist"
25 "testXMLPlistWithData"
26 ];
27
28 pythonImportsCheck = [ "biplist" ];
29
30 meta = with lib; {
31 homepage = "https://bitbucket.org/wooster/biplist/src/master/";
32 description = "Binary plist parser/generator for Python";
33 longDescription = ''
34 Binary Property List (plist) files provide a faster and smaller
35 serialization format for property lists on OS X.
36
37 This is a library for generating binary plists which can be read
38 by OS X, iOS, or other clients.
39 '';
40 license = licenses.bsd3;
41 maintainers = with maintainers; [ siriobalmelli ];
42 };
43}