nixpkgs/pkgs/tools/misc/ical2org/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
687 B
Nix

{ stdenv, fetchFromGitHub, buildGoPackage}:
buildGoPackage rec {
pname = "ical2org";
version="1.1.5";
goPackagePath = "github.com/rjhorniii/ical2org";
src = fetchFromGitHub {
owner = "rjhorniii";
repo = "ical2org";
rev = "v.${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;
};
}