Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 ppxlib, 5 ppx_deriving, 6 buildDunePackage, 7}: 8 9buildDunePackage rec { 10 pname = "sel"; 11 version = "0.7.0"; 12 13 minimalOCamlVersion = "4.07"; 14 15 src = fetchurl { 16 url = "https://github.com/gares/sel/releases/download/v${version}/sel-${version}.tbz"; 17 hash = "sha256-1EJW9QogROoi0704v8/Wf8gIws/uEm05E0adv3eRDzI="; 18 }; 19 20 buildInputs = [ 21 ppxlib 22 ]; 23 24 propagatedBuildInputs = [ 25 ppx_deriving 26 ]; 27 28 meta = { 29 description = "Simple event library"; 30 homepage = "https://github.com/gares/sel/"; 31 license = lib.licenses.mit; 32 maintainers = [ lib.maintainers.vbgl ]; 33 }; 34}