about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/SDL_sixel/default.nix
blob: 1bc4c8ba35c04238a97d3ea48c46dc79fb78e31d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchFromGitHub, pkg-config, libsixel }:

stdenv.mkDerivation {
  pname = "SDL_sixel";
  version = "1.2-nightly";

  src = fetchFromGitHub {
    owner = "saitoha";
    repo = "SDL1.2-SIXEL";
    rev = "ab3fccac6e34260a617be511bd8c2b2beae41952";
    sha256 = "0gm2vngdac17lzw9azkhzazmfq3byjddms14gqjk18vnynfqp5wp";
  };

  configureFlags = [ "--enable-video-sixel" ];

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ libsixel ];

  meta = with lib; {
    description = "A cross-platform multimedia library, that supports sixel graphics on consoles";
    homepage    = "https://github.com/saitoha/SDL1.2-SIXEL";
    maintainers = with maintainers; [ vrthra ];
    platforms   = platforms.linux;
    license     = licenses.lgpl21;
  };
}