1
0

osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hi-file-parser revision:14, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hi-file-parser?expand=0&rev=22
This commit is contained in:
Peter Simons 2022-06-29 12:18:12 +00:00 committed by Git OBS Bridge
parent 5694ee7931
commit f5334c0a21
3 changed files with 90 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 23 17:33:43 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hi-file-parser to version 0.1.2.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Apr 9 08:53:16 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-hi-file-parser
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,7 @@ Summary: Parser for GHC's hi files
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
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-binary-devel
BuildRequires: ghc-bytestring-devel
@ -52,6 +53,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

81
hi-file-parser.cabal Normal file
View File

@ -0,0 +1,81 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 683b7e0e97c0e1fcb98a9024ffc0a5f9051cd019a6f4d164f2c77d55a16f83c4
name: hi-file-parser
version: 0.1.2.0
x-revision: 1
synopsis: Parser for GHC's hi files
description: Please see the README on Github at <https://github.com/commercialhaskell/hi-file-parser/blob/master/README.md>
category: Development
homepage: https://github.com/commercialhaskell/hi-file-parser#readme
bug-reports: https://github.com/commercialhaskell/hi-file-parser/issues
author: Hussein Ait-Lahcen
maintainer: michael@snoyman.com
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
test-files/iface/x64/ghc844/Main.hi
test-files/iface/x64/ghc844/X.hi
test-files/iface/x64/ghc822/Main.hi
test-files/iface/x64/ghc822/X.hi
test-files/iface/x64/ghc864/Main.hi
test-files/iface/x64/ghc864/X.hi
test-files/iface/x64/ghc884/Main.hi
test-files/iface/x64/ghc884/X.hi
test-files/iface/x64/ghc8104/Main.hi
test-files/iface/x64/ghc8104/X.hi
test-files/iface/x64/ghc901/Main.hi
test-files/iface/x64/ghc901/X.hi
test-files/iface/x32/ghc844/Main.hi
test-files/iface/x32/ghc802/Main.hi
test-files/iface/x32/ghc7103/Main.hi
test-files/iface/x32/ghc822/Main.hi
source-repository head
type: git
location: https://github.com/commercialhaskell/hi-file-parser
library
exposed-modules:
HiFileParser
other-modules:
Paths_hi_file_parser
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
base >=4.10 && <5
, binary
, bytestring
, mtl < 2.3
, rio
, vector
default-language: Haskell2010
test-suite hi-file-parser-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
HiFileParserSpec
Paths_hi_file_parser
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.10 && <5
, binary
, bytestring
, hi-file-parser
, hspec
, mtl
, rio
, vector
default-language: Haskell2010