nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5 dune-configurator,
6 fdk_aac,
7}:
8
9buildDunePackage rec {
10 pname = "fdkaac";
11 version = "0.3.3";
12 src = fetchFromGitHub {
13 owner = "savonet";
14 repo = "ocaml-fdkaac";
15 rev = "v${version}";
16 hash = "sha256-cTPPQKBq0EFo35eK7TXlszbodHYIg1g7v+yQ/rG7Y9I=";
17 };
18
19 buildInputs = [ dune-configurator ];
20 propagatedBuildInputs = [ fdk_aac ];
21
22 meta = {
23 description = "OCaml binding for the fdk-aac library";
24 inherit (src.meta) homepage;
25 license = lib.licenses.gpl2Only;
26 maintainers = [
27 lib.maintainers.vbgl
28 lib.maintainers.dandellion
29 ];
30 };
31
32}