33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
44 lines
1,000 B
Nix
44 lines
1,000 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "biplist";
|
|
version = "1.0.3";
|
|
|
|
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 ];
|
|
};
|
|
}
|