nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 647 B view raw
1{ 2 buildDunePackage, 3 ocaml, 4 lib, 5 fetchurl, 6}: 7 8buildDunePackage rec { 9 pname = "stdcompat"; 10 version = "21.1"; 11 12 minimalOCamlVersion = "4.11"; 13 14 src = fetchurl { 15 url = "https://github.com/ocamllibs/stdcompat/archive/refs/tags/${version}.tar.gz"; 16 sha256 = "sha256-RSJ9AgUEmt23QZCk60ETIXmkJhG7knQe+s8wNxxIHm4="; 17 }; 18 19 # Otherwise ./configure script will run and create files conflicting with dune. 20 dontConfigure = true; 21 22 meta = { 23 homepage = "https://github.com/ocamllibs/stdcompat"; 24 license = lib.licenses.bsd2; 25 maintainers = [ lib.maintainers.vbgl ]; 26 broken = lib.versionAtLeast ocaml.version "5.4"; 27 }; 28}