about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/vobject/default.nix
blob: 30f84150283ca8e034cd2fab2d9369b90938d7f7 (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, python-dateutil }:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101";
  };

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