nixpkgs/pkgs/data/fonts/vegur/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
782 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2018-08-17 00:18:39 +00:00
let
majorVersion = "0";
minorVersion = "701";
in
stdenvNoCC.mkDerivation (self: {
pname = "vegur";
version = "${majorVersion}.${minorVersion}";
2018-08-17 00:18:39 +00:00
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-sGb3mEb3g15ZiVCxEfAanly8zMUopLOOjw8W4qbXLPA=";
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
2018-08-17 00:18:39 +00:00
runHook postInstall
2018-08-17 00:18:39 +00:00
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/vegur/";
description = "A humanist sans serif font";
2018-08-17 00:18:39 +00:00
platforms = platforms.all;
maintainers = with maintainers; [ minijackson samueldr ];
2018-08-17 00:18:39 +00:00
license = licenses.cc0;
};
})