Skip to content

Commit f5a3c79

Browse files
authored
briar-desktop: clean up & add ngi team (#422707)
2 parents f900135 + f70e619 commit f5a3c79

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pkgs/by-name/br/briar-desktop/package.nix

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ let
1919
'';
2020

2121
in
22-
stdenv.mkDerivation rec {
22+
stdenv.mkDerivation (finalAttrs: {
2323
pname = "briar-desktop";
2424
version = "0.6.3-beta";
2525

2626
src = fetchurl {
27-
url = "https://desktop.briarproject.org/jars/linux/${version}/briar-desktop-linux-${version}.jar";
27+
url = "https://desktop.briarproject.org/jars/linux/${finalAttrs.version}/briar-desktop-linux-${finalAttrs.version}.jar";
2828
hash = "sha256-8JX4cgRJZDCBlu5iVL7t5nZSZn8XTk3DU3rasViQgtg=";
2929
};
3030

@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737

3838
installPhase = ''
3939
mkdir -p $out/{bin,lib}
40-
cp ${src} $out/lib/briar-desktop.jar
40+
cp ${finalAttrs.src} $out/lib/briar-desktop.jar
4141
makeWrapper ${openjdk}/bin/java $out/bin/briar-desktop \
4242
--add-flags "-jar $out/lib/briar-desktop.jar" \
4343
--prefix LD_LIBRARY_PATH : "${
@@ -58,15 +58,16 @@ stdenv.mkDerivation rec {
5858
done
5959
'';
6060

61-
meta = with lib; {
61+
meta = {
6262
description = "Decentralized and secure messenger";
6363
mainProgram = "briar-desktop";
6464
homepage = "https://code.briarproject.org/briar/briar-desktop";
65-
license = licenses.gpl3;
66-
maintainers = with maintainers; [
65+
license = lib.licenses.agpl3Plus;
66+
maintainers = with lib.maintainers; [
6767
onny
6868
supinie
6969
];
70+
teams = with lib.teams; [ ngi ];
7071
platforms = [ "x86_64-linux" ];
7172
};
72-
}
73+
})

0 commit comments

Comments
 (0)