at 23.11-beta 28 lines 705 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "mxml"; 5 version = "3.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "michaelrsweet"; 9 repo = "mxml"; 10 rev = "v${version}"; 11 sha256 = "sha256-l7GUA+vlSECi/72eU3Y9COpGtLTRh3vYcHUi+uRkCn8="; 12 }; 13 14 # remove the -arch flags which are set by default in the build 15 configureFlags = lib.optionals stdenv.isDarwin [ 16 "--with-archflags=\"-mmacosx-version-min=10.14\"" 17 ]; 18 19 enableParallelBuilding = true; 20 21 meta = with lib; { 22 description = "A small XML library"; 23 homepage = "https://www.msweet.org/mxml/"; 24 license = licenses.asl20; 25 platforms = platforms.all; 26 maintainers = [ maintainers.goibhniu ]; 27 }; 28}