f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
32 lines
638 B
Nix
32 lines
638 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 = with maintainers; [ ];
|
|
};
|
|
}
|