summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/bruellwuerfel
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-29 15:24:39 +0100
committertv <tv@krebsco.de>2022-12-29 15:24:39 +0100
commit2a63d78060295a4a59b2d90c48480625a592da71 (patch)
tree29680b14a085804a4b12513a854c31310eb68158 /lass/5pkgs/bruellwuerfel
parent0a3e56ddf7f267cac008ab5421d796816d0ed2fa (diff)
parentcc29be2d206e1093e036ef619c08e6d536257760 (diff)
Merge remote-tracking branch 'kmein/master'
Diffstat (limited to 'lass/5pkgs/bruellwuerfel')
-rw-r--r--lass/5pkgs/bruellwuerfel/default.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/lass/5pkgs/bruellwuerfel/default.nix b/lass/5pkgs/bruellwuerfel/default.nix
deleted file mode 100644
index cb8f08fa8..000000000
--- a/lass/5pkgs/bruellwuerfel/default.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ yarn2nix-moretea, fetchFromGitHub, nodePackages, nodejs }: let
- #src = ~/src/bruellwuerfel;
- src = fetchFromGitHub {
- owner = "krebs";
- repo = "bruellwuerfel";
- rev = "57e20e630f732ce4e15b495ec5f9bf72a121b959";
- sha256 = "08zwwl24sq21r497a03lqpy2x10az8frrsh6d38xm92snd1yf85b";
- };
-
-in yarn2nix-moretea.mkYarnModules rec {
- pname = "bruellwuerfel";
- version = "1.0";
- name = "${pname}-${version}";
- packageJSON = "${src}/package.json";
- yarnLock = "${src}/yarn.lock";
- postBuild = ''
- cp -r ${src}/{src,tsconfig.json} $out/
- cd $out
- ${nodePackages.typescript}/bin/tsc || :
- mkdir -p $out/bin
- echo '#!/bin/sh' > $out/bin/bruellwuerfel
- echo "export NODE_PATH=$out/dist" >> $out/bin/bruellwuerfel
- echo "${nodejs}/bin/node $out/dist/index.js" >> $out/bin/bruellwuerfel
- chmod +x $out/bin/bruellwuerfel
- '';
-}