Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 fetchFromGitHub,
4 libsixel,
5 pkg-config,
6 stdenv,
7}:
8
9stdenv.mkDerivation {
10 pname = "SDL_sixel";
11 version = "0-unstable-2016-02-06";
12
13 src = fetchFromGitHub {
14 owner = "saitoha";
15 repo = "SDL1.2-SIXEL";
16 rev = "ab3fccac6e34260a617be511bd8c2b2beae41952";
17 hash = "sha256-l5eLnfV2ozAlfiTo2pr0a2BXv/pwfpX4pycw1Z7doj4=";
18 };
19
20 nativeBuildInputs = [ pkg-config ];
21
22 buildInputs = [ libsixel ];
23
24 configureFlags = [
25 (lib.enableFeature true "video-sixel")
26 ];
27
28 strictDeps = true;
29
30 meta = {
31 homepage = "https://github.com/saitoha/SDL1.2-SIXEL";
32 description = "SDL 1.2 patched with libsixel support";
33 license = lib.licenses.lgpl21;
34 mainProgram = "sdl-config";
35 maintainers = [ ];
36 platforms = lib.platforms.linux;
37 };
38}