]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame_incremental - pkgs/webapps/taskwarrior-web/default.nix
Move Ludivine website to pkgs
[perso/Immae/Config/Nix.git] / pkgs / webapps / taskwarrior-web / default.nix
... / ...
CommitLineData
1{ ruby_2_6, bundlerEnv, mylibs, stdenv }:
2let
3 gems = bundlerEnv {
4 name = "taskwarrior-web-env";
5 ruby = ruby_2_6;
6 pname = "taskwarrior-web";
7 gemset = ./gemset.nix;
8 gemdir = package.out;
9 groups = [ "default" "local" "development" ];
10 };
11 package = stdenv.mkDerivation (mylibs.fetchedGithub ./taskwarrior-web.json // rec {
12 phases = [ "unpackPhase" "patchPhase" "installPhase" ];
13 patches = [ ./fixes.patch ./thin.patch ];
14 installPhase = ''
15 cp -a . $out
16 cp ${./Gemfile.lock} $out/Gemfile.lock
17 '';
18 passthru = {
19 inherit gems;
20 };
21 });
22in package