2011-05-28 21:51:08 +02:00
|
|
|
x@{builderDefsPackage
|
|
|
|
, ...}:
|
|
|
|
builderDefsPackage
|
|
|
|
(a :
|
|
|
|
let
|
|
|
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
|
|
[];
|
|
|
|
|
|
|
|
buildInputs = map (n: builtins.getAttr n x)
|
|
|
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
|
|
sourceInfo = rec {
|
2014-08-31 18:11:55 +02:00
|
|
|
version = "0.7.0";
|
2011-05-28 21:51:08 +02:00
|
|
|
baseName="cm-unicode";
|
|
|
|
name="${baseName}-${version}";
|
2014-08-31 18:11:55 +02:00
|
|
|
url="mirror://sourceforge/${baseName}/${baseName}/${version}/${name}-otf.tar.xz";
|
2011-05-28 21:51:08 +02:00
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchurl {
|
|
|
|
url = sourceInfo.url;
|
2014-08-31 18:11:55 +02:00
|
|
|
sha256 = "0a0w9qm9g8qz2xh3lr61bj1ymqslqsvk4w2ybc3v2qa89nz7x2jl";
|
2011-05-28 21:51:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit (sourceInfo) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
|
|
|
|
phaseNames = ["doUnpack" "installFonts"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
all;
|
2014-08-31 18:11:55 +02:00
|
|
|
downloadPage = "http://sourceforge.net/projects/cm-unicode/files/cm-unicode/";
|
|
|
|
inherit version;
|
2011-05-28 21:51:08 +02:00
|
|
|
};
|
|
|
|
}) x
|
|
|
|
|