Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 921 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 freetype, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "otf2bdf"; 10 version = "3.1"; 11 12 # Original site http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/ unreachable, 13 # This is a mirror. 14 src = fetchFromGitHub { 15 owner = "jirutka"; 16 repo = "otf2bdf"; 17 rev = "v${version}"; 18 hash = "sha256-HK9ZrnwKhhYcBvSl+3RwFD7m/WSaPkGKX6utXnk5k+A="; 19 }; 20 21 buildInputs = [ freetype ]; 22 23 installPhase = '' 24 mkdir -p $out/bin $out/share/man/man1 25 install otf2bdf $out/bin 26 cp otf2bdf.man $out/share/man/man1/otf2bdf.1 27 ''; 28 29 meta = with lib; { 30 #homepage = "http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/"; # timeout 31 homepage = "https://github.com/jirutka/otf2bdf"; 32 description = "OpenType to BDF font converter"; 33 license = licenses.mit0; 34 platforms = platforms.all; 35 maintainers = with maintainers; [ hzeller ]; 36 mainProgram = "otf2bdf"; 37 }; 38}