]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - overlays/kanboard/default.nix
Upgrade to nixos-unstable
[perso/Immae/Config/Nix.git] / overlays / kanboard / default.nix
CommitLineData
d21de7a0 1self: super: {
3d409f87 2 kanboard = { kanboard_config ? "/etc/kanboard/config.php" }:
d21de7a0
IB
3 super.kanboard.overrideAttrs(old: rec {
4 name = "kanboard-${version}";
5 version = "1.2.9";
6 src = self.fetchFromGitHub {
7 owner = "kanboard";
8 repo = "kanboard";
9 rev = "c4152316b14936556edf3bcc4d11f16ba31b8ae7";
9e56c652 10 sha256 = "1hdr95cpxgdzrzhffs63gdl0g7122ma2zg8bkqwp42p5xphx0xan";
d21de7a0
IB
11 };
12 installPhase = ''
13 cp -a . $out
14 ln -s ${kanboard_config} $out/config.php
15 mv $out/data $out/dataold
d21de7a0
IB
16 '';
17 });
18}