aboutsummaryrefslogtreecommitdiff
path: root/pkgs/webapps
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/webapps')
-rw-r--r--pkgs/webapps/default.nix2
-rw-r--r--pkgs/webapps/rompr/default.nix8
-rw-r--r--pkgs/webapps/rompr/rompr.json15
3 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/webapps/default.nix b/pkgs/webapps/default.nix
index 7e04e8d..50c3543 100644
--- a/pkgs/webapps/default.nix
+++ b/pkgs/webapps/default.nix
@@ -23,4 +23,6 @@ rec {
23 (name: callPackage (./nextcloud/apps + "/${name}.nix") { buildApp = nextcloud.buildApp; }); 23 (name: callPackage (./nextcloud/apps + "/${name}.nix") { buildApp = nextcloud.buildApp; });
24 24
25 phpldapadmin = callPackage ./phpldapadmin {}; 25 phpldapadmin = callPackage ./phpldapadmin {};
26
27 rompr = callPackage ./rompr { inherit mylibs; };
26} 28}
diff --git a/pkgs/webapps/rompr/default.nix b/pkgs/webapps/rompr/default.nix
new file mode 100644
index 0000000..2accf00
--- /dev/null
+++ b/pkgs/webapps/rompr/default.nix
@@ -0,0 +1,8 @@
1{ varDir ? "/var/lib/rompr", stdenv, mylibs }:
2stdenv.mkDerivation (mylibs.fetchedGithub ./rompr.json // {
3 installPhase = ''
4 cp -a . $out
5 ln -sf ${varDir}/prefs $out/prefs
6 ln -sf ${varDir}/albumart $out/albumart
7 '';
8})
diff --git a/pkgs/webapps/rompr/rompr.json b/pkgs/webapps/rompr/rompr.json
new file mode 100644
index 0000000..778d915
--- /dev/null
+++ b/pkgs/webapps/rompr/rompr.json
@@ -0,0 +1,15 @@
1{
2 "tag": "1.24",
3 "meta": {
4 "name": "rompr",
5 "url": "https://github.com/fatg3erman/RompR",
6 "branch": "refs/tags/1.24"
7 },
8 "github": {
9 "owner": "fatg3erman",
10 "repo": "RompR",
11 "rev": "0d8f597027ac71b320963fe3f33f461a136312ad",
12 "sha256": "13p3c4whhmvz1vvh9fva5gdx4xji288k108hjdi8b1yn506lzix2",
13 "fetchSubmodules": true
14 }
15}