jugglinglab: init at 1.2

This commit is contained in:
Pascal Winkelmann 2020-05-15 10:42:45 +02:00
parent 98a723e6b3
commit 8f475b0470
3 changed files with 38 additions and 0 deletions

View File

@ -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";

View File

@ -0,0 +1,30 @@
{ stdenv, fetchgit, jre, makeWrapper, ant, jdk }:
stdenv.mkDerivation rec {
major= "1";
minor = "2";
version = "${major}.${minor}";
name = "jugglinglab";
src = fetchgit {
url = "https://github.com/jkboyce/jugglinglab";
rev = "v${major}.${minor}";
sha256 = "1p62kb9hfch7pi4way18c5mgky4xbxcrfgrw0hd25sd6cpr88z92";
};
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 ];
};
}

View File

@ -7204,6 +7204,8 @@ in
umlet = callPackage ../tools/misc/umlet { };
jugglinglab = callPackage ../tools/misc/jugglinglab { };
unetbootin = callPackage ../tools/cd-dvd/unetbootin { };
unfs3 = callPackage ../servers/unfs3 { };