mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
9fbb606cd0
https://github.com/agarick/agave/releases/tag/v14 https://github.com/agarick/agave/releases/tag/v13 https://github.com/agarick/agave/releases/tag/v12 https://github.com/agarick/agave/releases/tag/v11
27 lines
679 B
Nix
27 lines
679 B
Nix
{ lib, fetchurl }:
|
|
|
|
let
|
|
pname = "agave";
|
|
version = "14";
|
|
in fetchurl {
|
|
name = "${pname}-${version}";
|
|
url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-Regular.ttf";
|
|
|
|
downloadToTemp = true;
|
|
recursiveHash = true;
|
|
postFetch = ''
|
|
install -D $downloadedFile $out/share/fonts/truetype/Agave-Regular.ttf
|
|
'';
|
|
|
|
sha256 = "14hr6cdn5xbfpszj4qyfqbwmjyrkmi83yl0g9j3y3jw561jwy27j";
|
|
|
|
meta = with lib; {
|
|
description = "truetype monospaced typeface designed for X environments";
|
|
homepage = https://b.agaric.net/page/agave;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|
|
|