python.pkgs.vobject: move expression
This commit is contained in:
parent
2bf437f0c8
commit
b1ef2e596f
24
pkgs/development/python-modules/vobject/default.nix
Normal file
24
pkgs/development/python-modules/vobject/default.nix
Normal 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; [ ];
|
||||||
|
};
|
||||||
|
}
|
@ -10553,32 +10553,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vobject = callPackage ../development/python-modules/vobject { };
|
||||||
|
|
||||||
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; [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pycarddav = buildPythonPackage rec {
|
pycarddav = buildPythonPackage rec {
|
||||||
version = "0.7.0";
|
version = "0.7.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user