summary refs log tree commit diff
path: root/pkgs/servers/rainloop
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2019-11-23 15:36:28 +0100
committerRenaud <c0bw3b@users.noreply.github.com>2019-11-23 15:36:28 +0100
commit576a82d6c24a84d70da5ea7d70904206f5129e23 (patch)
tree91bb7f966c473ddb085e2e18e4d18d0c5922ece9 /pkgs/servers/rainloop
parent1fc4e0322595751bd45497299d42f336994e9ec2 (diff)
downloadnixpkgs-576a82d6c24a84d70da5ea7d70904206f5129e23.tar
nixpkgs-576a82d6c24a84d70da5ea7d70904206f5129e23.tar.gz
nixpkgs-576a82d6c24a84d70da5ea7d70904206f5129e23.tar.bz2
nixpkgs-576a82d6c24a84d70da5ea7d70904206f5129e23.tar.lz
nixpkgs-576a82d6c24a84d70da5ea7d70904206f5129e23.tar.xz
nixpkgs-576a82d6c24a84d70da5ea7d70904206f5129e23.tar.zst
nixpkgs-576a82d6c24a84d70da5ea7d70904206f5129e23.zip
rainloop-standard: Fix pname and license (#73963)
- Switched to pname
- Fixed the double dash in pname
- Changed license to unfree (they don't allow redistribution)

Fixes #73956
Diffstat (limited to 'pkgs/servers/rainloop')
-rw-r--r--pkgs/servers/rainloop/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/rainloop/default.nix b/pkgs/servers/rainloop/default.nix
index b037524f67f..ff6cb8c98eb 100644
--- a/pkgs/servers/rainloop/default.nix
+++ b/pkgs/servers/rainloop/default.nix
@@ -1,7 +1,7 @@
 { stdenv, fetchurl, unzip, dataPath ? "/etc/rainloop" }: let
   common = { edition, sha256 }:
     stdenv.mkDerivation (rec {
-      name = "rainloop-${edition}-${version}";
+      pname = "rainloop${stdenv.lib.optionalString (edition != "") "-${edition}"}";
       version = "1.13.0";
 
       buildInputs = [ unzip ];
@@ -26,8 +26,8 @@
       meta = with stdenv.lib; {
         description = "Simple, modern & fast web-based email client";
         homepage = "https://www.rainloop.net";
-        downloadPage = https://github.com/RainLoop/rainloop-webmail/releases;
-        license = licenses.agpl3;
+        downloadPage = "https://github.com/RainLoop/rainloop-webmail/releases";
+        license = with licenses; if edition == "" then unfree else agpl3;
         platforms = platforms.all;
         maintainers = with maintainers; [ das_j ];
       };