Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
codimd: js-sequence-diagrams: use git source rather than the NPM tarball
Browse files Browse the repository at this point in the history
It seems as NPM just removed the tarballs of the unpublished package,
hence `codimd` isn't buildable. The sources for the package are
available on github[1] and fix the build.

For further information about the `js-sequence-diagrams` workarounds,
please refer to 5feec42.

[1] https://github.com/Moeditor/js-sequence-diagrams
  • Loading branch information
Ma27 committed Apr 12, 2019
1 parent bc5c2f4 commit c68bc18
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/servers/web-apps/codimd/js-sequence-diagrams/default.nix
Expand Up @@ -11,9 +11,11 @@ in
name = "js-sequence-diagrams";
packageName = "js-sequence-diagrams";
version = "1000000.0.6";
src = pkgs.fetchurl {
url = "https://registry.npmjs.org/js-sequence-diagrams/-/js-sequence-diagrams-1000000.0.6.tgz";
sha1 = "e95db01420479c5ccbc12046af1da42fde649e5c";
src = pkgs.fetchFromGitHub {
owner = "Moeditor";
repo = "js-sequence-diagrams";
rev = "4d46bc6229a3f93c9bcad561cab4924034f5456d";
sha256 = "09ri5cx5yq87p3nla06gs0xb2gifmsy0xhs0s5524xr4ya6pnivv";
};
dependencies = [ ];
dontNpmInstall = true;
Expand Down

0 comments on commit c68bc18

Please sign in to comment.