Skip to content

Commit

Permalink
Set dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthi-chaud committed Jul 1, 2024
1 parent bd273f8 commit 279b9d5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.stack-work/
*~
*.mkv
*.mkv
dist
.hkgr
19 changes: 10 additions & 9 deletions haskell-ffprobe.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ cabal-version: 2.2

name: haskell-ffprobe
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/Arthi-chaud/haskell-ffprobe#readme>
synopsis: Haskell bindings for ffprobe
category: Bindings
homepage: https://github.com/Arthi-chaud/haskell-ffprobe#readme
bug-reports: https://github.com/Arthi-chaud/haskell-ffprobe/issues
author: Arthi-chaud
Expand All @@ -15,7 +16,7 @@ copyright: 2024 Arthi-chaud
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
extra-doc-files:
README.md
CHANGELOG.md

Expand Down Expand Up @@ -47,12 +48,12 @@ library
DeriveGeneric
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
aeson
aeson >=2.1.2.1 && <=2.2.3.0
, base >=4.7 && <5
, bytestring
, process
, scientific
, text
, bytestring >=0.11.5 && <0.12
, process >=1.6.18 && <1.7
, scientific >=0.3.7 && <=0.3.8.0
, text >=2.0.2 && <2.1
default-language: Haskell2010

test-suite haskell-ffprobe-test
Expand All @@ -77,9 +78,9 @@ test-suite haskell-ffprobe-test
DeriveGeneric
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson
aeson >=2.1.2.1 && <=2.2.3.0
, base >=4.7 && <5
, bytestring
, bytestring >=0.11.5 && <0.12
, haskell-ffprobe
, hspec
, hspec-expectations
Expand Down
18 changes: 8 additions & 10 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ github: "Arthi-chaud/haskell-ffprobe"
license: BSD-3-Clause
author: "Arthi-chaud"
copyright: "2024 Arthi-chaud"
synopsis: Haskell bindings for ffprobe
category: Bindings

extra-source-files:
extra-doc-files:
- README.md
- CHANGELOG.md

description: Please see the README on GitHub at <https://github.com/Arthi-chaud/haskell-ffprobe#readme>

dependencies:
- base >= 4.7 && < 5
- aeson >= 2.1.2.1 && <= 2.2.3.0
- bytestring >= 0.11.5 && < 0.12

default-extensions:
- OverloadedStrings
Expand All @@ -35,11 +37,9 @@ ghc-options:
library:
source-dirs: src
dependencies:
- process
- aeson
- scientific
- text
- bytestring
- process >= 1.6.18 && < 1.7
- scientific >= 0.3.7 && <= 0.3.8.0
- text >= 2.0.2 && < 2.1
exposed-modules:
- FFProbe
- FFProbe.Data.Chapter
Expand All @@ -58,6 +58,4 @@ tests:
dependencies:
- haskell-ffprobe
- hspec
- aeson
- bytestring
- hspec-expectations
2 changes: 1 addition & 1 deletion test/Utils.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Utils where
module Utils (getAssetContent, shouldBeRight) where

import Data.ByteString
import Test.Hspec.Expectations
Expand Down

0 comments on commit 279b9d5

Please sign in to comment.