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 ]; + }; +} 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 ]; + }; +}