blob: eeae8db626f99816acd906faff52ec802afef8e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
self: super: {
kanboard = { varDir ? "/var/lib/kanboard", kanboard_config ? "/etc/kanboard/config.php" }:
super.kanboard.overrideAttrs(old: rec {
name = "kanboard-${version}";
version = "1.2.9";
src = self.fetchFromGitHub {
owner = "kanboard";
repo = "kanboard";
rev = "c4152316b14936556edf3bcc4d11f16ba31b8ae7";
sha256 = "18bn9zhyfc5x28hwcxss7chdq7c8rshc8jxgai65i5l68iwhvjg7";
};
installPhase = ''
cp -a . $out
ln -s ${kanboard_config} $out/config.php
mv $out/data $out/dataold
ln -s ${varDir}/data $out/data
'';
});
}
|