From 679c67ced8e8872ad0b6fe2ded6328b8973a1e73 Mon Sep 17 00:00:00 2001 From: Harrison Houghton Date: Mon, 9 Aug 2021 21:41:58 -0400 Subject: [PATCH] zeroc-ice: share meta definition and clarify license --- pkgs/development/libraries/zeroc-ice/3.6.nix | 8 ++------ pkgs/development/libraries/zeroc-ice/default.nix | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/zeroc-ice/3.6.nix b/pkgs/development/libraries/zeroc-ice/3.6.nix index b281cf9d43a5..e8082e50447a 100644 --- a/pkgs/development/libraries/zeroc-ice/3.6.nix +++ b/pkgs/development/libraries/zeroc-ice/3.6.nix @@ -1,6 +1,7 @@ { stdenv, lib, fetchFromGitHub , mcpp, bzip2, expat, openssl, db5 , darwin, libiconv, Security +, zeroc-ice # to share meta , cpp11 ? false }: @@ -54,10 +55,5 @@ stdenv.mkDerivation rec { rm -rf $out/share/slice ''; - meta = with lib; { - homepage = "http://www.zeroc.com/ice.html"; - description = "The internet communications engine"; - license = licenses.gpl2; - platforms = platforms.unix; - }; + inherit (zeroc-ice) meta; } diff --git a/pkgs/development/libraries/zeroc-ice/default.nix b/pkgs/development/libraries/zeroc-ice/default.nix index 746aea584e8d..26a2ebf223fd 100644 --- a/pkgs/development/libraries/zeroc-ice/default.nix +++ b/pkgs/development/libraries/zeroc-ice/default.nix @@ -67,7 +67,7 @@ in stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.zeroc.com/ice.html"; description = "The internet communications engine"; - license = licenses.gpl2; + license = licenses.gpl2Only; platforms = platforms.unix; maintainers = with maintainers; [ abbradar ]; };