Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6cff78771bd0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 402e7f9d0a07
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Mar 13, 2019

  1. tamsyn: init at 1.11

    * tamsyn: init at 1.11
    
    * tamsyn: refactor
    
    Co-Authored-By: robertseaton <robbpseaton@gmail.com>
    
    * tamsyn: refactor
    
    Co-Authored-By: robertseaton <robbpseaton@gmail.com>
    
    * tamsyn: refactor
    
    Co-Authored-By: robertseaton <robbpseaton@gmail.com>
    robertseaton authored and ryantm committed Mar 13, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    elseym Simon Waibl
    Copy the full SHA
    402e7f9 View commit details
Showing with 57 additions and 0 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +50 −0 pkgs/data/fonts/tamsyn/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -4046,6 +4046,11 @@
github = "rprospero";
name = "Adam Washington";
};
rps = {
email = "robbpseaton@gmail.com";
github = "robertseaton";
name = "Robert P. Seaton";
};
rszibele = {
email = "richard@szibele.com";
github = "rszibele";
50 changes: 50 additions & 0 deletions pkgs/data/fonts/tamsyn/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{ stdenv, fetchurl, mkfontdir, mkfontscale }:

let
version = "1.11";
in stdenv.mkDerivation {
pname = "tamsyn-font";
inherit version;

src = fetchurl {
url = "http://www.fial.com/~scott/tamsyn-font/download/tamsyn-font-${version}.tar.gz";
sha256 = "0kpjzdj8sv5871b8827mjgj9dswk75h94jj5iia2bds18ih1pglp";
};

nativeBuildInputs = [ mkfontdir mkfontscale ];

unpackPhase = ''
tar -xzf $src --strip-components=1
'';

installPhase = ''
# install the pcf fonts (for xorg applications)
fontDir="$out/share/fonts/tamsyn"
mkdir -p "$fontDir"
mv *.pcf "$fontDir"
mv *.psf.gz "$fontDir"
cd "$fontDir"
mkfontdir
mkfontscale
'';

outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "13l7ighfmn3kmqmchlksfg8ss22ndjk71rs0f9fn5p5zk7s4dn5x";

meta = with stdenv.lib; {
description = "A monospace bitmap font aimed at programmers";
longDescription = ''Tamsyn is a monospace bitmap font, primarily aimed at
programmers. It was derived from Gilles Boccon-Gibod's MonteCarlo. Tamsyn
font was further inspired by Gohufont, Terminus, Dina, Proggy, Fixedsys, and
Consolas.
'';
homepage = http://www.fial.com/~scott/tamsyn-font/;
downloadPage = http://www.fial.com/~scott/tamsyn-font/download;
license = licenses.free;
maintainers = [ maintainers.rps ];
platforms = platforms.linux;
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -15995,6 +15995,8 @@ in

inherit (callPackages ../data/fonts/tai-languages { }) tai-ahom;

tamsyn = callPackage ../data/fonts/tamsyn { };

tango-icon-theme = callPackage ../data/icons/tango-icon-theme {
gtk = res.gtk2;
};