Accepting request 1135329 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1135329 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-digest?expand=0&rev=17
This commit is contained in:
commit
0a385567a4
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b23d6c804e6fed0ac9bb0d35b7aed5785330d63efebe296cf0073dab17e05f0a
|
|
||||||
size 4067
|
|
3
digest-0.0.2.0.tar.gz
Normal file
3
digest-0.0.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a8f3b33e02462be34bfee57ec50b3b48f294ae47a0418d4af1f8d9c924704441
|
||||||
|
size 23591
|
51
digest.cabal
51
digest.cabal
@ -1,51 +0,0 @@
|
|||||||
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,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 13 11:48:35 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update digest to version 0.0.2.0.
|
||||||
|
## 0.0.2.0 — 13th December 2023
|
||||||
|
- Add CRC32C (Thanks to @4eUep): <https://github.com/TeofilC/digest/pull/18>
|
||||||
|
- Support latest GHC versions: <https://github.com/TeofilC/digest/pull/19>
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 3 19:18:40 UTC 2023 - Peter Simons <psimons@suse.com>
|
Sun Sep 3 19:18:40 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -19,13 +19,13 @@
|
|||||||
%global pkg_name digest
|
%global pkg_name digest
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.0.1.7
|
Version: 0.0.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Various hashes for bytestrings; CRC32 and Adler32 for now
|
Summary: CRC32 and Adler32 hashes for bytestrings
|
||||||
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: gcc-c++
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@ -71,7 +71,6 @@ 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