Skip to content

Commit

Permalink
Merge branch 'tigerjython' of https://github.com/rcmlz/nixpkgs into t…
Browse files Browse the repository at this point in the history
…igerjython
  • Loading branch information
rcmlz committed Jun 24, 2024
2 parents bf2a711 + 110d9e1 commit 5604056
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkgs/by-name/ti/tigerjython/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ let
icon = fetchurl {
url = "https://raw.githubusercontent.com/tigerjython/tjinstall/611c56d4e765731883656a5c4b71209d72b5ab74/tjlogo64.png";
hash = "sha256-tw3uDWLtcMHYmN6JGsEvVKLgI09v5DF27V2+OF9Z5tA=";
url = "https://raw.githubusercontent.com/tigerjython/tjinstall/611c56d4e765731883656a5c4b71209d72b5ab74/tjlogo64.png";
hash = "sha256-tw3uDWLtcMHYmN6JGsEvVKLgI09v5DF27V2+OF9Z5tA=";
};
in
stdenv.mkDerivation (finalAttrs: {
Expand All @@ -21,13 +23,16 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "http://web.archive.org/web/20240119124245/https://tigerjython.ch/user/pages/download/TigerJython.tar.gz";
hash = "sha256-PdoAOjr19aLmXYrLtMCq/tZ2Fqq7pINTuhFyMMiC0yM=";
url = "http://web.archive.org/web/20240119124245/https://tigerjython.ch/user/pages/download/TigerJython.tar.gz";
hash = "sha256-PdoAOjr19aLmXYrLtMCq/tZ2Fqq7pINTuhFyMMiC0yM=";
};

nativeBuildInputs = [
makeWrapper
copyDesktopItems
];


desktopItems = [ (makeDesktopItem {
name = "TigerJython";
exec = "tigerjython";
Expand All @@ -46,11 +51,16 @@ stdenv.mkDerivation (finalAttrs: {
export JAR=$out/share/java/tigerjython2.jar
export CUSTOM_LIBS=$out/share/java
mkdir -p $out/bin
mkdir -p $CUSTOM_LIBS
install -Dm444 bin/tigerjython2.jar $JAR
install -Dm444 bin/tigerjython2.jar $JAR
cp bin/Lib/* $CUSTOM_LIBS/
cp -r bin/TestSamples $CUSTOM_LIBS/
cp bin/Lib/* $CUSTOM_LIBS/
cp -r bin/TestSamples $CUSTOM_LIBS/
Expand All @@ -61,6 +71,7 @@ stdenv.mkDerivation (finalAttrs: {
--add-flags "-Xmx512M" \
--set _JAVA_OPTIONS '-Dawt.useSystemAAFontSettings=lcd'
runHook postInstall
'';

Expand All @@ -75,15 +86,23 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://www.tigerjython.com";
downloadPage = "https://tigerjython.ch/en/products/download";
description = "Simple development environment for programming in Python";
downloadPage = "https://tigerjython.ch/en/products/download";
description = "Simple development environment for programming in Python";
longDescription = ''
Designing, coding, and amazing. TigerJython offers everything you need
to go from Python programming beginner to professional.
You will find a wide variety of tutorials and can get started right away
in programming environments specially developed for you.
Designing, coding, and amazing. TigerJython offers everything you need
to go from Python programming beginner to professional.
You will find a wide variety of tutorials and can get started right away
in programming environments specially developed for you.
'';
license = licenses.unfreeRedistributable;
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ rcmlz ];
platforms = platforms.all;
platforms = platforms.all;
mainProgram = "tigerjython";
};
})

0 comments on commit 5604056

Please sign in to comment.