mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
jugglinglab: init at 1.2
This commit is contained in:
parent
98a723e6b3
commit
8f475b0470
@ -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";
|
||||
|
30
pkgs/tools/misc/jugglinglab/default.nix
Normal file
30
pkgs/tools/misc/jugglinglab/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user