junicode: split name into pname and version
This commit is contained in:
parent
63a2dca669
commit
9c7dc00719
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue