libpng: use spdx licensing method

wip/yesman
Mateusz Kowalczyk 10 years ago
parent 56d9b3c4d8
commit fe86a03a1c
  1. 6
      lib/licenses.nix
  2. 3
      pkgs/development/libraries/libpng/12.nix
  3. 3
      pkgs/development/libraries/libpng/15.nix
  4. 4
      pkgs/development/libraries/libpng/default.nix

@ -182,6 +182,11 @@ rec {
fullName = "GNU Lesser General Public License v3.0 or later";
};
libpng = spdx {
shortName = "Libpng";
fullName = "libpng License";
};
libtiff = {
shortName = "libtiff";
fullName = "libtiff license";
@ -292,4 +297,3 @@ rec {
};
}

@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
meta = {
description = "The official reference implementation for the PNG file format";
homepage = http://www.libpng.org/pub/png/libpng.html;
license = "free-non-copyleft"; # http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
license = stdenv.lib.licenses.libpng;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
meta = {
description = "The official reference implementation for the PNG file format";
homepage = http://www.libpng.org/pub/png/libpng.html;
license = "free-non-copyleft"; # http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
license = stdenv.lib.licenses.libpng;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}

@ -30,8 +30,8 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "The official reference implementation for the PNG file format" + whenPatched " with animation patch";
homepage = http://www.libpng.org/pub/png/libpng.html;
license = "free-non-copyleft"; # http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
license = licenses.libpng;
platforms = platforms.all;
maintainers = [ maintainers.vcunat ];
maintainers = [ maintainers.vcunat maintainers.fuuzetsu ];
};
}

Loading…
Cancel
Save