tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
vapoursynth-eedi3: init at unstable-2019-09-30
emily
2 years ago
78e61aae
40a81539
+56
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
va
vapoursynth-eedi3
package.nix
+56
pkgs/by-name/va/vapoursynth-eedi3/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitHub,
5
5
+
meson,
6
6
+
ninja,
7
7
+
pkg-config,
8
8
+
boost,
9
9
+
vapoursynth,
10
10
+
opencl-headers,
11
11
+
ocl-icd,
12
12
+
openclSupport ? true,
13
13
+
}:
14
14
+
15
15
+
stdenv.mkDerivation {
16
16
+
pname = "vapoursynth-eedi3";
17
17
+
version = "unstable-2019-09-30";
18
18
+
19
19
+
src = fetchFromGitHub {
20
20
+
owner = "HomeOfVapourSynthEvolution";
21
21
+
repo = "VapourSynth-EEDI3";
22
22
+
rev = "d11bdb37c7a7118cd095b53d9f8fbbac02a06ac0";
23
23
+
hash = "sha256-MIUf6sOnJ2uqGw3ixEHy1ijzlLFkQauwtm1vfgmYmcg=";
24
24
+
};
25
25
+
26
26
+
nativeBuildInputs = [
27
27
+
meson
28
28
+
ninja
29
29
+
pkg-config
30
30
+
];
31
31
+
32
32
+
buildInputs =
33
33
+
[
34
34
+
boost
35
35
+
vapoursynth
36
36
+
]
37
37
+
++ lib.optionals openclSupport [
38
38
+
ocl-icd
39
39
+
opencl-headers
40
40
+
];
41
41
+
42
42
+
postPatch = ''
43
43
+
substituteInPlace meson.build \
44
44
+
--replace-fail "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
45
45
+
'';
46
46
+
47
47
+
mesonFlags = [ (lib.mesonBool "opencl" openclSupport) ];
48
48
+
49
49
+
meta = {
50
50
+
description = "Filter for VapourSynth";
51
51
+
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3";
52
52
+
license = with lib.licenses; [ gpl2Plus ];
53
53
+
maintainers = with lib.maintainers; [ snaki ];
54
54
+
platforms = lib.platforms.x86_64;
55
55
+
};
56
56
+
}