depot/third_party/nixpkgs/pkgs/development/libraries/libsixel/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
800 B
Nix

{lib, 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 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;
knownVulnerabilities = [
"CVE-2020-11721" # https://github.com/saitoha/libsixel/issues/134
"CVE-2020-19668" # https://github.com/saitoha/libsixel/issues/136
];
};
}