add revision

This commit is contained in:
Jens Petersen 2020-07-17 16:38:02 +08:00
parent ab10e92f7b
commit 23fd37d877
2 changed files with 52 additions and 0 deletions

View File

@ -15,6 +15,7 @@ License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
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
# Begin cabal-rpm deps:
@ -73,6 +74,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup

View File

@ -0,0 +1,50 @@
name: vector-th-unbox
version: 0.2.1.7
x-revision: 1
synopsis: Deriver for Data.Vector.Unboxed using Template Haskell
description:
A Template Haskell deriver for unboxed vectors, given a pair of coercion
functions to and from some existing type with an Unbox instance.
.
Refer to "Data.Vector.Unboxed.Deriving" for documentation and examples.
stability: experimental
license: BSD3
license-file: LICENSE
copyright: (c) 2012-2015 Liyang HU
author: Liyang HU <vector-th-unbox@liyang.hu>
maintainer: Liyang HU <vector-th-unbox@liyang.hu>
category: Data
build-type: Simple
cabal-version: >= 1.10
tested-with:
GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1
source-repository head
type: git
location: http://github.com/liyang/vector-th-unbox
library
default-language: Haskell2010
exposed-modules:
Data.Vector.Unboxed.Deriving
build-depends:
base >= 4.5 && < 4.15,
template-haskell >= 2.5 && <2.17,
vector >= 0.7.1 && <0.13
test-suite sanity
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: sanity.hs
build-depends:
base,
data-default,
vector,
vector-th-unbox
ghc-options: -Wall
-- vim: et sw=4 ts=4 sts=4: