1{ stdenv, fetchFromGitHub, pkgconfig, libsixel }:
2
3stdenv.mkDerivation rec {
4 name = "SDL_sixel-${version}";
5 version = "1.2-nightly";
6
7 src = fetchFromGitHub {
8 owner = "saitoha";
9 repo = "SDL1.2-SIXEL";
10 rev = "ab3fccac6e34260a617be511bd8c2b2beae41952";
11 sha256 = "0gm2vngdac17lzw9azkhzazmfq3byjddms14gqjk18vnynfqp5wp";
12 };
13
14 configureFlags = [ "--enable-video-sixel" ];
15
16 buildInputs = [ pkgconfig libsixel ];
17
18 meta = with stdenv.lib; {
19 description = "A cross-platform multimedia library, that supports sixel graphics on consoles";
20 homepage = https://github.com/saitoha/SDL1.2-SIXEL;
21 maintainers = with maintainers; [ vrthra ];
22 platforms = platforms.linux;
23 license = licenses.lgpl21;
24 };
25}