Merge pull request #13520 from scolobb/new-pkgs

Add Oh My Zsh, Romanian aspell dictionary, Montserrat font.

joachifm 4e7ea670 449894cc

+116
+1
lib/maintainers.nix
··· 299 299 sander = "Sander van der Burg <s.vanderburg@tudelft.nl>"; 300 300 schmitthenner = "Fabian Schmitthenner <development@schmitthenner.eu>"; 301 301 schristo = "Scott Christopher <schristopher@konputa.com>"; 302 + scolobb = "Sergiu Ivanov <sivanov@colimite.fr>"; 302 303 sepi = "Raffael Mancini <raffael@mancini.lu>"; 303 304 sheganinans = "Aistis Raulinaitis <sheganinans@gmail.com>"; 304 305 shell = "Shell Turner <cam.turn@gmail.com>";
+28
pkgs/data/fonts/montserrat/default.nix
··· 1 + # Originally packaged for ArchLinux. 2 + # 3 + # https://aur.archlinux.org/packages/ttf-montserrat/ 4 + 5 + { stdenv, fetchurl }: 6 + 7 + stdenv.mkDerivation rec { 8 + name = "montserrat-${version}"; 9 + version = "1.0"; 10 + 11 + src = fetchurl { 12 + url = "http://marvid.fr/~eeva/mirror/Montserrat.tar.gz"; 13 + sha256 = "12yn651kxi5fcbpdxhapg5fpri291mgcfc1kx7ymg53nrl11nj3x"; 14 + }; 15 + 16 + installPhase = '' 17 + mkdir -p $out/share/fonts/montserrat 18 + cp *.ttf $out/share/fonts/montserrat 19 + ''; 20 + 21 + meta = with stdenv.lib; { 22 + description = "A geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)"; 23 + homepage = "http://www.fontspace.com/julieta-ulanovsky/montserrat"; 24 + license = licenses.ofl; 25 + platforms = platforms.all; 26 + maintainers = with maintainers; [ scolobb ]; 27 + }; 28 + }
+9
pkgs/development/libraries/aspell/dictionaries.nix
··· 167 167 }; 168 168 }; 169 169 170 + ro = buildDict { 171 + shortName = "ro-3.3-2"; 172 + fullName = "Romanian"; 173 + src = fetchurl { 174 + url = mirror://gnu/aspell/dict/ro/aspell5-ro-3.3-2.tar.bz2; 175 + sha256 = "0gb8j9iy1acdl11jq76idgc2lbc1rq3w04favn8cyh55d1v8phsk"; 176 + }; 177 + }; 178 + 170 179 ru = buildDict { 171 180 shortName = "ru-0.99f7-1"; 172 181 fullName = "Russian";
+74
pkgs/shells/oh-my-zsh/default.nix
··· 1 + # This script was inspired by the ArchLinux User Repository package: 2 + # 3 + # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=oh-my-zsh-git 4 + 5 + 6 + { stdenv, fetchgit }: 7 + 8 + stdenv.mkDerivation rec { 9 + name = "oh-my-zsh-git-${version}"; 10 + version = "2016-02-27"; 11 + 12 + src = fetchgit { 13 + url = "https://github.com/robbyrussell/oh-my-zsh"; 14 + rev = "bd6dbd1d9b1fc8a523aaf588492eb3ed4113b49d"; 15 + sha256 = "0bn3jijxjhrd00mc3biqs7jj6in3ivhr6d02mp4566i2rdp9x2d5"; 16 + }; 17 + 18 + phases = "installPhase"; 19 + 20 + installPhase = '' 21 + outdir=$out/share/oh-my-zsh 22 + template=templates/zshrc.zsh-template 23 + 24 + mkdir -p $outdir 25 + cp -r $src/* $outdir 26 + cd $outdir 27 + 28 + rm MIT-LICENSE.txt 29 + rm -rf .git* 30 + 31 + chmod -R +w templates 32 + 33 + # Change the path to oh-my-zsh dir and disable auto-updating. 34 + sed -i -e "2c\\ZSH=$outdir/" \ 35 + -e 's/\# \(DISABLE_AUTO_UPDATE="true"\)/\1/' \ 36 + $template 37 + 38 + # Look for .zsh_variables, .zsh_aliases, and .zsh_funcs, and source 39 + # them, if found. 40 + cat >> $template <<- EOF 41 + 42 + # Load the variables. 43 + if [ -f ~/.zsh_variables ]; then 44 + . ~/.zsh_variables 45 + fi 46 + 47 + # Load the functions. 48 + if [ -f ~/.zsh_funcs ]; then 49 + . ~/.zsh_funcs 50 + fi 51 + 52 + # Load the aliases. 53 + if [ -f ~/.zsh_aliases ]; then 54 + . ~/.zsh_aliases 55 + fi 56 + EOF 57 + ''; 58 + 59 + meta = with stdenv.lib; { 60 + description = "A framework for managing your zsh configuration"; 61 + longDescription = '' 62 + Oh My Zsh is a framework for managing your zsh configuration. 63 + 64 + To copy the Oh My Zsh configuration file to your home directory, run 65 + the following command: 66 + 67 + $ cp -v $(nix-env -q --out-path oh-my-zsh-git | cut -d' ' -f3)/share/oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc 68 + ''; 69 + homepage = "http://ohmyz.sh/"; 70 + license = licenses.mit; 71 + platforms = platforms.all; 72 + maintainers = with maintainers; [ scolobb nequissimus ]; 73 + }; 74 + }
+4
pkgs/top-level/all-packages.nix
··· 2675 2675 inherit (pythonPackages) sqlite3; 2676 2676 }; 2677 2677 2678 + oh-my-zsh = callPackage ../shells/oh-my-zsh { }; 2679 + 2678 2680 opencryptoki = callPackage ../tools/security/opencryptoki { }; 2679 2681 2680 2682 opendbx = callPackage ../development/libraries/opendbx { }; ··· 11214 11216 media-player-info = callPackage ../data/misc/media-player-info {}; 11215 11217 11216 11218 mobile_broadband_provider_info = callPackage ../data/misc/mobile-broadband-provider-info { }; 11219 + 11220 + montserrat = callPackage ../data/fonts/montserrat { }; 11217 11221 11218 11222 mph_2b_damase = callPackage ../data/fonts/mph-2b-damase { }; 11219 11223