spack/var/spack/repos/builtin/packages/libnl/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

23 lines
739 B
Python

# Copyright 2013-2023 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 Libnl(AutotoolsPackage):
"""libnl - Netlink Protocol Library Suite"""
homepage = "https://www.infradead.org/~tgr/libnl/"
url = "https://github.com/thom311/libnl/releases/download/libnl3_3_0/libnl-3.3.0.tar.gz"
version("3.3.0", sha256="705468b5ae4cd1eb099d2d1c476d6a3abe519bc2810becf12fb1e32de1e074e4")
depends_on("bison", type="build")
depends_on("flex", type="build")
depends_on("m4", type="build")
conflicts("platform=darwin", msg="libnl requires FreeBSD or Linux")