osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-digest revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-digest?expand=0&rev=58
This commit is contained in:
parent
34f81a6dc4
commit
ae4990c701
51
digest.cabal
Normal file
51
digest.cabal
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
name: digest
|
||||||
|
version: 0.0.1.7
|
||||||
|
x-revision: 1
|
||||||
|
copyright: (c) 2009 Eugene Kirpichov
|
||||||
|
license: BSD2
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Eugene Kirpichov <ekirpichov@gmail.com>
|
||||||
|
maintainer: Eugene Kirpichov <ekirpichov@gmail.com>
|
||||||
|
category: Cryptography
|
||||||
|
synopsis: Various hashes for bytestrings; CRC32 and Adler32 for now.
|
||||||
|
description: This package provides efficient hash implementations for
|
||||||
|
strict and lazy bytestrings. For now, CRC32 and Adler32 are supported;
|
||||||
|
they are implemented as FFI bindings to efficient code from zlib.
|
||||||
|
stability: provisional
|
||||||
|
build-type: Simple
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
tested-with:
|
||||||
|
GHC==8.10.7
|
||||||
|
, GHC==9.0.2
|
||||||
|
, GHC==9.2.5
|
||||||
|
, GHC==9.4.3
|
||||||
|
|
||||||
|
extra-source-files:
|
||||||
|
testing/trivial-reference.c
|
||||||
|
testing/trivial.expected
|
||||||
|
testing/trivial.hs
|
||||||
|
CHANGELOG.md
|
||||||
|
|
||||||
|
flag pkg-config
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
description: Use @pkg-config(1)@ to locate @zlib@ library.
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/TeofilC/digest
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules: Data.Digest.CRC32,
|
||||||
|
Data.Digest.Adler32
|
||||||
|
default-extensions: CPP, ForeignFunctionInterface
|
||||||
|
default-language: Haskell2010
|
||||||
|
build-depends:
|
||||||
|
base < 5
|
||||||
|
, bytestring >= 0.9 && < 0.13
|
||||||
|
includes: zlib.h
|
||||||
|
ghc-options: -Wall
|
||||||
|
if flag(pkg-config) && !os(windows) && !os(freebsd)
|
||||||
|
pkgconfig-depends: zlib
|
||||||
|
else
|
||||||
|
build-depends: zlib
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 3 19:18:40 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update digest to version 0.0.1.7 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 17:06:36 UTC 2023 - Peter Simons <psimons@suse.com>
|
Thu Mar 30 17:06:36 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Summary: Various hashes for bytestrings; CRC32 and Adler32 for now
|
|||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@ -70,6 +71,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user