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

25 lines
617 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPyPy, python, python-dateutil }:
2018-04-06 13:13:18 +00:00
buildPythonPackage rec {
2018-07-22 10:23:54 +00:00
version = "0.9.6.1";
2018-04-06 13:13:18 +00:00
pname = "vobject";
src = fetchPypi {
inherit pname version;
2018-07-22 10:23:54 +00:00
sha256 = "96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101";
2018-04-06 13:13:18 +00:00
};
disabled = isPyPy;
propagatedBuildInputs = [ python-dateutil ];
2018-04-06 13:13:18 +00:00
checkPhase = "${python.interpreter} tests.py";
meta = with lib; {
description = "Module for reading vCard and vCalendar files";
homepage = "http://eventable.github.io/vobject/";
2018-04-06 13:13:18 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}