diff options
Diffstat (limited to 'pkgs/webapps/surfer')
-rw-r--r-- | pkgs/webapps/surfer/Surfer.json | 14 | ||||
-rw-r--r-- | pkgs/webapps/surfer/default.nix | 4 | ||||
-rw-r--r-- | pkgs/webapps/surfer/node-packages.nix | 4 |
3 files changed, 4 insertions, 18 deletions
diff --git a/pkgs/webapps/surfer/Surfer.json b/pkgs/webapps/surfer/Surfer.json deleted file mode 100644 index 30a63ba..0000000 --- a/pkgs/webapps/surfer/Surfer.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "tag": "4761773-master", | ||
3 | "meta": { | ||
4 | "name": "Surfer", | ||
5 | "url": "https://git.immae.eu/perso/Immae/Projets/Nodejs/Surfer.git", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "git": { | ||
9 | "url": "https://git.immae.eu/perso/Immae/Projets/Nodejs/Surfer.git", | ||
10 | "rev": "476177380452c9c7c5b1624805feedc824c5995e", | ||
11 | "sha256": "0ibg7hbilvlq7dw4ayawdcjhfl2nkgzfc4ra6n73y7hjasxrnm07", | ||
12 | "fetchSubmodules": true | ||
13 | } | ||
14 | } | ||
diff --git a/pkgs/webapps/surfer/default.nix b/pkgs/webapps/surfer/default.nix index cf2a7a3..9a04da5 100644 --- a/pkgs/webapps/surfer/default.nix +++ b/pkgs/webapps/surfer/default.nix | |||
@@ -1,8 +1,8 @@ | |||
1 | { callPackage, mylibs }: | 1 | { callPackage, mylibs, sources }: |
2 | # built using node2nix -l package-lock.json | 2 | # built using node2nix -l package-lock.json |
3 | # and changing "./." to "src" | 3 | # and changing "./." to "src" |
4 | (callPackage ./node-packages.nix { | 4 | (callPackage ./node-packages.nix { |
5 | inherit (mylibs) fetchedGit; | 5 | src = sources.webapps-surfer; |
6 | nodeEnv = callPackage mylibs.nodeEnv {}; | 6 | nodeEnv = callPackage mylibs.nodeEnv {}; |
7 | }).package.overrideAttrs(old: { | 7 | }).package.overrideAttrs(old: { |
8 | postInstall = '' | 8 | postInstall = '' |
diff --git a/pkgs/webapps/surfer/node-packages.nix b/pkgs/webapps/surfer/node-packages.nix index e1b1a8a..a1fb5ba 100644 --- a/pkgs/webapps/surfer/node-packages.nix +++ b/pkgs/webapps/surfer/node-packages.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | # This file has been generated by node2nix 1.8.0. Do not edit! | 1 | # This file has been generated by node2nix 1.8.0. Do not edit! |
2 | 2 | ||
3 | {nodeEnv, fetchedGit, fetchurl, fetchgit, globalBuildInputs ? []}: | 3 | {nodeEnv, src, fetchurl, fetchgit, globalBuildInputs ? []}: |
4 | 4 | ||
5 | let | 5 | let |
6 | sources = { | 6 | sources = { |
@@ -2061,7 +2061,7 @@ let | |||
2061 | name = "cloudron-surfer"; | 2061 | name = "cloudron-surfer"; |
2062 | packageName = "cloudron-surfer"; | 2062 | packageName = "cloudron-surfer"; |
2063 | version = "5.10.0"; | 2063 | version = "5.10.0"; |
2064 | src = (fetchedGit ./Surfer.json).src; | 2064 | inherit src; |
2065 | dependencies = [ | 2065 | dependencies = [ |
2066 | (sources."accepts-1.3.4" // { | 2066 | (sources."accepts-1.3.4" // { |
2067 | dependencies = [ | 2067 | dependencies = [ |