+6
maintainers/maintainer-list.nix
+6
maintainers/maintainer-list.nix
···
21429
21429
githubId = 14829269;
21430
21430
name = "Ram Kromberg";
21431
21431
};
21432
+
ramonacat = {
21433
+
email = "ramona@luczkiewi.cz";
21434
+
github = "ramonacat";
21435
+
githubId = 303398;
21436
+
name = "ramona";
21437
+
};
21432
21438
rampoina = {
21433
21439
email = "rampoina@protonmail.com";
21434
21440
matrix = "@rampoina:matrix.org";
+16
-17
pkgs/by-name/li/lidarr/package.nix
+16
-17
pkgs/by-name/li/lidarr/package.nix
···
2
2
lib,
3
3
stdenv,
4
4
fetchurl,
5
-
mono,
6
5
libmediainfo,
7
6
sqlite,
8
7
curl,
9
-
chromaprint,
10
8
makeWrapper,
11
9
icu,
12
10
dotnet-runtime,
···
27
25
."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
28
26
hash =
29
27
{
30
-
x64-linux_hash = "sha256-24bNK4iHgaobxYpy+OJAocGugV0CwF3q1ND6maEaYSY=";
31
-
arm64-linux_hash = "sha256-ck2AspRkKm8hdzO70acTGUUd8WTOevIJF50YwQf/R20=";
32
-
x64-osx_hash = "sha256-ut/4154i/yKlm2JacgW9jvevDniedzLudfeuUXV9XzM=";
33
-
arm64-osx_hash = "sha256-/aIusVUmsqLCNNhosCAVbR5oN6oLROEuJKnH22cRXfo=";
28
+
x64-linux_hash = "sha256-LeJBed6Zo2+r6ZdgBTkcg+3ORoohvDpx37gOOorg9wY=";
29
+
arm64-linux_hash = "sha256-eS4MccKhISJBc68lhrYwbESV0FcqtAI/b4ojfQO/9m8=";
30
+
x64-osx_hash = "sha256-l3hi+X91DQNmGZKNJ4Y/DkB7ohu0/HTTnhSInIBiPlo=";
31
+
arm64-osx_hash = "sha256-ehZJZKxEiupLyBZCgz2subtD7BICXjAqIdnOnh+OMe4=";
34
32
}
35
33
."${arch}-${os}_hash";
36
34
in
37
-
stdenv.mkDerivation rec {
35
+
stdenv.mkDerivation (finalAttrs: {
38
36
pname = "lidarr";
39
-
version = "2.13.3.4711";
37
+
version = "2.14.5.4836";
40
38
41
39
src = fetchurl {
42
-
url = "https://github.com/lidarr/Lidarr/releases/download/v${version}/Lidarr.master.${version}.${os}-core-${arch}.tar.gz";
43
-
sha256 = hash;
40
+
inherit hash;
41
+
42
+
url = "https://github.com/lidarr/Lidarr/releases/download/v${finalAttrs.version}/Lidarr.master.${finalAttrs.version}.${os}-core-${arch}.tar.gz";
44
43
};
45
44
46
45
nativeBuildInputs = [ makeWrapper ];
···
48
47
installPhase = ''
49
48
runHook preInstall
50
49
51
-
mkdir -p $out/{bin,share/${pname}-${version}}
52
-
cp -r * $out/share/${pname}-${version}/.
50
+
mkdir -p $out/{bin,share/${finalAttrs.pname}-${finalAttrs.version}}
51
+
cp -r * $out/share/${finalAttrs.pname}-${finalAttrs.version}/.
53
52
makeWrapper "${dotnet-runtime}/bin/dotnet" $out/bin/Lidarr \
54
-
--add-flags "$out/share/${pname}-${version}/Lidarr.dll" \
53
+
--add-flags "$out/share/${finalAttrs.pname}-${finalAttrs.version}/Lidarr.dll" \
55
54
--prefix LD_LIBRARY_PATH : ${
56
55
lib.makeLibraryPath [
57
56
curl
···
71
70
tests.smoke-test = nixosTests.lidarr;
72
71
};
73
72
74
-
meta = with lib; {
73
+
meta = {
75
74
description = "Usenet/BitTorrent music downloader";
76
75
homepage = "https://lidarr.audio/";
77
-
license = licenses.gpl3;
78
-
maintainers = [ ];
76
+
license = lib.licenses.gpl3;
77
+
maintainers = with lib.maintainers; [ ramonacat ];
79
78
mainProgram = "Lidarr";
80
79
platforms = [
81
80
"x86_64-linux"
···
84
83
"aarch64-darwin"
85
84
];
86
85
};
87
-
}
86
+
})