nixpkgs/pkgs/development/python-modules/vobject/default.nix

25 lines
599 B
Nix
Raw Normal View History

2018-04-06 14:13:18 +01:00
{ lib, buildPythonPackage, fetchPypi, isPyPy, python, dateutil }:
buildPythonPackage rec {
2018-07-08 09:31:11 +01:00
version = "0.9.6";
2018-04-06 14:13:18 +01:00
pname = "vobject";
src = fetchPypi {
inherit pname version;
2018-07-08 09:31:11 +01:00
sha256 = "cd9ede4363f83c06ba8d8f1541c736efa5c46f9a431430002b2f84f4f4e674d8";
2018-04-06 14:13:18 +01:00
};
disabled = isPyPy;
propagatedBuildInputs = [ 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; [ ];
};
}