about summary refs log tree commit diff
path: root/pkgs/development/python-modules/vobject/default.nix
blob: 5653e5629d402890f645b6c8514d7478de0c1536 (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
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPyPy,
  python,
  python-dateutil,
}:

buildPythonPackage rec {
  version = "0.9.7";
  format = "setuptools";
  pname = "vobject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "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; [ ];
  };
}