blob: b3761bc0b5b29452ace9808956af25a61c315e23 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "source-code-pro-${version}";
version = "1.017";
src = fetchurl {
url="https://github.com/adobe-fonts/source-code-pro/archive/${version}R.tar.gz";
sha256="03q4a0f142c6zlngv6kjaik52y0yzwq5z5qj3j0fvvcbfy9sanjr";
};
phases = "unpackPhase installPhase";
installPhase = ''
mkdir -p $out/share/fonts/opentype
find . -name "*.otf" -exec cp {} $out/share/fonts/opentype \;
'';
meta = {
description = "A set of monospaced OpenType fonts designed for coding environments";
maintainers = with stdenv.lib.maintainers; [ relrod ];
platforms = with stdenv.lib.platforms; all;
homepage = "http://blog.typekit.com/2012/09/24/source-code-pro/";
license = stdenv.lib.licenses.ofl;
};
}
|