2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub}:
|
2016-06-11 00:56:58 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-02-07 14:23:52 +00:00
|
|
|
version = "1.8.6";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libsixel";
|
2016-06-11 00:56:58 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "libsixel";
|
2017-02-08 01:11:13 +00:00
|
|
|
rev = "v${version}";
|
2016-06-11 00:56:58 +01:00
|
|
|
owner = "saitoha";
|
2020-02-07 14:23:52 +00:00
|
|
|
sha256 = "1saxdj6sldv01g6w6yk8vr7px4bl31xca3a82j6v1j3fw5rbfphy";
|
2016-06-11 00:56:58 +01:00
|
|
|
};
|
|
|
|
|
2020-01-16 01:52:21 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-tests"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-06-11 00:56:58 +01:00
|
|
|
description = "The SIXEL library for console graphics, and converter programs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://saitoha.github.com/libsixel";
|
2016-06-11 00:56:58 +01:00
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
license = licenses.mit;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; unix;
|
2021-02-01 15:41:11 +00:00
|
|
|
knownVulnerabilities = [
|
|
|
|
"CVE-2020-11721" # https://github.com/saitoha/libsixel/issues/134
|
|
|
|
"CVE-2020-19668" # https://github.com/saitoha/libsixel/issues/136
|
|
|
|
];
|
2016-06-11 00:56:58 +01:00
|
|
|
};
|
|
|
|
}
|