diff options
author | Robert Helgesson <robert@rycee.net> | 2017-01-24 23:12:49 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2017-01-24 23:15:15 +0100 |
commit | 4a914f2f9f9b2784d2bf78ee3cd56a7fd4e44e93 (patch) | |
tree | e52c0966c38cc4863d4d291eb1837cc207953b0b /pkgs/data/fonts/overpass | |
parent | e832d380deb61872af1012f9b37889c198547467 (diff) |
overpass: 2.1 -> 3.0.2
Diffstat (limited to 'pkgs/data/fonts/overpass')
-rw-r--r-- | pkgs/data/fonts/overpass/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/data/fonts/overpass/default.nix b/pkgs/data/fonts/overpass/default.nix index d441ac514d378..e24d61d5ba1ca 100644 --- a/pkgs/data/fonts/overpass/default.nix +++ b/pkgs/data/fonts/overpass/default.nix @@ -1,12 +1,14 @@ -{ stdenv, fetchurl, unzip }: +{ stdenv, fetchFromGitHub, unzip }: stdenv.mkDerivation rec { name = "overpass-${version}"; - version = "2.1"; + version = "3.0.2"; - src = fetchurl { - url = "https://github.com/RedHatBrand/overpass/releases/download/2.1/overpass-fonts-ttf-2.1.zip"; - sha256 = "1kd7vbqffp5988j3p4zxkxajdmfviyv4y6rzk7jazg81xcsxicwf"; + src = fetchFromGitHub { + owner = "RedHatBrand"; + repo = "Overpass"; + rev = version; + sha256 = "1bgmnhdfmp4rycyadcnzw62vkvn63nn29pq9vbjf4c9picvl8ah6"; }; nativeBuildInputs = [ unzip ]; @@ -15,8 +17,8 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/share/doc/${name} - mkdir -p $out/share/fonts/truetype - cp -v *.ttf $out/share/fonts/truetype + mkdir -p $out/share/fonts/opentype + cp -v "desktop-fonts/"*"/"*.otf $out/share/fonts/opentype cp -v LICENSE.md README.md $out/share/doc/${name} ''; |