nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at release-23.05 42 lines 1.1 kB view raw
1{lib, stdenv, fetchurl, autoreconfHook, fetchpatch }: 2 3let 4 version = "5.6"; 5in 6 7stdenv.mkDerivation { 8 pname = "polyml"; 9 inherit version; 10 11 prePatch = lib.optionalString stdenv.isDarwin '' 12 substituteInPlace configure.ac --replace stdc++ c++ 13 ''; 14 15 patches = [ 16 # glibc 2.34 compat 17 (fetchpatch { 18 url = "https://src.fedoraproject.org/rpms/polyml/raw/4d8868ca5a1ce3268f212599a321f8011c950496/f/polyml-pthread-stack-min.patch"; 19 sha256 = "1h5ihg2sxld9ymrl3f2mpnbn2242ka1fsa0h4gl9h90kndvg6kby"; 20 }) 21 ]; 22 23 nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook; 24 25 src = fetchurl { 26 url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz"; 27 sha256 = "05d6l2a5m9jf32a8kahwg2p2ph4x9rjf1nsl83331q3gwn5bkmr0"; 28 }; 29 30 meta = { 31 description = "Standard ML compiler and interpreter"; 32 longDescription = '' 33 Poly/ML is a full implementation of Standard ML. 34 ''; 35 homepage = "https://www.polyml.org/"; 36 license = lib.licenses.lgpl21; 37 platforms = with lib.platforms; linux; 38 maintainers = [ #Add your name here! 39 lib.maintainers.maggesi 40 ]; 41 }; 42}