From 4b92ed58c7287007945b1b2fe9ef495f77a76715 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sat, 22 Feb 2025 08:42:01 +0100 Subject: [PATCH] drawio: update license The LICENSE file of https://github.com/jgraph/drawio claims Apache License Version 2.0 again since https://github.com/jgraph/drawio/commit/5b2e73471e4fea83d681f0cec5d1aaf7c3884996. But the README says: > The minified code authored by us in this repo is licensed under an Apache v2 license, but the sources to build those files are not in this repo. This is not an open source project. --- pkgs/applications/graphics/drawio/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix index 0c5744e77c8c..633f133d9696 100644 --- a/pkgs/applications/graphics/drawio/default.nix +++ b/pkgs/applications/graphics/drawio/default.nix @@ -130,7 +130,13 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Desktop application for creating diagrams"; homepage = "https://about.draw.io/"; - license = licenses.unfree; + license = with lib.licenses; [ + # The LICENSE file of https://github.com/jgraph/drawio claims Apache License Version 2.0 again since https://github.com/jgraph/drawio/commit/5b2e73471e4fea83d681f0cec5d1aaf7c3884996 + asl20 + # But the README says: + # The minified code authored by us in this repo is licensed under an Apache v2 license, but the sources to build those files are not in this repo. This is not an open source project. + unfreeRedistributable + ]; changelog = "https://github.com/jgraph/drawio-desktop/releases/tag/v${version}"; maintainers = with maintainers; [ darkonion0 ]; platforms = platforms.darwin ++ platforms.linux;