summary refs log tree commit diff
path: root/pkgs/development/libraries/libsixel/default.nix
blob: 9973f3373982cc34fe4258688ea7b0a010a45823 (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.4";
  pname = "libsixel";

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

  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;
  };
}