From 24fd1fe6c62b7a9fc347794fde043285da272f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 13 Dec 2018 21:25:24 +0100 Subject: Initial commit published for NUR --- overlays/kanboard/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 overlays/kanboard/default.nix (limited to 'overlays/kanboard') diff --git a/overlays/kanboard/default.nix b/overlays/kanboard/default.nix new file mode 100644 index 00000000..81b39fec --- /dev/null +++ b/overlays/kanboard/default.nix @@ -0,0 +1,18 @@ +self: super: { + 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 + ''; + }); +} -- cgit v1.2.3