diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/SDL_sixel')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/SDL_sixel/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/SDL_sixel/default.nix b/nixpkgs/pkgs/development/libraries/SDL_sixel/default.nix new file mode 100644 index 000000000000..189fdee05b26 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/SDL_sixel/default.nix @@ -0,0 +1,27 @@ +{ 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"; + mainProgram = "sdl-config"; + homepage = "https://github.com/saitoha/SDL1.2-SIXEL"; + maintainers = with maintainers; [ vrthra ]; + platforms = platforms.linux; + license = licenses.lgpl21; + }; +} |