lol

geogebra 6 : init at 6-0-598-0 (#95422)

* geogebra 6 : init at 6-0-598-0

since geogebra was ported from java to electron, this is a repacke;
wont want to delete geogebra 5, no darwin package for 6

ran nixpkgs-fmt over the file to cleanly reformat the spacings

Update pkgs/top-level/all-packages.nix

remove a trailing space

Co-authored-by: Tom Smeets <Tom.TSmeets@Gmail.com>

Update pkgs/applications/science/math/geogebra/geogebra_6.nix

Co-authored-by: Tom Smeets <Tom.TSmeets@Gmail.com>

Applied a sugestion for the formating of the lines

fixed a mistake, where the wrong name attribute was used

removed an unnecassary chmod statement

added a downlod link to archive.org

moved geogebra_6.nix to geogebra6.nix

removed unnecesary build inputs statement

* renamed to geogebra6

authored by

voidIess
Tom Smeets
and committed by
GitHub
3cc44ba0 0c86b65e

+55
+8
maintainers/maintainer-list.nix
··· 8737 8737 githubId = 13259982; 8738 8738 name = "Vanessa McHale"; 8739 8739 }; 8740 + 8741 + voidless = { 8742 + email = "julius.schmitt@yahoo.de"; 8743 + github = "voidIess"; 8744 + githubId = 45292658; 8745 + name = "Julius Schmitt"; 8746 + }; 8747 + 8740 8748 volhovm = { 8741 8749 email = "volhovm.cs@gmail.com"; 8742 8750 github = "volhovm";
+46
pkgs/applications/science/math/geogebra/geogebra6.nix
··· 1 + { stdenv, unzip, fetchurl, electron_6, makeWrapper, geogebra }: 2 + stdenv.mkDerivation rec{ 3 + 4 + name = "geogebra-${version}"; 5 + version = "6-0-598-0"; 6 + 7 + src = fetchurl { 8 + urls = [ 9 + "https://download.geogebra.org/installers/6.0/GeoGebra-Linux64-Portable-${version}.zip" 10 + "https://web.archive.org/web/20200815132422/https://download.geogebra.org/installers/6.0/GeoGebra-Linux64-Portable-${version}.zip" 11 + ]; 12 + sha256 = "1klazsgrpmfd6vjzpdcfl5x8qhhbh6vx2g6id4vg16ac4sjdrb0c"; 13 + }; 14 + 15 + dontConfigure = true; 16 + dontBuild = true; 17 + 18 + nativeBuildInputs = [ 19 + unzip 20 + makeWrapper 21 + ]; 22 + 23 + unpackPhase = '' 24 + unzip $src 25 + ''; 26 + 27 + installPhase = '' 28 + mkdir -p $out/libexec/geogebra/ $out/bin 29 + cp -r GeoGebra-linux-x64/{resources,locales} "$out/" 30 + makeWrapper ${stdenv.lib.getBin electron_6}/bin/electron $out/bin/geogebra --add-flags "$out/resources/app" 31 + install -Dm644 "${desktopItem}/share/applications/"* \ 32 + -t $out/share/applications/ 33 + 34 + install -Dm644 "${srcIcon}" \ 35 + "$out/share/icons/hicolor/scalable/apps/geogebra.svg" 36 + ''; 37 + 38 + srcIcon = geogebra.srcIcon; 39 + 40 + desktopItem = geogebra.desktopItem; 41 + meta = with stdenv.lib; geogebra.meta // { 42 + license = licenses.geogebra; 43 + maintainers = with maintainers; [ voidless ]; 44 + platforms = platforms.linux; 45 + }; 46 + }
+1
pkgs/top-level/all-packages.nix
··· 25888 25888 gap-full = lowPrio (gap.override { packageSet = "full"; }); 25889 25889 25890 25890 geogebra = callPackage ../applications/science/math/geogebra { }; 25891 + geogebra6 = callPackage ../applications/science/math/geogebra/geogebra6.nix { }; 25891 25892 25892 25893 maxima = callPackage ../applications/science/math/maxima { 25893 25894 ecl = null;