diff --git a/pkgs/development/libraries/SDL_sixel/default.nix b/pkgs/development/libraries/SDL_sixel/default.nix new file mode 100644 index 00000000000..5b8e887c2ee --- /dev/null +++ b/pkgs/development/libraries/SDL_sixel/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, pkgconfig, libsixel }: + +stdenv.mkDerivation rec { + name = "SDL_sixel-${version}"; + version = "1.2-nightly"; + + src = fetchFromGitHub { + owner = "saitoha"; + repo = "SDL1.2-SIXEL"; + rev = "ab3fccac6e34260a617be511bd8c2b2beae41952"; + sha256 = "0gm2vngdac17lzw9azkhzazmfq3byjddms14gqjk18vnynfqp5wp"; + }; + + configureFlags = [ "--enable-video-sixel" ]; + + buildInputs = [ pkgconfig libsixel ]; + + meta = with stdenv.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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 94f1ac9d3c2..3c294b498aa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8990,6 +8990,8 @@ in inherit (darwin.apple_sdk.frameworks) OpenGL CoreAudio CoreServices AudioUnit Kernel Cocoa; }; + SDL_sixel = callPackage ../development/libraries/SDL_sixel { }; + SDL_gfx = callPackage ../development/libraries/SDL_gfx { }; SDL_image = callPackage ../development/libraries/SDL_image { };