remarkjs: remove after being marked broken for over 18 months
It was marked in commit 3f241c172c
by Nikolay Amiantov on 2016-06-11 (commited on 2016-06-11)
This commit is contained in:
parent
6da0d2b7a6
commit
8ee01d4d72
@ -1,74 +0,0 @@
|
||||
{ stdenv, lib, fetchFromGitHub, nodejs, pkgs }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
# highlight.js is a git submodule of remark
|
||||
highlightjs = fetchFromGitHub {
|
||||
owner = "isagalaev";
|
||||
repo = "highlight.js";
|
||||
rev = "10b9500b67983f0a9c42d8ce8bf8e8c469f7078c";
|
||||
sha256 = "1yy8by15kfklw8lwh17z1swpj067q0skjjih12yawbryraig41m0";
|
||||
};
|
||||
|
||||
nodePackages = import ./nodepkgs.nix {
|
||||
inherit pkgs;
|
||||
inherit (stdenv.hostPlatform) system;
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "remarkjs";
|
||||
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gnab";
|
||||
repo = "remark";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zhHuW4pBqXQEBlSxuyvHKh+ftyIdcqpYgIZZHArUtns=";
|
||||
};
|
||||
|
||||
buildInputs = [ nodejs ] ++ (with nodePackages; [
|
||||
marked
|
||||
browserify
|
||||
uglify-js
|
||||
less
|
||||
mocha
|
||||
#mocha-phantomjs
|
||||
should
|
||||
sinon
|
||||
jshint
|
||||
shelljs
|
||||
]);
|
||||
|
||||
configurePhase = ''
|
||||
mkdir -p node_modules/.bin
|
||||
${concatStrings (map (dep: ''
|
||||
test -d ${dep}/bin && (for b in $(ls ${dep}/bin); do
|
||||
ln -sv -t node_modules/.bin ${dep}/bin/$b
|
||||
done)
|
||||
'') buildInputs)}
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
substituteInPlace make.js --replace "target.test();" ""
|
||||
substituteInPlace make.js --replace vendor/highlight.js ${highlightjs}
|
||||
node make all
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
cp -v out/* $out/lib/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://remarkjs.com";
|
||||
description = "A simple, in-browser, markdown-driven slideshow tool";
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
broken = true;
|
||||
};
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
node2nix --nodejs-10 -i pkgs.json -c nodepkgs.nix -e ../../node-packages/node-env.nix
|
3722
pkgs/development/web/remarkjs/node-packages.nix
generated
3722
pkgs/development/web/remarkjs/node-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@
|
||||
# This file has been generated by node2nix 1.9.0. Do not edit!
|
||||
|
||||
{pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
|
||||
|
||||
let
|
||||
nodeEnv = import ../../node-packages/node-env.nix {
|
||||
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
|
||||
inherit pkgs nodejs;
|
||||
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
|
||||
};
|
||||
in
|
||||
import ./node-packages.nix {
|
||||
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
[
|
||||
"marked"
|
||||
, "browserify"
|
||||
, "uglify-js"
|
||||
, "less"
|
||||
, "mocha"
|
||||
, "mocha-phantomjs"
|
||||
, "should"
|
||||
, "sinon"
|
||||
, "jshint"
|
||||
, "shelljs"
|
||||
]
|
@ -9860,8 +9860,6 @@ with pkgs;
|
||||
|
||||
relic = callPackage ../development/tools/relic { };
|
||||
|
||||
remarkjs = callPackage ../development/web/remarkjs { };
|
||||
|
||||
alarm-clock-applet = callPackage ../tools/misc/alarm-clock-applet { };
|
||||
|
||||
remind = callPackage ../tools/misc/remind { };
|
||||
|
Loading…
Reference in New Issue
Block a user