2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, libsixel }:
|
2016-06-13 02:29:56 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "SDL_sixel";
|
2016-06-13 02:29:56 +01:00
|
|
|
version = "1.2-nightly";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "saitoha";
|
|
|
|
repo = "SDL1.2-SIXEL";
|
|
|
|
rev = "ab3fccac6e34260a617be511bd8c2b2beae41952";
|
|
|
|
sha256 = "0gm2vngdac17lzw9azkhzazmfq3byjddms14gqjk18vnynfqp5wp";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-video-sixel" ];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ libsixel ];
|
2016-06-13 02:29:56 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-06-13 02:29:56 +01:00
|
|
|
description = "A cross-platform multimedia library, that supports sixel graphics on consoles";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/saitoha/SDL1.2-SIXEL";
|
2016-06-13 02:29:56 +01:00
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|