Merge pull request #161081 from FliegendeWurst/phantomjs-drop

authored by Artturi and committed by GitHub 69215ad9 da636329

+2 -73
-71
pkgs/development/tools/phantomjs/default.nix
··· 1 - { stdenv, lib, fetchurl, freetype, fontconfig, openssl, unzip }: 2 - 3 - let 4 - platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; 5 - in 6 - 7 - stdenv.mkDerivation rec { 8 - pname = "phantomjs"; 9 - version = "1.9.8"; 10 - 11 - # I chose to use the binary build for now. 12 - # The source version is quite nasty to compile 13 - # because it has bundled a lot of external libraries (like QT and Webkit) 14 - # and no easy/nice way to use the system versions of these 15 - 16 - src = if stdenv.hostPlatform.system == "i686-linux" then 17 - fetchurl { 18 - url = "https://bitbucket.org/ariya/phantomjs/downloads/${pname}-${version}-linux-i686.tar.bz2"; 19 - sha256 = "11fzmssz9pqf3arh4f36w06sl2nyz8l9h8iyxyd7w5aqnq5la0j1"; 20 - } 21 - else 22 - if stdenv.hostPlatform.system == "x86_64-linux" then 23 - fetchurl { 24 - url = "https://bitbucket.org/ariya/phantomjs/downloads/${pname}-${version}-linux-x86_64.tar.bz2"; 25 - sha256 = "0fhnqxxsxhy125fmif1lwgnlhfx908spy7fx9mng4w72320n5nd1"; 26 - } 27 - else # x86_64-darwin 28 - fetchurl { 29 - url = "https://bitbucket.org/ariya/phantomjs/downloads/${pname}-${version}-macosx.zip"; 30 - sha256 = "0j0aq8dgzmb210xdrh0v3d4nblskl3zsckl8bzf1a603wcx085cg"; 31 - }; 32 - 33 - nativeBuildInputs = lib.optional stdenv.isDarwin unzip; 34 - 35 - buildPhase = lib.optionalString (!stdenv.isDarwin) '' 36 - patchelf \ 37 - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 38 - --set-rpath "${lib.makeLibraryPath [ freetype fontconfig stdenv.cc.cc stdenv.cc.cc openssl ]}" \ 39 - bin/phantomjs 40 - ''; 41 - 42 - dontPatchELF = true; 43 - dontStrip = true; 44 - 45 - installPhase = '' 46 - mkdir -p $out/share/doc/phantomjs 47 - cp -a bin $out 48 - cp -a ChangeLog examples LICENSE.BSD README.md third-party.txt $out/share/doc/phantomjs 49 - ''; 50 - 51 - meta = { 52 - description = "Headless WebKit with JavaScript API"; 53 - longDescription = '' 54 - PhantomJS is a headless WebKit with JavaScript API. 55 - It has fast and native support for various web standards: 56 - DOM handling, CSS selector, JSON, Canvas, and SVG. 57 - 58 - PhantomJS is an optimal solution for: 59 - - Headless Website Testing 60 - - Screen Capture 61 - - Page Automation 62 - - Network Monitoring 63 - ''; 64 - 65 - homepage = "https://phantomjs.org/"; 66 - license = lib.licenses.bsd3; 67 - 68 - maintainers = [ lib.maintainers.bluescreen303 ]; 69 - inherit platforms; 70 - }; 71 - }
···
+2
pkgs/top-level/aliases.nix
··· 849 pgp-tools = signing-party; # Added 2017-03-26 850 pg_tmp = ephemeralpg; # Added 2018-01-16 851 852 # Obsolete PHP version aliases 853 php73 = throw "php73 has been dropped due to the lack of maintanence from upstream for future releases."; # Added 2021-06-03 854 php73Packages = php73; # Added 2021-06-03
··· 849 pgp-tools = signing-party; # Added 2017-03-26 850 pg_tmp = ephemeralpg; # Added 2018-01-16 851 852 + phantomjs = throw "phantomjs 1.9.8 has been dropped due to lack of maintenance and security issues"; # Added 2022-02-20 853 + 854 # Obsolete PHP version aliases 855 php73 = throw "php73 has been dropped due to the lack of maintanence from upstream for future releases."; # Added 2021-06-03 856 php73Packages = php73; # Added 2021-06-03
-2
pkgs/top-level/all-packages.nix
··· 15359 15360 pgcli = pkgs.python3Packages.pgcli; 15361 15362 - phantomjs = callPackage ../development/tools/phantomjs { }; 15363 - 15364 phantomjs2 = libsForQt514.callPackage ../development/tools/phantomjs2 { }; 15365 15366 picotool = callPackage ../development/tools/picotool { };
··· 15359 15360 pgcli = pkgs.python3Packages.pgcli; 15361 15362 phantomjs2 = libsForQt514.callPackage ../development/tools/phantomjs2 { }; 15363 15364 picotool = callPackage ../development/tools/picotool { };