diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-04-26 22:52:08 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-04-26 22:52:08 +0200 |
commit | 30f31c9afcc34336d1d47c62ad4ed39d2dee402a (patch) | |
tree | e3549d198c833f11e5f6062e10a3fefb9d25a670 /pkgs/data/fonts/powerline-fonts/default.nix | |
parent | c1cc2348e4d49ab742e964593a7f74cc53c7f9b7 (diff) | |
parent | 2cb3dc68120701406ac48d7a4da5ff097b092f85 (diff) | |
download | nixlib-30f31c9afcc34336d1d47c62ad4ed39d2dee402a.tar nixlib-30f31c9afcc34336d1d47c62ad4ed39d2dee402a.tar.gz nixlib-30f31c9afcc34336d1d47c62ad4ed39d2dee402a.tar.bz2 nixlib-30f31c9afcc34336d1d47c62ad4ed39d2dee402a.tar.lz nixlib-30f31c9afcc34336d1d47c62ad4ed39d2dee402a.tar.xz nixlib-30f31c9afcc34336d1d47c62ad4ed39d2dee402a.tar.zst nixlib-30f31c9afcc34336d1d47c62ad4ed39d2dee402a.zip |
Merge 'master' into staging
(relatively simple conflicts)
Diffstat (limited to 'pkgs/data/fonts/powerline-fonts/default.nix')
-rw-r--r-- | pkgs/data/fonts/powerline-fonts/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/data/fonts/powerline-fonts/default.nix b/pkgs/data/fonts/powerline-fonts/default.nix new file mode 100644 index 000000000000..0d3d9c104d46 --- /dev/null +++ b/pkgs/data/fonts/powerline-fonts/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation { + name = "powerline-fonts-2014-12-27"; + + src = fetchFromGitHub { + owner = "powerline"; + repo = "fonts"; + rev = "39c99c02652f25290b64e24a7e9a7cfb8ce89a3e"; + sha256 = "9c83a30f36dc980582c0a079bd2896f95d19e1cb0ba5afbd8cae936c944256dd"; + }; + + buildPhase = "true"; + + installPhase = + '' + mkdir -p $out/share/fonts/opentype + cp -v */*.otf $out/share/fonts/opentype + + mkdir -p $out/share/fonts/truetype + cp -v */*.ttf $out/share/fonts/truetype + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/powerline/fonts; + description = "Patched fonts for Powerline users."; + longDescription = '' + Pre-patched and adjusted fonts for usage with the Powerline plugin. + ''; + license = "asl20 free ofl"; + platforms = platforms.all; + maintainer = with maintainers; [ malyn ]; + }; +} |