1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/data/fonts/clearlyU/1.9.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

30 lines
798 B
Nix

args : with args; with builderDefs;
let localDefs = builderDefs.passthru.function (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://crl.nmsu.edu/~mleisher/cu/cu12-1.9.tar.gz;
sha256 = "0256h6f3ky529jc39hh0nvkngy48a0x3gss2z81g5ddi1qzfw0pn";
};
buildInputs = [mkfontdir mkfontscale];
configureFlags = [];
doInstall = FullDepEntry (''
tar xf ${src}
ensureDir $out/share/fonts/
cp *.bdf $out/share/fonts
cd $out/share/fonts
mkfontdir
mkfontscale
'') ["minInit" "defEnsureDir" "addInputs"];
});
in with localDefs;
stdenv.mkDerivation rec {
name = "clearlyU-12-"+version;
builder = writeScript (name + "-builder")
(textClosure localDefs
[doInstall doForceShare doPropagate]);
meta = {
description = "A Unicode font";
inherit src;
};
}