about summary refs log tree commit diff
path: root/pkgs/development/python-modules/vobject/default.nix
blob: 3c0b8a1f5932422e184e6d9f10f73457c79d308d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi, isPyPy, python, dateutil }:

buildPythonPackage rec {
  version = "0.9.6";
  pname = "vobject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "cd9ede4363f83c06ba8d8f1541c736efa5c46f9a431430002b2f84f4f4e674d8";
  };

  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; [ ];
  };
}