terminus-font: set version, pname, kinda
This commit is contained in:
parent
2e7f260e35
commit
d5dc90c1e1
@ -1,10 +1,12 @@
|
|||||||
{ stdenv, fetchurl, python3, bdftopcf, mkfontdir, mkfontscale }:
|
{ stdenv, fetchurl, python3, bdftopcf, mkfontdir, mkfontscale }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "terminus-font-4.47";
|
pname = "terminus-font";
|
||||||
|
version = "4.47";
|
||||||
|
name = "${pname}-${version}"; # set here for use in URL below
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/terminus-font/${name}/${name}.tar.gz";
|
url = "mirror://sourceforge/project/${pname}/${name}/${name}.tar.gz";
|
||||||
sha256 = "15qjcpalcxjiwsjgjg5k88vkwp56cs2nnx4ghya6mqp4i1c206qg";
|
sha256 = "15qjcpalcxjiwsjgjg5k88vkwp56cs2nnx4ghya6mqp4i1c206qg";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user