Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5}: 6 7buildDunePackage rec { 8 pname = "metadata"; 9 version = "0.3.1"; 10 11 src = fetchFromGitHub { 12 owner = "savonet"; 13 repo = "ocaml-metadata"; 14 tag = "v${version}"; 15 sha256 = "sha256-CsmKk14jk/PuTibEmlFr/QZbmDIkLJ5QJSIZQXLRmGw="; 16 }; 17 18 minimalOCamlVersion = "4.14"; 19 20 meta = with lib; { 21 homepage = "https://github.com/savonet/ocaml-metadata"; 22 description = "Library to read metadata from files in various formats"; 23 license = licenses.gpl3Plus; 24 maintainers = with maintainers; [ dandellion ]; 25 }; 26}