python.pkgs.vobject: move expression

This commit is contained in:
Robert Schütz 2018-04-06 15:13:18 +02:00 committed by Frederik Rietdijk
parent 2bf437f0c8
commit b1ef2e596f
2 changed files with 25 additions and 26 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, isPyPy, python, dateutil }:
buildPythonPackage rec {
version = "0.9.5";
pname = "vobject";
src = fetchPypi {
inherit pname version;
sha256 = "0f56cae196303d875682b9648b4bb43ffc769d2f0f800958e0a506af867b1243";
};
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; [ ];
};
}

View File

@ -10553,32 +10553,7 @@ in {
};
};
vobject = buildPythonPackage rec {
version = "0.9.5";
name = "vobject-${version}";
src = pkgs.fetchFromGitHub {
owner = "eventable";
repo = "vobject";
sha256 = "1f5lw9kpssr66bdirkjba3izbnm68p8pd47546m5yl4c7x76s1ld";
rev = version;
};
disabled = isPyPy;
propagatedBuildInputs = with self; [ dateutil ];
checkPhase = "${python.interpreter} tests.py";
meta = {
description = "Module for reading vCard and vCalendar files";
homepage = http://eventable.github.io/vobject/;
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
};
vobject = callPackage ../development/python-modules/vobject { };
pycarddav = buildPythonPackage rec {
version = "0.7.0";