Loading pkgs/development/pharo/default.nix→pkgs/by-name/ph/pharo/package.nix +40 −44 Original line number Diff line number Diff line { cairo { lib , stdenv , cairo , cmake , fetchurl , freetype , gcc , git , gnumake , lib , libffi , libgit2 , libpng Loading @@ -13,51 +11,38 @@ , makeBinaryWrapper , openssl , pixman , runtimeShell , SDL2 , stdenv , unzip }: let inherit (lib.strings) makeLibraryPath; pharo-sources = fetchurl { stdenv.mkDerivation { pname = "pharo"; version = "10.0.8"; src = fetchurl { # It is necessary to download from there instead of from the repository because that archive # also contains artifacts necessary for the bootstrapping. url = "https://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/source/PharoVM-10.0.8-b323c5f-Linux-x86_64-c-src.zip"; hash = "sha256-5IHymk6yl3pMLG3FeM4nqos0yLYMa3B2+hYW08Yo1V0="; }; library_path = makeLibraryPath [ libgit2 SDL2 cairo "$out" ]; in stdenv.mkDerivation { pname = "pharo"; version = "10.0.8"; src = pharo-sources; strictDeps = true; buildInputs = [ cairo freetype libffi libgit2 libpng libuuid openssl pixman SDL2 ]; nativeBuildInputs = [ cmake freetype gcc git gnumake libffi libuuid makeBinaryWrapper openssl pixman SDL2 unzip ]; Loading @@ -71,7 +56,17 @@ stdenv.mkDerivation { "-DBUILD_BUNDLE=OFF" ]; installPhase = '' installPhase = let library_path = lib.strings.makeLibraryPath [ "$out" cairo freetype libgit2 SDL2 ]; in '' runHook preInstall cmake --build . --target=install Loading @@ -85,17 +80,18 @@ stdenv.mkDerivation { runHook postInstall ''; meta = with lib; { meta = { description = "Clean and innovative Smalltalk-inspired environment"; homepage = "https://pharo.org"; license = licenses.mit; license = lib.licenses.mit; longDescription = '' Pharo's goal is to deliver a clean, innovative, free open-source Smalltalk-inspired environment. By providing a stable and small core system, excellent dev tools, and maintained releases, Pharo is an attractive platform to build and deploy mission critical applications. ''; maintainers = [ ]; maintainers = with lib.maintainers; [ ehmry ]; mainProgram = "pharo"; platforms = lib.platforms.linux; }; } pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -18179,8 +18179,6 @@ with pkgs; rappel = callPackage ../development/misc/rappel { }; pharo = callPackage ../development/pharo { }; protege-distribution = callPackage ../development/web/protege-distribution { }; publii = callPackage ../development/web/publii {}; Loading
pkgs/development/pharo/default.nix→pkgs/by-name/ph/pharo/package.nix +40 −44 Original line number Diff line number Diff line { cairo { lib , stdenv , cairo , cmake , fetchurl , freetype , gcc , git , gnumake , lib , libffi , libgit2 , libpng Loading @@ -13,51 +11,38 @@ , makeBinaryWrapper , openssl , pixman , runtimeShell , SDL2 , stdenv , unzip }: let inherit (lib.strings) makeLibraryPath; pharo-sources = fetchurl { stdenv.mkDerivation { pname = "pharo"; version = "10.0.8"; src = fetchurl { # It is necessary to download from there instead of from the repository because that archive # also contains artifacts necessary for the bootstrapping. url = "https://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/source/PharoVM-10.0.8-b323c5f-Linux-x86_64-c-src.zip"; hash = "sha256-5IHymk6yl3pMLG3FeM4nqos0yLYMa3B2+hYW08Yo1V0="; }; library_path = makeLibraryPath [ libgit2 SDL2 cairo "$out" ]; in stdenv.mkDerivation { pname = "pharo"; version = "10.0.8"; src = pharo-sources; strictDeps = true; buildInputs = [ cairo freetype libffi libgit2 libpng libuuid openssl pixman SDL2 ]; nativeBuildInputs = [ cmake freetype gcc git gnumake libffi libuuid makeBinaryWrapper openssl pixman SDL2 unzip ]; Loading @@ -71,7 +56,17 @@ stdenv.mkDerivation { "-DBUILD_BUNDLE=OFF" ]; installPhase = '' installPhase = let library_path = lib.strings.makeLibraryPath [ "$out" cairo freetype libgit2 SDL2 ]; in '' runHook preInstall cmake --build . --target=install Loading @@ -85,17 +80,18 @@ stdenv.mkDerivation { runHook postInstall ''; meta = with lib; { meta = { description = "Clean and innovative Smalltalk-inspired environment"; homepage = "https://pharo.org"; license = licenses.mit; license = lib.licenses.mit; longDescription = '' Pharo's goal is to deliver a clean, innovative, free open-source Smalltalk-inspired environment. By providing a stable and small core system, excellent dev tools, and maintained releases, Pharo is an attractive platform to build and deploy mission critical applications. ''; maintainers = [ ]; maintainers = with lib.maintainers; [ ehmry ]; mainProgram = "pharo"; platforms = lib.platforms.linux; }; }
pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -18179,8 +18179,6 @@ with pkgs; rappel = callPackage ../development/misc/rappel { }; pharo = callPackage ../development/pharo { }; protege-distribution = callPackage ../development/web/protege-distribution { }; publii = callPackage ../development/web/publii {};