diff options
Diffstat (limited to 'pkgs/by-name/jo')
-rw-r--r-- | pkgs/by-name/jo/job-security/package.nix | 28 | ||||
-rw-r--r-- | pkgs/by-name/jo/jogl/package.nix | 126 | ||||
-rw-r--r-- | pkgs/by-name/jo/joshuto/package.nix | 43 | ||||
-rw-r--r-- | pkgs/by-name/jo/josm/package.nix | 62 | ||||
-rw-r--r-- | pkgs/by-name/jo/joularjx/package.nix | 42 | ||||
-rw-r--r-- | pkgs/by-name/jo/journalwatch/package.nix | 40 | ||||
-rw-r--r-- | pkgs/by-name/jo/joycond-cemuhook/package.nix | 36 |
7 files changed, 0 insertions, 377 deletions
diff --git a/pkgs/by-name/jo/job-security/package.nix b/pkgs/by-name/jo/job-security/package.nix deleted file mode 100644 index 4962b83aa79c..000000000000 --- a/pkgs/by-name/jo/job-security/package.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, stdenv -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "job-security"; - version = "unstable-0-2024-03-24"; - - src = fetchFromGitHub { - owner = "yshui"; - repo = "job-security"; - rev = "3881a4a0e66afe19cbdba3f43d0f85732796f977"; - hash = "sha256-mXmDzBsHdiim0bWrs0SvgtMZmKnYVz/RV9LNqPHHlnk="; - }; - - cargoHash = "sha256-W5evL36ByUUjvSwa3Nmf4MT2oZYoQ8kmchNOxUwmpuE="; - - meta = { - description = "Job control from anywhere"; - homepage = "https://github.com/yshui/job-security"; - license = with lib.licenses; [ asl20 mit mpl20 ]; - maintainers = with lib.maintainers; [ fgaz ]; - mainProgram = "jobs"; - broken = stdenv.isDarwin; - }; -} diff --git a/pkgs/by-name/jo/jogl/package.nix b/pkgs/by-name/jo/jogl/package.nix deleted file mode 100644 index 5157fe679771..000000000000 --- a/pkgs/by-name/jo/jogl/package.nix +++ /dev/null @@ -1,126 +0,0 @@ -{ lib -, stdenv -, fetchgit -, ant -, jdk11 -, git -, xmlstarlet -, stripJavaArchivesHook -, xcbuild -, udev -, xorg -, mesa -, darwin -, coreutils -}: - -let - version = "2.4.0"; - - gluegen-src = fetchgit { - url = "git://jogamp.org/srv/scm/gluegen.git"; - rev = "v${version}"; - hash = "sha256-qQzq7v2vMFeia6gXaNHS3AbOp9HhDRgISp7P++CKErA="; - fetchSubmodules = true; - }; - jogl-src = fetchgit { - url = "git://jogamp.org/srv/scm/jogl.git"; - rev = "v${version}"; - hash = "sha256-PHDq7uFEQfJ2P0eXPUi0DGFR1ob/n5a68otgzpFnfzQ="; - fetchSubmodules = true; - }; -in -stdenv.mkDerivation { - pname = "jogl"; - inherit version; - - srcs = [ gluegen-src jogl-src ]; - sourceRoot = "."; - - unpackCmd = "cp -r $curSrc \${curSrc##*-}"; - - postPatch = '' - substituteInPlace gluegen/src/java/com/jogamp/common/util/IOUtil.java \ - --replace-fail '#!/bin/true' '#!${coreutils}/bin/true' - '' - # prevent looking for native libraries in /usr/lib - + '' - substituteInPlace jogl/make/build-*.xml \ - --replace-warn 'dir="''${TARGET_PLATFORM_USRLIBS}"' "" - '' - # force way to do disfunctional "ant -Dsetup.addNativeBroadcom=false" and disable dependency on raspberrypi drivers - # if arm/aarch64 support will be added, this block might be commented out on those platforms - # on x86 compiling with default "setup.addNativeBroadcom=true" leads to unsatisfied import "vc_dispmanx_resource_delete" in libnewt.so - + '' - xmlstarlet ed --inplace \ - --delete '//*[@if="setup.addNativeBroadcom"]' \ - jogl/make/build-newt.xml - '' - + lib.optionalString stdenv.isDarwin '' - sed -i '/if="use.macos/d' gluegen/make/gluegen-cpptasks-base.xml - rm -r jogl/oculusvr-sdk - ''; - - nativeBuildInputs = [ - ant - jdk11 - git - xmlstarlet - stripJavaArchivesHook - ] ++ lib.optionals stdenv.isDarwin [ - xcbuild - ]; - - buildInputs = lib.optionals stdenv.isLinux [ - udev - xorg.libX11 - xorg.libXrandr - xorg.libXcursor - xorg.libXi - xorg.libXt - xorg.libXxf86vm - xorg.libXrender - mesa - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk_11_0.frameworks.AppKit - darwin.apple_sdk_11_0.frameworks.Cocoa - ]; - - env = { - SOURCE_LEVEL = "1.8"; - TARGET_LEVEL = "1.8"; - TARGET_RT_JAR = "null.jar"; - # error: incompatible pointer to integer conversion returning 'GLhandleARB' (aka 'void *') from a function with result type 'jlong' (aka 'long long') - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion"; - }; - - buildPhase = '' - runHook preBuild - - for f in gluegen jogl; do - pushd $f/make - ant - popd - done - - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/share/java - cp -v $NIX_BUILD_TOP/gluegen/build/gluegen-rt{,-natives-linux-*}.jar $out/share/java/ - cp -v $NIX_BUILD_TOP/jogl/build/jar/jogl-all{,-natives-linux-*}.jar $out/share/java/ - cp -v $NIX_BUILD_TOP/jogl/build/nativewindow/nativewindow{,-awt,-natives-linux-*,-os-drm,-os-x11}.jar $out/share/java/ - - runHook postInstall - ''; - - meta = with lib; { - description = "Java libraries for 3D Graphics, Multimedia and Processing"; - homepage = "https://jogamp.org/"; - license = licenses.bsd3; - platforms = platforms.all; - }; -} diff --git a/pkgs/by-name/jo/joshuto/package.nix b/pkgs/by-name/jo/joshuto/package.nix deleted file mode 100644 index 08f5429fbb5c..000000000000 --- a/pkgs/by-name/jo/joshuto/package.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "joshuto"; - version = "0.9.8"; - - src = fetchFromGitHub { - owner = "kamiyaa"; - repo = "joshuto"; - rev = "v${version}"; - hash = "sha256-8OvaL6HqsJjBAbksR4EpC/ZgvdBSKlB37PP77p3T3PY="; - }; - - cargoHash = "sha256-zGqOmebD7kZAsWunWSB2NFOSg0cu8aM1dyhEIQz1j4I="; - - nativeBuildInputs = [ installShellFiles ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Foundation - ]; - - postInstall = '' - installShellCompletion --cmd joshuto \ - --bash <($out/bin/joshuto completions bash) \ - --zsh <($out/bin/joshuto completions zsh) \ - --fish <($out/bin/joshuto completions fish) - ''; - - meta = with lib; { - description = "Ranger-like terminal file manager written in Rust"; - homepage = "https://github.com/kamiyaa/joshuto"; - changelog = "https://github.com/kamiyaa/joshuto/releases/tag/${src.rev}"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ figsoda totoroot xrelkd ]; - mainProgram = "joshuto"; - }; -} diff --git a/pkgs/by-name/jo/josm/package.nix b/pkgs/by-name/jo/josm/package.nix deleted file mode 100644 index 3eb732dd336a..000000000000 --- a/pkgs/by-name/jo/josm/package.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ lib, stdenv, fetchurl, fetchsvn, makeWrapper, unzip, jre, libXxf86vm -, extraJavaOpts ? "-Djosm.restart=true -Djava.net.useSystemProxies=true" -}: -let - pname = "josm"; - version = "19096"; - srcs = { - jar = fetchurl { - url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar"; - hash = "sha256-oX9B98yj9WmTLGVnDO8hOJ/rYFMTLiTaz1dWufD1wqg="; - }; - macosx = fetchurl { - url = "https://josm.openstreetmap.de/download/macosx/josm-macos-${version}-java21.zip"; - hash = "sha256-qOMSG2eAaMHCvJXYzG07Ngb6fR9MbFQI5+1xuxGbBVU="; - }; - pkg = fetchsvn { - url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested"; - rev = version; - sha256 = "sha256-L7P6FtqKLB4e+ezPzXePM33qj5esNoRlTFXi0/GhdsA="; - }; - }; - - # Needed as of version 19017. - baseJavaOpts = toString [ - "--add-exports=java.base/sun.security.action=ALL-UNNAMED" - "--add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED" - "--add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED" - ]; -in -stdenv.mkDerivation rec { - inherit pname version; - - dontUnpack = true; - - nativeBuildInputs = [ makeWrapper ]; - buildInputs = lib.optionals (!stdenv.isDarwin) [ jre ]; - - installPhase = - if stdenv.isDarwin then '' - mkdir -p $out/Applications - ${unzip}/bin/unzip ${srcs.macosx} 'JOSM.app/*' -d $out/Applications - '' else '' - install -Dm644 ${srcs.jar} $out/share/josm/josm.jar - cp -R ${srcs.pkg}/usr/share $out - - # Add libXxf86vm to path because it is needed by at least Kendzi3D plugin - makeWrapper ${jre}/bin/java $out/bin/josm \ - --add-flags "${baseJavaOpts} ${extraJavaOpts} -jar $out/share/josm/josm.jar" \ - --prefix LD_LIBRARY_PATH ":" '${libXxf86vm}/lib' - ''; - - meta = with lib; { - description = "Extensible editor for OpenStreetMap"; - homepage = "https://josm.openstreetmap.de/"; - changelog = "https://josm.openstreetmap.de/wiki/Changelog"; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ rycee sikmir ]; - platforms = platforms.all; - mainProgram = "josm"; - }; -} diff --git a/pkgs/by-name/jo/joularjx/package.nix b/pkgs/by-name/jo/joularjx/package.nix deleted file mode 100644 index df0d66290a8d..000000000000 --- a/pkgs/by-name/jo/joularjx/package.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - fetchFromGitHub, - maven, - makeWrapper, - jre, - lib, -}: - -maven.buildMavenPackage rec { - pname = "joularjx"; - version = "2.9.0"; - - src = fetchFromGitHub { - owner = "joular"; - repo = pname; - rev = version; - hash = "sha256-/Drv6PVMmz3QNEu8zMokTKBZeYWMjuKczu18qKqNAx4="; - }; - - mvnHash = "sha256-TKHo0hZBjgBeUWYvbjF3MZ6Egp3qB2LGwWfrGrcVkOk="; - - mvnParameters = "-DskipTests"; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - runHook preInstall - mkdir -p $out/share - cp target/joularjx-${version}.jar $out/share/joularjx.jar - makeWrapper ${jre}/bin/java $out/bin/joularjx \ - --add-flags "-javaagent:$out/share/joularjx.jar" - runHook postInstall - ''; - - meta = with lib; { - description = "Java-based agent for software power monitoring at the source code level"; - homepage = "https://github.com/joular/joularjx"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ julienmalka ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/by-name/jo/journalwatch/package.nix b/pkgs/by-name/jo/journalwatch/package.nix deleted file mode 100644 index 550b8917776b..000000000000 --- a/pkgs/by-name/jo/journalwatch/package.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - python3Packages, - fetchFromGitHub, -}: - -python3Packages.buildPythonApplication rec { - pname = "journalwatch"; - version = "1.1.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "The-Compiler"; - repo = "journalwatch"; - rev = "refs/tags/v${version}"; - hash = "sha512-60+ewzOIox2wsQFXMAgD7XN+zvPA1ScPz6V4MB5taVDhqCxUTMVOxodf+4AMhxtNQloXZ3ye7/0bjh1NPDjxQg=="; - }; - - # can be removed post 1.1.0 - postPatch = '' - substituteInPlace test_journalwatch.py \ - --replace-fail "U Thu Jan 1 00:00:00 1970 prio foo [1337]" "U Thu Jan 1 00:00:00 1970 pprio foo [1337]" - ''; - - build-system = with python3Packages; [ setuptools ]; - - dependencies = with python3Packages; [ systemd ]; - - nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; - - pythonImportsCheck = [ "journalwatch" ]; - - meta = with lib; { - description = "Tool to find error messages in the systemd journal"; - homepage = "https://github.com/The-Compiler/journalwatch"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ florianjacob ]; - mainProgram = "journalwatch"; - }; -} diff --git a/pkgs/by-name/jo/joycond-cemuhook/package.nix b/pkgs/by-name/jo/joycond-cemuhook/package.nix deleted file mode 100644 index 9913aaf8af94..000000000000 --- a/pkgs/by-name/jo/joycond-cemuhook/package.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub}: - -python3Packages.buildPythonApplication { - pname = "joycond-cemuhook"; - pyproject = true; - version = "unstable-2023-08-09"; - - src = fetchFromGitHub { - owner = "joaorb64"; - repo = "joycond-cemuhook"; - rev = "3c0e07374ff431a0f8ae70dbb0b5a62fb3de06ee"; - hash = "sha256-K24CEmYWhgkvVX4geg2bylH8TSvHIpsWjsPwY5BpquI="; - }; - - nativeBuildInputs = with python3Packages; [ - setuptools - setuptools-git-versioning - setuptools-git - ]; - - propagatedBuildInputs = with python3Packages; [ - dbus-python - evdev - pyudev - termcolor - ]; - - meta = with lib; { - homepage = "https://github.com/joaorb64/joycond-cemuhook"; - description = "Support for cemuhook's UDP protocol for joycond devices"; - license = licenses.mit; - maintainers = [ maintainers.noodlez1232 ]; - mainProgram = "joycond-cemuhook"; - platforms = platforms.linux; - }; -} |