summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2024-01-01 12:01:11 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-01-12 09:51:52 +0000
commitd0d320d4fb51e449cd8ddae091c6440cd7bc961f (patch)
tree4aeb9cbd05b4f09867ab53869aaa82bf6e512983
parentpharo: cleanup, add more library paths to wrapper (diff)
downloadnixpkgs-origin/backport-278043-to-release-23.11.tar.gz
pharo: 10.0.8 -> 10.0.9-de76067origin/backport-278043-to-release-23.11
(cherry picked from commit 9adac31d352adcd62d95a9a74c30259fa48075ee)
-rw-r--r--pkgs/by-name/ph/pharo/package.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/by-name/ph/pharo/package.nix b/pkgs/by-name/ph/pharo/package.nix
index dd505def7162..aaf9a2762ddd 100644
--- a/pkgs/by-name/ph/pharo/package.nix
+++ b/pkgs/by-name/ph/pharo/package.nix
@@ -2,7 +2,7 @@
, stdenv
, cairo
, cmake
-, fetchurl
+, fetchzip
, freetype
, libffi
, libgit2
@@ -12,18 +12,17 @@
, openssl
, pixman
, SDL2
-, unzip
}:
-stdenv.mkDerivation {
+stdenv.mkDerivation (finalAttrs: {
pname = "pharo";
- version = "10.0.8";
+ version = "10.0.9-de76067";
- src = fetchurl {
+ src = fetchzip {
# 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=";
+ url = "https://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/source/PharoVM-${finalAttrs.version}-Linux-x86_64-c-src.zip";
+ hash = "sha256-INeQGYCxBu7DvFmlDRXO0K2nhxcd9K9Xwp55iNdlvhk=";
};
strictDeps = true;
@@ -43,7 +42,6 @@ stdenv.mkDerivation {
nativeBuildInputs = [
cmake
makeBinaryWrapper
- unzip
];
cmakeFlags = [
@@ -94,4 +92,4 @@ stdenv.mkDerivation {
mainProgram = "pharo";
platforms = lib.platforms.linux;
};
-}
+})