7 stdenv.mkDerivation rec {
8 pname = "libre-caslon";
14 repo = "Libre-Caslon-Text";
15 rev = "c31e21f7e8cf91f18d90f778ce20e66c68219c74";
16 name = "libre-caslon-text-${version}-src";
17 sha256 = "0zczv9qm8cgc7w1p64mnf0p0fi7xv89zhf1zzf1qcna15kbgc705";
22 repo = "Libre-Caslon-Display";
23 rev = "3491f6a9cfde2bc15e736463b0bc7d93054d5da1";
24 name = "libre-caslon-display-${version}-src";
25 sha256 = "12jrny3y8w8z61lyw470drnhliji5b24lgxap4w3brp6z3xjph95";
32 mkdir -p $out/share/fonts/opentype
33 mkdir -p $out/share/doc/${pname}-${version}
34 cp -v "libre-caslon-text-${version}-src/fonts/OTF/"*.otf $out/share/fonts/opentype/
35 cp -v "libre-caslon-display-${version}-src/fonts/OTF/"*.otf $out/share/fonts/opentype/
36 cp -v libre-caslon-text-${version}-src/README.md libre-caslon-text-${version}-src/FONTLOG.txt $out/share/doc/${pname}-${version}
39 outputHashAlgo = "sha256";
40 outputHashMode = "recursive";
41 outputHash = "05aajwny99yqzn1nnq1blx6h7rl54x056y12hyawfbigkzxhscns";
44 description = "Caslon fonts based on hand-lettered American Caslons of 1960s";
45 homepage = "http://www.impallari.com/librecaslon";
46 license = licenses.ofl;
47 maintainers = with maintainers; [ cmfwyp ];
48 platforms = platforms.all;