-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathdefault.nix
41 lines (41 loc) · 1.14 KB
/
default.nix
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
{ mkDerivation, nix-filter, base, bytestring, either, exceptions, ffmpeg
, JuicyPixels, lib, monad-loops, mtl, Rasterific, sdl2
, stm, text, time, transformers, vector
}:
mkDerivation {
pname = "ffmpeg-light";
version = "0.14.1";
src = nix-filter {
root = ./.;
include = [
"./CHANGELOG.md"
"demo"
"./ffmpeg-light.cabal"
"./LICENSE"
"./README.md"
"./Setup.hs"
"./stack.yaml"
"src"
(nix-filter.inDirectory "src")
(nix-filter.inDirectory "demo")
];
};
configureFlags = [
"-fbuildaudioextractdemo" "-fbuildaudiosindemo" "-fbuilddemo"
"-fbuildrasterdemo" "-fbuildtranscodedemo" "-fbuildvplaydemo"
];
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base bytestring either exceptions JuicyPixels mtl stm transformers
vector
];
libraryPkgconfigDepends = [ ffmpeg ];
executableHaskellDepends = [
base bytestring JuicyPixels monad-loops mtl Rasterific sdl2 text
time transformers vector
];
homepage = "http://github.com/acowley/ffmpeg-light";
description = "Minimal bindings to the FFmpeg library";
license = lib.licenses.bsd3;
}