Merge pull request #90212 from lovesegfault/rm-casper

casperjs: remove
This commit is contained in:
Samuel Dionne-Riel 2020-06-12 22:03:32 -04:00 committed by GitHub
commit c42545445a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 60 deletions

View File

@ -1,56 +0,0 @@
{ stdenv, fetchFromGitHub, fontsConf, phantomjs2, python, nodePackages }:
let version = "1.1.1";
in stdenv.mkDerivation {
pname = "casperjs";
inherit version;
src = fetchFromGitHub {
owner = "casperjs";
repo = "casperjs";
rev = version;
sha256 = "187prrm728xpn0nx9kxfxa4fwd7w25z78nsxfk6a6kl7c5656jpz";
};
buildInputs = [ phantomjs2 python nodePackages.eslint ];
patchPhase = ''
substituteInPlace bin/casperjs --replace "/usr/bin/env python" "${python}/bin/python" \
--replace "'phantomjs'" "'${phantomjs2}/bin/phantomjs'"
'';
dontBuild = true;
doCheck = true;
checkPhase = ''
export FONTCONFIG_FILE=${fontsConf}
make test
'';
installPhase = ''
cp -r . $out
'';
meta = {
description = ''
Navigation scripting & testing utility for PhantomJS and SlimerJS
'';
longDescription = ''
CasperJS is a navigation scripting & testing utility for PhantomJS and
SlimerJS (still experimental). It eases the process of defining a full
navigation scenario and provides useful high-level functions, methods &
syntactic sugar for doing common tasks.
'';
homepage = "http://casperjs.org";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.linux;
broken = true;
};
}

View File

@ -66,6 +66,7 @@ mapAliases ({
buildGo112Module = throw "buildGo112Module has been removed"; # added 2020-04-26
bundler_HEAD = bundler; # added 2015-11-15
cantarell_fonts = cantarell-fonts; # added 2018-03-03
casperjs = throw "casperjs has been removed, it was abandoned by upstream and broken.";
catfish = xfce.catfish; # added 2019-12-22
cgmanager = throw "cgmanager was deprecated by lxc and therefore removed from nixpkgs."; # added 2020-06-05
checkbashism = checkbashisms; # added 2016-08-16

View File

@ -10151,10 +10151,6 @@ in
cask = callPackage ../development/tools/cask { };
casperjs = callPackage ../development/tools/casperjs {
inherit (texFunctions) fontsConf;
};
cbrowser = callPackage ../development/tools/misc/cbrowser { };
ccache = callPackage ../development/tools/misc/ccache { };