summary refs log tree commit diff
path: root/pkgs/development/libraries/libsixel/default.nix
blob: 9e151931e6537ed5d539ddeb9a4d3733bc135da8 (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
{stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
  version = "1.8.6";
  pname = "libsixel";

  src = fetchFromGitHub {
    repo = "libsixel";
    rev = "v${version}";
    owner = "saitoha";
    sha256 = "1saxdj6sldv01g6w6yk8vr7px4bl31xca3a82j6v1j3fw5rbfphy";
  };

  configureFlags = [
    "--enable-tests"
  ];

  doCheck = true;

  meta = with stdenv.lib; {
    description = "The SIXEL library for console graphics, and converter programs";
    homepage = "http://saitoha.github.com/libsixel";
    maintainers = with maintainers; [ vrthra ];
    license = licenses.mit;
    platforms = with platforms; unix;
  };
}