rictydiminished-with-firacode: init at 0.0.1 (#26485)

authored by Masayuki Takeda and committed by Joachim F c2c775d0 1a0b1d94

+41
+39
pkgs/data/fonts/rictydiminished-with-firacode/default.nix
··· 1 + { stdenv, fetchgit, fontforge, pythonFull }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "rictydiminished-with-firacode-${version}"; 5 + version = "0.0.1"; 6 + src = fetchgit { 7 + url = "https://github.com/hakatashi/RictyDiminished-with-FiraCode.git"; 8 + rev = "refs/tags/${version}"; 9 + sha256 = "12lhb0k4d8p4lzw9k6hlsxpfpc15zfshz1h5cbaa88sb8n5jh360"; 10 + fetchSubmodules = true; 11 + }; 12 + 13 + buildPhase = '' 14 + make 15 + ''; 16 + 17 + installPhase = '' 18 + mkdir -p $out/share/fonts/rictydiminished-with-firacode 19 + cp *.ttf $out/share/fonts/rictydiminished-with-firacode 20 + ''; 21 + 22 + nativeBuildInputs = [ 23 + fontforge 24 + (pythonFull.withPackages (ps: [ 25 + ps.jinja2 26 + ps."3to2" 27 + ps.fonttools 28 + ])) 29 + ]; 30 + 31 + meta = with stdenv.lib; { 32 + homepage = https://github.com/hakatashi/RictyDiminished-with-FiraCode; 33 + description = "The best Japanese programming font meets the awesone ligatures of Firacode"; 34 + license = licenses.ofl; 35 + platforms = platforms.all; 36 + maintainers = with maintainers; [ mt-caret ]; 37 + }; 38 + } 39 +
+2
pkgs/top-level/all-packages.nix
··· 12947 12947 12948 12948 raleway = callPackage ../data/fonts/raleway { }; 12949 12949 12950 + rictydiminished-with-firacode = callPackage ../data/fonts/rictydiminished-with-firacode { }; 12951 + 12950 12952 roboto = callPackage ../data/fonts/roboto { }; 12951 12953 12952 12954 roboto-mono = callPackage ../data/fonts/roboto-mono { };