nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 876 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 ocaml, 6 findlib, 7 ocamlbuild, 8 topkg, 9 faraday, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "ocaml${ocaml.version}-farfadet"; 14 version = "0.3"; 15 16 src = fetchurl { 17 url = "https://github.com/oklm-wsh/Farfadet/releases/download/v${version}/farfadet-${version}.tbz"; 18 sha256 = "0nlafnp0pwx0n4aszpsk6nvcvqi9im306p4jhx70si7k3xprlr2j"; 19 }; 20 21 nativeBuildInputs = [ 22 ocaml 23 findlib 24 ocamlbuild 25 topkg 26 ]; 27 buildInputs = [ topkg ]; 28 29 propagatedBuildInputs = [ faraday ]; 30 31 strictDeps = true; 32 33 inherit (topkg) buildPhase installPhase; 34 35 meta = { 36 description = "Printf-like for Faraday library"; 37 homepage = "https://github.com/oklm-wsh/Farfadet"; 38 license = lib.licenses.mit; 39 maintainers = [ lib.maintainers.vbgl ]; 40 inherit (ocaml.meta) platforms; 41 broken = lib.versionOlder ocaml.version "4.3"; 42 }; 43}