update to 0.8.9
This commit is contained in:
parent
51fd9def81
commit
1bed890d48
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
/aeson-pretty-0.8.5.tar.gz
|
/aeson-pretty-0.8.5.tar.gz
|
||||||
/aeson-pretty-0.8.7.tar.gz
|
/aeson-pretty-0.8.7.tar.gz
|
||||||
/aeson-pretty-0.8.8.tar.gz
|
/aeson-pretty-0.8.8.tar.gz
|
||||||
|
/aeson-pretty-0.8.9.tar.gz
|
||||||
|
83
aeson-pretty-0.8.9.cabal
Normal file
83
aeson-pretty-0.8.9.cabal
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
cabal-version: 2.0
|
||||||
|
name: aeson-pretty
|
||||||
|
version: 0.8.9
|
||||||
|
x-revision: 1
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
category: Text, Web, JSON, Pretty Printer
|
||||||
|
copyright: Copyright 2011 Falko Peters
|
||||||
|
author: Falko Peters <falko.peters@gmail.com>
|
||||||
|
maintainer: Martijn Bastiaan <martijn@hmbastiaan.nl>
|
||||||
|
stability: experimental
|
||||||
|
homepage: http://github.com/informatikr/aeson-pretty
|
||||||
|
bug-reports: http://github.com/informatikr/aeson-pretty/issues
|
||||||
|
build-type: Simple
|
||||||
|
synopsis: JSON pretty-printing library and command-line tool.
|
||||||
|
description:
|
||||||
|
A JSON pretty-printing library compatible with aeson as well as
|
||||||
|
a command-line tool to improve readabilty of streams of JSON data.
|
||||||
|
.
|
||||||
|
The /library/ provides the function "encodePretty". It is a drop-in
|
||||||
|
replacement for aeson's "encode" function, producing JSON-ByteStrings for
|
||||||
|
human readers.
|
||||||
|
.
|
||||||
|
The /command-line tool/ reads JSON from stdin and writes prettified JSON
|
||||||
|
to stdout. It also offers a complementary "compact"-mode, essentially the
|
||||||
|
opposite of pretty-printing. If you specify @-flib-only@ like this
|
||||||
|
.
|
||||||
|
> cabal install -flib-only aeson-pretty
|
||||||
|
.
|
||||||
|
the command-line tool will NOT be installed.
|
||||||
|
|
||||||
|
extra-source-files:
|
||||||
|
README.markdown
|
||||||
|
CHANGELOG.markdown
|
||||||
|
|
||||||
|
flag lib-only
|
||||||
|
description: Only build/install the library, NOT the command-line tool.
|
||||||
|
default: False
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules:
|
||||||
|
Data.Aeson.Encode.Pretty
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
aeson ^>= 1.0 || ^>=1.1 || ^>=1.2 || ^>=1.3 || ^>=1.4 || ^>=1.5 || ^>=2.0,
|
||||||
|
base >= 4.5,
|
||||||
|
base-compat >= 0.9,
|
||||||
|
bytestring >= 0.9,
|
||||||
|
scientific >= 0.3,
|
||||||
|
vector >= 0.9,
|
||||||
|
text >= 0.11,
|
||||||
|
unordered-containers >= 0.2.14.0
|
||||||
|
|
||||||
|
if !impl(ghc >= 8.0)
|
||||||
|
build-depends:
|
||||||
|
semigroups >= 0.18.2
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
executable aeson-pretty
|
||||||
|
hs-source-dirs: cli-tool
|
||||||
|
main-is: Main.hs
|
||||||
|
other-modules: Paths_aeson_pretty
|
||||||
|
autogen-modules: Paths_aeson_pretty
|
||||||
|
|
||||||
|
if flag(lib-only)
|
||||||
|
buildable: False
|
||||||
|
else
|
||||||
|
build-depends:
|
||||||
|
aeson >= 0.6,
|
||||||
|
aeson-pretty,
|
||||||
|
attoparsec >= 0.10,
|
||||||
|
base == 4.*,
|
||||||
|
bytestring >= 0.9,
|
||||||
|
cmdargs >= 0.7
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: http://github.com/informatikr/aeson-pretty
|
@ -5,17 +5,19 @@
|
|||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.8.8
|
Version: 0.8.9
|
||||||
Release: 8%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: JSON pretty-printing library
|
Summary: JSON pretty-printing library
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: dos2unix
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-aeson-prof
|
BuildRequires: ghc-aeson-prof
|
||||||
@ -80,6 +82,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
@ -102,7 +105,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc README.markdown
|
%doc CHANGELOG.markdown README.markdown
|
||||||
%{_bindir}/%{pkg_name}
|
%{_bindir}/%{pkg_name}
|
||||||
|
|
||||||
|
|
||||||
@ -118,6 +121,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.8.9-1
|
||||||
|
- https://hackage.haskell.org/package/aeson-pretty-0.8.9/changelog
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-8
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (aeson-pretty-0.8.8.tar.gz) = 5867343c5d51d632bb299fcbc00cdb29b0feb1931f0ff9c3cf89c5752f1a103c68c9e6fa65e8538ac19212853c39f6d1d6e0c2d9f0bf49fe001c1bfd792db779
|
SHA512 (aeson-pretty-0.8.9.tar.gz) = 00c99799cbe9e268109116f909ea0d9ef2708e578ec363ba5455b43d76d1f89bc9820dcbd3a63a1fb300460d97a71105f028f4ad9853b56ce16a097826b1d3d5
|
||||||
|
Loading…
Reference in New Issue
Block a user