# Copyright 2013-2019 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 import *


class PyFn(PythonPackage):
    """Functional programming in Python: implementation of missing features
    to enjoy FP."""

    homepage = "https://github.com/fnpy/fn.py"
    url      = "https://github.com/fnpy/fn.py/archive/v0.5.2.tar.gz"

    version('0.5.2', sha256='fda2253d792867a79514496932630622df9340f214a2f4b2d597b60a8cc3d96b')

    depends_on('py-setuptools', type='build')
