5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
32 lines
620 B
Nix
32 lines
620 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPyPy,
|
|
python,
|
|
python-dateutil,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.9.7";
|
|
format = "setuptools";
|
|
pname = "vobject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-q3J7+B3oiYStpcEfBm8eFkmQPT49fskfHOloFyr9UlY=";
|
|
};
|
|
|
|
disabled = isPyPy;
|
|
|
|
propagatedBuildInputs = [ python-dateutil ];
|
|
|
|
checkPhase = "${python.interpreter} tests.py";
|
|
|
|
meta = with lib; {
|
|
description = "Module for reading vCard and vCalendar files";
|
|
homepage = "http://eventable.github.io/vobject/";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|