-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.yaml.template
113 lines (104 loc) · 2.64 KB
/
package.yaml.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: cut-the-crap
version: 2.3.3
license: MIT
category: video
synopsis: Cuts out uninteresting parts of videos by detecting silences.
description: "Cut the crap is an automatic video editing program for streamers.
It can cut out uninteresting parts by detecting silences.
This was inspired by [jumpcutter](https://github.com/carykh/jumpcutter),
where this program can get better quality results
by using an (optional) dedicated microphone track.
This prevents cutting of [quieter consonants](https://youtu.be/DQ8orIurGxw?t=675)
for example.
Using ffmpeg more efficiently also produces faster results and
is less error prone."
author: "Jappie Klooster"
maintainer: "jappieklooster@hotmail.com"
copyright: "2019 Jappie Klooster"
extra-source-files:
- Readme.md
- LICENSE
- Changelog.md
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Wincomplete-record-updates
- -Widentities
# from https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/
default-extensions:
# trivial
- EmptyCase
- FlexibleContexts
- FlexibleInstances
- InstanceSigs
- MultiParamTypeClasses
# only activated once used
- LambdaCase
- MultiWayIf
- NamedFieldPuns
- TupleSections
# no cost deriving power
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- DerivingStrategies
- GeneralizedNewtypeDeriving
- StandaloneDeriving
# used everywhere anyway
- OverloadedStrings
# ehh syntax
- TypeApplications
dependencies:
- base >= 4.7 && < 5
- optparse-applicative
- generic-lens
- shelly
- text
- lens
- exceptions
- unliftio-core
- temporary
- regex-tdfa
- system-filepath
- time
- network-uri
- random
# - gogol-youtube < 0.6.0
library:
source-dirs: src
executables:
cut-the-crap:
main: exe.hs
source-dirs: app
dependencies:
- cut-the-crap
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
tests:
unit:
main: Spec.hs
source-dirs:
- test
# including extra source dirs allows ghcid to watch
- src
dependencies:
- hspec
- hspec-core
- QuickCheck
- quickcheck-classes
c-sources:
- includes/speech_recognition.c
- includes/speech_recognition.h
include-dirs: includes
cc-options: -DMODELDIR="REPLACED_MODEL"
pkg-config-dependencies:
- pocketsphinx
- sphinxbase
build-tools-depends: c2hs
build-tools: c2hs