diff options
Diffstat (limited to 'flakes/mypackages/pkgs/webapps/rompr/default.nix')
-rw-r--r-- | flakes/mypackages/pkgs/webapps/rompr/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/flakes/mypackages/pkgs/webapps/rompr/default.nix b/flakes/mypackages/pkgs/webapps/rompr/default.nix new file mode 100644 index 0000000..5b3e7e0 --- /dev/null +++ b/flakes/mypackages/pkgs/webapps/rompr/default.nix | |||
@@ -0,0 +1,17 @@ | |||
1 | { varDir ? "/var/lib/rompr", stdenv, fetchFromGitHub }: | ||
2 | stdenv.mkDerivation ({ | ||
3 | pname = "rompr"; | ||
4 | version = "1.24"; | ||
5 | src = fetchFromGitHub { | ||
6 | owner = "fatg3erman"; | ||
7 | repo = "RompR"; | ||
8 | rev = "0d8f597027ac71b320963fe3f33f461a136312ad"; | ||
9 | sha256 = "13p3c4whhmvz1vvh9fva5gdx4xji288k108hjdi8b1yn506lzix2"; | ||
10 | fetchSubmodules = true; | ||
11 | }; | ||
12 | installPhase = '' | ||
13 | cp -a . $out | ||
14 | ln -sf ${varDir}/prefs $out/prefs | ||
15 | ln -sf ${varDir}/albumart $out/albumart | ||
16 | ''; | ||
17 | }) | ||