data/fonts: cleanup
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
{stdenv, fetchzip}:
|
||||
{ lib, fetchFromGitHub }:
|
||||
|
||||
fetchzip rec {
|
||||
fetchFromGitHub rec {
|
||||
name = "aurulent-sans-0.1";
|
||||
|
||||
url = "https://github.com/deepfire/hartke-aurulent-sans/archive/${name}.zip";
|
||||
owner = "deepfire";
|
||||
repo = "hartke-aurulent-sans";
|
||||
rev = name;
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
tar xf $downloadedFile -C $out/share/fonts --strip=1
|
||||
'';
|
||||
sha256 = "1l60psfv9x0x9qx9vp1qnhmck7a7kks385m5ycrd3d91irz1j5li";
|
||||
|
||||
@@ -14,8 +15,8 @@ fetchzip rec {
|
||||
description = "Aurulent Sans";
|
||||
longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font.";
|
||||
homepage = http://delubrum.org/;
|
||||
maintainers = with stdenv.lib.maintainers; [ deepfire ];
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ deepfire ];
|
||||
license = lib.licenses.ofl;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user