lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 48 lines 1.2 kB view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "tzdata-${version}"; 5 version = "2016j"; 6 7 srcs = 8 [ (fetchurl { 9 url = "http://www.iana.org/time-zones/repository/releases/tzdata${version}.tar.gz"; 10 sha256 = "1j4xycpwhs57qnkcxwh3np8wnf3km69n3cf4w6p2yv2z247lxvpm"; 11 }) 12 (fetchurl { 13 url = "http://www.iana.org/time-zones/repository/releases/tzcode${version}.tar.gz"; 14 sha256 = "1dxhrk4z0n2di8p0yd6q00pa6bwyz5xqbrfbasiz8785ni7zrvxr"; 15 }) 16 ]; 17 18 sourceRoot = "."; 19 20 outputs = [ "out" "man" "dev" ]; 21 propagatedBuildOutputs = []; 22 23 makeFlags = [ 24 "TOPDIR=$(out)" 25 "TZDIR=$(out)/share/zoneinfo" 26 "ETCDIR=$(TMPDIR)/etc" 27 "LIBDIR=$(dev)/lib" 28 "MANDIR=$(man)/share/man" 29 "AWK=awk" 30 "CFLAGS=-DHAVE_LINK=0" 31 ]; 32 33 postInstall = 34 '' 35 rm $out/share/zoneinfo-posix 36 ln -s . $out/share/zoneinfo/posix 37 mv $out/share/zoneinfo-leaps $out/share/zoneinfo/right 38 39 mkdir -p "$dev/include" 40 cp tzfile.h "$dev/include/tzfile.h" 41 ''; 42 43 meta = { 44 homepage = http://www.iana.org/time-zones; 45 description = "Database of current and historical time zones"; 46 platforms = stdenv.lib.platforms.all; 47 }; 48}