junicode: split name into pname and version

This commit is contained in:
Ivan Timokhin 2020-04-04 19:16:34 +03:00
parent 63a2dca669
commit 9c7dc00719

View file

@ -1,9 +1,12 @@
{ lib, fetchzip }:
fetchzip {
name = "junicode-1.002";
let
pname = "junicode";
version = "1.002";
in fetchzip {
name = "${pname}-${version}";
url = mirror://sourceforge/junicode/junicode/junicode-1.002/junicode-1.002.zip;
url = "mirror://sourceforge/junicode/junicode/junicode-${version}/junicode-${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts