summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libspng/package.py
blob: e227ec8869ff1bda7fd63382fe798a93c1cf2f88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class Libspng(CMakePackage):
    """libspng (simple png) is a C library for reading and writing
    Portable Network Graphics (PNG) format files with a focus on
    security and ease of use."""

    homepage = "https://github.com/randy408/libspng"
    url = "https://github.com/randy408/libspng/archive/refs/tags/v0.7.2.tar.gz"

    license("BSD-2-Clause")

    version("0.7.2", sha256="4acf25571d31f540d0b7ee004f5461d68158e0a13182505376805da99f4ccc4e")