From 5dbe7ba1ad4a46c71cbf0e189de3f3436a530c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 6 May 2019 01:41:39 +0200 Subject: Move rompr to pkgs --- pkgs/webapps/default.nix | 2 ++ pkgs/webapps/rompr/default.nix | 8 ++++++++ pkgs/webapps/rompr/rompr.json | 15 +++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 pkgs/webapps/rompr/default.nix create mode 100644 pkgs/webapps/rompr/rompr.json (limited to 'pkgs/webapps') 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 { (name: callPackage (./nextcloud/apps + "/${name}.nix") { buildApp = nextcloud.buildApp; }); phpldapadmin = callPackage ./phpldapadmin {}; + + rompr = callPackage ./rompr { inherit mylibs; }; } 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 @@ +{ varDir ? "/var/lib/rompr", stdenv, mylibs }: +stdenv.mkDerivation (mylibs.fetchedGithub ./rompr.json // { + installPhase = '' + cp -a . $out + ln -sf ${varDir}/prefs $out/prefs + ln -sf ${varDir}/albumart $out/albumart + ''; +}) 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 @@ +{ + "tag": "1.24", + "meta": { + "name": "rompr", + "url": "https://github.com/fatg3erman/RompR", + "branch": "refs/tags/1.24" + }, + "github": { + "owner": "fatg3erman", + "repo": "RompR", + "rev": "0d8f597027ac71b320963fe3f33f461a136312ad", + "sha256": "13p3c4whhmvz1vvh9fva5gdx4xji288k108hjdi8b1yn506lzix2", + "fetchSubmodules": true + } +} -- cgit v1.2.3