ical2org: init at v.1.1.5

This commit is contained in:
Samuel W. Flint 2018-06-17 15:51:22 -05:00
parent 176380dbbb
commit 1824d10a12
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, buildGoPackage}:
buildGoPackage rec {
name = "ical2org-${version}";
version="v.1.1.5";
goPackagePath = "github.com/rjhorniii/ical2org";
src = fetchFromGitHub {
owner = "rjhorniii";
repo = "ical2org";
rev = "${version}";
sha256 = "0hdx2j2innjh0z4kxcfzwdl2d54nv0g9ai9fyacfiagjhnzgf7cm";
fetchSubmodules = true;
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Convert an iCal file to org agenda format, optionally deduplicating entries.";
homepage = https://github.com/rjhorniii/ical2org;
license = licenses.gpl3;
maintainers = with maintainers; [ swflint ];
platforms = platforms.unix;
}
}

11
pkgs/tools/misc/ical2org/deps.nix generated Normal file
View file

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/rjhorniii/ics-golang";
fetch = {
type = "git";
url = "https://github.com/rjhorniii/ics-golang";
rev = "da66d6f502fac65073773ea3779cae2959545cb2";
sha256 = "1mm5rssvyjk29n1gq4l5xw26gm8bhvbzrs5c059i41zh9af121px";
};
}
]

View file

@ -396,6 +396,8 @@ with pkgs;
useOldCXXAbi = makeSetupHook { } ../build-support/setup-hooks/use-old-cxx-abi.sh;
ical2org = callPackage ../tools/misc/ical2org {};
iconConvTools = callPackage ../build-support/icon-conv-tools {};