Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37651536
en ru br
ALT Linux repos
S:1.2.7.0-alt1

Group :: Development/Haskell
RPM: ghc8.6.4-hashable

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ghc_version 8.6.4
%define hsc_name ghc
%define hsc_version %ghc_version
%define hsc_namever %hsc_name%hsc_version
%define h_pkg_name hashable
%define f_pkg_name hashable
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 1.2.7.0
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin at altlinux.org>
Group: Development/Haskell
Url: http://github.com/tibbe/hashable
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: A class for types that can be converted to a hash value

BuildPreReq: haskell(abi) = %ghc_version


%description
This package defines a class, 'Hashable', for types that can be converted
to a hash value. This class exists for the benefit of hashing-based data
structures. The package provides instances for basic types and a way to
combine hash values.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin