revise .cabal
This commit is contained in:
parent
bedada0ca3
commit
262c0dc8d2
@ -15,6 +15,7 @@ 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:
|
||||||
@ -70,6 +71,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}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
|
43
network-byte-order-0.1.6.cabal
Normal file
43
network-byte-order-0.1.6.cabal
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
-- Initial network-byte-order.cabal generated by cabal init. For further
|
||||||
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
||||||
|
|
||||||
|
name: network-byte-order
|
||||||
|
version: 0.1.6
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: Network byte order utilities
|
||||||
|
description: Peek and poke functions for network byte order.
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Kazu Yamamoto
|
||||||
|
maintainer: kazu@iij.ad.jp
|
||||||
|
-- copyright:
|
||||||
|
category: Network
|
||||||
|
build-type: Simple
|
||||||
|
-- extra-source-files: ChangeLog.md
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
|
||||||
|
library
|
||||||
|
ghc-options: -Wall
|
||||||
|
exposed-modules: Network.ByteOrder
|
||||||
|
-- other-modules:
|
||||||
|
-- other-extensions:
|
||||||
|
build-depends: base >= 4.9 && < 5
|
||||||
|
, bytestring
|
||||||
|
-- hs-source-dirs:
|
||||||
|
default-language: Haskell2010
|
||||||
|
if impl(ghc >= 8)
|
||||||
|
default-extensions: Strict StrictData
|
||||||
|
|
||||||
|
test-suite doctest
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
default-language: Haskell2010
|
||||||
|
hs-source-dirs: test
|
||||||
|
ghc-options: -Wall
|
||||||
|
main-is: doctests.hs
|
||||||
|
build-depends: base
|
||||||
|
, bytestring
|
||||||
|
, doctest
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/kazu-yamamoto/network-byte-order.git
|
Loading…
Reference in New Issue
Block a user