about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libsixel
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libsixel')
-rw-r--r--nixpkgs/pkgs/development/libraries/libsixel/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libsixel/default.nix b/nixpkgs/pkgs/development/libraries/libsixel/default.nix
new file mode 100644
index 000000000000..9e151931e653
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libsixel/default.nix
@@ -0,0 +1,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;
+  };
+}