3
0
Fork 0
forked from mirrors/nixpkgs

vcal: 2.7 -> 2.8

This commit is contained in:
Peter Hoeg 2018-05-30 15:27:10 +08:00
parent 914994276b
commit ca143a4db6

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "vcal-${version}";
version = "2.7";
version = "2.8";
src = fetchurl {
url = "http://waynemorrison.com/software/vcal";
sha256 = "0fknrlad7vb84ngh242xjaq96vkids85ksnxaflk2cr9wcwxfmix";
sha256 = "0jrm0jzqxb1xjp24hwbzlxsh22gjssay9gj4zszljzdm68r5afvc";
};
nativeBuildInputs = [ perl ]; # for pod2man
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
substitute ${src} $out/bin/vcal \
--replace /usr/bin/perl ${perl}/bin/perl
chmod 0755 $out/bin/*
pod2man -n vcal ${src} > $out/share/man/man1/vcal.1
pod2man --name=vcal --release=${version} ${src} > $out/share/man/man1/vcal.1
runHook postInstall
'';
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Parser for VCalendar and ICalendar files, usable from the command line";
homepage = http://waynemorrison.com/software/;
license = licenses.unfree; # "These are made publicly available for personal use."
license = licenses.asl20;
maintainers = with maintainers; [ peterhoeg ];
};
}