Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jugglinglab: init at 1.2 #87875

Merged
merged 2 commits into from
May 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8301,6 +8301,12 @@
githubId = 54934;
name = "Wout Mertens";
};
wnklmnn = {
email = "pascal@wnklmnn.de";
github = "wnklmnn";
githubId = 9423014;
name = "Pascal Winkelmann";
};
woffs = {
email = "github@woffs.de";
github = "woffs";
Expand Down
30 changes: 30 additions & 0 deletions pkgs/tools/misc/jugglinglab/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, jre, makeWrapper, ant, jdk }:
stdenv.mkDerivation rec {
version = "1.2.1";
name = "jugglinglab";
src = fetchFromGitHub {
owner = "jkboyce";
repo = "jugglinglab";
rev = "1908012682d8c39a9b92248a20f285455104c510"; # v1.2.1 does not have a tag on Github
sha256 = "0dvcyjwynvapqbjchrln59vdskrm3w6kh0knxcn4bx61vcz3171z";
};
buildInputs = [ jre ];
nativeBuildInputs = [ ant jdk makeWrapper ];
buildPhase = "ant";

installPhase = ''
mkdir -p "$out/bin"
mkdir -p "$out/lib"
cp bin/JugglingLab.jar $out/lib/

makeWrapper ${jre}/bin/java $out/bin/jugglinglab \
--add-flags "-jar $out/lib/JugglingLab.jar"
'';

meta = with stdenv.lib; {
description = "A program to visualize different juggling pattens";
license = licenses.gpl2;
maintainers = with maintainers; [ wnklmnn ];

This comment was marked as resolved.

platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4468,6 +4468,8 @@ in

jucipp = callPackage ../applications/editors/jucipp { };

jugglinglab = callPackage ../tools/misc/jugglinglab { };

jupp = callPackage ../applications/editors/jupp { };

jupyter = callPackage ../applications/editors/jupyter { };
Expand Down