include version number in name

league provides no version number, so use date
This commit is contained in:
Daniel Bergey 2014-12-20 14:40:15 +00:00
parent 4c064b5478
commit 79c8cc4bf4
2 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,10 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "gyre-fonts";
baseName = "gyre-fonts";
version = "2.005";
name="${baseName}-${version}";
src = fetchurl {
url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip";
sha256 = "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31";

View File

@ -1,7 +1,9 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "league-of-moveable-type";
baseName = "league-of-moveable-type";
version = "2014-12";
name="${baseName}-${version}";
srcs = [(fetchurl {
url = "https://www.theleagueofmoveabletype.com/league-gothic/download";