From 67f0915d2b53b6b3285f0e51c91514b4474f4693 Mon Sep 17 00:00:00 2001 From: Volker Diels-Grabsch Date: Tue, 22 Jul 2025 20:08:31 +0200 Subject: [PATCH 1/2] junixsocket-common: init at 2.10.1 --- pkgs/by-name/ju/junixsocket-common/package.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/by-name/ju/junixsocket-common/package.nix diff --git a/pkgs/by-name/ju/junixsocket-common/package.nix b/pkgs/by-name/ju/junixsocket-common/package.nix new file mode 100644 index 000000000000..b1df42ca3104 --- /dev/null +++ b/pkgs/by-name/ju/junixsocket-common/package.nix @@ -0,0 +1,18 @@ +{ + fetchMavenArtifact, + lib, +}: + +fetchMavenArtifact { + groupId = "com.kohlschutter.junixsocket"; + artifactId = "junixsocket-common"; + version = "2.10.1"; + hash = "sha256-GeX3YVrSKT81Mrw/mRsxOWwRYYNOidmmqgx975OcZyk="; + meta = { + homepage = "https://kohlschutter.github.io/junixsocket/"; + description = "Java/JNI library that allows the use of Unix Domain Sockets (AF_UNIX sockets) and other socket types, such as AF_TIPC and AF_VSOCK, from Java, using the standard Socket API"; + license = lib.licenses.asl20; + sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; + maintainers = [ lib.maintainers.vog ]; + }; +} From 72427e253359bfcd4474fbcb0b5d725c5d61555c Mon Sep 17 00:00:00 2001 From: Volker Diels-Grabsch Date: Tue, 22 Jul 2025 20:09:38 +0200 Subject: [PATCH 2/2] junixsocket-native-common: init at 2.10.1 --- .../ju/junixsocket-native-common/package.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkgs/by-name/ju/junixsocket-native-common/package.nix diff --git a/pkgs/by-name/ju/junixsocket-native-common/package.nix b/pkgs/by-name/ju/junixsocket-native-common/package.nix new file mode 100644 index 000000000000..e28c1f3709c5 --- /dev/null +++ b/pkgs/by-name/ju/junixsocket-native-common/package.nix @@ -0,0 +1,16 @@ +{ + fetchMavenArtifact, + junixsocket-common, + lib, +}: + +fetchMavenArtifact { + groupId = "com.kohlschutter.junixsocket"; + artifactId = "junixsocket-native-common"; + inherit (junixsocket-common) version; + hash = "sha256-ASbOC68c61de9ReAfU0rFLnzLwYYAgThLsc6tKdyVno="; + meta = junixsocket-common.meta // { + description = "Binaries of the native JNI library for junixsocket for common platforms"; + sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; + }; +}