forked from mirrors/nixpkgs
ccsymbols: init at 2020-04-19
This commit is contained in:
parent
7667aa9ec6
commit
cf7556eea5
32
pkgs/data/fonts/ccsymbols/default.nix
Normal file
32
pkgs/data/fonts/ccsymbols/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib, fetchurl, unzip }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "ccsymbols";
|
||||||
|
version = "2020-04-19";
|
||||||
|
in
|
||||||
|
|
||||||
|
fetchurl rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
url = "https://www.ctrl.blog/file/${version}_cc-symbols.zip";
|
||||||
|
sha256 = "sha256-mrNgTS6BAVJrIz9fHOjf8pkSbZtZ55UjyoL9tQ1fiA8=";
|
||||||
|
recursiveHash = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
downloadToTemp = true;
|
||||||
|
postFetch = ''
|
||||||
|
mkdir -p "$out/share/fonts/ccsymbols"
|
||||||
|
unzip -d "$out/share/fonts/ccsymbols" "$downloadedFile"
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = { inherit pname version; };
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Creative Commons symbol font";
|
||||||
|
homepage = "https://www.ctrl.blog/entry/creative-commons-unicode-fallback-font.html";
|
||||||
|
maintainers = with maintainers; [ qyliss ];
|
||||||
|
license = licenses.publicDomain;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -23618,6 +23618,8 @@ with pkgs;
|
||||||
|
|
||||||
cascadia-code = callPackage ../data/fonts/cascadia-code { };
|
cascadia-code = callPackage ../data/fonts/cascadia-code { };
|
||||||
|
|
||||||
|
ccsymbols = callPackage ../data/fonts/ccsymbols { };
|
||||||
|
|
||||||
charis-sil = callPackage ../data/fonts/charis-sil { };
|
charis-sil = callPackage ../data/fonts/charis-sil { };
|
||||||
|
|
||||||
cherry = callPackage ../data/fonts/cherry { inherit (xorg) fonttosfnt mkfontdir; };
|
cherry = callPackage ../data/fonts/cherry { inherit (xorg) fonttosfnt mkfontdir; };
|
||||||
|
|
Loading…
Reference in a new issue