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 nativeBuildInputs = [ pkgconfig ];
17 buildInputs = [ libsixel ];
18
19 meta = with stdenv.lib; {
20 description = "A cross-platform multimedia library, that supports sixel graphics on consoles";
21 homepage = https://github.com/saitoha/SDL1.2-SIXEL;
22 maintainers = with maintainers; [ vrthra ];
23 platforms = platforms.linux;
24 license = licenses.lgpl21;
25 };
26}