0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #204327 from wegank/antlr2-python

This commit is contained in:
Sandro 2022-12-04 02:26:58 +01:00 committed by GitHub
commit 8e9ef715fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, netcdf, netcdfcxx4, gsl, udunits, antlr2, which, curl, flex, coreutils }:
{ lib, stdenv, fetchFromGitHub, netcdf, netcdfcxx4, gsl, udunits, antlr2, which, curl, flex, coreutils, libtool }:
stdenv.mkDerivation rec {
pname = "nco";
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
--replace "/bin/mv" "${coreutils}/bin/mv"
'';
makeFlags = lib.optionals stdenv.isDarwin [ "LIBTOOL=${libtool}/bin/libtool" ];
enableParallelBuilding = true;
meta = with lib; {
@ -30,6 +32,6 @@ stdenv.mkDerivation rec {
homepage = "http://nco.sourceforge.net/";
license = licenses.bsd3;
maintainers = with maintainers; [ bzizou ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -17,7 +17,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ netcdf hdf5 curl ];
doCheck = true;
# 10 - cxx4_test_filter (Failed)
# Setting Filter....Caught unexpected exception.
doCheck = false;
enableParallelChecking = false;
meta = {

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, jdk, python2 }:
{ lib, stdenv, fetchurl, jdk }:
stdenv.mkDerivation rec {
pname = "antlr";
@ -9,7 +9,6 @@ stdenv.mkDerivation rec {
};
patches = [ ./2.7.7-fixes.patch ];
buildInputs = [ jdk ];
nativeBuildInputs = [ python2 ];
meta = with lib; {
description = "Powerful parser generator";