567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
44 lines
1023 B
Nix
44 lines
1023 B
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 = {
|
|
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 = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ siriobalmelli ];
|
|
};
|
|
}
|