Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, frei0r }:
2
3buildDunePackage rec {
4 pname = "frei0r";
5 version = "0.1.2";
6
7 src = fetchFromGitHub {
8 owner = "savonet";
9 repo = "ocaml-frei0r";
10 rev = "v${version}";
11 sha256 = "sha256-eh/ymZO/3a1z6uvZdnXgma/7AU2NBVs2lddA+R/kuQA=";
12 };
13
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ dune-configurator ];
16 propagatedBuildInputs = [ frei0r ];
17
18 meta = with lib; {
19 homepage = "https://github.com/savonet/ocaml-frei0r";
20 description = "Bindings for the frei0r API which provides video effects";
21 license = licenses.lgpl21Plus;
22 maintainers = with maintainers; [ dandellion ];
23 };
24}