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