osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-cassava-megaparsec revision:16, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cassava-megaparsec?expand=0&rev=15
This commit is contained in:
parent
9112c15631
commit
80e94151ee
72
cassava-megaparsec.cabal
Normal file
72
cassava-megaparsec.cabal
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
name: cassava-megaparsec
|
||||||
|
version: 2.0.4
|
||||||
|
x-revision: 1
|
||||||
|
cabal-version: 1.18
|
||||||
|
tested-with:
|
||||||
|
GHC == 9.4.4
|
||||||
|
GHC == 9.2.5
|
||||||
|
GHC == 9.0.2
|
||||||
|
GHC == 8.10.7
|
||||||
|
GHC == 8.8.4
|
||||||
|
GHC == 8.6.5
|
||||||
|
GHC == 8.4.4
|
||||||
|
GHC == 8.2.2
|
||||||
|
license: MIT
|
||||||
|
license-file: LICENSE.md
|
||||||
|
author: Mark Karpov <markkarpov92@gmail.org>
|
||||||
|
maintainer: Mark Karpov <markkarpov92@gmail.org>
|
||||||
|
homepage: https://github.com/stackbuilders/cassava-megaparsec
|
||||||
|
bug-reports: https://github.com/stackbuilders/cassava-megaparsec/issues
|
||||||
|
category: Text, Web, CSV, Parsing
|
||||||
|
synopsis: Megaparsec parser of CSV files that plays nicely with Cassava
|
||||||
|
build-type: Simple
|
||||||
|
description: Megaparsec parser of CSV files that plays nicely with Cassava.
|
||||||
|
extra-doc-files: CHANGELOG.md
|
||||||
|
, README.md
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/stackbuilders/cassava-megaparsec.git
|
||||||
|
|
||||||
|
flag dev
|
||||||
|
description: Turn on development settings.
|
||||||
|
manual: True
|
||||||
|
default: False
|
||||||
|
|
||||||
|
library
|
||||||
|
build-depends: base >= 4.8 && < 5.0
|
||||||
|
, bytestring >= 0.9 && < 0.12
|
||||||
|
, cassava >= 0.4.2 && < 0.6
|
||||||
|
, megaparsec >= 7.0 && < 10.0
|
||||||
|
, unordered-containers >= 0.2.7 && < 0.3
|
||||||
|
, vector >= 0.11 && < 0.14
|
||||||
|
exposed-modules: Data.Csv.Parser.Megaparsec
|
||||||
|
, Data.Csv.Parser.Megaparsec.Internals
|
||||||
|
if flag(dev)
|
||||||
|
ghc-options: -Wall -Werror
|
||||||
|
else
|
||||||
|
ghc-options: -O2 -Wall
|
||||||
|
if flag(dev) && impl(ghc >= 8.0)
|
||||||
|
ghc-options: -Wcompat
|
||||||
|
-Wincomplete-record-updates
|
||||||
|
-Wincomplete-uni-patterns
|
||||||
|
-Wnoncanonical-monad-instances
|
||||||
|
-Wnoncanonical-monadfail-instances
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite tests
|
||||||
|
main-is: Spec.hs
|
||||||
|
hs-source-dirs: tests
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
build-depends: base >= 4.8 && < 5.0
|
||||||
|
, bytestring >= 0.9 && < 0.12
|
||||||
|
, cassava >= 0.4.2 && < 0.6
|
||||||
|
, cassava-megaparsec
|
||||||
|
, hspec >= 2.0 && < 3.0
|
||||||
|
, hspec-megaparsec >= 2.0 && < 3.0
|
||||||
|
, vector >= 0.11 && < 0.14
|
||||||
|
if flag(dev)
|
||||||
|
ghc-options: -Wall -Werror
|
||||||
|
else
|
||||||
|
ghc-options: -O2 -Wall
|
||||||
|
default-language: Haskell2010
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 27 19:24:30 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update cassava-megaparsec to version 2.0.4 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 1 08:26:35 UTC 2021 - psimons@suse.com
|
Mon Nov 1 08:26:35 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-cassava-megaparsec
|
# spec file for package ghc-cassava-megaparsec
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,6 +25,7 @@ Summary: Megaparsec parser of CSV files that plays nicely with Cassava
|
|||||||
License: MIT
|
License: MIT
|
||||||
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-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-cassava-devel
|
BuildRequires: ghc-cassava-devel
|
||||||
@ -54,6 +55,7 @@ files.
|
|||||||
|
|
||||||
%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