mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
c9eb44eab3
* 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
30 lines
612 B
Nix
30 lines
612 B
Nix
{ lib, fetchurl }:
|
|
|
|
let
|
|
version = "5.4";
|
|
in
|
|
|
|
fetchurl rec {
|
|
name = "pecita-${version}";
|
|
|
|
url = "http://pecita.eu/b/Pecita.otf";
|
|
|
|
downloadToTemp = true;
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts/opentype
|
|
cp -v $downloadedFile $out/share/fonts/opentype/Pecita.otf
|
|
'';
|
|
|
|
recursiveHash = true;
|
|
sha256 = "0pwm20f38lcbfkdqkpa2ydpc9kvmdg0ifc4h2dmipsnwbcb5rfwm";
|
|
|
|
meta = with lib; {
|
|
homepage = http://pecita.eu/police-en.php;
|
|
description = "Handwritten font with connected glyphs";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [maintainers.rycee];
|
|
};
|
|
}
|