osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-aeson-yaml revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson-yaml?expand=0&rev=9
This commit is contained in:
parent
9eba1afaef
commit
ca7ebcefdb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:deece91c2c0ad1d9782a2e70c976f8184f21e2cf339375e7a9fc5f3cb880d9cf
|
|
||||||
size 6762
|
|
3
aeson-yaml-1.1.0.1.tar.gz
Normal file
3
aeson-yaml-1.1.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:44b44e2ea2d3c7def8e9e90b48fb0054b7a72f2edee2da8545eeef0614a0a11b
|
||||||
|
size 6973
|
@ -1,83 +0,0 @@
|
|||||||
cabal-version: 1.12
|
|
||||||
|
|
||||||
name: aeson-yaml
|
|
||||||
version: 1.1.0.0
|
|
||||||
x-revision: 1
|
|
||||||
homepage: https://github.com/clovyr/aeson-yaml
|
|
||||||
bug-reports: https://github.com/clovyr/aeson-yaml/issues
|
|
||||||
author: Patrick Nielsen
|
|
||||||
maintainer: patrick@clovyr.io
|
|
||||||
copyright: 2019 Clovyr LLC
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
build-type: Simple
|
|
||||||
category: Text, Web, JSON, YAML
|
|
||||||
synopsis: Output any Aeson value as YAML (pure Haskell library)
|
|
||||||
description:
|
|
||||||
This library exposes functions for encoding any Aeson value as YAML. There
|
|
||||||
is also support for encoding multiple values into YAML "documents".
|
|
||||||
.
|
|
||||||
This library is pure Haskell, and does not depend on C FFI with libyaml. It
|
|
||||||
is also licensed under the BSD3 license.
|
|
||||||
|
|
||||||
extra-source-files:
|
|
||||||
README.md
|
|
||||||
CHANGELOG.md
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/clovyr/aeson-yaml
|
|
||||||
|
|
||||||
flag build-binaries
|
|
||||||
description: Build the binaries
|
|
||||||
manual: True
|
|
||||||
default: False
|
|
||||||
|
|
||||||
library
|
|
||||||
hs-source-dirs: src
|
|
||||||
exposed-modules:
|
|
||||||
Data.Aeson.Yaml
|
|
||||||
build-depends:
|
|
||||||
aeson >= 0.4.0.0 && < 1.6
|
|
||||||
, base >= 4.8.2.0 && < 5
|
|
||||||
, bytestring >= 0.10.4.0 && < 0.12
|
|
||||||
, text >= 0.1 && < 1.3
|
|
||||||
, unordered-containers >= 0.1.0.0 && < 0.3
|
|
||||||
, vector >= 0.1 && < 0.13
|
|
||||||
ghc-options:
|
|
||||||
-Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
test-suite test
|
|
||||||
hs-source-dirs: test
|
|
||||||
main-is: Driver.hs
|
|
||||||
other-modules:
|
|
||||||
Test.Data.Aeson.Yaml
|
|
||||||
build-depends:
|
|
||||||
aeson
|
|
||||||
, aeson-yaml
|
|
||||||
, base
|
|
||||||
, bytestring
|
|
||||||
-- , hedgehog
|
|
||||||
-- , hedgehog-gen-json
|
|
||||||
, string-qq
|
|
||||||
, tasty
|
|
||||||
, tasty-discover
|
|
||||||
, tasty-hunit
|
|
||||||
, unordered-containers
|
|
||||||
, yaml
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
executable json-to-yaml
|
|
||||||
if !flag(build-binaries)
|
|
||||||
buildable: False
|
|
||||||
hs-source-dirs: bin
|
|
||||||
main-is: JsonToYaml.hs
|
|
||||||
build-depends:
|
|
||||||
aeson
|
|
||||||
, aeson-yaml
|
|
||||||
, base
|
|
||||||
, bytestring
|
|
||||||
ghc-options: -Wall -threaded
|
|
||||||
default-language: Haskell2010
|
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 15 06:59:30 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update aeson-yaml to version 1.1.0.1.
|
||||||
|
## 1.1.0.1 - 2021-11-13
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Support aeson-2.0 (thanks to Simon Jakobi)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 8 19:14:40 UTC 2021 - psimons@suse.com
|
Mon Feb 8 19:14:40 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -19,13 +19,12 @@
|
|||||||
%global pkg_name aeson-yaml
|
%global pkg_name aeson-yaml
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.1.0.0
|
Version: 1.1.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Output any Aeson value as YAML (pure Haskell library)
|
Summary: Output any Aeson value as YAML (pure Haskell library)
|
||||||
License: BSD-3-Clause
|
License: BSD-3-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-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
@ -37,7 +36,6 @@ ExcludeArch: %{ix86}
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-string-qq-devel
|
BuildRequires: ghc-string-qq-devel
|
||||||
BuildRequires: ghc-tasty-devel
|
BuildRequires: ghc-tasty-devel
|
||||||
BuildRequires: ghc-tasty-discover-devel
|
|
||||||
BuildRequires: ghc-tasty-hunit-devel
|
BuildRequires: ghc-tasty-hunit-devel
|
||||||
BuildRequires: ghc-yaml-devel
|
BuildRequires: ghc-yaml-devel
|
||||||
%endif
|
%endif
|
||||||
@ -61,7 +59,6 @@ This package provides the Haskell %{pkg_name} library development 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…
Reference in New Issue
Block a user