forked from luis/my-pkgs
34 lines
567 B
Nix
34 lines
567 B
Nix
{
|
|
lib,
|
|
khal,
|
|
python3Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication {
|
|
pname = "khal-export";
|
|
version = "0.1.0";
|
|
format = "other";
|
|
|
|
src = ./.;
|
|
|
|
dontUnpack = true;
|
|
dontBuild = true;
|
|
|
|
propagatedBuildInputs = [
|
|
khal
|
|
python3Packages.click
|
|
python3Packages.icalendar
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
install -Dm755 ${./khal-export.py} $out/bin/khal-export
|
|
'';
|
|
|
|
meta = {
|
|
description = "Export multiple events from khal in .ics format";
|
|
platforms = lib.platforms.all;
|
|
mainProgram = "khal-export";
|
|
};
|
|
}
|