Commit Graph

52 Commits

Author SHA1 Message Date
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Felix Buehler
bc3d5934d7 treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
Daniel Nagy
a64dcea595
jna: init at 4.5.2 2022-12-04 23:45:00 +01:00
Thomas Gerbet
ee36d11868 postgresql_jdbc: 42.5.0 -> 42.5.1
Fixes CVE-2022-41946.

https://github.com/pgjdbc/pgjdbc/blob/REL42.5.1/CHANGELOG.md
2022-11-29 22:32:01 +01:00
Thomas Gerbet
6def56c5e7 postgresql_jdbc: 42.2.20 -> 42.5.0
Fixes CVE-2022-31197 and CVE-2022-21724.

https://jdbc.postgresql.org/changelogs/2021-10-18-42.3.0-release/
https://jdbc.postgresql.org/changelogs/2022-06-09-42.4.0-release/
https://jdbc.postgresql.org/changelogs/2022-08-03-42.4.1-release/
https://jdbc.postgresql.org/changelogs/2022-08-17-42.4.2-release/
https://jdbc.postgresql.org/changelogs/2022-08-24-42.5.0-release/
2022-10-13 23:00:38 +02:00
Tim Häring
ef60115c45 maven-fod: fix passing arguments to fetcher 2022-09-18 16:09:13 +02:00
Robert Scott
c9c3b19634 fetchMaven: set output's sourceProvenance to binaryBytecode 2022-06-04 19:48:03 +01:00
Sergei Trofimovich
4ff8da59b8 javaPackages.jogl_2_3_2: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

    ld: ../obj/Bindingtest1p1Impl_JNI.o:(.bss+0x8): multiple definition of
      `unsigned_size_t_1'; ../obj/TK_Surface_JNI.o:(.bss+0x8): first defined here
2022-06-03 12:59:52 +01:00
Julien Debon
a7c93695a5 liquibase_redshift_extension: init at 4.8.0 2022-04-26 09:54:02 +02:00
Julien Debon
e5b0ba7750 redshift_jdbc: init at 2.1.0.3 2022-04-26 09:53:03 +02:00
Johannes Schleifenbaum
4c766274c5
javaPackages.mavenfod: use mvnParameters in buildPhase 2022-03-28 12:30:07 +02:00
Benjamin Staffin
34006ebc9d Merge remote-tracking branch 'origin/master' into mvn 2022-03-21 18:37:45 -04:00
Felix Buehler
783d2679e5 treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
Maciej Krüger
8e317c1630
javaPackages.mavenfod: make maven parameters configurable 2021-12-13 17:55:07 +01:00
Maciej Krüger
5106a2f74f
javaPackages.mavenfod: init 2021-12-13 17:49:25 +01:00
Felix Buehler
2d7a3f1a3f m2install: deprecate phases 2021-08-19 23:51:05 +02:00
Felix Buehler
cfe5fae08a buildMaven: deprecate phases 2021-08-13 00:17:59 +02:00
Felix Buehler
b80e2fa509 postgresql_jdbc: remove phases 2021-08-04 17:39:00 +02:00
Thomas Gerbet
f722f8d518 postgresql_jdbc: 42.2.5 -> 42.2.20
Fixes CVE-2020-13692.
2021-05-01 09:46:26 +02:00
Arnout Engelen
ed5b9cce76
maven: use default jdk
While builds using maven are relatively likely to target jdk8,
they typically support building using default jdk.

The main exception is the default jdk no longer supports targeting
JRE's before version 8. For projects that do that we can override the
jdk version for the maven used there.
2021-02-23 09:22:40 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
midchildan
55871dc165
javaPackages: add upgraded packages
These are packages required to build Sourcetrail Java support

- maven-compiler-plugin 3.2
- plexus-compiler-api 2.4
- plexus-compiler-javac 2.4
- plexus-compiler-manager 2.4
2020-10-22 10:11:36 +09:00
Gabriel Ebner
d74d629fff javaPackages.jogl_2_3_2: use jdk8 2020-09-19 15:36:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
7b7848ecb6
jogl: remove #37364 workaround 2019-09-15 19:00:15 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Ryan Mulligan
508ae42a0f treewide: fix redirect URLs 2019-07-10 12:52:51 -07:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Austin Seipp
8cbe6b9ce4 nixpkgs: reorganize the postgresql extensions
This is a backwards compatible change; it mostly puts all the extensions
for postgresql in a common directory to keep them isolated.

It also moves a few things that /were not/ extensions out into other parts of
the filesystem namespace; namely the postgresql_jdbc and psqlodbc libraries
were moved under development/java-modules and development/libraries,
respectively. Because these libraries use the libpq postgresql client drivers,
they're less sensitive to underlying version changes anyway (since the protocol
is relatively stable).

No attributes were renamed or harmed in the creation of this patch.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
70050dbc48 jogl: reflect recent changes in opengl (#41786) 2018-06-10 17:09:19 +02:00
Ryan Mulligan
b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00
volth
887e6302bd jogl: temporary workaround for openjdk8 2018-03-19 08:44:21 +00:00
volth
94ff822eec jogl: init at 2.3.2 2018-03-19 04:08:12 +00:00
Tuomas Tynkkynen
0ed5ba8a64 buildMavenPackage: Use concatStringsSep 2018-02-11 00:17:47 +02:00
Pascal Wittmann
24e87b49b6
Change many homepage urls from http to https #30636 2017-11-10 22:13:46 +01:00
Franz Pletz
3ab45f4b36
treewide: use boolToString function 2017-04-11 18:18:53 +02:00
Tim Steinbach
8a7a44c918
javaPackages: Use artifactId/groupId 2017-02-13 18:40:13 -05:00
Tim Steinbach
82c1ff501a
Create mavenLibs 2016-11-15 14:44:35 -05:00
Tim Steinbach
63a46e0914
Complete hello world with test 2016-11-15 14:18:19 -05:00
NeQuissimus
0e10bfa246 maven_hello: Add 1.1, add ability to choose skipping tests 2016-11-14 19:23:08 -05:00
Tim Steinbach
5d54cfd7a4
junit_4_12 part 2 2016-11-14 15:19:34 -05:00
Tim Steinbach
8500c24911
Finish maven-hello / framework 2016-11-14 15:19:33 -05:00
Tim Steinbach
f23c44516c
Fixup 2016-11-14 15:19:33 -05:00
Tim Steinbach
38e762c6d1
Partial maven-hello 2016-11-14 15:19:33 -05:00