nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 dune-configurator,
6 libsamplerate,
7}:
8
9buildDunePackage (finalAttrs: {
10 pname = "samplerate";
11 version = "0.1.6";
12
13 src = fetchFromGitHub {
14 owner = "savonet";
15 repo = "ocaml-samplerate";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-N3PSUSZ1tKNJcNPSgye6+8QQXcZIez72jk/YdNNOEUA=";
18 };
19
20 buildInputs = [ dune-configurator ];
21 propagatedBuildInputs = [ libsamplerate ];
22
23 meta = {
24 homepage = "https://github.com/savonet/ocaml-samplerate";
25 description = "Interface for libsamplerate";
26 license = lib.licenses.bsd2;
27 maintainers = with lib.maintainers; [ dandellion ];
28 };
29})